#include "CalculatorButton.h" CalculatorButton::CalculatorButton( Window * pParent, const Rect rFrame, const String &pLabel, unsigned int nWindowLayoutFlags, unsigned int uiVKey) { pButton = new Button(pParent, rFrame, pLabel, nWindowLayoutFlags); Shortcut pShortcut(pButton, uiVKey, 0, KEY_QUAL_NONE); pShortcut.Fire.Connect(this, &CalculatorButton::OnClicked); } CalculatorButton::CalculatorButton( Window * pParent, const Rect rFrame, const String &pLabel, unsigned int nWindowLayoutFlags) { pButton = new Button(pParent, rFrame, pLabel, nWindowLayoutFlags); } void CalculatorButton::OnClicked() { }