Author: greg.ercolano
Date: 2011-01-27 17:34:22 -0800 (Thu, 27 Jan 2011)
New Revision: 8321
Log:
Removed unncessary calls to set_value_hide() which was
causing a crash on windows.



Modified:
   branches/branch-1.3/examples/table-spreadsheet-with-keyboard-nav.cxx

Modified: branches/branch-1.3/examples/table-spreadsheet-with-keyboard-nav.cxx
===================================================================
--- branches/branch-1.3/examples/table-spreadsheet-with-keyboard-nav.cxx        
2011-01-27 17:27:52 UTC (rev 8320)
+++ branches/branch-1.3/examples/table-spreadsheet-with-keyboard-nav.cxx        
2011-01-28 01:34:22 UTC (rev 8321)
@@ -70,6 +70,8 @@
     input->callback(input_cb, (void*)this);
     input->when(FL_WHEN_ENTER_KEY_ALWAYS);             // callback triggered 
when user hits Enter
     input->maximum_size(5);
+    row_edit = col_edit = 0;
+    s_left = s_top = s_right = s_bottom = 0;
     for (int c = 0; c < MAX_COLS; c++)
       for (int r = 0; r < MAX_ROWS; r++)
        values[r][c] = (r + 2) * (c + 3);               // initialize cells
@@ -85,12 +87,10 @@
   }
   // Change number of rows
   void rows(int val) {
-    set_value_hide();
     Fl_Table::rows(val);
   }
   // Change number of columns
   void cols(int val) {
-    set_value_hide();
     Fl_Table::cols(val);
   }
   // Get number of rows

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to