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:
@@ -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 );
|
||||
}
|
||||
|
Reference in New Issue
Block a user