]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/volume.h
another compilation fix for over-optimized #includes
[wxWidgets.git] / include / wx / volume.h
index 2c1a821fa5d58954c4a80624d7497f4705f046f0..8b6038d057a1233eb19ded34f1e314720a91d3bb 100644 (file)
@@ -16,7 +16,7 @@
 #ifndef _WX_FSVOLUME_H_
 #define _WX_FSVOLUME_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #pragma interface "fsvolume.h"
 #endif
 
 
 #if wxUSE_FSVOLUME
 
+#if wxUSE_GUI
+    #include "wx/iconbndl.h" // for wxIconArray
+#endif // wxUSE_GUI
+
 // the volume flags
 enum
 {
@@ -65,8 +69,6 @@ enum wxFSIconType
     wxFS_VOL_ICO_MAX
 };
 
-WX_DECLARE_EXPORTED_OBJARRAY(wxIcon, wxIconArray);
-
 #endif // wxUSE_GUI
 
 class WXDLLEXPORT wxFSVolume