diff options
Diffstat (limited to 'src/signs_gui.cpp')
-rw-r--r-- | src/signs_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/signs_gui.cpp b/src/signs_gui.cpp index 5d86e90f9..5597a1202 100644 --- a/src/signs_gui.cpp +++ b/src/signs_gui.cpp @@ -143,7 +143,7 @@ struct SignListWindow : Window, SignList { if (widget == SLW_CAPTION) SetDParam(0, this->vscroll.GetCount()); } - virtual void OnClick(Point pt, int widget) + virtual void OnClick(Point pt, int widget, int click_count) { if (widget == SLW_LIST) { uint id_v = (pt.y - this->GetWidget<NWidgetBase>(SLW_LIST)->pos_y - WD_FRAMERECT_TOP) / this->resize.step_height; @@ -328,7 +328,7 @@ struct SignWindow : QueryStringBaseWindow, SignList { if (!this->IsShaded()) this->DrawEditBox(QUERY_EDIT_SIGN_WIDGET_TEXT); } - virtual void OnClick(Point pt, int widget) + virtual void OnClick(Point pt, int widget, int click_count) { switch (widget) { case QUERY_EDIT_SIGN_WIDGET_PREVIOUS: |