summaryrefslogtreecommitdiff
path: root/examples/table-sort.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2011-01-04 17:19:50 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2011-01-04 17:19:50 +0000
commite5c3b267ffbef9273e60314a226fef794f010f73 (patch)
tree4f42c87096c992458c52b1b898faef61a4eabfaa /examples/table-sort.cxx
parentbcff5beb33e3b8ce9d161cdd6bd756898e29fe87 (diff)
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
Diffstat (limited to 'examples/table-sort.cxx')
-rw-r--r--examples/table-sort.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/table-sort.cxx b/examples/table-sort.cxx
index 44a8f06d6..290d61352 100644
--- a/examples/table-sort.cxx
+++ b/examples/table-sort.cxx
@@ -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);