]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/scrollsub/scrollsub.cpp
do *NOT* make the window of the size of its parent initially, fixes missing EVT_SIZE...
[wxWidgets.git] / samples / scrollsub / scrollsub.cpp
index 9c68b9fbd81fcfb76e219360174e8ed1726ae807..c53f93744bf557e2fe1739b02feac527a214a02b 100644 (file)
@@ -308,7 +308,7 @@ void MyCanvas::OnPaint( wxPaintEvent &WXUNUSED(event) )
         // Has the region on screen been exposed?
            if (IsExposed(0,0,100,25))
            {
         // Has the region on screen been exposed?
            if (IsExposed(0,0,100,25))
            {
-               wxLogMessage( "Redraw first cell" );
+               wxLogMessage( wxT("Redraw first cell") );
             dc.DrawRectangle( 0, 0, 100, 25 );
                dc.DrawText( "First Cell", 5, 5 );
            }
             dc.DrawRectangle( 0, 0, 100, 25 );
                dc.DrawText( "First Cell", 5, 5 );
            }
@@ -323,7 +323,7 @@ void MyCanvas::OnPaint( wxPaintEvent &WXUNUSED(event) )
         // Has the region on screen been exposed?
            if (IsExposed(200,0,100,25))
            {
         // Has the region on screen been exposed?
            if (IsExposed(200,0,100,25))
            {
-               wxLogMessage( "Redraw second cell" );
+               wxLogMessage( wxT("Redraw second cell") );
             dc.DrawRectangle( 200, 0, 100, 25 );
                dc.DrawText( "Second Cell", 205, 5 );
            }
             dc.DrawRectangle( 200, 0, 100, 25 );
                dc.DrawText( "Second Cell", 205, 5 );
            }