X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f00f01b3bfeac644f361a560b885938db1ad47f4..1c6a98048b47cf1dd1926e97f94abe81a3fded1e:/interface/wx/dcbuffer.h?ds=sidebyside diff --git a/interface/wx/dcbuffer.h b/interface/wx/dcbuffer.h index b4ef7813bd..6b9ccb868e 100644 --- a/interface/wx/dcbuffer.h +++ b/interface/wx/dcbuffer.h @@ -118,6 +118,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; };