Re: CLASSINFO && Unicode Issue
Bryan Bulten <[email protected]>
| Newsgroups | gmane.comp.lib.wxwindows.wxnet |
|---|---|
| Message-ID | <[email protected]> |
> wxString::ToAscii() does a "hard" conversion > to wxCharBuffer which will deallocate itself > later. SInce All class names only use ascii > characters, it can be safely used. Class names are stored using wxChar's. So in order to do this conversion, an instance of wxString must be created; which is why I was using strdup() to allocate memory. After a bit more research, I discovered that wxChar is 2 bytes on Windows, and 4 bytes in Linux. The most unfortunate part about this is that mono/Portable.NET and the C# standard use 2 byte char's. Basically, this means that sending a wxChar* to C# in Linux won't work correctly. -- Bryan Bulten http://opendev.ods.org/
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+gDo932WFWIzmzHgRAn13AJ0Q/zIBtdeydQYBQabTm4IJqDT46ACfVeT3 SfgsSnuuALNjMl88WZGrJ+g= =axWB -----END PGP SIGNATURE-----