X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/src/palmos/toplevel.cpp diff --git a/src/palmos/toplevel.cpp b/src/palmos/toplevel.cpp index c0c7ce7bbd..8f28b50904 100644 --- a/src/palmos/toplevel.cpp +++ b/src/palmos/toplevel.cpp @@ -24,26 +24,27 @@ #pragma hdrstop #endif +#include "wx/toplevel.h" + #ifndef WX_PRECOMP #include "wx/app.h" - #include "wx/toplevel.h" #include "wx/dialog.h" #include "wx/string.h" #include "wx/log.h" #include "wx/intl.h" #include "wx/frame.h" #include "wx/containr.h" // wxSetFocusToChild() + #include "wx/button.h" + #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 -#include "wx/button.h" -#include "wx/checkbox.h" -#include "wx/radiobut.h" #include "wx/tglbtn.h" -#include "wx/slider.h" #include "wx/datectrl.h" #include @@ -170,7 +171,7 @@ bool wxTopLevelWindowPalm::Show(bool show) wxPaintEvent event(m_windowId); event.SetEventObject(this); - GetEventHandler()->ProcessEvent(event); + HandleWindowEvent(event); return true; } @@ -224,8 +225,13 @@ bool wxTopLevelWindowPalm::ShowFullScreen(bool show, long style) // wxTopLevelWindowPalm misc // ---------------------------------------------------------------------------- -void wxTopLevelWindowPalm::SetIcon(const wxIcon& icon) +void wxTopLevelWindowPalm::SetTitle( const wxString& WXUNUSED(title)) +{ +} + +wxString wxTopLevelWindowPalm::GetTitle() const { + return wxEmptyString; } void wxTopLevelWindowPalm::SetIcons(const wxIconBundle& icons) @@ -324,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)