X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5f0b2f22d3cc98b9a9ba31908f7170b3590295eb..a9249b2eb2a40d8c71f828669045c4ddaa8dc5ff:/src/mac/carbon/toplevel.cpp?ds=sidebyside diff --git a/src/mac/carbon/toplevel.cpp b/src/mac/carbon/toplevel.cpp index 32c34193ab..14afc2d959 100644 --- a/src/mac/carbon/toplevel.cpp +++ b/src/mac/carbon/toplevel.cpp @@ -31,12 +31,14 @@ #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 )