]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/listbox.cpp
make wxChoice and wxListBox inherit from wxControlWithItems and not wxControl for...
[wxWidgets.git] / src / gtk / listbox.cpp
index 3517dd9f71d6dad6cb9881682fab587addf483ac..b3f4a76682c27c727145c74817bae8a2afc8a8e5 100644 (file)
@@ -272,7 +272,7 @@ static gboolean gtk_listbox_searchequal_callback(GtkTreeModel* model,
 // wxListBox
 //-----------------------------------------------------------------------------
 
-IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControl)
+IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControlWithItems)
 
 // ----------------------------------------------------------------------------
 // construction