X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d66c3960d541cf9e3ba10519a49a9e34b4ddfc81..eb630bf1ecee4656a42e0ce2eadce00f4749e592:/src/mac/carbon/toplevel.cpp diff --git a/src/mac/carbon/toplevel.cpp b/src/mac/carbon/toplevel.cpp index 7541500cfc..31cdcb7913 100644 --- a/src/mac/carbon/toplevel.cpp +++ b/src/mac/carbon/toplevel.cpp @@ -727,12 +727,16 @@ void wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title, attr |= kWindowCloseBoxAttribute ; } - attr |= kWindowLiveResizeAttribute; //turn on live resizing - + if (UMAGetSystemVersion() >= 0x1000) + { + //turn on live resizing (OS X only) + attr |= kWindowLiveResizeAttribute; + } + #if TARGET_CARBON #if 0 // having problems right now with that if (HasFlag(wxSTAY_ON_TOP)) - wclass = kUtilityWindowClass; + wclass = kUtilityWindowClass; #endif #endif