]> git.saurik.com Git - wxWidgets.git/commitdiff
Added test for wxUSE_STATLINE so that wizard will compile under wxMotif
authorMichael Bedward <mbedward@ozemail.com.au>
Tue, 24 Aug 1999 23:45:06 +0000 (23:45 +0000)
committerMichael Bedward <mbedward@ozemail.com.au>
Tue, 24 Aug 1999 23:45:06 +0000 (23:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/wizard.cpp

index b8952bdbe13fe0cc85ce90c9ad33c0ca93cb4114..2131e993d3dabd013d7fa2ebe84c09d0dab8e40c 100644 (file)
@@ -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);