Fix GetPartialTextExtents() to handle non-BMP chars under OS X
On OS X, wxString operates on UTF-32 code units, but CoreText API use UTF-16 code units. So we need to take care of surrogate pairs. Closes https://github.com/wxWidgets/wxWidgets/pull/261
This commit is contained in:
committed by
Vadim Zeitlin
parent
55d77f271e
commit
cf000e7e02
@@ -81,6 +81,7 @@ wxMSW:
|
||||
|
||||
wxOSX:
|
||||
|
||||
- Fix handling of non-BMP characters in GetPartialTextExtents() (ARATA Mizuki).
|
||||
- Remove extra borders around wxFilePickerCtrl (John Roberts).
|
||||
- Set up extensions filter correctly in wxFileDialog (nick863).
|
||||
- Turn off automatic quotes substitutions in wxTextCtrl (Xlord2).
|
||||
|
Reference in New Issue
Block a user