made one button label multiline for testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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( new wxButton(panel, -1, "Test Button &1" ), 3, wxALL, 10 );
|
||||||
sizer->Add( 20,20, 1 );
|
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 );
|
panel->SetSizer( sizer );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user