]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/accel.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / accel.h
index 02bac45939e66e1b51b2689fe8554e4de3854e66..faf7d50f88ef87982abefdb3af7a2b824e19fd2a 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     31.05.01 (extracted from other files)
 // RCS-ID:      $Id$
 // Copyright:   (c) wxWindows team
-// Licence:     wxWindows license
+// Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_ACCEL_H_BASE_
@@ -122,10 +122,10 @@ private:
     #include "wx/gtk/accel.h"
 #elif defined(__WXMAC__)
     #include "wx/mac/accel.h"
+#elif defined(__WXCOCOA__)
+    #include "wx/generic/accel.h"
 #elif defined(__WXPM__)
     #include "wx/os2/accel.h"
-#elif defined(__WXSTUBS__)
-    #include "wx/stubs/accel.h"
 #endif
 
 WXDLLEXPORT_DATA(extern wxAcceleratorTable) wxNullAcceleratorTable;