Utilise GetZoomFactor() in webview sample
Show example of using GetZoomFactor(). Closes https://github.com/wxWidgets/wxWidgets/pull/1999
This commit is contained in:
committed by
Vadim Zeitlin
parent
b1729ed8a0
commit
c695c419d1
@@ -1019,6 +1019,7 @@ void WebFrame::OnSetZoom(wxCommandEvent& evt)
|
||||
}
|
||||
else if (evt.GetId() == m_tools_custom->GetId())
|
||||
{
|
||||
m_zoomFactor = m_browser->GetZoomFactor() * 100;
|
||||
OnZoomCustom(evt);
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user