X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7183fd726e0f2e493bf60e8e623990e5f34a2476..b1ef887ad8c20ce0ac293db64dae82e88071baa9:/include/wx/volume.h diff --git a/include/wx/volume.h b/include/wx/volume.h index 32d2f9fed5..8b6038d057 100644 --- a/include/wx/volume.h +++ b/include/wx/volume.h @@ -16,10 +16,18 @@ #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 { @@ -49,6 +57,9 @@ enum wxFSVolumeKind }; #if wxUSE_GUI + +#include "wx/icon.h" + enum wxFSIconType { wxFS_VOL_ICO_SMALL = 0, @@ -57,9 +68,8 @@ enum wxFSIconType wxFS_VOL_ICO_SEL_LARGE, wxFS_VOL_ICO_MAX }; -#endif // wxUSE_GUI -WX_DECLARE_OBJARRAY(wxIcon, wxIconArray); +#endif // wxUSE_GUI class WXDLLEXPORT wxFSVolume { @@ -118,5 +128,7 @@ private: }; +#endif // wxUSE_FSVOLUME + #endif // _WX_FSVOLUME_H_