]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/utils.cpp
Add support for stretchable spaces to wxToolBar.
[wxWidgets.git] / src / x11 / utils.cpp
index 0aa849ea29cc8f8e11ff0326d8149614577a9e74..ffc6805717632501877a0413574939f19a0b6641 100644 (file)
@@ -377,7 +377,7 @@ wxString wxGetXEventName(XEvent& event)
     return str;
 #else
     int type = event.xany.type;
-    static char* event_name[] = {
+    static const char* event_name[] = {
         "", "unknown(-)",                                         // 0-1
         "KeyPress", "KeyRelease", "ButtonPress", "ButtonRelease", // 2-5
         "MotionNotify", "EnterNotify", "LeaveNotify", "FocusIn",  // 6-9