]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/toplevel.cpp
Use t_str() instead of c_str()
[wxWidgets.git] / src / os2 / toplevel.cpp
index a22fed882d51735873a19e4aa776d1a0a23e6f28..fde6f06b6f97f0ed5cb42bc6d67c635d8a41648c 100644 (file)
@@ -790,7 +790,7 @@ bool wxTopLevelWindowOS2::Show( bool bShow )
         ::WinEnableWindow(m_hFrame, TRUE);
 
         vEvent.SetEventObject(this);
-        GetEventHandler()->ProcessEvent(vEvent);
+        HandleWindowEvent(vEvent);
     }
     else
     {
@@ -965,7 +965,7 @@ bool wxTopLevelWindowOS2::ShowFullScreen( bool bShow,
 
         wxSize full( nWidth, nHeight );
         wxSizeEvent vEvent( full, GetId() );
-        GetEventHandler()->ProcessEvent(vEvent);
+        HandleWindowEvent(vEvent);
         return true;
     }
     else