X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d08d71a8441b5a8d20ab1f71cc76d5486e667543..bf25264013271a7827b82be5f6c9afa7fdf444ae:/include/wx/snglinst.h

diff --git a/include/wx/snglinst.h b/include/wx/snglinst.h
index 817e7d45fe..114b73b3d1 100644
--- a/include/wx/snglinst.h
+++ b/include/wx/snglinst.h
@@ -13,7 +13,7 @@
 #ifndef _WX_SNGLINST_H_
 #define _WX_SNGLINST_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #pragma interface "snglinst.h"
 #endif
 
@@ -50,16 +50,7 @@ public:
 
     // is another copy of this program already running?
     bool IsAnotherRunning() const;
-    
-#ifdef __WXMSW__
-    // Activates Previous Instance if a window whose Title contains the search string is found
-    bool ActivatePrevInstance(const wxString & sSearch);
-    
-    // Activates Previous Instance and passes CommandLine to wxCommandLineEvent
-    // if a window with matching Title is found
-    bool PassCommandLineToPrevInstance(const wxString & sSearch, const wxString & sCmdLine);
-#endif
-    
+
     // dtor is not virtual, this class is not meant to be used polymorphically
     ~wxSingleInstanceChecker();
 
@@ -69,6 +60,8 @@ private:
 
     // the implementation details (platform specific)
     class WXDLLEXPORT wxSingleInstanceCheckerImpl *m_impl;
+
+    DECLARE_NO_COPY_CLASS(wxSingleInstanceChecker)
 };
 
 #endif // wxUSE_SNGLINST_CHECKER