fixes needed for separate DLL build to work

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-07-02 01:41:23 +00:00
parent 9feb77164b
commit 886dd7d28e
86 changed files with 754 additions and 677 deletions

View File

@@ -18,7 +18,7 @@
// wxIconLocation: describes the location of an icon
// ----------------------------------------------------------------------------
class WXDLLEXPORT wxIconLocationBase
class WXDLLEXPORT_BASE wxIconLocationBase
{
public:
// ctor takes the name of the file where the icon is
@@ -43,7 +43,7 @@ private:
// index of the icon
#if defined(__WXMSW__)
class WXDLLEXPORT wxIconLocation : public wxIconLocationBase
class WXDLLEXPORT_BASE wxIconLocation : public wxIconLocationBase
{
public:
// ctor takes the name of the file where the icon is and the icons index in
@@ -67,7 +67,13 @@ wxIconLocation::wxIconLocation(const wxString& file, int num)
#else // !MSW
typedef wxIconLocationBase wxIconLocation;
// must be a class because we forward declare it as class
class WXDLLEXPORT_BASE wxIconLocation : public wxIconLocationBase
{
public:
wxEXPLICIT wxIconLocation(const wxString& filename = wxEmptyString)
: wxIconLocationBase(filename) { }
};
#endif // platform