X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c6867dcd5110058c0e63a8de5f05fdc139c18129..5953e7c7d67c212f3513de0d660888c5668441ea:/src/msw/snglinst.cpp?ds=sidebyside diff --git a/src/msw/snglinst.cpp b/src/msw/snglinst.cpp index eb9bb38382..85b76977ab 100644 --- a/src/msw/snglinst.cpp +++ b/src/msw/snglinst.cpp @@ -52,7 +52,7 @@ public: bool Create(const wxString& name) { - m_hMutex = ::CreateMutex(NULL, FALSE, name.c_str()); + m_hMutex = ::CreateMutex(NULL, FALSE, name.t_str()); if ( !m_hMutex ) { wxLogLastError(_T("CreateMutex"));