X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17808a759627b03c2acbe7333dd2386557e1b804..33820d94285c0004acce756e7d10d9698e6387d1:/src/palmos/window.cpp diff --git a/src/palmos/window.cpp b/src/palmos/window.cpp index 9dd143a633..144ad5b112 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 + } } @@ -605,10 +610,11 @@ int wxWindowPalm::GetCharWidth() const return 0; } -void wxWindowPalm::GetTextExtent(const wxString& string, - int *x, int *y, - int *descent, int *externalLeading, - const wxFont *theFont) const +void wxWindowPalm::DoGetTextExtent(const wxString& string, + int *x, int *y, + int *descent, + int *externalLeading, + const wxFont *theFont) const { }