summaryrefslogtreecommitdiff
path: root/examples/table-sort.cxx
diff options
context:
space:
mode:
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);