X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17808a759627b03c2acbe7333dd2386557e1b804..fe844054e8a0739e8c05b154d900939710a00608:/src/palmos/window.cpp diff --git a/src/palmos/window.cpp b/src/palmos/window.cpp index 9dd143a633..1298d9a5b1 100644 --- a/src/palmos/window.cpp +++ b/src/palmos/window.cpp @@ -437,6 +437,7 @@ void wxWindowPalm::Refresh(bool eraseBack, const wxRect *rect) WinHandle handle = (WinHandle)GetHWND(); if(handle) { +#ifdef __WXPALMOS6__ if(rect) { RectangleType dirtyRect; @@ -450,6 +451,10 @@ void wxWindowPalm::Refresh(bool eraseBack, const wxRect *rect) { WinInvalidateWindow(handle); } +#else // __WXPALMOS5__ + WinSetActiveWindow (handle); +#endif + } }