]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/accel.h
restored wxPluginLibrary::ms_classes handling code that was removed by mistake
[wxWidgets.git] / include / wx / motif / accel.h
index 6b61e38b121f6acd8d9aa1f9a07cc11b3954d0ee..41dea675756a590c016d32cc486b62fa3ee4204a 100644 (file)
@@ -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); }