X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e185a681ddac3cecac57c99b0c0049fe21e4b29a..ef6ece2352e739f843d9fc08d96d46b6467b83d6:/src/osx/carbon/nonownedwnd.cpp diff --git a/src/osx/carbon/nonownedwnd.cpp b/src/osx/carbon/nonownedwnd.cpp index 65d3f4517f..8a5b11cd8b 100644 --- a/src/osx/carbon/nonownedwnd.cpp +++ b/src/osx/carbon/nonownedwnd.cpp @@ -1581,7 +1581,14 @@ void wxNonOwnedWindowCarbonImpl::Create( } else { - wclass = kPlainWindowClass ; + if ( style & wxNO_BORDER ) + { + wclass = kSimpleWindowClass ; + } + else + { + wclass = kPlainWindowClass ; + } activationScopeSet = true; activationScope = kWindowActivationScopeNone; } @@ -1658,7 +1665,7 @@ void wxNonOwnedWindowCarbonImpl::Create( } attr |= kWindowCompositingAttribute; -#if 0 // wxOSX_USE_CORE_GRAPHICS ; TODO : decide on overall handling of high dpi screens (pixel vs userscale) +#if 0 // TODO : decide on overall handling of high dpi screens (pixel vs userscale) attr |= kWindowFrameworkScaledAttribute; #endif