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:
parent
34adc693b0
commit
e06937ad73
@ -532,7 +532,7 @@ void wxMenu::Append( int id, const wxString &item, const wxString &helpStr, bool
|
|||||||
wxStrcpy( buf, _T("/") );
|
wxStrcpy( buf, _T("/") );
|
||||||
wxStrcat( buf, text );
|
wxStrcat( buf, text );
|
||||||
|
|
||||||
wxWX2MBbuf pbuf = wxConv_current->cWX2MB(buf);
|
const wxWX2MBbuf pbuf = wxConv_current->cWX2MB(buf);
|
||||||
GtkItemFactoryEntry entry;
|
GtkItemFactoryEntry entry;
|
||||||
entry.path = MBSTRINGCAST pbuf;
|
entry.path = MBSTRINGCAST pbuf;
|
||||||
entry.accelerator = (gchar*) NULL;
|
entry.accelerator = (gchar*) NULL;
|
||||||
|
@ -532,7 +532,7 @@ void wxMenu::Append( int id, const wxString &item, const wxString &helpStr, bool
|
|||||||
wxStrcpy( buf, _T("/") );
|
wxStrcpy( buf, _T("/") );
|
||||||
wxStrcat( buf, text );
|
wxStrcat( buf, text );
|
||||||
|
|
||||||
wxWX2MBbuf pbuf = wxConv_current->cWX2MB(buf);
|
const wxWX2MBbuf pbuf = wxConv_current->cWX2MB(buf);
|
||||||
GtkItemFactoryEntry entry;
|
GtkItemFactoryEntry entry;
|
||||||
entry.path = MBSTRINGCAST pbuf;
|
entry.path = MBSTRINGCAST pbuf;
|
||||||
entry.accelerator = (gchar*) NULL;
|
entry.accelerator = (gchar*) NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user