Some debug code.

Removed flicker form wxTreeCtrl.
  Changes.txt update.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-12-22 13:04:54 +00:00
parent b38e2f7dc3
commit 00e12320ca
5 changed files with 174 additions and 144 deletions

View File

@@ -154,8 +154,8 @@ MyCanvas::MyCanvas( wxScrolledWindow *parent, wxWindowID id,
{
m_owner = parent;
(void)new wxButton( this, -1, "Hallo I", wxPoint(0,50), wxSize(100,25) );
(void)new wxButton( this, -1, "Hallo II", wxPoint(200,50), wxSize(100,25) );
// (void)new wxButton( this, -1, "Hallo I", wxPoint(0,50), wxSize(100,25) );
// (void)new wxButton( this, -1, "Hallo II", wxPoint(200,50), wxSize(100,25) );
SetBackgroundColour( *wxWHITE );
@@ -201,7 +201,7 @@ void MyCanvas::OnPaint( wxPaintEvent &WXUNUSED(event) )
// Has the region an screen been exposed?
if (IsExposed(0,0,100,25))
{
printf( "Redraw first cell\n" );
wxLogMessage( "Redraw first cell" );
dc.DrawRectangle( 0, 0, 100, 25 );
dc.DrawText( "First Cell", 5, 5 );
}
@@ -216,7 +216,7 @@ void MyCanvas::OnPaint( wxPaintEvent &WXUNUSED(event) )
// Has the region an screen been exposed?
if (IsExposed(200,0,100,25))
{
printf( "Redraw second cell\n" );
wxLogMessage( "Redraw second cell" );
dc.DrawRectangle( 200, 0, 100, 25 );
dc.DrawText( "Second Cell", 205, 5 );
}