summaryrefslogtreecommitdiff
path: root/src/Fl_Input_.cxx
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2010-12-20 07:48:59 +0000
committerGreg Ercolano <erco@seriss.com>2010-12-20 07:48:59 +0000
commit4a883a2e81164358f960f13d42fce599f38df5bc (patch)
treed3a5bd32126c20bd5ba4c137999427dcee7deefc /src/Fl_Input_.cxx
parentdf6de286e7421062372c468b6dca426c254ef379 (diff)
Added new tab_nav() control for Fl_Multiline_Input tab navigation behavior.
New default behavior is what most users expect; hitting Tab navigates over the widget. Fl_Input modified to support the new flag. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8068 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Input_.cxx')
-rw-r--r--src/Fl_Input_.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_Input_.cxx b/src/Fl_Input_.cxx
index a0438356c..2c4e5336c 100644
--- a/src/Fl_Input_.cxx
+++ b/src/Fl_Input_.cxx
@@ -1059,6 +1059,7 @@ Fl_Input_::Fl_Input_(int X, int Y, int W, int H, const char* l)
maximum_size_ = 32767;
shortcut_ = 0;
set_flag(SHORTCUT_LABEL);
+ tab_nav(1);
}
/**