X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/886dd7d28e50c003cc88b81b968d487a3c17b0d7..2a45803fc3877afd0ae3ce356dfe216505165882:/include/wx/iconloc.h diff --git a/include/wx/iconloc.h b/include/wx/iconloc.h index 4e929c5dce..d81e32700b 100644 --- a/include/wx/iconloc.h +++ b/include/wx/iconloc.h @@ -5,7 +5,7 @@ // Modified by: // Created: 21.06.2003 // RCS-ID: $Id$ -// Copyright: (c) 2003 Vadim Zeitlin +// Copyright: (c) 2003 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -18,7 +18,7 @@ // wxIconLocation: describes the location of an icon // ---------------------------------------------------------------------------- -class WXDLLEXPORT_BASE wxIconLocationBase +class WXDLLIMPEXP_BASE wxIconLocationBase { public: // ctor takes the name of the file where the icon is @@ -39,11 +39,11 @@ private: wxString m_filename; }; -// under MSW the same file may contain several icons so we also store the +// under Windows the same file may contain several icons so we also store the // index of the icon -#if defined(__WXMSW__) +#if defined(__WINDOWS__) -class WXDLLEXPORT_BASE wxIconLocation : public wxIconLocationBase +class WXDLLIMPEXP_BASE wxIconLocation : public wxIconLocationBase { public: // ctor takes the name of the file where the icon is and the icons index in @@ -65,10 +65,10 @@ wxIconLocation::wxIconLocation(const wxString& file, int num) SetIndex(num); } -#else // !MSW +#else // !__WINDOWS__ // must be a class because we forward declare it as class -class WXDLLEXPORT_BASE wxIconLocation : public wxIconLocationBase +class WXDLLIMPEXP_BASE wxIconLocation : public wxIconLocationBase { public: wxEXPLICIT wxIconLocation(const wxString& filename = wxEmptyString)