Applied #8804 ([wxMac] wxSpinCtrl behaviour)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -380,6 +380,8 @@ void wxSpinCtrl::SetTextValue(int val)
|
|||||||
// select all text
|
// select all text
|
||||||
m_text->SetSelection(0, -1);
|
m_text->SetSelection(0, -1);
|
||||||
|
|
||||||
|
m_text->SetInsertionPointEnd();
|
||||||
|
|
||||||
// and give focus to the control!
|
// and give focus to the control!
|
||||||
// m_text->SetFocus(); Why???? TODO.
|
// m_text->SetFocus(); Why???? TODO.
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user