C++ Open resource dialog: when using the selected text as filter, call wxTextCtrl::SelectAll to select the filter