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;
};
have native double-buffering, otherwise, it is a typedef of
wxBufferedPaintDC.
- @library{wxbase}
+ @library{wxcore}
@category{dc}
@see wxDC, wxBufferedPaintDC, wxPaintDC