diff options
| author | Greg Ercolano <erco@seriss.com> | 2009-04-21 09:09:37 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2009-04-21 09:09:37 +0000 |
| commit | b475babf172ec6702af57f514c6fc28bd43159da (patch) | |
| tree | 115b0aa1a977a8496552c2b16161f96573e350a9 /test/ask.cxx | |
| parent | 03ec459eb03b18c4792c9edc5f8e585653c276e9 (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/ask.cxx')
| -rw-r--r-- | test/ask.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ask.cxx b/test/ask.cxx index 86373a2fa..07bca9a5c 100644 --- a/test/ask.cxx +++ b/test/ask.cxx @@ -35,7 +35,7 @@ #include <stdio.h> #include <string.h> #include <FL/Fl.H> -#include <FL/Fl_Window.H> +#include <FL/Fl_Double_Window.H> #include <FL/Fl_Input.H> #include <FL/Fl_Button.H> #include <FL/Fl_Return_Button.H> @@ -77,7 +77,7 @@ int main(int argc, char **argv) { // the question dialog several times and make sure it doesn't crash. // fc: added more fl_ask common dialogs for test cases purposes. - Fl_Window window(200, 105); + Fl_Double_Window window(200, 105); Fl_Return_Button b(20, 10, 160, 35, buffer); b.callback(rename_me); Fl_Button b2(20, 50, 160, 35, buffer2); b2.callback(rename_me_pwd); window.end(); |
