From 561052191096d72b321f676401fbc8c7476a5990 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Fri, 4 Oct 2002 02:30:34 +0000 Subject: Doco updates. Reset cursor when changing the current pane in an Fl_Wizard widget. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2648 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Wizard.cxx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Fl_Wizard.cxx b/src/Fl_Wizard.cxx index 69afb6f80..1f14f25a5 100644 --- a/src/Fl_Wizard.cxx +++ b/src/Fl_Wizard.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Wizard.cxx,v 1.1.2.2 2002/01/01 15:11:31 easysw Exp $" +// "$Id: Fl_Wizard.cxx,v 1.1.2.3 2002/10/04 02:30:34 easysw Exp $" // // Fl_Wizard widget routines. // @@ -194,9 +194,14 @@ Fl_Wizard::value(Fl_Widget *kid) else (*kids)->hide(); } + + // This will restore the mouse pointer to the window's default cursor + // whenever the wizard pane is changed. Otherwise text widgets that + // show the next pane may leave the cursor set to the I beam, etc... + window()->cursor(FL_CURSOR_DEFAULT); } // -// End of "$Id: Fl_Wizard.cxx,v 1.1.2.2 2002/01/01 15:11:31 easysw Exp $". +// End of "$Id: Fl_Wizard.cxx,v 1.1.2.3 2002/10/04 02:30:34 easysw Exp $". // -- cgit v1.2.3