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