From 7d45e1f17226562cb7f5ac006bcd56b98ad8da5b Mon Sep 17 00:00:00 2001 From: Christopher Arndt Date: Sat, 15 Dec 2018 12:07:13 +0100 Subject: [PATCH] Fix parameter name in ImageSwitch callback method signature --- dgl/ImageWidgets.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dgl/ImageWidgets.hpp b/dgl/ImageWidgets.hpp index e5a21420..0e1e1ddd 100644 --- a/dgl/ImageWidgets.hpp +++ b/dgl/ImageWidgets.hpp @@ -240,7 +240,7 @@ public: { public: virtual ~Callback() {} - virtual void imageSwitchClicked(ImageSwitch* imageButton, bool down) = 0; + virtual void imageSwitchClicked(ImageSwitch* imageSwitch, bool down) = 0; }; explicit ImageSwitch(Window& parent, const Image& imageNormal, const Image& imageDown) noexcept;