Fix wrong return value of wxGTK wxSpinCtrlDouble::GetIncrement().

Due to confusion in gtk_spin_button_get_increments() parameters order the page
size was returned instead of the increment.

See #12342.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2010-09-29 13:46:14 +00:00
parent 59b7da02ff
commit 63fb690734

View File

@@ -185,7 +185,7 @@ double wxSpinCtrlGTKBase::DoGetIncrement() const
wxCHECK_MSG( (m_widget != NULL), 0, wxT("invalid spin button") );
double inc = 0;
gtk_spin_button_get_increments( GTK_SPIN_BUTTON(m_widget), NULL, &inc);
gtk_spin_button_get_increments( GTK_SPIN_BUTTON(m_widget), &inc, NULL);
return inc;
}