/*****************************************************************************
- * wxwidgets.hpp: Common headers for the wxwidges interface
+ * wxwidgets.hpp: Common headers for the wxwidgets interface
*****************************************************************************
* Copyright (C) 1999-2005 the VideoLAN team
* $Id$
{
#if defined( wxUSE_UNICODE )
# if defined( WIN32 )
- return (char *) wxConvCurrent->cWX2MB(string);
+ return FromWide ((const wchar_t *)string.c_str());
# define wxLocaleFree free
# else
return FromLocale (string.mb_str());