]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/listbox.cpp
make wxChoice and wxListBox inherit from wxControlWithItems and not wxControl for...
[wxWidgets.git] / src / gtk1 / listbox.cpp
index 93815ed498c7e74d37900ab990322024a9e59619..d5fcf07764f1b973d85c0fbae9072ea8311b3177 100644 (file)
@@ -450,7 +450,7 @@ gtk_listbox_realized_callback( GtkWidget *m_widget, wxListBox *win )
 // wxListBox
 //-----------------------------------------------------------------------------
 
-IMPLEMENT_DYNAMIC_CLASS(wxListBox,wxControl)
+IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControlWithItems)
 
 // ----------------------------------------------------------------------------
 // construction