X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55a40ad970a1ac4f6d1457a441be4d83445efb74..ba49d2acf95d53517719c4fd9ac2ad5aaa13540b:/src/msw/panel.cpp diff --git a/src/msw/panel.cpp b/src/msw/panel.cpp index 5dc1bfcf5a..9d30beb7a0 100644 --- a/src/msw/panel.cpp +++ b/src/msw/panel.cpp @@ -24,8 +24,6 @@ #endif #ifndef WX_PRECOMP - #include "wx/bitmap.h" - #include "wx/brush.h" #include "wx/panel.h" #endif // WX_PRECOMP @@ -47,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(); -}