Buffered DCs now take non-const bitmaps

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-11-01 02:18:41 +00:00
parent 2d499dbbb3
commit d9b33d7001

View File

@@ -1552,7 +1552,7 @@ public:
"); ");
wxBufferedDC( wxDC* dc, wxBufferedDC( wxDC* dc,
const wxBitmap& buffer=wxNullBitmap, wxBitmap& buffer=wxNullBitmap,
int style = wxBUFFER_CLIENT_AREA ); int style = wxBUFFER_CLIENT_AREA );
wxBufferedDC( wxDC* dc, wxBufferedDC( wxDC* dc,
const wxSize& area, const wxSize& area,
@@ -1575,6 +1575,9 @@ associated with this object, if any.", "");
can be effectively used once only). This is usually only called in can be effectively used once only). This is usually only called in
the destructor.", ""); the destructor.", "");
// Set and get the style
void SetStyle(int style);
int GetStyle() const;
}; };
@@ -1608,7 +1611,7 @@ public:
DocCtorStr( DocCtorStr(
wxBufferedPaintDC( wxWindow *window, wxBufferedPaintDC( wxWindow *window,
const wxBitmap &buffer = wxNullBitmap, wxBitmap &buffer = wxNullBitmap,
int style = wxBUFFER_CLIENT_AREA), int style = wxBUFFER_CLIENT_AREA),
"Create a buffered paint DC. As with `wx.BufferedDC`, you may either "Create a buffered paint DC. As with `wx.BufferedDC`, you may either
provide the bitmap to be used for buffering or let this object create provide the bitmap to be used for buffering or let this object create