mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
CtrlLib: Fixed refresh issue with ArrayCtrl::CreateCtrl
git-svn-id: svn://ultimatepp.org/upp/trunk@8332 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
3c5807a0dc
commit
81e6470554
1 changed files with 1 additions and 1 deletions
|
|
@ -552,7 +552,7 @@ public:
|
|||
void SetCtrl(int i, int col, Ctrl& ctrl, bool value = true);
|
||||
Ctrl *GetCtrl(int i, int col);
|
||||
template <class T>
|
||||
T& CreateCtrl(int i, int col, bool value = true) { T *c = new T; SetCtrl(i, col, c, true, value); return *c; }
|
||||
T& CreateCtrl(int i, int col, bool value = true) { T *c = new T; SetCtrl(i, col, c, true, value); SyncLineCtrls(i); return *c; }
|
||||
|
||||
ArrayCtrl& SetLineCy(int cy);
|
||||
void SetLineCy(int i, int cy);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue