set bg style to custom as we overwrite it anyhow

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2004-11-15 19:20:47 +00:00
parent 6421119dd5
commit 658f53c700

View File

@ -96,6 +96,10 @@ bool wxSplitterWindow::Create(wxWindow *parent, wxWindowID id,
m_permitUnsplitAlways = (style & wxSP_PERMIT_UNSPLIT) != 0;
// don't erase the splitter background, it's pointless as we overwrite it
// anyhow
SetBackgroundStyle(wxBG_STYLE_CUSTOM);
return true;
}