X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/05815ab32f501810bf0923a511f7d99b90b808a2..e13f1288772a23069470562fb5e0ce228640e77c:/include/wx/volume.h diff --git a/include/wx/volume.h b/include/wx/volume.h index a65ce2f2bb..8b6038d057 100644 --- a/include/wx/volume.h +++ b/include/wx/volume.h @@ -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_OBJARRAY(wxIcon, wxIconArray); - #endif // wxUSE_GUI class WXDLLEXPORT wxFSVolume