diff --git a/samples/image/image.cpp b/samples/image/image.cpp index 75a6f4b543..597314a382 100644 --- a/samples/image/image.cpp +++ b/samples/image/image.cpp @@ -184,7 +184,7 @@ public: wxBMP_24BPP }; - static const wxString bppchoices[] = + const wxString bppchoices[] = { _T("1 bpp color"), _T("1 bpp B&W"), @@ -229,7 +229,7 @@ public: wxPNG_TYPE_GREY_RED, }; - static const wxString pngchoices[] = + const wxString pngchoices[] = { _T("Colour 8bpp"), _T("Colour 16bpp"),