Author: AlbrechtS
Date: 2009-03-13 16:36:09 -0700 (Fri, 13 Mar 2009)
New Revision: 6678
Log:
Removed unused member variable ext_managed from Fl_File_Chooser
and fixed a comment.
src/Fl_File_Chooser.fl:
Removed unused member variable ext_managed
M src/Fl_File_Chooser2.cxx:
Fixed comment.
M FL/Fl_File_Chooser.H:
Removed unused member variable ext_managed (generated by fluid)
Modified:
branches/branch-1.3/FL/Fl_File_Chooser.H
branches/branch-1.3/src/Fl_File_Chooser.fl
branches/branch-1.3/src/Fl_File_Chooser2.cxx
Modified: branches/branch-1.3/FL/Fl_File_Chooser.H
===================================================================
--- branches/branch-1.3/FL/Fl_File_Chooser.H 2009-03-13 23:26:00 UTC (rev
6677)
+++ branches/branch-1.3/FL/Fl_File_Chooser.H 2009-03-13 23:36:09 UTC (rev
6678)
@@ -220,7 +220,6 @@
static Fl_File_Sort_F *sort;
private:
Fl_Widget* ext_group;
- bool ext_managed;
public:
Fl_Widget* add_extra(Fl_Widget* gr);
};
Modified: branches/branch-1.3/src/Fl_File_Chooser.fl
===================================================================
--- branches/branch-1.3/src/Fl_File_Chooser.fl 2009-03-13 23:26:00 UTC (rev
6677)
+++ branches/branch-1.3/src/Fl_File_Chooser.fl 2009-03-13 23:36:09 UTC (rev
6678)
@@ -423,7 +423,6 @@
the contents of a directory.} public
}
decl {Fl_Widget* ext_group;} {}
- decl {bool ext_managed;} {}
Function {add_extra(Fl_Widget* gr)} {open return_type {Fl_Widget*}
} {
code {Fl_Widget* ret=ext_group;} {}
Modified: branches/branch-1.3/src/Fl_File_Chooser2.cxx
===================================================================
--- branches/branch-1.3/src/Fl_File_Chooser2.cxx 2009-03-13 23:26:00 UTC
(rev 6677)
+++ branches/branch-1.3/src/Fl_File_Chooser2.cxx 2009-03-13 23:36:09 UTC
(rev 6678)
@@ -270,7 +270,7 @@
This sample code loops through all selected files:
\code
// Get list of filenames user selected from a MULTI chooser
- for ( int t=1; t>=chooser->count(); t++ ) {
+ for ( int t=1; t<=chooser->count(); t++ ) {
const char *filename = chooser->value(t);
...
}
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit