]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/listbox.cpp
Update from Hartwig for OS X implementation
[wxWidgets.git] / src / gtk / listbox.cpp
index 3517dd9f71d6dad6cb9881682fab587addf483ac..b4fa72e3712b6d78edecac4512983de7e5fee18c 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
@@ -483,9 +483,6 @@ int wxListBox::DoInsertItems(const wxArrayStringsAdapter& items,
         g_object_unref (entry);
     }
 
-    if ( !HasClientData() )
-        m_clientDataItemsType = type;
-
     return pos + numItems - 1;
 }