X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0df7cb7e432288745e61af96b26084cc888e7896..b052a864e9d5270fd40f9ee6021133d2c3cd3173:/include/wx/msw/private.h?ds=sidebyside diff --git a/include/wx/msw/private.h b/include/wx/msw/private.h index 52c924ae09..22049abda7 100644 --- a/include/wx/msw/private.h +++ b/include/wx/msw/private.h @@ -692,7 +692,7 @@ public: { if ( IsRegistered() ) { - if ( !::UnregisterClass(m_clsname, wxhInstance) ) + if ( !::UnregisterClass(m_clsname.wx_str(), wxhInstance) ) { wxLogLastError(_T("UnregisterClass")); }