From: Michael Bedward Date: Tue, 24 Aug 1999 23:45:06 +0000 (+0000) Subject: Added test for wxUSE_STATLINE so that wizard will compile under wxMotif X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/41435ed2e990e2e9e941fac45debb7b6ab8fa757 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 --- diff --git a/src/generic/wizard.cpp b/src/generic/wizard.cpp index b8952bdbe1..2131e993d3 100644 --- a/src/generic/wizard.cpp +++ b/src/generic/wizard.cpp @@ -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);