diff --git a/include/wx/volume.h b/include/wx/volume.h index 17645ade60..32a2a46306 100644 --- a/include/wx/volume.h +++ b/include/wx/volume.h @@ -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