added SpinCtrl,
updated a few headers, tried to set window size hints, no effect with KWM, git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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") );
|
||||
|
Reference in New Issue
Block a user