#ifndef _WX_DIR_H_
#define _WX_DIR_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "dir.h"
#endif
// wxDir: portable equivalent of {open/read/close}dir functions
// ----------------------------------------------------------------------------
+class WXDLLEXPORT wxDirData;
+
class WXDLLEXPORT wxDir
{
public: