]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dialog.h
made Convert() methods const
[wxWidgets.git] / include / wx / dialog.h
index f13cc11a5fd6a5f30b1748147b5b6a2949273c58..f9cfb80b715dcec1eb799587ddf9276dd5c20d48 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_DIALOG_H_BASE_
 #define _WX_DIALOG_H_BASE_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "dialogbase.h"
 #endif
 
@@ -50,6 +50,7 @@ protected:
     // the return code from modal dialog
     int m_returnCode;
 
+    DECLARE_NO_COPY_CLASS(wxDialogBase)
     DECLARE_EVENT_TABLE()
     WX_DECLARE_CONTROL_CONTAINER();
 };