X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..69659fd770f615210efac4b4fa741b3ad6223616:/src/msw/snglinst.cpp diff --git a/src/msw/snglinst.cpp b/src/msw/snglinst.cpp index 3e9e23a1be..83f66d46a0 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); + m_hMutex = ::CreateMutex(NULL, FALSE, name.wx_str()); if ( !m_hMutex ) { wxLogLastError(_T("CreateMutex"));