]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/listbox.cpp
warning msgs
[wxWidgets.git] / src / gtk1 / listbox.cpp
index aca47629374b5b40c848b2f507099c2ea8f273d7..f880a3291ef6f17e1fcfdfa9ec91f079e476f6a2 100644 (file)
@@ -99,6 +99,8 @@ bool wxListBox::Create( wxWindow *parent, wxWindowID id,
  
   PostCreation();
   
+  gtk_widget_realize( GTK_WIDGET(m_list) );
+  
   Show( TRUE );
   
   return TRUE;
@@ -321,4 +323,10 @@ int wxListBox::GetIndex( GtkWidget *item ) const
   return -1;
 };
 
+GtkWidget *wxListBox::GetDropTargetWidget(void)
+{
+  return GTK_WIDGET(m_list);
+};
+
+