]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/splitter.cpp
Removed CF_NOSIMULATIONS flag to increase range of available fonts
[wxWidgets.git] / src / generic / splitter.cpp
index 11ab7e9734822f083470c67ae5d0f1d1a1cafe67..8f21f6cb0bd2138bd195c56793bd2e31da5a142a 100644 (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;
 }