]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/volume.h
Window management and sizer layout corrections
[wxWidgets.git] / include / wx / volume.h
index 32d2f9fed5313cbe3b86e82e9ec5f02506d4f4b8..a65ce2f2bb5731991d13b6cfbf76744d40f04d13 100644 (file)
     #pragma interface "fsvolume.h"
 #endif
 
+#include "wx/defs.h"
+
+#if wxUSE_FSVOLUME
+
 // the volume flags
 enum
 {
@@ -49,6 +53,9 @@ enum wxFSVolumeKind
 };
 
 #if wxUSE_GUI
+
+#include "wx/icon.h"
+
 enum wxFSIconType
 {
     wxFS_VOL_ICO_SMALL = 0,
@@ -57,10 +64,11 @@ 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
 {
 public:
@@ -118,5 +126,7 @@ private:
 
 };
 
+#endif // wxUSE_FSVOLUME
+
 #endif // _WX_FSVOLUME_H_