]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/gdicmn.cpp
added RTLD_GLOBAL to dlopen flags (bug 128705)
[wxWidgets.git] / src / common / gdicmn.cpp
index 6e48b25fd3f6c93049d1c0afc6ddfc104e0d6137..d9431063ef60c6393de70c75ce627130f8c57b8a 100644 (file)
@@ -228,7 +228,9 @@ void wxColourDatabase::Initialize ()
         {wxT("MEDIUM GREY"), 100, 100, 100},
     };
 
-    for ( size_t n = 0; n < WXSIZEOF(wxColourTable); n++ )
+    size_t      n;
+
+    for ( n = 0; n < WXSIZEOF(wxColourTable); n++ )
     {
         const wxColourDesc& cc = wxColourTable[n];
         Append(cc.name, new wxColour(cc.r,cc.g,cc.b));