]> git.saurik.com Git - wxWidgets.git/commitdiff
add const attribute to avoid lots of warnings from GCC
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Fri, 9 Jan 2009 15:48:13 +0000 (15:48 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Fri, 9 Jan 2009 15:48:13 +0000 (15:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/docview/chart.xpm
samples/docview/doc.xpm
samples/docview/notepad.xpm

index be27181d8765e50b6ac2d693107ffef1d1b3c926..f1c0c5d43d4fdc95baec55ac175999e947ae7a14 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-static char *chrt_xpm[] = {
+static const char *chrt_xpm[] = {
 /* columns rows colors chars-per-pixel */
 "32 32 11 1",
 "  c black",
index 7a60b89620ec8e2beecfb230e421a4ddd49871ce..4ab82840b2326cca91f012c1dfaf34ae215a917b 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-static char *doc_xpm[] = {
+static const char *doc_xpm[] = {
 /* columns rows colors chars-per-pixel */
 "32 32 5 1",
 "  c black",
index 4743183ea2a762a0b0593ffaf227db6cc07d13ac..09d9cb237fc7b2c1b4ad9b45190134b29d2ce956 100644 (file)
@@ -1,5 +1,5 @@
 /* XPM */
-static char *notepad_xpm[] = {
+static const char *notepad_xpm[] = {
 /* columns rows colors chars-per-pixel */
 "32 32 5 1",
 "  c black",