Fix spelling error

This commit is contained in:
Dimitris Panokostas 2020-09-05 09:40:27 +02:00
parent 3ad66ad596
commit acae180ced

View file

@ -98,7 +98,7 @@ namespace gcn
if (toBeFocusedIndex < 0)
{
throw GCN_EXCEPTION("Trying to focus a none existing widget.");
throw GCN_EXCEPTION("Trying to focus a non-existing widget.");
}
auto* oldFocused = mFocusedWidget;
@ -527,7 +527,7 @@ namespace gcn
void FocusHandler::distributeFocusGainedEvent(const Event& focusEvent)
{
auto sourceWidget = focusEvent.getSource();
auto* sourceWidget = focusEvent.getSource();
auto focusListeners = sourceWidget->_getFocusListeners();