X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1832043f93af07af3f4891d9a95c4d4e1f70eec5..6dfbea27b9d581dbb6c033e2b336d6035f5e4fc8:/src/palmos/toplevel.cpp diff --git a/src/palmos/toplevel.cpp b/src/palmos/toplevel.cpp index da36ee828f..2863573c9e 100644 --- a/src/palmos/toplevel.cpp +++ b/src/palmos/toplevel.cpp @@ -38,9 +38,9 @@ #include "wx/checkbox.h" #include "wx/radiobut.h" #include "wx/slider.h" + #include "wx/module.h" #endif //WX_PRECOMP -#include "wx/module.h" #include "wx/display.h" // controls for sending select event @@ -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)