commit a4fe3ac328798e773c9cae2165190962a0680d41
parent bbca5beee33c0097089241183ee45f4ffcc05daa
Author: Christopher Arndt <SpotlightKid@users.noreply.github.com>
Date: Sat, 15 Dec 2018 14:27:14 +0100
Fix parameter name in ImageSwitch callback method signature (#92)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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;