X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/83df96d63a52ebb08b9e32549dc255354b4a18d0..d51305e81eb593bedd92cda864671e15209c268f:/include/wx/motif/accel.h?ds=sidebyside diff --git a/include/wx/motif/accel.h b/include/wx/motif/accel.h index 6b61e38b12..41dea67575 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(NO_GCC_PRAGMA) #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); }