From: Kevin Ollivier Date: Sun, 6 Dec 2009 16:32:11 +0000 (+0000) Subject: Handle deprecated style so we don't assert and then crash. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8301a0e89d3c19765adf8e0c13ce0418ee43f487?ds=inline Handle deprecated style so we don't assert and then crash. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/window_osx.cpp b/src/osx/window_osx.cpp index 23abdab98c..041c9d952e 100644 --- a/src/osx/window_osx.cpp +++ b/src/osx/window_osx.cpp @@ -1845,6 +1845,7 @@ bool wxWindowMac::MacDoRedraw( long time ) { case wxBG_STYLE_ERASE: case wxBG_STYLE_SYSTEM: + case wxBG_STYLE_COLOUR: { // for the toplevel window this really is the entire area for // all the others only their client area, otherwise they might