X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3fde374f3fac99247452a7358b2b43802728a219..83dee24ca2b182a77740d33abf72b833e647bcd5:/include/wx/msw/fontdlg.h diff --git a/include/wx/msw/fontdlg.h b/include/wx/msw/fontdlg.h index cc5d046254..b68bb6ccf2 100644 --- a/include/wx/msw/fontdlg.h +++ b/include/wx/msw/fontdlg.h @@ -12,7 +12,7 @@ #ifndef _WX_MSW_FONTDLG_H_ #define _WX_MSW_FONTDLG_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "fontdlg.h" #endif @@ -36,7 +36,7 @@ public: : wxFontDialogBase(parent, data) { Create(parent, data); } protected: - DECLARE_DYNAMIC_CLASS(wxFontDialog) + DECLARE_DYNAMIC_CLASS_NO_COPY(wxFontDialog) }; #endif