X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57f4f9255e3d70e219e6eabd68c3990c0f471f81..69659fd770f615210efac4b4fa741b3ad6223616:/src/msw/snglinst.cpp diff --git a/src/msw/snglinst.cpp b/src/msw/snglinst.cpp index 465365814d..83f66d46a0 100644 --- a/src/msw/snglinst.cpp +++ b/src/msw/snglinst.cpp @@ -18,10 +18,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "snglinst.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -56,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"));