X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eeb0bee1d31939f8ff14a3c7dba6ff22fcdb6fff..737e53350cffa493e72691fd965ebd60d5349bf2:/src/palmos/window.cpp diff --git a/src/palmos/window.cpp b/src/palmos/window.cpp index 75ddf0bc24..144ad5b112 100644 --- a/src/palmos/window.cpp +++ b/src/palmos/window.cpp @@ -432,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; @@ -458,6 +451,10 @@ void wxWindowPalm::Refresh(bool eraseBack, const wxRect *rect) { WinInvalidateWindow(handle); } +#else // __WXPALMOS5__ + WinSetActiveWindow (handle); +#endif + } } @@ -613,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 { }