X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbee1b4abc13379569607df8f6985ec68dc12231..0304b437122f9a776944ba27c4cd4f5f12bf9a56:/include/wx/volume.h?ds=inline

diff --git a/include/wx/volume.h b/include/wx/volume.h
index 2c1a821fa5..902e74bf82 100644
--- a/include/wx/volume.h
+++ b/include/wx/volume.h
@@ -24,6 +24,10 @@
 
 #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