X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/02761f6cd478e3c2c97cf6f93442747f7b029833..6dfbea27b9d581dbb6c033e2b336d6035f5e4fc8:/src/palmos/toplevel.cpp?ds=sidebyside diff --git a/src/palmos/toplevel.cpp b/src/palmos/toplevel.cpp index 0b1105aafc..2863573c9e 100644 --- a/src/palmos/toplevel.cpp +++ b/src/palmos/toplevel.cpp @@ -167,11 +167,14 @@ void wxTopLevelWindowPalm::DoShowWindow(int nShowCmd) bool wxTopLevelWindowPalm::Show(bool show) { + if (true != show) { + return true; + } FrmDrawForm((FormType *)FrameForm); wxPaintEvent event(m_windowId); event.SetEventObject(this); - GetEventHandler()->ProcessEvent(event); + HandleWindowEvent(event); return true; } @@ -234,10 +237,6 @@ wxString wxTopLevelWindowPalm::GetTitle() const return wxEmptyString; } -void wxTopLevelWindowPalm::SetIcon(const wxIcon& icon) -{ -} - void wxTopLevelWindowPalm::SetIcons(const wxIconBundle& icons) { } @@ -334,7 +333,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)