]> git.saurik.com Git - wxWidgets.git/commitdiff
added missing wxBitmap(w, h, dc) ctor
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 13 Apr 2003 15:52:14 +0000 (15:52 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 13 Apr 2003 15:52:14 +0000 (15:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/bitmap.cpp

index 0202599afb6719db718e4c7dc9a68324d3fb8412..8e1697ec8e68c7549a5e48988fa10045e9ffc878 100644 (file)
@@ -434,6 +434,13 @@ wxBitmap::wxBitmap(int w, int h, int d)
     (void)Create(w, h, d);
 }
 
+wxBitmap::wxBitmap(int w, int h, const wxDC& dc)
+{
+    Init();
+
+    (void)Create(w, h, dc);
+}
+
 wxBitmap::wxBitmap(void *data, long type, int width, int height, int depth)
 {
     Init();