X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a85ccd79fdfe15dbe412e9b1cb78a8047e6b7a83..66c2bf7b1d9326fb650acfaae22ec50528cfbf7c:/include/wx/bitmap.h diff --git a/include/wx/bitmap.h b/include/wx/bitmap.h index c6eceb596c..6d9ffe71b7 100644 --- a/include/wx/bitmap.h +++ b/include/wx/bitmap.h @@ -4,7 +4,6 @@ // Author: Vaclav Slavik // Modified by: // Created: 22.04.01 -// RCS-ID: $Id$ // Copyright: (c) wxWidgets team // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -175,8 +174,8 @@ public: virtual bool Create(int width, int height, int depth = wxBITMAP_SCREEN_DEPTH) = 0; virtual bool Create(const wxSize& sz, int depth = wxBITMAP_SCREEN_DEPTH) = 0; - // Create a bitmap compatible with the given DC, inheriting its magnification factor - virtual bool Create(int width, int height, const wxDC& dc); + virtual bool CreateScaled(int w, int h, int d, double logicalScale) + { return Create(w*logicalScale,h*logicalScale,d); } virtual int GetHeight() const = 0; virtual int GetWidth() const = 0;