]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/dcbuffer.h
Use wxWindowID in wxNewId() and related functions.
[wxWidgets.git] / interface / wx / dcbuffer.h
index b4ef7813bdc828d8970a813bcca695f932a920e5..6b9ccb868e3da777d86dd9059e95ba0b78be360a 100644 (file)
@@ -118,6 +118,27 @@ public:
     void Init(wxDC* dc, wxBitmap& buffer = wxNullBitmap,
               int style = wxBUFFER_CLIENT_AREA);
     //@}
     void Init(wxDC* dc, wxBitmap& buffer = wxNullBitmap,
               int style = wxBUFFER_CLIENT_AREA);
     //@}
+
+
+    /**
+       Blits the buffer to the dc, and detaches the dc from the buffer (so it
+       can be effectively used once only).
+    
+       Usually only called in the destructor or by the destructor of derived
+       classes if the BufferedDC must blit before the derived class (which may
+       own the dc it's blitting to) is destroyed.
+    */
+    void UnMask();
+
+    /**
+       Set the style.
+    */
+    void SetStyle(int style);
+
+    /**
+       Get the style.
+    */
+    int GetStyle() const;
 };
 
 
 };