]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/snglinst.cpp
wrong override params
[wxWidgets.git] / src / msw / snglinst.cpp
index 7ccf5af9e054ef11cf074aec393caa8b6b4a57a0..d1e8490ede98a46823448cd565a6646110f2bb72 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"));
@@ -92,7 +92,7 @@ private:
     // the mutex handle, may be NULL
     HANDLE m_hMutex;
 
-    DECLARE_NO_COPY_CLASS(wxSingleInstanceCheckerImpl)
+    wxDECLARE_NO_COPY_CLASS(wxSingleInstanceCheckerImpl);
 };
 
 // ============================================================================