]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/snglinst.cpp
fix bug with wxCSConv("ASCII")
[wxWidgets.git] / src / msw / snglinst.cpp
index 7ccf5af9e054ef11cf074aec393caa8b6b4a57a0..85b76977abfc4baed1d09835d009c829b77dd616 100644 (file)
@@ -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"));