]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/tipwin.h
disable use of #pragma interface under Mac OS X
[wxWidgets.git] / include / wx / tipwin.h
index ceab97f7feab0034d67a0787fee53298a2539f0f..d8ad218f2190e2cca2e416ffc943a75d2bb42a40 100644 (file)
@@ -7,13 +7,13 @@
 // Created:     10.09.00
 // RCS-ID:      $Id$
 // Copyright:   (c) 2000 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
-// Licence:     wxWindows license
+// Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_TIPWIN_H_
 #define _WX_TIPWIN_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #pragma interface "tipwin.h"
 #endif
 
@@ -92,6 +92,8 @@ private:
     DECLARE_EVENT_TABLE()
 
     friend class wxTipWindowView;
+
+    DECLARE_NO_COPY_CLASS(wxTipWindow)
 };
 
 #endif // wxUSE_TIPWINDOW