wxComboBox included (removed dependency on wxUSE_COMBOBOX which was never
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
This commit is contained in:
parent
12a44087e4
commit
687d733769
@ -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__
|
||||
|
@ -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__
|
||||
|
@ -36,7 +36,9 @@ typedef unsigned long size_t32;
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// gettext() style macro
|
||||
#ifndef WXINTL_NO_GETTEXT_MACRO
|
||||
#define _(str) wxGetTranslation(str)
|
||||
#endif
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// forward decls
|
||||
|
@ -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
|
@ -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
|
Loading…
Reference in New Issue
Block a user