wx/lib/pdf viewer Trim Trailing Space