]> git.saurik.com Git - wxWidgets.git/commitdiff
wxComboBox included (removed dependency on wxUSE_COMBOBOX which was never
authorKarsten Ballüder <ballueder@usa.net>
Sat, 9 Jan 1999 18:00:30 +0000 (18:00 +0000)
committerKarsten Ballüder <ballueder@usa.net>
Sat, 9 Jan 1999 18:00:30 +0000 (18:00 +0000)
defined). intl.h only defines _() macro if WXINTL_NO_GETTEXT_MACRO is not defined.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gtk/combobox.h
include/wx/gtk1/combobox.h
include/wx/intl.h
src/gtk/combobox.cpp
src/gtk1/combobox.cpp

index 5e9e341fb38355ab817aae34038ccbea2e7dced7..7d7822f941e5ca06650818ebf642111109bd8555 100644 (file)
@@ -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__
index 5e9e341fb38355ab817aae34038ccbea2e7dced7..7d7822f941e5ca06650818ebf642111109bd8555 100644 (file)
@@ -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__
index fd26e1054c7239ef072fec210d2cfd69193bfcad..8b7acb076bf1326be642e81a8a277768982735cb 100644 (file)
@@ -36,7 +36,9 @@ typedef unsigned long size_t32;
 // ----------------------------------------------------------------------------
 
 // gettext() style macro
+#ifndef WXINTL_NO_GETTEXT_MACRO
 #define   _(str)  wxGetTranslation(str)
+#endif
 
 // ----------------------------------------------------------------------------
 // forward decls
index 302a6f5dfff106278350bc59e768fc6124dcecea..499e2153d96960791bf4d8d81a069568e20fd5cb 100644 (file)
@@ -14,8 +14,6 @@
 
 #include "wx/combobox.h"
 
-#if wxUSE_COMBOBOX
-
 #include <wx/intl.h>
 
 #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
index 302a6f5dfff106278350bc59e768fc6124dcecea..499e2153d96960791bf4d8d81a069568e20fd5cb 100644 (file)
@@ -14,8 +14,6 @@
 
 #include "wx/combobox.h"
 
-#if wxUSE_COMBOBOX
-
 #include <wx/intl.h>
 
 #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