Added WX_UTF8 macro

The WX_UTF8 macro is primarily for convenience so you can input a
UTF-8 string into a wxWidgets function without having to do
wxString(string, wxConvUTF8) each time.
This commit is contained in:
jp9000 2014-01-04 13:50:16 -07:00
parent a2a8a5f148
commit 41a73ceeea

View File

@ -23,6 +23,8 @@
#include <vector> #include <vector>
#define WX_UTF8(str) wxString(str, wxConvUTF8)
struct gs_window; struct gs_window;
gs_window WxToGSWindow(const wxWindow *window); gs_window WxToGSWindow(const wxWindow *window);