]> 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 98644d6f0b385fbff71b528636c34fc842020985..8a5b11cd8beadabb2ec6c0114204b265f85624f1 100644 (file)
@@ -1581,7 +1581,7 @@ void wxNonOwnedWindowCarbonImpl::Create(
         }
         else
         {
-            if ( HasFlag( wxNO_BORDER ) )
+            if ( style & wxNO_BORDER )
             {
                 wclass = kSimpleWindowClass ;
             }