summaryrefslogtreecommitdiff
path: root/test/resizebox.cxx
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2009-04-21 09:09:37 +0000
committerGreg Ercolano <erco@seriss.com>2009-04-21 09:09:37 +0000
commitb475babf172ec6702af57f514c6fc28bd43159da (patch)
tree115b0aa1a977a8496552c2b16161f96573e350a9 /test/resizebox.cxx
parent03ec459eb03b18c4792c9edc5f8e585653c276e9 (diff)
Most test demos converted to use Fl_Double_Window
to prevent flicker when new users run test/demo programs. For details, see fltk.development thread started 04/16/09, "Subject: browser demo flicker". git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6772 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/resizebox.cxx')
-rw-r--r--test/resizebox.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/resizebox.cxx b/test/resizebox.cxx
index cad3b515a..ddef1377c 100644
--- a/test/resizebox.cxx
+++ b/test/resizebox.cxx
@@ -30,13 +30,13 @@
#define W3 (5*W1+6*B)
#include <FL/Fl.H>
-#include <FL/Fl_Single_Window.H>
+#include <FL/Fl_Double_Window.H>
#include <FL/Fl_Box.H>
#include <FL/Fl_Radio_Button.H>
#include <FL/fl_draw.H>
#include <FL/fl_message.H>
-Fl_Single_Window *window;
+Fl_Double_Window *window;
Fl_Box *box;
int big = 0;
@@ -64,7 +64,7 @@ void b_cb(Fl_Widget *,long w) {
}
int main(int argc, char **argv) {
- window = new Fl_Single_Window(W3,W3);
+ window = new Fl_Double_Window(W3,W3);
window->box(FL_NO_BOX);
Fl_Box *n;
for (int x = 0; x<4; x++) for (int y = 0; y<4; y++) {