From: Michael Hieke on 11 Apr 2008 04:32 Declan McMullen wrote: > Could you tell me what the second parameter is doing? For calls where std::strings in the database character set need to be converted to the system character set we pass the proper conversion object. > And should I be passing a value to it or leave it defaulting to 0 ? You can omit it if you only ever go from wxString to std::string and back in the current system encoding. HTH -- Michael Hieke
From: Declan McMullen on 11 Apr 2008 04:40 cheers On Fri, Apr 11, 2008 at 9:32 AM, Michael Hieke < michael.hieke(a)elwi-elektronik.de> wrote: > Declan McMullen wrote: > > Could you tell me what the second parameter is doing? > > > > For calls where std::strings in the database character set need to be > converted to the system character set we pass the proper conversion object. > > And should I be passing a value to it or leave it defaulting to 0 ? > > > > You can omit it if you only ever go from wxString to std::string and back > in the current system encoding. > > HTH > > -- > Michael Hieke > > > _______________________________________________ > wx-users mailing list > wx-users(a)lists.wxwidgets.org > http://lists.wxwidgets.org/mailman/listinfo/wx-users > -- http://www.computing.dcu.ie/~dmcmullen declan.mcmullen(a)computing.dcu.ie School of Computing Postgrad Bay A
First
|
Prev
|
Pages: 1 2 3 Prev: Re[2]: wxWidgets right choice for multi-platform? Next: Failed to build wxGTK on Ubuntu 7.10 |