Minor Motif changes, made scrollsub sample work somehow.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -171,8 +171,10 @@ void MyCanvas::OnPaint( wxPaintEvent &WXUNUSED(event) )
|
||||
wxPaintDC dc( this );
|
||||
m_owner->PrepareDC( dc );
|
||||
|
||||
dc.SetPen( *wxBLACK_PEN );
|
||||
|
||||
dc.DrawText( "Some text", 140, 140 );
|
||||
|
||||
|
||||
dc.DrawRectangle( 100, 160, 200, 200 );
|
||||
|
||||
dc.SetBrush( *wxTRANSPARENT_BRUSH );
|
||||
|
Reference in New Issue
Block a user