wxUSE_STATLINE fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -147,6 +147,7 @@ MyFrame::MyFrame()
|
|||||||
topsizer->Add(gridsizer, 1, wxGROW | wxALL, 10);
|
topsizer->Add(gridsizer, 1, wxGROW | wxALL, 10);
|
||||||
|
|
||||||
|
|
||||||
|
#if wxUSE_STATLINE
|
||||||
// 3) middle: create wxStaticLine with minimum size (3x3)
|
// 3) middle: create wxStaticLine with minimum size (3x3)
|
||||||
topsizer->Add(
|
topsizer->Add(
|
||||||
new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxSize(3,3), wxHORIZONTAL),
|
new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxSize(3,3), wxHORIZONTAL),
|
||||||
@@ -154,6 +155,7 @@ MyFrame::MyFrame()
|
|||||||
wxEXPAND | // make horizontally stretchable
|
wxEXPAND | // make horizontally stretchable
|
||||||
wxALL, // and make border all around
|
wxALL, // and make border all around
|
||||||
5 ); // set border width to 5
|
5 ); // set border width to 5
|
||||||
|
#endif // wxUSE_STATLINE
|
||||||
|
|
||||||
|
|
||||||
// 4) bottom: create two centred wxButtons
|
// 4) bottom: create two centred wxButtons
|
||||||
|
Reference in New Issue
Block a user