diff --git a/include/wx/weakref.h b/include/wx/weakref.h index 73dcf5cdca..9ae506798b 100644 --- a/include/wx/weakref.h +++ b/include/wx/weakref.h @@ -305,7 +305,7 @@ protected: // Provide some basic types of weak references class WXDLLIMPEXP_FWD_BASE wxEvtHandler; -class WXDLLIMPEXP_FWD_BASE wxWindow; +class WXDLLIMPEXP_FWD_CORE wxWindow; typedef wxWeakRef wxEvtHandlerRef; typedef wxWeakRef wxWindowRef;