> >> > >> WXDLLIMPEXP_WXLUA wxString lua2wx(const char* luastr) > >> { > >> return wxString(luastr, *wxConvCurrent); > >> } > >> > >> const WXDLLIMPEXP_WXLUA wxCharBuffer wx2lua(const wxString& wxstr) > >> { > >> wxCharBuffer buffer(wxstr.mb_str(*wxConvCurrent)); > >> return buffer; > >> } > >>
I also noticed that I need this patch so that my (WindowsXP non-unicode-wxWidgets) system does not change iso-latin strings when they go through wxTextCtrl:SetValue - GetValue pair. Shouldn't this change be in CVS already? :-) (Doesn't seem to be there) Eero ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users