From 917e533ba859b0c0a8565abd3b75f10378e94570 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Tue, 10 Nov 1998 19:43:04 +0000 Subject: [PATCH] Added test to prove a supposed misfeature. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/image/image.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/samples/image/image.cpp b/samples/image/image.cpp index fac7bf1a87..fbf35ab0e2 100644 --- a/samples/image/image.cpp +++ b/samples/image/image.cpp @@ -145,6 +145,10 @@ MyFrame::MyFrame(void) : SetMenuBar( menu_bar ); + CreateStatusBar(2); + int widths[] = { -1, 100 }; + SetStatusWidths( 2, widths ); + m_canvas = new MyCanvas( this, -1, wxPoint(2,62), wxSize(300-4,120-4) ); m_canvas->SetScrollbars( 10, 10, 50, 50 ); }