]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/listbox.cpp
removed OSX code that is no longer needed
[wxWidgets.git] / src / univ / listbox.cpp
index 4612caa01df895d24394c0cef4bc83d017e0b61b..299255d2b86a1e9888a91769c91bb4ae15527280 100644 (file)
@@ -106,7 +106,7 @@ bool wxListBox::Create(wxWindow *parent,
 #endif
 
     if ( !wxControl::Create(parent, id, pos, size, style, 
-                            wxDefaultValidator, name) )
+                            validator, name) )
         return FALSE;
 
     SetWindow(this);
@@ -769,7 +769,7 @@ void wxListBox::DoSetSize(int x, int y,
         height = ((height - hBorders + hLine - 1) / hLine)*hLine + hBorders;
     }
 
-    wxListBoxBase::DoSetSize(x, y, width, height);
+    wxListBoxBase::DoSetSize(x, y, width, height, sizeFlags);
 }
 
 wxSize wxListBox::DoGetBestClientSize() const