]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/listbox.cpp
made pre-compiling the python files optional
[wxWidgets.git] / src / gtk1 / listbox.cpp
index ba55ab7bd74fb1ae959b5613c148e06a0959a894..c8a8bea0d769cd17a23d7b5940b1edcddb0c9e46 100644 (file)
@@ -5,7 +5,7 @@
 // Created:     01/02/97
 // Id:
 // Copyright:   (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 
@@ -16,6 +16,7 @@
 #include "wx/dynarray.h"
 #include "wx/listbox.h"
 #include "wx/utils.h"
+#include <wx/intl.h>
 
 //-----------------------------------------------------------------------------
 // data
@@ -51,6 +52,7 @@ static void gtk_listitem_select_callback( GtkWidget *WXUNUSED(widget), wxListBox
     }
 
   event.SetEventObject( listbox );
+
   listbox->GetEventHandler()->ProcessEvent( event );
   if (event.m_commandString) delete[] event.m_commandString ;
 };
@@ -345,7 +347,7 @@ int wxListBox::GetIndex( GtkWidget *item ) const
   return -1;
 };
 
-GtkWidget *wxListBox::GetDropTargetWidget(void)
+GtkWidget *wxListBox::GetConnectWidget(void)
 {
   return GTK_WIDGET(m_list);
 };