Added wxCanvasControl before anyone else would do

any harm.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2000-08-29 20:06:25 +00:00
parent a103e4e201
commit 3b111dbe53
3 changed files with 66 additions and 9 deletions

View File

@@ -74,6 +74,23 @@ private:
wxImage m_image;
};
//----------------------------------------------------------------------------
// wxCanvasControl
//----------------------------------------------------------------------------
class wxCanvasControl: public wxCanvasObject
{
public:
wxCanvasControl( wxWindow *control );
~wxCanvasControl();
virtual void Move( int x, int y );
void UpdateSize();
private:
wxWindow *m_control;
};
//----------------------------------------------------------------------------
// wxCanvas
//----------------------------------------------------------------------------
@@ -100,6 +117,8 @@ public:
wxImage *GetBuffer() { return &m_buffer; }
bool NeedUpdate() { return m_needUpdate; }
void BlitBuffer( wxDC &dc );
private:
wxImage m_buffer;
bool m_needUpdate;