X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0df7cb7e432288745e61af96b26084cc888e7896..434e29032fdbff103182aa97bb66af48332f9dc8:/include/wx/msw/private.h?ds=sidebyside diff --git a/include/wx/msw/private.h b/include/wx/msw/private.h index 52c924ae09..262fc9ff80 100644 --- a/include/wx/msw/private.h +++ b/include/wx/msw/private.h @@ -23,9 +23,9 @@ #include "wx/log.h" -class WXDLLEXPORT wxFont; -class WXDLLEXPORT wxWindow; -class WXDLLEXPORT wxWindowBase; +class WXDLLIMPEXP_FWD_CORE wxFont; +class WXDLLIMPEXP_FWD_CORE wxWindow; +class WXDLLIMPEXP_FWD_CORE wxWindowBase; // --------------------------------------------------------------------------- // private constants @@ -692,7 +692,7 @@ public: { if ( IsRegistered() ) { - if ( !::UnregisterClass(m_clsname, wxhInstance) ) + if ( !::UnregisterClass(m_clsname.wx_str(), wxhInstance) ) { wxLogLastError(_T("UnregisterClass")); }