]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/panelg.cpp
revert togglable tools to previous state if the change was vetoed by OnLeftClick()
[wxWidgets.git] / src / generic / panelg.cpp
index ff850d052b99abae00bafb6f3018cbd26bb1a1c0..7a31bd9ab58f363afa14a3aa6d63d4700156908e 100644 (file)
@@ -125,6 +125,11 @@ bool wxPanel::Create(wxWindow *parent, wxWindowID id,
     // so that non-solid background renders correctly under GTK+:
     SetThemeEnabled(true);
 
+#ifdef __WXWINCE__
+    // Required to get solid control backgrounds under WinCE
+    SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
+#endif
+
     return true;
 }