]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/accel.h
Fix some compilation and linking errors in samples.
[wxWidgets.git] / include / wx / motif / accel.h
index 6b61e38b121f6acd8d9aa1f9a07cc11b3954d0ee..8bb9608a637bf77b77e1c48ddb570c2dba5bf017 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_ACCEL_H_
 #define _WX_ACCEL_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "accel.h"
 #endif
 
@@ -26,7 +26,7 @@ class WXDLLEXPORT wxAcceleratorTable: public wxObject
 public:
     wxAcceleratorTable();
     wxAcceleratorTable(const wxString& resource); // Load from .rc resource
-    wxAcceleratorTable(int n, wxAcceleratorEntry entries[]); // Load from array
+    wxAcceleratorTable(int n, const wxAcceleratorEntry entries[]); // Load from array
     
     // Copy constructors
     wxAcceleratorTable(const wxAcceleratorTable& accel) { Ref(accel); }