]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/stattext.cpp
warning fix
[wxWidgets.git] / src / mac / stattext.cpp
index 3ad2b159b51276a67c16fd2550f33333906b105b..26f16be64248b34d6bdc7434da57249b9c8a3824 100644 (file)
@@ -84,8 +84,10 @@ void wxStaticText::OnDraw( wxDC &dc )
                                        if ( ((wxControl*)parent)->GetMacControl() ) {
                                                Rect rect = { -32767 , -32767 , 32767 , 32767 } ;
                                                if ( DrawThemeTabPane != (void*)kUnresolvedCFragSymbolAddress )
+                                               {
                                                  DrawThemeTabPane ( &rect, kThemeStateActive);
-                                               doClear = false ;
+                                                 doClear = false ;
+                                               }
                                        }
                                        break ;
                                }