mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-25 22:03:45 -06:00
.reference
git-svn-id: svn://ultimatepp.org/upp/trunk@10274 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
8b96b11e8c
commit
c8dbd68e1d
18 changed files with 55 additions and 67 deletions
|
|
@ -10,8 +10,6 @@ struct ArrayCtrlExample : public WithDlgLayout<TopWindow> {
|
|||
|
||||
void DoubleClick();
|
||||
|
||||
typedef ArrayCtrlExample CLASSNAME;
|
||||
|
||||
ArrayCtrlExample();
|
||||
};
|
||||
|
||||
|
|
@ -51,7 +49,7 @@ ArrayCtrlExample::ArrayCtrlExample()
|
|||
array.AddColumn("with display").SetDisplay(Single<MyDisplay>());
|
||||
array.AddCtrl(editor);
|
||||
array.AddRowNumColumn("rownum");
|
||||
array.WhenLeftDouble = THISBACK(DoubleClick);
|
||||
array.WhenLeftDouble = [=] { DoubleClick(); };
|
||||
array.ColumnWidths("51 120 60 102 62");
|
||||
|
||||
for(int i = 0; i < 20; i++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue