]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/utilsres.cpp
Fixed toolbar gaffe.
[wxWidgets.git] / src / gtk1 / utilsres.cpp
index 1d6f7145289fb79eda719c470c8c3cbdff2b889e..d743ad554e8872c577e39ac1983752af06c506d9 100644 (file)
@@ -165,7 +165,8 @@ void wxFlushResources(void)
 
     wxNode *node = wxTheResourceCache->First();
     while (node) {
-        char *file = node->key.string;
+        wxString str = node->GetKeyString();
+        char *file = WXSTRINGCAST str;
         // If file doesn't exist, create it first.
         (void)GetResourcePath(nameBuffer, file, TRUE);