]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/dirdlg.h
allow compilation with wxUSE_CHOICEDLG set to 0
[wxWidgets.git] / include / wx / msw / dirdlg.h
index 8a6e53b4e4df65d1757ad917895e3a2a06d23ac8..bf31a0063a23a6a2ff3214938cf27fda70ac6e26 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_DIRDLG_H_
 #define _WX_DIRDLG_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "dirdlg.h"
 #endif
 
@@ -42,7 +42,7 @@ protected:
     wxString    m_path;
 
 private:
-    DECLARE_DYNAMIC_CLASS(wxDirDialog)
+    DECLARE_DYNAMIC_CLASS_NO_COPY(wxDirDialog)
 };
 
 #endif