X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..dfa0b52f4ac947d5e7566dabb81c39bbf881fac5:/include/wx/volume.h diff --git a/include/wx/volume.h b/include/wx/volume.h index 17645ade60..b179ca7675 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(NO_GCC_PRAGMA) - #pragma interface "fsvolume.h" -#endif - #include "wx/defs.h" #if wxUSE_FSVOLUME @@ -121,7 +117,7 @@ enum wxFSIconType }; // wxFSVolume adds GetIcon() to wxFSVolumeBase -class wxFSVolume : public wxFSVolumeBase +class WXDLLIMPEXP_CORE wxFSVolume : public wxFSVolumeBase { public: wxFSVolume() : wxFSVolumeBase() { InitIcons(); } @@ -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