X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f00f01b3bfeac644f361a560b885938db1ad47f4..be1c0bc6ba241a89fc167bd4bfb19a78e02a549f:/interface/wx/dcbuffer.h?ds=sidebyside diff --git a/interface/wx/dcbuffer.h b/interface/wx/dcbuffer.h index b4ef7813bd..9268e437aa 100644 --- a/interface/wx/dcbuffer.h +++ b/interface/wx/dcbuffer.h @@ -2,7 +2,6 @@ // Name: dcbuffer.h // Purpose: interface of wxBufferedDC // Author: wxWidgets team -// RCS-ID: $Id$ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -118,6 +117,27 @@ public: 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; };