From: David Webster Date: Tue, 22 Jan 2002 23:17:55 +0000 (+0000) Subject: OS/2 bug fix updates. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f140b3520be5925e9d39381cc603dad99a060bff OS/2 bug fix updates. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/os2/private.h b/include/wx/os2/private.h index 6810116050..dba3339d60 100644 --- a/include/wx/os2/private.h +++ b/include/wx/os2/private.h @@ -30,7 +30,7 @@ ULONG idMasterSpb; /* ID of the servant's master spinbutton. */ PVOID pHWXCtlData; /* Handwriting control data structure flag. */ } SPBCDATA; - + typedef SPBCDATA *PSPBCDATA; #endif @@ -269,7 +269,7 @@ WXDLLEXPORT wxWindow* wxFindWinFromHandle(WXHWND hWnd); WXDLLEXPORT void wxGetCharSize(WXHWND wnd, int *x, int *y,wxFont *the_font); WXDLLEXPORT void wxFillLogFont( LOGFONT* pLogFont ,PFACENAMEDESC pFaceName - ,HPS hPS + ,HPS* phPS ,long* pflId ,wxString& sFaceName ,wxFont* pFont diff --git a/include/wx/os2/textctrl.h b/include/wx/os2/textctrl.h index ec6eaa5ca1..b9f7a81a44 100644 --- a/include/wx/os2/textctrl.h +++ b/include/wx/os2/textctrl.h @@ -169,6 +169,7 @@ protected: // void AdjustSpaceLimit(void); virtual wxSize DoGetBestSize(void) const; + virtual bool OS2ShouldPreProcessMessage(WXMSG* pMsg); private: bool m_bIsMLE; diff --git a/include/wx/os2/window.h b/include/wx/os2/window.h index f7188ff8dc..e18f1662cb 100644 --- a/include/wx/os2/window.h +++ b/include/wx/os2/window.h @@ -421,6 +421,7 @@ public: ,WXLPARAM lParam ); virtual bool OS2ProcessMessage(WXMSG* pMsg); + virtual bool OS2ShouldPreProcessMessage(WXMSG* pMsg); virtual bool OS2TranslateMessage(WXMSG* pMsg); virtual void OS2DestroyWindow(void);