use utf8_str() in wxDFB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -17,17 +17,6 @@
|
||||
#include "wx/dfb/wrapdfb.h"
|
||||
#include <directfb_version.h>
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// strings conversion
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
// convert string from wxString to UTF-8 encoded const char*
|
||||
#if wxUSE_UNICODE
|
||||
#define wxSTR_TO_DFB(s) (s).mb_str(wxConvUTF8)
|
||||
#else
|
||||
#define wxSTR_TO_DFB(s) wxConvUTF8.cWC2MB((s).wc_str(*wxConvUI))
|
||||
#endif
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// misc helpers
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user