X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e2fc40b4786f7ae8c255ce1184441bd94d9554a0..8758875e0b001444cb677906e68912cb455ab275:/src/palmos/window.cpp?ds=sidebyside diff --git a/src/palmos/window.cpp b/src/palmos/window.cpp index 3507888caf..1298d9a5b1 100644 --- a/src/palmos/window.cpp +++ b/src/palmos/window.cpp @@ -83,10 +83,6 @@ // global variables // --------------------------------------------------------------------------- -#if wxUSE_MENUS_NATIVE -wxMenu *wxCurrentPopupMenu = NULL; -#endif // wxUSE_MENUS_NATIVE - // --------------------------------------------------------------------------- // private functions // --------------------------------------------------------------------------- @@ -436,19 +432,12 @@ bool wxWindowPalm::Reparent(wxWindowBase *parent) return false; } -void wxWindowPalm::Freeze() -{ -} - -void wxWindowPalm::Thaw() -{ -} - void wxWindowPalm::Refresh(bool eraseBack, const wxRect *rect) { WinHandle handle = (WinHandle)GetHWND(); if(handle) { +#ifdef __WXPALMOS6__ if(rect) { RectangleType dirtyRect; @@ -462,6 +451,10 @@ void wxWindowPalm::Refresh(bool eraseBack, const wxRect *rect) { WinInvalidateWindow(handle); } +#else // __WXPALMOS5__ + WinSetActiveWindow (handle); +#endif + } }