Added test for wxUSE_STATLINE so that wizard will compile under wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f1b34d5aa3
commit
41435ed2e9
@ -191,9 +191,12 @@ wxWizardGeneric::wxWizardGeneric(wxWindow *parent,
|
||||
|
||||
int x = X_MARGIN;
|
||||
int y = m_y + m_height + BITMAP_Y_MARGIN;
|
||||
|
||||
#if wxUSE_STATLINE
|
||||
(void)new wxStaticLine(this, -1, wxPoint(x, y),
|
||||
wxSize(m_x + m_width - x, 2));
|
||||
|
||||
#endif
|
||||
|
||||
x = m_x + m_width - 3*sizeBtn.x - BUTTON_MARGIN;
|
||||
y += SEPARATOR_LINE_MARGIN;
|
||||
m_btnPrev = new wxButton(this, -1, _("< &Back"), wxPoint(x, y), sizeBtn);
|
||||
|
Loading…
Reference in New Issue
Block a user