]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilation fix, didn't realize initialization order of events is different on trunk.
authorKevin Ollivier <kevino@theolliviers.com>
Mon, 25 Aug 2008 05:32:03 +0000 (05:32 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Mon, 25 Aug 2008 05:32:03 +0000 (05:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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 ;
             }