-// dc.DrawBitmap(*m_Image, x + m_PosX, y + m_PosY, (m_Image->GetMask() != (wxMask*) 0));
- dc.DrawBitmap(*m_Image, x + m_PosX, y + m_PosY, TRUE);
+ {
+ double us_x, us_y;
+ dc.GetUserScale(&us_x, &us_y);
+ dc.SetUserScale(us_x * m_Scale, us_y * m_Scale);
+
+// dc.DrawBitmap(*m_Image, x + m_PosX, y + m_PosY, (m_Image->GetMask() != (wxMask*) 0));
+ dc.DrawBitmap(*m_Image, (int) ((x + m_PosX) / m_Scale),
+ (int) ((y + m_PosY) / m_Scale), TRUE);
+ dc.SetUserScale(us_x, us_y);
+ }