X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/83df96d63a52ebb08b9e32549dc255354b4a18d0..73bab6b44da953b35b902c9f3199582e4e76d89b:/include/wx/motif/accel.h diff --git a/include/wx/motif/accel.h b/include/wx/motif/accel.h index 6b61e38b12..8bb9608a63 100644 --- a/include/wx/motif/accel.h +++ b/include/wx/motif/accel.h @@ -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); }