]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/snglinst.cpp
Halfway reasonable implementation of wxFont for wxCocoa.
[wxWidgets.git] / src / msw / snglinst.cpp
index 3e9e23a1beba75d4074dec15cc1b32d98907f0ec..83f66d46a08bfcc82b373a02a8fabf04d100d7fc 100644 (file)
@@ -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"));