DolphinWX: Remove the use of some wx 1.0 compatibility functions.

Uses the recommended replacements.
This commit is contained in:
Lioncash
2014-07-13 14:29:03 -04:00
parent 16582a0459
commit 5c57a1ef4b
4 changed files with 16 additions and 13 deletions

View File

@ -220,7 +220,9 @@ void CCodeWindow::OnAddrBoxChange(wxCommandEvent& event)
return;
wxTextCtrl* pAddrCtrl = (wxTextCtrl*)GetToolBar()->FindControl(IDM_ADDRBOX);
wxString txt = pAddrCtrl->GetValue().Strip(wxString::stripType::both);
// Trim leading and trailing whitespace.
wxString txt = pAddrCtrl->GetValue().Trim().Trim(false);
bool success = false;
unsigned long addr;