]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/nonownedwnd.cpp
remove declaration for ctor which is never defined
[wxWidgets.git] / src / osx / carbon / nonownedwnd.cpp
index 65d3f4517fca8f66b076cdf654f5a86dae2aa8d8..8a5b11cd8beadabb2ec6c0114204b265f85624f1 100644 (file)
@@ -1581,7 +1581,14 @@ void wxNonOwnedWindowCarbonImpl::Create(
         }
         else
         {
         }
         else
         {
-            wclass = kPlainWindowClass ;
+            if ( style & wxNO_BORDER )
+            {
+                wclass = kSimpleWindowClass ;
+            }
+            else
+            {
+                wclass = kPlainWindowClass ;
+            }
             activationScopeSet = true;
             activationScope = kWindowActivationScopeNone;
         }
             activationScopeSet = true;
             activationScope = kWindowActivationScopeNone;
         }
@@ -1658,7 +1665,7 @@ void wxNonOwnedWindowCarbonImpl::Create(
     }
 
     attr |= kWindowCompositingAttribute;
     }
 
     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
 
     attr |= kWindowFrameworkScaledAttribute;
 #endif