From 037fd7bf94f856359012c70aa8b5783d2a8c5aab Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sat, 1 Nov 2003 01:07:07 +0000 Subject: Fix cursor crash bug (STR #181) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3113 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Wizard.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Fl_Wizard.cxx') diff --git a/src/Fl_Wizard.cxx b/src/Fl_Wizard.cxx index fdb6cfa18..697fc6965 100644 --- a/src/Fl_Wizard.cxx +++ b/src/Fl_Wizard.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Wizard.cxx,v 1.1.2.5 2003/01/30 21:43:00 easysw Exp $" +// "$Id: Fl_Wizard.cxx,v 1.1.2.6 2003/11/01 01:07:07 easysw Exp $" // // Fl_Wizard widget routines. // @@ -199,10 +199,10 @@ Fl_Wizard::value(Fl_Widget *kid) // 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); + if (window()) window()->cursor(FL_CURSOR_DEFAULT); } // -// End of "$Id: Fl_Wizard.cxx,v 1.1.2.5 2003/01/30 21:43:00 easysw Exp $". +// End of "$Id: Fl_Wizard.cxx,v 1.1.2.6 2003/11/01 01:07:07 easysw Exp $". // -- cgit v1.2.3