Use Fl_Double_Window in table-sort example because of flickering.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8182 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Albrecht Schlosser 2011-01-04 17:19:50 +00:00
parent bcff5beb33
commit e5c3b267ff

View File

@ -34,7 +34,7 @@
//
#include <FL/Fl.H>
#include <FL/Fl_Window.H>
#include <FL/Fl_Double_Window.H>
#include <FL/fl_draw.H>
#include <FL/Fl_Table_Row.H>
@ -269,7 +269,7 @@ void MyTable::event_callback2() {
}
int main() {
Fl_Window win(900,500,"Table Sorting");
Fl_Double_Window win(900,500,"Table Sorting");
MyTable table(MARGIN, MARGIN, win.w()-MARGIN*2, win.h()-MARGIN*2);
table.selection_color(FL_YELLOW);
table.col_header(1);