]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/listbox.cpp
log changes
[wxWidgets.git] / src / mac / listbox.cpp
index 9daaf275e82b77581269dbbd28b1698d24d3a1b7..5240ef76be94d96be09909d790a70ed8258a2712 100644 (file)
@@ -202,6 +202,9 @@ bool wxListBox::Create(wxWindow *parent, wxWindowID id,
                        const wxValidator& validator,
                        const wxString& name)
 {
+    if ( !wxListBoxBase::Create(parent, id, pos, size, style, validator, name) )
+        return false;
+
     m_noItems = 0 ; // this will be increased by our append command
     m_selected = 0;