Determin menu bar height dynamically.

Minor sample changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2002-09-30 10:40:52 +00:00
parent 5c3e4ed256
commit 0edfce279c
6 changed files with 42 additions and 11 deletions

View File

@@ -851,6 +851,12 @@ void MyCanvas::OnPaint(wxPaintEvent& WXUNUSED(event) )
dc.SetTextForeground(wxGetApp().m_canvasTextColour);
dc.SetBackgroundMode(wxTRANSPARENT);
dc.DrawText("wxWindows common dialogs test application", 10, 10);
dc.SetPen( *wxRED_PEN );
dc.DrawLine( 10,40,200,40 );
dc.SetPen( *wxBLACK_PEN );
dc.DrawLine( 10,50,200,50 );
}
// ----------------------------------------------------------------------------