Bugs-1934787 ] Bug in wxDataViewSpinRenderer::CreateEditorCtrl()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1177,7 +1177,7 @@ wxControl* wxDataViewSpinRenderer::CreateEditorCtrl( wxWindow *parent, wxRect la
|
|||||||
size = wxSize( wxMax(70,labelRect.width ), -1 );
|
size = wxSize( wxMax(70,labelRect.width ), -1 );
|
||||||
#endif
|
#endif
|
||||||
wxString str;
|
wxString str;
|
||||||
str.Printf( wxT("%d\n"), (int) l );
|
str.Printf( wxT("%d"), (int) l );
|
||||||
wxSpinCtrl *sc = new wxSpinCtrl( parent, wxID_ANY, str,
|
wxSpinCtrl *sc = new wxSpinCtrl( parent, wxID_ANY, str,
|
||||||
labelRect.GetTopLeft(), size, wxSP_ARROW_KEYS, m_min, m_max, l );
|
labelRect.GetTopLeft(), size, wxSP_ARROW_KEYS, m_min, m_max, l );
|
||||||
#ifdef __WXMAC__
|
#ifdef __WXMAC__
|
||||||
|
Reference in New Issue
Block a user