Corrected spin control, which ignored hand typed text.
Corrceted GetBestSize() etc of static text (displayed in tip dialog and elsewhere). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -149,6 +149,8 @@ int wxSpinCtrl::GetValue() const
|
||||
{
|
||||
wxCHECK_MSG( (m_widget != NULL), 0, wxT("invalid spin button") );
|
||||
|
||||
gtk_spin_button_update( GTK_SPIN_BUTTON(m_widget) );
|
||||
|
||||
return (int)ceil(m_adjust->value);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user