X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/018d3030cc3616223f598b750171f86eabdd3ed7..1542ea396a625766c59d683adbb1d613c1344d50:/include/wx/os2/window.h?ds=sidebyside diff --git a/include/wx/os2/window.h b/include/wx/os2/window.h index dd4a0e64fe..261d6562d8 100644 --- a/include/wx/os2/window.h +++ b/include/wx/os2/window.h @@ -227,9 +227,6 @@ public: void OnIdle(wxIdleEvent& rEvent); public: - // For hidden notebook pages, always TRUE for everything else - bool IsActivePage(void) const { return m_bIsActivePage; } - void SetActivePage(bool bActive) { m_bIsActivePage = bActive; } // For implementation purposes - sometimes decorations make the client area // smaller @@ -370,10 +367,12 @@ public: virtual bool OS2OnDrawItem( int nId ,WXDRAWITEMSTRUCT* pItem ); - virtual bool OS2OnMeasureItem( int nId + virtual long OS2OnMeasureItem( int nId ,WXMEASUREITEMSTRUCT* pItem ); + virtual void OnPaint(wxPaintEvent& rEvent); + // the rest are not virtual bool HandleCreate( WXLPCREATESTRUCT vCs ,bool* pMayCreate @@ -606,7 +605,6 @@ private: HWND m_hWndScrollBarHorz; HWND m_hWndScrollBarVert; SWP m_vWinSwp; - bool m_bIsActivePage; DECLARE_DYNAMIC_CLASS(wxWindowOS2); DECLARE_NO_COPY_CLASS(wxWindowOS2)