]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/stattext.cpp
Smooth Aqua buttons in wxTreeCtrl.
[wxWidgets.git] / src / mac / stattext.cpp
index d364a2c5be144884be71c211258a59a4c2bce0bc..8f78cc60ff6cc093781ea700c108ad31d73a17db 100644 (file)
@@ -151,7 +151,7 @@ void wxStaticText::OnDraw( wxDC &dc )
                                if( parent->IsKindOf( CLASSINFO( wxNotebook ) ) ||  parent->IsKindOf( CLASSINFO( wxTabCtrl ) ))
                                {
                                        if ( ((wxControl*)parent)->GetMacControl() ) {
-                                               Rect rect = { -32767 , -32767 , 32767 , 32767 } ;
+                                               Rect rect = { -10000 , -10000 , 10000 , 10000 } ; // MacOS X was having a coord rollover
                                                if ( DrawThemeTabPane != (void*)kUnresolvedCFragSymbolAddress )
                                                {
                                                  DrawThemeTabPane ( &rect, kThemeStateActive);