]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/dirdlgg.h
fix ifdef - its libpng not pnglib :)
[wxWidgets.git] / include / wx / generic / dirdlgg.h
index cf0ae90d94c8b66a528a68cbd93e4d184cc71339..3133ca5ab60f8c9555fe2fc03f23fca1509b1e2a 100644 (file)
@@ -15,7 +15,7 @@
 #ifndef _WX_DIRDLGG_H_
 #define _WX_DIRDLGG_H_
 
-#ifdef __GNUG__
+#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_