]> git.saurik.com Git - wxWidgets.git/commitdiff
document wxDCMemory(wxDC*) ctor
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 16 Jul 2009 12:06:54 +0000 (12:06 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 16 Jul 2009 12:06:54 +0000 (12:06 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/dcmemory.h

index 0d21e5bb0bc585f4a5785a4d13f67f739d1a146e..34c7dea13acdc5970021fb551e24db7ef37fdd79 100644 (file)
@@ -55,6 +55,18 @@ public:
         a bitmap into the DC before drawing on it.
     */
     wxMemoryDC();
+
+    /**
+        Constructs a new memory device context having the same characteristics
+        as the given existing device context.
+
+        This constructor creates a memory device context @e compatible with @a
+        dc in wxMSW, the argument is ignored in the other ports. If @a dc is
+        @NULL, a device context compatible with the screen is created, just as
+        with the default constructor.
+     */
+    wxMemoryDC(wxDC *dc);
+
     /**
         Constructs a new memory device context and calls SelectObject() with
         the given bitmap.