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:
@@ -1073,9 +1073,9 @@ void wxPyCallback::EventThunker(wxEvent& event) {
|
|||||||
wxPyBeginBlockThreads();
|
wxPyBeginBlockThreads();
|
||||||
wxString className = event.GetClassInfo()->GetClassName();
|
wxString className = event.GetClassInfo()->GetClassName();
|
||||||
|
|
||||||
if (className == "wxPyEvent")
|
if (className == wxT("wxPyEvent"))
|
||||||
arg = ((wxPyEvent*)&event)->GetSelf();
|
arg = ((wxPyEvent*)&event)->GetSelf();
|
||||||
else if (className == "wxPyCommandEvent")
|
else if (className == wxT("wxPyCommandEvent"))
|
||||||
arg = ((wxPyCommandEvent*)&event)->GetSelf();
|
arg = ((wxPyCommandEvent*)&event)->GetSelf();
|
||||||
else {
|
else {
|
||||||
arg = wxPyConstructObject((void*)&event, className);
|
arg = wxPyConstructObject((void*)&event, className);
|
||||||
|
Reference in New Issue
Block a user