Unicode compilation fixes for wxX11

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2003-08-20 08:39:47 +00:00
parent c6441a0d74
commit 54385bdb3f
8 changed files with 40 additions and 41 deletions

View File

@@ -73,7 +73,7 @@ void wxFlushEvents()
bool wxCheckForInterrupt(wxWindow *wnd)
{
wxASSERT_MSG(FALSE, "wxCheckForInterrupt not yet implemented.");
wxASSERT_MSG(FALSE, wxT("wxCheckForInterrupt not yet implemented."));
return FALSE;
}
@@ -605,8 +605,7 @@ wxString wxGetXEventName(XEvent& event)
"ClientMessage", "MappingNotify", // 33-34
"unknown(+)"}; // 35
type = wxMin(35, type); type = wxMax(1, type);
wxString str(event_name[type]);
return str;
return wxString::FromAscii(event_name[type]);
#endif
}
#endif