Mercurial > mercurial > hgweb_imcv.cgi
changeset 5:cb33c4b9ea23 default tip
small fix.
author | pyon@macmini |
---|---|
date | Wed, 06 Jun 2018 23:01:09 +0900 |
parents | 3fadcf124bb4 |
children | |
files | myframe.cpp |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/myframe.cpp Tue Jun 05 22:09:21 2018 +0900 +++ b/myframe.cpp Wed Jun 06 23:01:09 2018 +0900 @@ -1,5 +1,5 @@ // Filename : myframe.cpp -// Last Change: 2018-06-05 Tue 22:08:14. +// Last Change: 2018-06-06 Wed 22:46:55. // #include "myframe.h" @@ -84,6 +84,7 @@ bSizerConfig->Add( m_staticTextPercent, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); m_textCtrlPercent = new wxTextCtrl( this, wxID_ANY, wxT("100"), wxDefaultPosition, wxSize( 40, -1 ), wxTE_RIGHT|wxTAB_TRAVERSAL ); + m_textCtrlPercent->SetMaxLength( 3 ); bSizerConfig->Add( m_textCtrlPercent, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 ); bSizerTop->Add( bSizerConfig, 1, wxEXPAND, 5 );