#ifndef _WX_FSVOLUME_H_
#define _WX_FSVOLUME_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "fsvolume.h"
#endif
+#include "wx/defs.h"
+
+#if wxUSE_FSVOLUME
+
+#if wxUSE_GUI
+ #include "wx/iconbndl.h" // for wxIconArray
+#endif // wxUSE_GUI
+
// the volume flags
enum
{
};
#if wxUSE_GUI
+
+#include "wx/icon.h"
+
enum wxFSIconType
{
wxFS_VOL_ICO_SMALL = 0,
wxFS_VOL_ICO_SEL_LARGE,
wxFS_VOL_ICO_MAX
};
-#endif // wxUSE_GUI
-WX_DECLARE_OBJARRAY(wxIcon, wxIconArray);
+#endif // wxUSE_GUI
class WXDLLEXPORT wxFSVolume
{
};
+#endif // wxUSE_FSVOLUME
+
#endif // _WX_FSVOLUME_H_