mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06: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