]> git.saurik.com Git - wxWidgets.git/commitdiff
made one button label multiline for testing
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 9 Apr 2002 19:40:37 +0000 (19:40 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 9 Apr 2002 19:40:37 +0000 (19:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/controls/controls.cpp

index e4b7ae08e7f9610101d6b54fecc6a32a1396031e..c35fdf2f9bd25d74df14c0c30ad622ff6668957b 100644 (file)
@@ -814,7 +814,7 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h )
 
     sizer->Add( new wxButton(panel, -1, "Test Button &1" ), 3, wxALL, 10 );
     sizer->Add( 20,20, 1 );
-    sizer->Add( new wxButton(panel, -1, "Test Button &2" ), 3, wxGROW|wxALL, 10 );
+    sizer->Add( new wxButton(panel, -1, "Multiline\nbutton" ), 3, wxGROW|wxALL, 10 );
 
     panel->SetSizer( sizer );