diff --git a/uppsrc/CtrlLib/CtrlLib.upp b/uppsrc/CtrlLib/CtrlLib.upp index 3ff30cf08..ec77564e0 100644 --- a/uppsrc/CtrlLib/CtrlLib.upp +++ b/uppsrc/CtrlLib/CtrlLib.upp @@ -9,8 +9,7 @@ uses uses(POSIX) PdfDraw; file - CtrlLib.h - options(BUILDER_OPTION) PCH, + CtrlLib.h options(BUILDER_OPTION) PCH, CtrlLib readonly separator, LabelBase.h, LabelBase.cpp, diff --git a/uppsrc/CtrlLib/CtrlUtil.cpp b/uppsrc/CtrlLib/CtrlUtil.cpp index 28d36134d..b0effea37 100644 --- a/uppsrc/CtrlLib/CtrlUtil.cpp +++ b/uppsrc/CtrlLib/CtrlUtil.cpp @@ -382,7 +382,7 @@ FileSelButton::FileSelButton(MODE mode, const char *title) { button.NoWantFocus(); button.SetImage(CtrlImg::right_arrow()); - button <<= THISBACK(OnAction); + button << [=] { OnAction(); }; } void FileSelButton::OnAction()