]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/dirdlgg.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / generic / dirdlgg.h
index 190b90e71549350ca0bbf932da825c169231f673..3133ca5ab60f8c9555fe2fc03f23fca1509b1e2a 100644 (file)
@@ -15,7 +15,7 @@
 #ifndef _WX_DIRDLGG_H_
 #define _WX_DIRDLGG_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "dirdlgg.h"
 #endif
 
@@ -82,6 +82,7 @@ protected:
     wxTextCtrl*       m_input;
 
     DECLARE_EVENT_TABLE()
+    DECLARE_DYNAMIC_CLASS(wxGenericDirDialog)
 };
 
 #endif // _WX_DIRDLGG_H_