X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e3a6a6b2bc15ddda1d614dd232d37e59ad024044..8fef2a9b08766582f18a87f675ad574eba58e640:/include/wx/msw/textctrl.h diff --git a/include/wx/msw/textctrl.h b/include/wx/msw/textctrl.h index 76e578e49f..9fdc395d7f 100644 --- a/include/wx/msw/textctrl.h +++ b/include/wx/msw/textctrl.h @@ -12,7 +12,7 @@ #ifndef _WX_TEXTCTRL_H_ #define _WX_TEXTCTRL_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "textctrl.h" #endif @@ -251,7 +251,7 @@ protected: private: DECLARE_EVENT_TABLE() - DECLARE_DYNAMIC_CLASS(wxTextCtrl) + DECLARE_DYNAMIC_CLASS_NO_COPY(wxTextCtrl) wxMenu* m_privateContextMenu;