applied patch #427244 (wxrcedit improvements: XRC version upgrade)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -69,7 +69,9 @@ void PropEditCtrlTxt::WriteValue()
|
||||
wxWindow *PropEditCtrlInt::CreateEditCtrl()
|
||||
{
|
||||
PropEditCtrlTxt::CreateEditCtrl();
|
||||
#if wxUSE_VALIDATORS
|
||||
m_TextCtrl->SetValidator(wxTextValidator(wxFILTER_NUMERIC));
|
||||
#endif
|
||||
return m_TextCtrl;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user