Ticket #1051: FlatBookStaticChar.patch

File FlatBookStaticChar.patch, 3.6 KB (added by steffen_moeller, 13 years ago)

file from debian/patches .. adding "const" to xpm in .h file

  • clientgui/common/wxFlatNotebookImages.h

    old new  
    2525        // Images used by the control
    2626        ////////////////////////////////////////////////////////////
    2727        /* XPM */
    28         static char *left_arrow_disabled_xpm[] = {
     28        static const char *left_arrow_disabled_xpm[] = {
    2929                /* width height num_colors chars_per_pixel */
    3030                "    16    16        8            1",
    3131                        /* colors */
     
    5757        };
    5858
    5959        /* XPM */
    60         static char *x_button_pressed_xpm[] = {
     60        static const char *x_button_pressed_xpm[] = {
    6161                /* width height num_colors chars_per_pixel */
    6262                "    16    16        8            1",
    6363                        /* colors */
     
    9090
    9191
    9292        /* XPM */
    93         static char *left_arrow_xpm[] = {
     93        static const char *left_arrow_xpm[] = {
    9494                /* width height num_colors chars_per_pixel */
    9595                "    16    16        8            1",
    9696                        /* colors */
     
    122122        };
    123123
    124124        /* XPM */
    125         static char *x_button_hilite_xpm[] = {
     125        static const char *x_button_hilite_xpm[] = {
    126126                /* width height num_colors chars_per_pixel */
    127127                "    16    16        8            1",
    128128                        /* colors */
     
    154154        };
    155155
    156156        /* XPM */
    157         static char *x_button_xpm[] = {
     157        static const char *x_button_xpm[] = {
    158158                /* width height num_colors chars_per_pixel */
    159159                "    16    16        8            1",
    160160                        /* colors */
     
    186186        };
    187187
    188188        /* XPM */
    189         static char *left_arrow_pressed_xpm[] = {
     189        static const char *left_arrow_pressed_xpm[] = {
    190190                /* width height num_colors chars_per_pixel */
    191191                "    16    16        8            1",
    192192                        /* colors */
     
    218218        };
    219219
    220220        /* XPM */
    221         static char *left_arrow_hilite_xpm[] = {
     221        static const char *left_arrow_hilite_xpm[] = {
    222222                /* width height num_colors chars_per_pixel */
    223223                "    16    16        8            1",
    224224                        /* colors */
     
    250250        };
    251251
    252252        /* XPM */
    253         static char *right_arrow_disabled_xpm[] = {
     253        static const char *right_arrow_disabled_xpm[] = {
    254254                /* width height num_colors chars_per_pixel */
    255255                "    16    16        8            1",
    256256                        /* colors */
     
    282282        };
    283283
    284284        /* XPM */
    285         static char *right_arrow_hilite_xpm[] = {
     285        static const char *right_arrow_hilite_xpm[] = {
    286286                /* width height num_colors chars_per_pixel */
    287287                "    16    16        8            1",
    288288                        /* colors */
     
    314314        };
    315315
    316316        /* XPM */
    317         static char *right_arrow_pressed_xpm[] = {
     317        static const char *right_arrow_pressed_xpm[] = {
    318318                /* width height num_colors chars_per_pixel */
    319319                "    16    16        8            1",
    320320                        /* colors */
     
    347347
    348348
    349349        /* XPM */
    350         static char *right_arrow_xpm[] = {
     350        static const char *right_arrow_xpm[] = {
    351351                /* width height num_colors chars_per_pixel */
    352352                "    16    16        8            1",
    353353                        /* colors */
     
    381381        const int tab_x_size = 9;
    382382
    383383        /* XPM */
    384         static char *tab_x_button_pressed_xpm[] = {
     384        static const char *tab_x_button_pressed_xpm[] = {
    385385                /* width height num_colors chars_per_pixel */
    386386                "     9     9        8            1",
    387387                        /* colors */
     
    406406        };
    407407
    408408        /* XPM */
    409         static char *tab_x_button_xpm[] = {
     409        static const char *tab_x_button_xpm[] = {
    410410                /* width height num_colors chars_per_pixel */
    411411                "     9     9        8            1",
    412412                        /* colors */
     
    431431        };
    432432
    433433        /* XPM */
    434         static char *tab_x_button_hilite_xpm[] = {
     434        static const char *tab_x_button_hilite_xpm[] = {
    435435                /* width height num_colors chars_per_pixel */
    436436                "     9     9        8            1",
    437437                        /* colors */