// Name: src/gtk/utilsgtk.cpp
// Purpose:
// Author: Robert Roebling
-// Id: $Id$
// Copyright: (c) 1998 Robert Roebling
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
wxWCharBuffer wbuf;
if ( enc == wxFONTENCODING_SYSTEM || enc == wxFONTENCODING_DEFAULT )
{
- wbuf = wxConvUI->cMB2WC(s);
+ wbuf = wxConvUI->cMB2WC(s.c_str());
}
else // another encoding, use generic conversion class
{