]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/treegtk.cpp
fixed crash when return is pressed in a spinctrl inside a parent which is not a GtkWindow
[wxWidgets.git] / src / gtk1 / treegtk.cpp
index 771e96b078c412d3ccd76f16f3d1210ed0226bc9..0b0799b56ba738279776eb5e060cb247ef8637b3 100644 (file)
@@ -75,10 +75,8 @@ static void gtk_treeitem_select_callback(GtkWidget *widget, wxTreeItemId *treeit
   owner->SendSelChanged(GTK_TREE_ITEM(widget));
 }
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxTreeCtrl, wxControl)
 
-#endif
 
 void wxTreeCtrl::Init() {
   m_imageListNormal = NULL;