Fixed disappearing visual hints when the user presses the ENTER key while editing one of the object manipulators fields

This commit is contained in:
Enrico Turri 2019-05-06 15:24:50 +02:00
parent ec57a7f971
commit cc98c9bbe2
3 changed files with 17 additions and 4 deletions

View file

@ -225,6 +225,9 @@ public:
m_em_unit = em_unit(m_parent);
}
bool get_enter_pressed() const { return bEnterPressed; }
void set_enter_pressed(bool pressed) { bEnterPressed = pressed; }
protected:
RevertButton* m_Undo_btn = nullptr;
// Bitmap and Tooltip text for m_Undo_btn. The wxButton will be updated only if the new wxBitmap pointer differs from the currently rendered one.