Fix escaping/unescaping in wxLongStringProperty

wxPropertyGrid::ExpandEscapeSequences() function should convert all valid
escape sequences (\r, \n, \t, \\) to the corresponding single characters
(CR, LF, TAB, backslash, accordingly) and
wxPropertyGrid::CreateEscapeSequences() function should do the reverse
operation and convert these raw characters to the corresponding escape
sequences.

Closes #17896.
This commit is contained in:
mikek
2017-07-06 23:04:37 +02:00
committed by Artur Wieczorek
parent 5292f77ab4
commit 2d8657d37c
3 changed files with 26 additions and 39 deletions

View File

@@ -145,6 +145,7 @@ All (GUI):
- Add support for bitmaps to wxToggleButton XRC handler (tm).
- Fix wxGCDC::SetDeviceClippingRegion().
- Never restore size smaller than the best one in wxPersistentTLW.
- Fix escaping/unescaping characters in wxLongStringProperty in wxPG (mikek).
wxGTK: