projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow specifying non default port for wxFTP connections.
[wxWidgets.git]
/
include
/
wx
/
iconloc.h
diff --git
a/include/wx/iconloc.h
b/include/wx/iconloc.h
index a1a5371a0de95b43f73c3194397a256c492684a6..dcccca3274f64ccbf1cc46ea1a9d41a45f838743 100644
(file)
--- a/
include/wx/iconloc.h
+++ b/
include/wx/iconloc.h
@@
-5,7
+5,7
@@
// Modified by:
// Created: 21.06.2003
// RCS-ID: $Id$
// Modified by:
// Created: 21.06.2003
// RCS-ID: $Id$
-// Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwi
ndow
s.org>
+// Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwi
dget
s.org>
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
@@
-18,7
+18,7
@@
// wxIconLocation: describes the location of an icon
// ----------------------------------------------------------------------------
// wxIconLocation: describes the location of an icon
// ----------------------------------------------------------------------------
-class WXDLL
EXPORT
wxIconLocationBase
+class WXDLL
IMPEXP_BASE
wxIconLocationBase
{
public:
// ctor takes the name of the file where the icon is
{
public:
// ctor takes the name of the file where the icon is
@@
-43,7
+43,7
@@
private:
// index of the icon
#if defined(__WXMSW__)
// index of the icon
#if defined(__WXMSW__)
-class WXDLL
EXPORT
wxIconLocation : public wxIconLocationBase
+class WXDLL
IMPEXP_BASE
wxIconLocation : public wxIconLocationBase
{
public:
// ctor takes the name of the file where the icon is and the icons index in
{
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
#else // !MSW
-typedef wxIconLocationBase wxIconLocation;
+// must be a class because we forward declare it as class
+class WXDLLIMPEXP_BASE wxIconLocation : public wxIconLocationBase
+{
+public:
+ wxEXPLICIT wxIconLocation(const wxString& filename = wxEmptyString)
+ : wxIconLocationBase(filename) { }
+};
#endif // platform
#endif // platform