Use wxLogStatus() to update the status bar, this is shorter and simpler than using GetStatusBar()->SetStatusText(wxString::Format(...)). Also use wxFrame::SetStatusText() which forwards to wxStatusBar method with the same name when we want to just clear the status bar. No real changes.