support for @2x notation for wxBITMAP_TYPE_PNG (non-resource) on retina displays

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2013-07-14 11:16:32 +00:00
parent 330d01ae47
commit 44c8e75ba9
2 changed files with 26 additions and 5 deletions

View File

@@ -116,7 +116,7 @@ public:
wxBitmap(const wxSize& sz, int depth = -1) { (void)Create(sz, depth); }
// Convert from wxImage:
wxBitmap(const wxImage& image, int depth = -1);
wxBitmap(const wxImage& image, int depth = -1, double scale = 1.0);
// Convert from wxIcon
wxBitmap(const wxIcon& icon) { CopyFromIcon(icon); }