]> git.saurik.com Git - wxWidgets.git/commitdiff
DMC error fix: dynamic initialization of static data.
authorWłodzimierz Skiba <abx@abx.art.pl>
Wed, 30 Mar 2005 15:50:06 +0000 (15:50 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Wed, 30 Mar 2005 15:50:06 +0000 (15:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/image/image.cpp

index 75a6f4b5433a8ce015513269a9823ed7a86f5a64..597314a38233e82c18d58cd5bba465201e3b7a8d 100644 (file)
@@ -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"),