void MyFrame::OnZoomReset(wxCommandEvent& evt) { m_browser->SetTextZoom(1); }
void MyFrame::OnZoomOut(wxCommandEvent& evt) { float zoom; m_browser->GetTextZoom(&zoom); m_browser->SetTextZoom(zoom - 0.10); }