From: Václav Slavík Date: Sat, 31 Jan 2004 14:49:51 +0000 (+0000) Subject: fixed wxFSVolume definition if !wxUSE_GUI X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8d65a2e1f8c03f855f4cb9b025214b1792b66477 fixed wxFSVolume definition if !wxUSE_GUI git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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