X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/886dd7d28e50c003cc88b81b968d487a3c17b0d7..05c3f0fc73d9124061c08e3d707b4e3d6bab4ff4:/include/wx/volume.h diff --git a/include/wx/volume.h b/include/wx/volume.h index 62406e7591..32a2a46306 100644 --- a/include/wx/volume.h +++ b/include/wx/volume.h @@ -16,7 +16,7 @@ #ifndef _WX_FSVOLUME_H_ #define _WX_FSVOLUME_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "fsvolume.h" #endif @@ -52,7 +52,7 @@ enum wxFSVolumeKind wxFS_VOL_MAX }; -class WXDLLEXPORT_BASE wxFSVolumeBase +class WXDLLIMPEXP_BASE wxFSVolumeBase { public: // return the array containing the names of the volumes @@ -139,12 +139,7 @@ private: #else // !wxUSE_GUI // wxFSVolume is the same thing as wxFSVolume in wxBase -class wxFSVolume : public wxFSVolumeBase -{ -public: - wxFSVolume() : wxFSVolumeBase() { } - wxFSVolume(const wxString& name) : wxFSVolumeBase(name) { } -}; +typedef wxFSVolumeBase wxFSVolume; #endif // wxUSE_GUI/!wxUSE_GUI