corrected %addtofunc for BufferedDC constructor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -585,10 +585,8 @@ enum
|
|||||||
class wxBufferedDC : public wxMemoryDC
|
class wxBufferedDC : public wxMemoryDC
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
%pythonAppend wxBufferedDC( wxDC *dc, const wxBitmap &buffer )
|
%pythonAppend wxBufferedDC
|
||||||
"self._dc = args[0] # save a ref so the other dc will not be deleted before self";
|
"self._dc = args[0] # save a ref so the other dc will not be deleted before self";
|
||||||
%pythonAppend wxBufferedDC( wxDC *dc, const wxSize &area, int flags = wxBUFFER_DC_DEFAULT )
|
|
||||||
"val._dc = args[0] # save a ref so the other dc will not be deleted before self";
|
|
||||||
|
|
||||||
%nokwargs wxBufferedDC;
|
%nokwargs wxBufferedDC;
|
||||||
|
|
||||||
@@ -600,9 +598,13 @@ public:
|
|||||||
// being buffered)
|
// being buffered)
|
||||||
wxBufferedDC( wxDC *dc, const wxSize &area, int flags = wxBUFFER_DC_DEFAULT );
|
wxBufferedDC( wxDC *dc, const wxSize &area, int flags = wxBUFFER_DC_DEFAULT );
|
||||||
|
|
||||||
|
|
||||||
// TODO: Keep this one too?
|
// TODO: Keep this one too?
|
||||||
|
%pythonAppend wxBufferedDC( wxDC *dc, const wxSize &area, int flags = wxBUFFER_DC_DEFAULT )
|
||||||
|
"val._dc = args[0] # save a ref so the other dc will not be deleted before self";
|
||||||
%name(BufferedDCInternalBuffer) wxBufferedDC( wxDC *dc, const wxSize &area, int flags = wxBUFFER_DC_DEFAULT );
|
%name(BufferedDCInternalBuffer) wxBufferedDC( wxDC *dc, const wxSize &area, int flags = wxBUFFER_DC_DEFAULT );
|
||||||
|
|
||||||
|
|
||||||
// Blits the buffer to the dc, and detaches the dc from
|
// Blits the buffer to the dc, and detaches the dc from
|
||||||
// the buffer. Usually called in the dtor or by the dtor
|
// the buffer. Usually called in the dtor or by the dtor
|
||||||
// of derived classes if the BufferedDC must blit before
|
// of derived classes if the BufferedDC must blit before
|
||||||
|
@@ -2829,7 +2829,7 @@ class BufferedDC(MemoryDC):
|
|||||||
self.this = newobj.this
|
self.this = newobj.this
|
||||||
self.thisown = 1
|
self.thisown = 1
|
||||||
del newobj.thisown
|
del newobj.thisown
|
||||||
val._dc = args[0] # save a ref so the other dc will not be deleted before self
|
self._dc = args[0] # save a ref so the other dc will not be deleted before self
|
||||||
|
|
||||||
def UnMask(*args, **kwargs):
|
def UnMask(*args, **kwargs):
|
||||||
"""UnMask()"""
|
"""UnMask()"""
|
||||||
|
Reference in New Issue
Block a user