From: Steve Lamerton Date: Wed, 29 Jun 2011 16:04:42 +0000 (+0000) Subject: Adjust animation size to fit the toolbar properly X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/61635eed82fcd50a314ec9c77d6145677c7165e7?ds=sidebyside Adjust animation size to fit the toolbar properly git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/web/web.cpp b/samples/web/web.cpp index 225bd90a13..5047a31670 100644 --- a/samples/web/web.cpp +++ b/samples/web/web.cpp @@ -186,7 +186,7 @@ WebFrame::WebFrame() : wxFrame(NULL, wxID_ANY, "wxWebView Sample") m_tools_handle_navigation = m_tools_menu->AppendCheckItem(wxID_ANY, _("Handle Navigation")); m_tools_handle_new_window = m_tools_menu->AppendCheckItem(wxID_ANY, _("Handle New Windows")); - //By default we want to handle naigation and new windows + //By default we want to handle navigation and new windows m_tools_handle_navigation->Check(); m_tools_handle_new_window->Check(); @@ -240,7 +240,7 @@ void WebFrame::OnAnimationTimer(wxTimerEvent& evt) m_animation_angle += 15; if (m_animation_angle > 360) m_animation_angle -= 360; - wxBitmap image(32, 32); + wxBitmap image(24, 24); { wxMemoryDC dc; dc.SelectObject(image);