X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/889f0b7c67f207f230d8bf9f558ae35445d57e10..c45b7e75d1833c93200ca2d4e518954e48ec936e:/include/wx/msw/combobox.h diff --git a/include/wx/msw/combobox.h b/include/wx/msw/combobox.h index e8460b2ae7..a369165d75 100644 --- a/include/wx/msw/combobox.h +++ b/include/wx/msw/combobox.h @@ -12,7 +12,7 @@ #ifndef _WX_COMBOBOX_H_ #define _WX_COMBOBOX_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "combobox.h" #endif @@ -20,17 +20,12 @@ #if wxUSE_COMBOBOX -WXDLLEXPORT_DATA(extern const wxChar*) wxComboBoxNameStr; -WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString; - // ---------------------------------------------------------------------------- // Combobox control // ---------------------------------------------------------------------------- class WXDLLEXPORT wxComboBox: public wxChoice { - DECLARE_DYNAMIC_CLASS(wxComboBox) - public: wxComboBox() { } @@ -84,6 +79,9 @@ public: WXUINT message, WXWPARAM wParam, WXLPARAM lParam); WXHWND GetEditHWND() const; + +private: + DECLARE_DYNAMIC_CLASS_NO_COPY(wxComboBox) }; #endif // wxUSE_COMBOBOX