X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6969c2c31845ebe5bca1d4902a0dfe9cefe0da2c..9bb3f212e26b4685f0c6ed7281d50b658ecc1491:/include/wx/msw/private.h diff --git a/include/wx/msw/private.h b/include/wx/msw/private.h index b11c9c455a..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")); } @@ -824,7 +824,8 @@ enum wxWinVersion wxWinVersion_2003 = 0x0502, wxWinVersion_6 = 0x0600, - wxWinVersion_NT6 = 0x0600 + wxWinVersion_Vista = wxWinVersion_6, + wxWinVersion_NT6 = wxWinVersion_6 }; WXDLLIMPEXP_BASE wxWinVersion wxGetWinVersion();