]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/window.h
fix memory leak as Dimitri suggested
[wxWidgets.git] / include / wx / os2 / window.h
index dd4a0e64fe8f70ff2bbfcbfc8b644b988a0c84e8..261d6562d8516d1ab28d1762d0979ab7af981783 100644 (file)
@@ -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)