diff --git a/src/generic/timectrl.cpp b/src/generic/timectrl.cpp index 38218a6a62..af10b288f1 100644 --- a/src/generic/timectrl.cpp +++ b/src/generic/timectrl.cpp @@ -72,7 +72,9 @@ public: // this is not currently supported by wxTextCtrl. m_text->SetCursor(wxCURSOR_ARROW); - m_btn = new wxSpinButton(ctrl); + m_btn = new wxSpinButton(ctrl, wxID_ANY, + wxDefaultPosition, wxDefaultSize, + wxSP_VERTICAL | wxSP_WRAP); m_currentField = Field_Hour; m_isFirstDigit = true;