]> git.saurik.com Git - wxWidgets.git/commitdiff
Handle deprecated style so we don't assert and then crash.
authorKevin Ollivier <kevino@theolliviers.com>
Sun, 6 Dec 2009 16:32:11 +0000 (16:32 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Sun, 6 Dec 2009 16:32:11 +0000 (16:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/window_osx.cpp

index 23abdab98c491c696e295bd165ac7920d60b9a10..041c9d952e9bd77f99d817e4aa1501746f859d6c 100644 (file)
@@ -1845,6 +1845,7 @@ bool wxWindowMac::MacDoRedraw( long time )
     {
         case wxBG_STYLE_ERASE:
         case wxBG_STYLE_SYSTEM:
     {
         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
             {
                 // for the toplevel window this really is the entire area for
                 // all the others only their client area, otherwise they might