(No, does not fix a real problem, the library is still compiling here)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2180
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
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;
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;