]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dcbufcmn.cpp
Added missing wxBitmapComboBox::Insert() implementation
[wxWidgets.git] / src / common / dcbufcmn.cpp
index 23055c2187b11ba3e11077cbbaef3b3196ead4ab..2e3d79240096cad1da4fe03a8316cd8cff5ac7c4 100644 (file)
@@ -130,6 +130,9 @@ void wxBufferedDC::UnMask()
     wxCoord x = 0,
             y = 0;
 
+    // Ensure the scale matches the device
+    SetUserScale(1.0, 1.0);
+
     if ( m_style & wxBUFFER_CLIENT_AREA )
         GetDeviceOrigin(&x, &y);