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

@@ -106,6 +106,9 @@ MyFrame::MyFrame()
m_canvas->Append( new wxCanvasImage( image, 80, 50 ) );
wxButton *button = new wxButton( m_canvas, -1, "Hello", wxPoint(130,50) );
m_canvas->Append( new wxCanvasControl( button ) );
m_timer = new wxTimer( this );
m_timer->Start( 150, FALSE );
}