From: Włodzimierz Skiba Date: Wed, 30 Mar 2005 15:50:06 +0000 (+0000) Subject: DMC error fix: dynamic initialization of static data. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/24207dfcc30c92f02f04da87d0b9d8786b1bbc3a DMC error fix: dynamic initialization of static data. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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"),