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:
Robert Roebling
2008-04-05 12:37:31 +00:00
parent dd570ceb10
commit 2ddfe921f8

View File

@@ -1177,7 +1177,7 @@ wxControl* wxDataViewSpinRenderer::CreateEditorCtrl( wxWindow *parent, wxRect la
size = wxSize( wxMax(70,labelRect.width ), -1 );
#endif
wxString str;
str.Printf( wxT("%d\n"), (int) l );
str.Printf( wxT("%d"), (int) l );
wxSpinCtrl *sc = new wxSpinCtrl( parent, wxID_ANY, str,
labelRect.GetTopLeft(), size, wxSP_ARROW_KEYS, m_min, m_max, l );
#ifdef __WXMAC__