Compiler warning in non-Unicode mode fixed.

(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
This commit is contained in:
Ove Kaaven 1999-04-15 14:51:31 +00:00
parent 34adc693b0
commit e06937ad73
2 changed files with 2 additions and 2 deletions

View 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;

View 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;