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.