]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/toplevel.cpp
wxFont can now raelly use the native fonts
[wxWidgets.git] / src / mac / carbon / toplevel.cpp
index 32c34193ab760f481328394bb4231d673cf3f5ae..14afc2d9599c804d9597e5e4be190e74f159bb72 100644 (file)
 #ifndef WX_PRECOMP
     #include "wx/app.h"
     #include "wx/toplevel.h"
+    #include "wx/frame.h"
     #include "wx/string.h"
     #include "wx/log.h"
     #include "wx/intl.h"
 #endif //WX_PRECOMP
 
 #include "wx/mac/uma.h"
+#include "wx/mac/aga.h"
 #include "wx/tooltip.h"
 
 // ----------------------------------------------------------------------------
@@ -498,9 +500,7 @@ void wxTopLevelWindowMac::MacActivate( EventRecord *ev , bool inIsActivating )
     
     UMAHighlightAndActivateWindow( m_macWindow , inIsActivating ) ;
     
-    Refresh( FALSE ) ; 
-//  MacSuperEnabled( inIsActivating ) ;
-//  MacUpdateImmediately() ;
+    MacSuperEnabled( inIsActivating ) ;
 }
 
 void wxTopLevelWindowMac::MacKeyDown( EventRecord *ev )