Use wxGTK_CONV to fix compile error when building in Unicode mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ed16aae012
commit
9489e62f88
@ -206,7 +206,7 @@ bool wxCollapsiblePane::IsCollapsed() const
|
||||
void wxCollapsiblePane::SetLabel(const wxString &str)
|
||||
{
|
||||
if (!gtk_check_version(2,4,0))
|
||||
gtk_expander_set_label(GTK_EXPANDER(m_widget), str.c_str());
|
||||
gtk_expander_set_label(GTK_EXPANDER(m_widget), wxGTK_CONV(str));
|
||||
else
|
||||
wxGenericCollapsiblePane::SetLabel(str);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user