]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/menu.cpp
Added wxOKlibc(), which checks for glibc2.0, which incorrectly does UTF-8
[wxWidgets.git] / src / gtk1 / menu.cpp
index 44dcd1ba046a0d15e1e5fa2f30b08f5ca2dddc15..d2df6c95f68fe2475d44174c18c6e95e9521fa7e 100644 (file)
@@ -532,7 +532,7 @@ void wxMenu::Append( int id, const wxString &item, const wxString &helpStr, bool
     wxStrcpy( buf, _T("/") );
     wxStrcat( buf, text );
     
-    wxWX2MBbuf pbuf = wxConv_current->cWX2MB(buf);
+    const wxWX2MBbuf pbuf = wxConv_current->cWX2MB(buf);
     GtkItemFactoryEntry entry;
     entry.path = MBSTRINGCAST pbuf;
     entry.accelerator = (gchar*) NULL;