]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/listbox.cpp
For OS X detect (based on gcc version) and use -single_module flag.
[wxWidgets.git] / src / mac / listbox.cpp
index 5240ef76be94d96be09909d790a70ed8258a2712..d5c590caeb37523d6c210fec38887eae35704ca3 100644 (file)
@@ -202,7 +202,7 @@ bool wxListBox::Create(wxWindow *parent, wxWindowID id,
                        const wxValidator& validator,
                        const wxString& name)
 {
-    if ( !wxListBoxBase::Create(parent, id, pos, size, style, validator, name) )
+    if ( !wxListBoxBase::Create(parent, id, pos, size, style & ~(wxHSCROLL|wxVSCROLL), validator, name) )
         return false;
 
     m_noItems = 0 ; // this will be increased by our append command