diff --git a/src/generic/wizard.cpp b/src/generic/wizard.cpp index 976e05ba0b..c221ac7ae1 100644 --- a/src/generic/wizard.cpp +++ b/src/generic/wizard.cpp @@ -967,7 +967,7 @@ bool wxWizard::ResizeBitmap(wxBitmap& bmp) if (!m_statbmp->GetBitmap().IsOk() || m_statbmp->GetBitmap().GetLogicalHeight() != bitmapHeight) { wxBitmap bitmap; - bitmap.CreateWithLogicalSize(bitmapWidth, bitmapHeight, bmp.GetScaleFactor(), bmp.GetDepth()); + bitmap.CreateWithDIPSize(bitmapWidth, bitmapHeight, bmp.GetScaleFactor(), bmp.GetDepth()); { wxMemoryDC dc; dc.SelectObject(bitmap);