Added SetLock() function for PrusaLockButton

This commit is contained in:
YuSanka 2019-01-09 08:48:25 +01:00
parent ab810f4b16
commit 6d7e2b2dd7
4 changed files with 15 additions and 2 deletions

View file

@ -851,6 +851,7 @@ public:
void OnLeaveBtn(wxMouseEvent& event) { enter_button(false); event.Skip(); }
bool IsLocked() const { return m_is_pushed; }
void SetLock(bool lock);
protected:
void enter_button(const bool enter);