added WXDLLIMPEXP_FWD_FOO macros in addition to WXDLLIMPEXP_FOO for use with forward declarations (in preparation for GCC visibility support)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -18,8 +18,8 @@
|
||||
|
||||
#include "wx/event.h"
|
||||
|
||||
class WXDLLEXPORT wxWindow;
|
||||
class WXDLLEXPORT wxWindowBase;
|
||||
class WXDLLIMPEXP_FWD_CORE wxWindow;
|
||||
class WXDLLIMPEXP_FWD_CORE wxWindowBase;
|
||||
|
||||
/*
|
||||
A validator has up to three purposes:
|
||||
@@ -86,7 +86,7 @@ extern WXDLLEXPORT_DATA(const wxValidator) wxDefaultValidator;
|
||||
// want to be able to pass wxDefaultValidator to the functions which take
|
||||
// a wxValidator parameter to avoid using "#if wxUSE_VALIDATORS"
|
||||
// everywhere
|
||||
class WXDLLEXPORT wxValidator;
|
||||
class WXDLLIMPEXP_FWD_CORE wxValidator;
|
||||
#define wxDefaultValidator (*((wxValidator *)NULL))
|
||||
|
||||
// this macro allows to avoid warnings about unused parameters when
|
||||
|
Reference in New Issue
Block a user