From: Robert Roebling Date: Fri, 9 Nov 2007 09:06:22 +0000 (+0000) Subject: Use const for xpm icons X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b5ebc17b7a0c0bd79a506342efc73cd25048e22d Use const for xpm icons git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/toolbar/bitmaps/copy.xpm b/samples/toolbar/bitmaps/copy.xpm index 00ae82e213..0333586481 100644 --- a/samples/toolbar/bitmaps/copy.xpm +++ b/samples/toolbar/bitmaps/copy.xpm @@ -1,5 +1,5 @@ /* XPM */ -static char *copy_xpm[] = { +static const char *copy_xpm[] = { /* columns rows colors chars-per-pixel */ "16 15 23 1", "+ c #769CDA", diff --git a/samples/toolbar/bitmaps/cut.xpm b/samples/toolbar/bitmaps/cut.xpm index 8afa8f6d15..6f2221a77b 100644 --- a/samples/toolbar/bitmaps/cut.xpm +++ b/samples/toolbar/bitmaps/cut.xpm @@ -1,5 +1,5 @@ /* XPM */ -static char *cut_xpm[] = { +static const char *cut_xpm[] = { /* columns rows colors chars-per-pixel */ "16 15 25 1", "6 c #D8BDC0", diff --git a/samples/toolbar/bitmaps/help.xpm b/samples/toolbar/bitmaps/help.xpm index 161b6b2658..73fcd9b978 100644 --- a/samples/toolbar/bitmaps/help.xpm +++ b/samples/toolbar/bitmaps/help.xpm @@ -1,5 +1,5 @@ /* XPM */ -static char *help_xpm[] = { +static const char *help_xpm[] = { /* columns rows colors chars-per-pixel */ "16 15 50 1", "j c #4E7FD0", diff --git a/samples/toolbar/bitmaps/new.xpm b/samples/toolbar/bitmaps/new.xpm index 2b1aaf2e42..8b178b88ce 100644 --- a/samples/toolbar/bitmaps/new.xpm +++ b/samples/toolbar/bitmaps/new.xpm @@ -1,5 +1,5 @@ /* XPM */ -static char *new_xpm[] = { +static const char *new_xpm[] = { /* columns rows colors chars-per-pixel */ "16 15 31 1", ". c #7198D9", diff --git a/samples/toolbar/bitmaps/open.xpm b/samples/toolbar/bitmaps/open.xpm index 36e058fc8e..8c60f572a4 100644 --- a/samples/toolbar/bitmaps/open.xpm +++ b/samples/toolbar/bitmaps/open.xpm @@ -1,5 +1,5 @@ /* XPM */ -static char *open_xpm[] = { +static const char *open_xpm[] = { /* columns rows colors chars-per-pixel */ "16 15 36 1", ", c #AAC1E8", diff --git a/samples/toolbar/bitmaps/preview.xpm b/samples/toolbar/bitmaps/preview.xpm index 57e7f2a593..7ac12ecb3a 100644 --- a/samples/toolbar/bitmaps/preview.xpm +++ b/samples/toolbar/bitmaps/preview.xpm @@ -1,5 +1,5 @@ /* XPM */ -static char *paste_xpm[] = { +static const char *paste_xpm[] = { /* columns rows colors chars-per-pixel */ "16 15 25 1", "< c #FEECE4", diff --git a/samples/toolbar/bitmaps/print.xpm b/samples/toolbar/bitmaps/print.xpm index fae8103a9a..802787d6ad 100644 --- a/samples/toolbar/bitmaps/print.xpm +++ b/samples/toolbar/bitmaps/print.xpm @@ -1,5 +1,5 @@ /* XPM */ -static char *print_xpm[] = { +static const char *print_xpm[] = { /* columns rows colors chars-per-pixel */ "16 15 35 1", "y c #EDF2FB", diff --git a/samples/toolbar/bitmaps/save.xpm b/samples/toolbar/bitmaps/save.xpm index accf1f9eb2..3e99a66159 100644 --- a/samples/toolbar/bitmaps/save.xpm +++ b/samples/toolbar/bitmaps/save.xpm @@ -1,5 +1,5 @@ /* XPM */ -static char *save_xpm[] = { +static const char *save_xpm[] = { /* columns rows colors chars-per-pixel */ "16 15 21 1", ": c #AAC1E8", diff --git a/samples/toolbar/mondrian.xpm b/samples/toolbar/mondrian.xpm index 409f27a843..7b2188656f 100644 --- a/samples/toolbar/mondrian.xpm +++ b/samples/toolbar/mondrian.xpm @@ -1,5 +1,5 @@ /* XPM */ -static char *mondrian_xpm[] = { +static const char *mondrian_xpm[] = { /* columns rows colors chars-per-pixel */ "32 32 6 1", " c Black",