]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/toplevel.cpp
check that the version of __sync_sub_and_fetch that returns a value is supported...
[wxWidgets.git] / src / palmos / toplevel.cpp
index 2093565f33e28d4756f5c8d3f9410560081286d4..8f28b509043a168b25abeed915774f59aa2ba96e 100644 (file)
@@ -171,7 +171,7 @@ bool wxTopLevelWindowPalm::Show(bool show)
 
     wxPaintEvent event(m_windowId);
     event.SetEventObject(this);
-    GetEventHandler()->ProcessEvent(event);
+    HandleWindowEvent(event);
 
     return true;
 }
@@ -330,7 +330,7 @@ bool wxTopLevelWindowPalm::HandleSize(WXEVENTPTR event)
                    palmEvent->data.winResized.newBounds.extent.y);
     wxSizeEvent eventWx(newSize,GetId());
     eventWx.SetEventObject(this);
-    return GetEventHandler()->ProcessEvent(eventWx);
+    return HandleWindowEvent(eventWx);
 }
 
 void wxTopLevelWindowPalm::OnActivate(wxActivateEvent& event)