X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e2478fde622a16d25c66690af353dfdc37e7b582..2c01d33555e3125057f4575ca7d0d2aba93f421f:/include/wx/volume.h diff --git a/include/wx/volume.h b/include/wx/volume.h index b54a945940..5bac8c1b6e 100644 --- a/include/wx/volume.h +++ b/include/wx/volume.h @@ -16,10 +16,6 @@ #ifndef _WX_FSVOLUME_H_ #define _WX_FSVOLUME_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "fsvolume.h" -#endif - #include "wx/defs.h" #if wxUSE_FSVOLUME @@ -52,7 +48,7 @@ enum wxFSVolumeKind wxFS_VOL_MAX }; -class WXDLLEXPORT wxFSVolumeBase +class WXDLLIMPEXP_BASE wxFSVolumeBase { public: // return the array containing the names of the volumes @@ -139,12 +135,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