X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8788ed0c675708ff488032b4697fa2455e9fc41..a9249b2eb2a40d8c71f828669045c4ddaa8dc5ff:/src/mac/window.cpp diff --git a/src/mac/window.cpp b/src/mac/window.cpp index a71937cd82..29b6fc6f0f 100644 --- a/src/mac/window.cpp +++ b/src/mac/window.cpp @@ -720,6 +720,12 @@ void wxWindowMac::MacSuperShown( bool show ) void wxWindowMac::MacSuperEnabled( bool enabled ) { + if ( !IsTopLevel() ) + { + // to be absolutely correct we'd have to invalidate (with eraseBkground + // because unter MacOSX the frames are drawn with an addXXX mode) + // the borders area + } wxNode *node = GetChildren().First(); while ( node ) {