]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix typo with adding wxNO_BORDER to the native control.
authorKevin Ollivier <kevino@theolliviers.com>
Fri, 10 Nov 2006 20:55:45 +0000 (20:55 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Fri, 10 Nov 2006 20:55:45 +0000 (20:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/listctrl_mac.cpp

index 5450de5164af651c0720231f26cc5cdf53bdd005..a43925527a20a1877563b89b285d7062fb07a283 100644 (file)
@@ -627,7 +627,7 @@ bool wxListCtrl::Create(wxWindow *parent,
     {
         m_macIsUserPane = true;
 
-        if ( !wxWindow::Create(parent, id, pos, size, style & wxNO_BORDER, name) )
+        if ( !wxWindow::Create(parent, id, pos, size, style | wxNO_BORDER, name) )
             return false;
         
         // since the generic control is a child, make sure we position it at 0, 0