X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7183fd726e0f2e493bf60e8e623990e5f34a2476..2adfb497e666354303ea6bb0e468f1e53811ad55:/include/wx/volume.h?ds=sidebyside diff --git a/include/wx/volume.h b/include/wx/volume.h index 32d2f9fed5..902e74bf82 100644 --- a/include/wx/volume.h +++ b/include/wx/volume.h @@ -20,6 +20,14 @@ #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_