fixed wxMotif to compile in Unicode mode (this is not full Unicode support, all strings must be representable in current locale's charset, similarly to MSLU)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -452,8 +452,8 @@ void wxFrame::SetTitle(const wxString& title)
|
||||
|
||||
if( !title.empty() )
|
||||
XtVaSetValues( (Widget)m_frameShell,
|
||||
XmNtitle, title.mb_str(),
|
||||
XmNiconName, title.mb_str(),
|
||||
XmNtitle, (const char*)title.mb_str(),
|
||||
XmNiconName, (const char*)title.mb_str(),
|
||||
NULL );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user