Unicode compliation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-12-18 04:15:50 +00:00
parent 21c9fbe5ee
commit a7ddd72ef9

View File

@@ -1073,9 +1073,9 @@ void wxPyCallback::EventThunker(wxEvent& event) {
wxPyBeginBlockThreads();
wxString className = event.GetClassInfo()->GetClassName();
if (className == "wxPyEvent")
if (className == wxT("wxPyEvent"))
arg = ((wxPyEvent*)&event)->GetSelf();
else if (className == "wxPyCommandEvent")
else if (className == wxT("wxPyCommandEvent"))
arg = ((wxPyCommandEvent*)&event)->GetSelf();
else {
arg = wxPyConstructObject((void*)&event, className);