From 1aa8c2e16f5fea7763db6415f0684f51d01f4de3 Mon Sep 17 00:00:00 2001 From: corvid Date: Thu, 6 Jan 2011 03:09:45 +0000 Subject: when --- src/findbar.cc | 2 +- src/ui.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/findbar.cc b/src/findbar.cc index 49cffcd6..713b13ac 100644 --- a/src/findbar.cc +++ b/src/findbar.cc @@ -132,7 +132,7 @@ Findbar::Findbar(int width, int height) : x += input_width + gap; resizable(i); i->color(206); - i->when(WHEN_ENTER_KEY_ALWAYS); + i->when(FL_WHEN_ENTER_KEY_ALWAYS); i->callback(search_cb2, this); i->clear_tab_to_focus(); i->set_click_to_focus(); diff --git a/src/ui.cc b/src/ui.cc index 7e0d19a7..a7d2f756 100644 --- a/src/ui.cc +++ b/src/ui.cc @@ -469,7 +469,7 @@ PackedGroup *UI::make_location() Input *i = Location = new CustInput(0,0,0,0,0); i->color(CuteColor); - i->when(WHEN_ENTER_KEY); + i->when(FL_WHEN_ENTER_KEY); i->callback(location_cb, this); i->set_click_to_focus(); -- cgit v1.2.3