X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e421922f90186d0619a806d277a0a2182e61b5fb..961dd75341aaa5083098fefd5c1074d8308b5732:/include/wx/msw/msgdlg.h?ds=sidebyside

diff --git a/include/wx/msw/msgdlg.h b/include/wx/msw/msgdlg.h
index eeccdf6c91..a82784cff6 100644
--- a/include/wx/msw/msgdlg.h
+++ b/include/wx/msw/msgdlg.h
@@ -12,7 +12,7 @@
 #ifndef _WX_MSGBOXDLG_H_
 #define _WX_MSGBOXDLG_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "msgdlg.h"
 #endif
 
@@ -38,6 +38,8 @@ public:
         long style = wxOK|wxCENTRE, const wxPoint& pos = wxDefaultPosition);
 
     int ShowModal(void);
+
+    DECLARE_NO_COPY_CLASS(wxMessageDialog)
 };