X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/223d09f6b523aac674ef9b72a883dfa8d37c5d4e..e7494fa9961c39cd14069ef8b12f5c059c7d3b35:/src/gtk1/spinbutt.cpp diff --git a/src/gtk1/spinbutt.cpp b/src/gtk1/spinbutt.cpp index 1901da14bf..3d75387d4d 100644 --- a/src/gtk1/spinbutt.cpp +++ b/src/gtk1/spinbutt.cpp @@ -35,7 +35,7 @@ extern bool g_isIdle; extern bool g_blockEventsOnDrag; -static const float sensitivity = 0.2; +static const float sensitivity = 0.02; //----------------------------------------------------------------------------- // "value_changed" @@ -101,7 +101,7 @@ bool wxSpinButton::Create(wxWindow *parent, wxSize new_size = size; new_size.x = 15; if (new_size.y == -1) - new_size.y = 30; + new_size.y = 26; if (!PreCreation( parent, pos, new_size ) || !CreateBase( parent, id, pos, new_size, style, wxDefaultValidator, name )) @@ -134,10 +134,6 @@ bool wxSpinButton::Create(wxWindow *parent, return TRUE; } -wxSpinButton::~wxSpinButton() -{ -} - int wxSpinButton::GetMin() const { wxCHECK_MSG( (m_widget != NULL), 0, wxT("invalid spin button") );