wxUSE_STATLINE fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -164,9 +164,14 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
|
|||||||
SetStatusText(_T("Resize the frame to see how controls react"));
|
SetStatusText(_T("Resize the frame to see how controls react"));
|
||||||
#endif // wxUSE_STATUSBAR
|
#endif // wxUSE_STATUSBAR
|
||||||
|
|
||||||
#define AddLine(orient) \
|
#if wxUSE_STATLINE
|
||||||
Add( new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxSize(2,2), orient), \
|
#define AddLine(orient) \
|
||||||
0, wxEXPAND)
|
Add( new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxSize(2,2), orient), \
|
||||||
|
0, wxEXPAND)
|
||||||
|
#else
|
||||||
|
#define AddLine(orient) \
|
||||||
|
Add( 2, 2)
|
||||||
|
#endif // wxUSE_STATLINE
|
||||||
|
|
||||||
#define AddButton(label,align) Add( \
|
#define AddButton(label,align) Add( \
|
||||||
new wxButton( this, wxID_ANY, label, wxDefaultPosition, wxSize(100,50)), \
|
new wxButton( this, wxID_ANY, label, wxDefaultPosition, wxSize(100,50)), \
|
||||||
|
Reference in New Issue
Block a user