X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bddd7a8d8953cf4c09e56c13e1bfcc594ba0267e..f6840be66eb772c08f0cbb43de677509d5d132bb:/include/wx/volume.h diff --git a/include/wx/volume.h b/include/wx/volume.h index e0dcb78f9b..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 @@ -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