X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ba4f890e49f4c8b55ec5cda0248d9df01f178f12..1ec4e9c2b72a01a7ba7da569e0f8d04a81aaba10:/interface/wx/dcbuffer.h?ds=sidebyside diff --git a/interface/wx/dcbuffer.h b/interface/wx/dcbuffer.h index 93492e4b5a..b4ef7813bd 100644 --- a/interface/wx/dcbuffer.h +++ b/interface/wx/dcbuffer.h @@ -139,7 +139,7 @@ public: have native double-buffering, otherwise, it is a typedef of wxBufferedPaintDC. - @library{wxbase} + @library{wxcore} @category{dc} @see wxDC, wxBufferedPaintDC, wxPaintDC @@ -154,6 +154,13 @@ public: }; +/** + * Check if the window is natively double buffered and will return a wxPaintDC + * if it is, a wxBufferedPaintDC otherwise. It is the caller's responsibility + * to delete the wxDC pointer when finished with it. + */ +wxDC* wxAutoBufferedPaintDCFactory(wxWindow* window); + /** @class wxBufferedPaintDC