diff --git a/include/wx/gtk/combobox.h b/include/wx/gtk/combobox.h index 5e9e341fb3..7d7822f941 100644 --- a/include/wx/gtk/combobox.h +++ b/include/wx/gtk/combobox.h @@ -18,8 +18,6 @@ #include "wx/defs.h" -#if wxUSE_COMBOBOX - #include "wx/object.h" #include "wx/control.h" @@ -119,10 +117,6 @@ public: DECLARE_EVENT_TABLE() }; -#endif - - // wxUSE_COMBOBOX - #endif // __GTKCOMBOBOXH__ diff --git a/include/wx/gtk1/combobox.h b/include/wx/gtk1/combobox.h index 5e9e341fb3..7d7822f941 100644 --- a/include/wx/gtk1/combobox.h +++ b/include/wx/gtk1/combobox.h @@ -18,8 +18,6 @@ #include "wx/defs.h" -#if wxUSE_COMBOBOX - #include "wx/object.h" #include "wx/control.h" @@ -119,10 +117,6 @@ public: DECLARE_EVENT_TABLE() }; -#endif - - // wxUSE_COMBOBOX - #endif // __GTKCOMBOBOXH__ diff --git a/include/wx/intl.h b/include/wx/intl.h index fd26e1054c..8b7acb076b 100644 --- a/include/wx/intl.h +++ b/include/wx/intl.h @@ -36,7 +36,9 @@ typedef unsigned long size_t32; // ---------------------------------------------------------------------------- // gettext() style macro +#ifndef WXINTL_NO_GETTEXT_MACRO #define _(str) wxGetTranslation(str) +#endif // ---------------------------------------------------------------------------- // forward decls diff --git a/src/gtk/combobox.cpp b/src/gtk/combobox.cpp index 302a6f5dff..499e2153d9 100644 --- a/src/gtk/combobox.cpp +++ b/src/gtk/combobox.cpp @@ -14,8 +14,6 @@ #include "wx/combobox.h" -#if wxUSE_COMBOBOX - #include #include "gdk/gdk.h" @@ -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 diff --git a/src/gtk1/combobox.cpp b/src/gtk1/combobox.cpp index 302a6f5dff..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" @@ -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