X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef5c70f96f5e06e1c8f8119f51b99dd019583d2b..b46b1d59d6f69ad80dcf5955375578a6504d100a:/include/wx/gtk/combobox.h diff --git a/include/wx/gtk/combobox.h b/include/wx/gtk/combobox.h index 206e729896..f8540a2bd8 100644 --- a/include/wx/gtk/combobox.h +++ b/include/wx/gtk/combobox.h @@ -8,27 +8,8 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifndef __GTKCOMBOBOXH__ -#define __GTKCOMBOBOXH__ - -#include "wx/defs.h" - -#if wxUSE_COMBOBOX - -#include "wx/object.h" - -//----------------------------------------------------------------------------- -// classes -//----------------------------------------------------------------------------- - -class WXDLLIMPEXP_CORE wxComboBox; - -//----------------------------------------------------------------------------- -// global data -//----------------------------------------------------------------------------- - -extern WXDLLEXPORT_DATA(const wxChar) wxComboBoxNameStr[]; -extern WXDLLIMPEXP_BASE const wxChar* wxEmptyString; +#ifndef _WX_GTK_COMBOBOX_H_ +#define _WX_GTK_COMBOBOX_H_ //----------------------------------------------------------------------------- // wxComboBox @@ -61,7 +42,7 @@ public: Create(parent, id, value, pos, size, choices, style, validator, name); } - ~wxComboBox(); + virtual ~wxComboBox(); bool Create(wxWindow *parent, wxWindowID id, const wxString& value = wxEmptyString, @@ -184,8 +165,4 @@ private: DECLARE_EVENT_TABLE() }; -#endif - -#endif - - // __GTKCOMBOBOXH__ +#endif // _WX_GTK_COMBOBOX_H_