X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..355a5e2bd317690c277cd9229af76d7b0db45d03:/include/wx/msw/combobox.h diff --git a/include/wx/msw/combobox.h b/include/wx/msw/combobox.h index 6c911828e9..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,16 +20,12 @@ #if wxUSE_COMBOBOX -WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString; - // ---------------------------------------------------------------------------- // Combobox control // ---------------------------------------------------------------------------- class WXDLLEXPORT wxComboBox: public wxChoice { - DECLARE_DYNAMIC_CLASS(wxComboBox) - public: wxComboBox() { } @@ -83,6 +79,9 @@ public: WXUINT message, WXWPARAM wParam, WXLPARAM lParam); WXHWND GetEditHWND() const; + +private: + DECLARE_DYNAMIC_CLASS_NO_COPY(wxComboBox) }; #endif // wxUSE_COMBOBOX