]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/wizard.cpp
Moved gsockunx.h from src/unix to include/wx/unix
[wxWidgets.git] / src / generic / wizard.cpp
index 14ecb1d6d6ce352f5a9b91f2d442f0bb84794fd2..2131e993d3dabd013d7fa2ebe84c09d0dab8e40c 100644 (file)
@@ -112,8 +112,8 @@ private:
 // ----------------------------------------------------------------------------
 
 BEGIN_EVENT_TABLE(wxWizardGeneric, wxDialog)
-    EVT_BUTTON(wxID_CANCEL, OnCancel)
-    EVT_BUTTON(-1, OnBackOrNext)
+    EVT_BUTTON(wxID_CANCEL, wxWizardGeneric::OnCancel)
+    EVT_BUTTON(-1, wxWizardGeneric::OnBackOrNext)
 END_EVENT_TABLE()
 
 IMPLEMENT_ABSTRACT_CLASS(wxWizard, wxDialog)
@@ -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);