git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6057
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if (w != -1) m_Width = w; else m_Width = ww;
if (h != -1) m_Height = h; else m_Height = hh;
if (w != -1) m_Width = w; else m_Width = ww;
if (h != -1) m_Height = h; else m_Height = hh;
- m_Width = (int)(scale * (double)w);
- m_Height = (int)(scale * (double)h);
+ m_Width = (int)(scale * (double)m_Width);
+ m_Height = (int)(scale * (double)m_Height);
if ((m_Width != ww) || (m_Height != hh)) {
wxImage img2 = img -> Scale(m_Width, m_Height);
if ((m_Width != ww) || (m_Height != hh)) {
wxImage img2 = img -> Scale(m_Width, m_Height);