]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dfb/private.h
define wxHAS_CONFIG_TEMPLATE_RW if template wxConfig::Read/Write() are available...
[wxWidgets.git] / include / wx / dfb / private.h
index 9a36a5ea5e4b4170910b8d36f4e8a529ae2a1ccc..6193cc975f3e9e162db673f863145f6464fcbc58 100644 (file)
 #include "wx/dfb/wrapdfb.h"
 #include <directfb_version.h>
 
 #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
 //-----------------------------------------------------------------------------
 //-----------------------------------------------------------------------------
 // misc helpers
 //-----------------------------------------------------------------------------