From: Kevin Ollivier Date: Mon, 25 Aug 2008 05:32:03 +0000 (+0000) Subject: Compilation fix, didn't realize initialization order of events is different on trunk. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8f3864f73790c2bc081bee9439551188b1f7f05c Compilation fix, didn't realize initialization order of events is different on trunk. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/carbon/nonownedwnd.cpp b/src/osx/carbon/nonownedwnd.cpp index 98644d6f0b..8a5b11cd8b 100644 --- a/src/osx/carbon/nonownedwnd.cpp +++ b/src/osx/carbon/nonownedwnd.cpp @@ -1581,7 +1581,7 @@ void wxNonOwnedWindowCarbonImpl::Create( } else { - if ( HasFlag( wxNO_BORDER ) ) + if ( style & wxNO_BORDER ) { wclass = kSimpleWindowClass ; }