summaryrefslogtreecommitdiff
path: root/src/osk_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/osk_gui.cpp')
-rw-r--r--src/osk_gui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/osk_gui.cpp b/src/osk_gui.cpp
index 4aa4285f7..cb411391f 100644
--- a/src/osk_gui.cpp
+++ b/src/osk_gui.cpp
@@ -245,20 +245,20 @@ struct OskWindow : public Window {
QueryStringBaseWindow *w = dynamic_cast<QueryStringBaseWindow*>(this->parent);
if (w != NULL) w->OnOSKInput(this->text_btn);
- this->InvalidateWidget(OSK_WIDGET_TEXT);
- if (this->parent != NULL) this->parent->InvalidateWidget(this->text_btn);
+ this->SetWidgetDirty(OSK_WIDGET_TEXT);
+ if (this->parent != NULL) this->parent->SetWidgetDirty(this->text_btn);
}
virtual void OnMouseLoop()
{
this->qs->HandleEditBox(this, OSK_WIDGET_TEXT);
/* make the caret of the parent window also blink */
- this->parent->InvalidateWidget(this->text_btn);
+ this->parent->SetWidgetDirty(this->text_btn);
}
virtual void OnInvalidateData(int)
{
- this->InvalidateWidget(OSK_WIDGET_TEXT);
+ this->SetWidgetDirty(OSK_WIDGET_TEXT);
}
};