]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/panelg.h
activating DrawRectangle optimization
[wxWidgets.git] / include / wx / generic / panelg.h
index 9b87ee1a399118a00f043df78805e3c583470a30..6bd2ad6073c67ce8f2370818260ae7dcb5b2a568 100644 (file)
@@ -30,7 +30,7 @@ public:
         Create(parent, winid, pos, size, style, name);
     }
 
-#ifdef WXWIN_COMPATIBILITY_2_8
+#if WXWIN_COMPATIBILITY_2_8
     wxDEPRECATED_CONSTRUCTOR(
     wxPanel(wxWindow *parent,
             int x, int y, int width, int height,
@@ -42,18 +42,7 @@ public:
     )
 #endif // WXWIN_COMPATIBILITY_2_8
 
-protected:
-    virtual void DoSetBackgroundBitmap(const wxBitmap& bmp);
-
 private:
-    // Event handler for erasing the background which is only used when we have
-    // a valid background bitmap.
-    void OnEraseBackground(wxEraseEvent& event);
-
-
-    // The bitmap used for painting the background if valid.
-    wxBitmap m_bitmapBg;
-
     wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxPanel);
 };