Fix compilation on Windows, now Button::Click doesn't receive an Event&

This commit is contained in:
David Capello 2023-01-12 13:01:56 -03:00
parent 5953e93402
commit c910efe2f4

View File

@ -427,13 +427,13 @@ public:
loadWintabDriver2()->setSelected(false);
}
tabletApiWindowsPointer()->Click.connect([this](Event&){ onTabletAPIChange(); });
tabletApiWintabSystem()->Click.connect([this](Event&){ onTabletAPIChange(); });
tabletApiWintabDirect()->Click.connect([this](Event&){ onTabletAPIChange(); });
tabletApiWindowsPointer()->Click.connect([this](){ onTabletAPIChange(); });
tabletApiWintabSystem()->Click.connect([this](){ onTabletAPIChange(); });
tabletApiWintabDirect()->Click.connect([this](){ onTabletAPIChange(); });
loadWintabDriver()->Click.connect(
[this](Event&){ onLoadWintabChange(loadWintabDriver()->isSelected()); });
[this](){ onLoadWintabChange(loadWintabDriver()->isSelected()); });
loadWintabDriver2()->Click.connect(
[this](Event&){ onLoadWintabChange(loadWintabDriver2()->isSelected()); });
[this](){ onLoadWintabChange(loadWintabDriver2()->isSelected()); });
}
#else // For macOS and Linux
{