X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/06cfab17389f4bbd38560dd86ee39931e979bb1e..da07e0335e1a75d785a1b0f61b26aab7e48aa51e:/src/gtk1/combobox.cpp?ds=sidebyside diff --git a/src/gtk1/combobox.cpp b/src/gtk1/combobox.cpp index 45cf031ba1..499e2153d9 100644 --- a/src/gtk1/combobox.cpp +++ b/src/gtk1/combobox.cpp @@ -14,8 +14,6 @@ #include "wx/combobox.h" -#if wxUSE_COMBOBOX - #include #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