X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cd95f7e65c4e1ee61a5d90eb13687ff468cb13ad..4e15d1caa03346c126015019c1fdf093033ef40b:/src/msw/panel.cpp diff --git a/src/msw/panel.cpp b/src/msw/panel.cpp index bc73d1267a..9d30beb7a0 100644 --- a/src/msw/panel.cpp +++ b/src/msw/panel.cpp @@ -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(); -}