added support for wxALIGN_XXX in wxStaticBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -676,7 +676,10 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h )
|
||||
m_slider = new wxSlider( panel, ID_SLIDER, 0, 0, 200, wxPoint(18,90), wxSize(155,-1),
|
||||
wxSL_AUTOTICKS | wxSL_LABELS );
|
||||
m_slider->SetTickFreq(40, 0);
|
||||
(void)new wxStaticBox( panel, -1, "&Explanation", wxPoint(230,10), wxSize(270,130) );
|
||||
(void)new wxStaticBox( panel, -1, "&Explanation",
|
||||
wxPoint(230,10), wxSize(270,130),
|
||||
wxALIGN_CENTER );
|
||||
|
||||
#ifdef __WXMOTIF__
|
||||
// No wrapping text in wxStaticText yet :-(
|
||||
(void)new wxStaticText( panel, -1,
|
||||
|
Reference in New Issue
Block a user