X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbee1b4abc13379569607df8f6985ec68dc12231..7c0720183f5c78d0f0f99a5935b8ec4e953b4fef:/include/wx/volume.h?ds=sidebyside diff --git a/include/wx/volume.h b/include/wx/volume.h index 2c1a821fa5..6d095f09f7 100644 --- a/include/wx/volume.h +++ b/include/wx/volume.h @@ -6,7 +6,7 @@ // Created: 28 Jan 02 // RCS-ID: $Id$ // Copyright: (c) 2002 George Policello -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // ---------------------------------------------------------------------------- @@ -16,7 +16,7 @@ #ifndef _WX_FSVOLUME_H_ #define _WX_FSVOLUME_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "fsvolume.h" #endif @@ -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