]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/panel.cpp
Added ability to switch off more components of the size page UI
[wxWidgets.git] / src / msw / panel.cpp
index bc73d1267a03e9265373820452b42d8f167aa286..9d30beb7a0b46fb243c1a5ad09851301b48fd65a 100644 (file)
@@ -24,7 +24,6 @@
 #endif
 
 #ifndef WX_PRECOMP
-    #include "wx/brush.h"
     #include "wx/panel.h"
 #endif // WX_PRECOMP
 
@@ -46,16 +45,3 @@ bool wxPanel::HasTransparentBackground()
     return false;
 }
 
-void wxPanel::DoSetBackgroundBitmap(const wxBitmap& bmp)
-{
-    delete m_backgroundBrush;
-    m_backgroundBrush = bmp.IsOk() ? new wxBrush(bmp) : NULL;
-}
-
-WXHBRUSH wxPanel::MSWGetCustomBgBrush()
-{
-    if ( m_backgroundBrush )
-        return (WXHBRUSH)m_backgroundBrush->GetResourceHandle();
-
-    return wxPanelBase::MSWGetCustomBgBrush();
-}