summaryrefslogtreecommitdiff
path: root/fluid/custom_widgets.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'fluid/custom_widgets.cxx')
-rw-r--r--fluid/custom_widgets.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/fluid/custom_widgets.cxx b/fluid/custom_widgets.cxx
index 887e2ba14..b50169f3a 100644
--- a/fluid/custom_widgets.cxx
+++ b/fluid/custom_widgets.cxx
@@ -110,7 +110,7 @@ int Widget_Bin_Window_Button::handle(int inEvent)
// create a new window here
Fl_Type *prototype = typename_to_prototype((char*)user_data());
if (prototype) {
- Fl_Type *new_type = add_new_widget_from_user(prototype, kAddAfterCurrent);
+ Fl_Type *new_type = add_new_widget_from_user(prototype, Strategy::AFTER_CURRENT);
if (new_type && new_type->is_a(ID_Window)) {
Fl_Window_Type *new_window = (Fl_Window_Type*)new_type;
Fl_Window *w = (Fl_Window *)new_window->o;