mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 23:29:17 +00:00
DolphinWX: Remove the use of some wx 1.0 compatibility functions.
Uses the recommended replacements.
This commit is contained in:
parent
16582a0459
commit
5c57a1ef4b
4 changed files with 16 additions and 13 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue