]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/combobox.cpp
1. NOT_FOUND -> wxNOT_FOUND
[wxWidgets.git] / src / gtk1 / combobox.cpp
index 4576ffe0943c50efec7cff79c922140a86f6f57c..499e2153d96960791bf4d8d81a069568e20fd5cb 100644 (file)
@@ -14,8 +14,6 @@
 
 #include "wx/combobox.h"
 
-#ifdef wxUSE_COMBOBOX
-
 #include <wx/intl.h>
 
 #include "gdk/gdk.h"
@@ -255,7 +253,7 @@ void wxComboBox::Delete( int n )
         return;
     }
   
-    GList *list = g_list_append( NULL, child->data );
+    GList *list = g_list_append( (GList*) NULL, child->data );
     gtk_list_remove_items( listbox, list );
     g_list_free( list );
   
@@ -543,6 +541,3 @@ bool wxComboBox::IsOwnGtkWindow( GdkWindow *window )
              (window == GTK_COMBO(m_widget)->button->window ) );
 }
 
-#endif
-
-  // wxUSE_COMBOBOX
\ No newline at end of file