mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-01 18:00:26 +00:00
Fix compilation on Windows, now Button::Click doesn't receive an Event&
This commit is contained in:
parent
5953e93402
commit
c910efe2f4
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user