X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..c084a1ac064cff672b777e1e6a3624fd838387e7:/src/msw/snglinst.cpp?ds=sidebyside diff --git a/src/msw/snglinst.cpp b/src/msw/snglinst.cpp index 3e9e23a1be..85b76977ab 100644 --- a/src/msw/snglinst.cpp +++ b/src/msw/snglinst.cpp @@ -40,7 +40,7 @@ // wxSingleInstanceCheckerImpl: the real implementation class // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxSingleInstanceCheckerImpl +class WXDLLIMPEXP_BASE wxSingleInstanceCheckerImpl { public: wxSingleInstanceCheckerImpl() @@ -52,7 +52,7 @@ public: bool Create(const wxString& name) { - m_hMutex = ::CreateMutex(NULL, FALSE, name); + m_hMutex = ::CreateMutex(NULL, FALSE, name.t_str()); if ( !m_hMutex ) { wxLogLastError(_T("CreateMutex"));