Avoid stealing focus from text controls when hovering over canvas

Fix #4879
Fix #4888
This commit is contained in:
Marek Roszko
2020-11-04 22:22:45 -05:00
parent ded0aaceda
commit 262bb06d91
5 changed files with 53 additions and 11 deletions
+5
View File
@@ -69,6 +69,11 @@ bool EnsureTextCtrlWidth( wxTextCtrl* aCtrl, const wxString* aString = NULL );
*/
void SelectReferenceNumber( wxTextEntry* aTextEntry );
/**
* Checks if a input control has focus
*/
bool IsInputControlFocused();
}
// Note: On windows, SEVERITY_ERROR collides with a system declaration,