mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
DolphinWX: Remove the use of some wx 1.0 compatibility functions.
Uses the recommended replacements.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user