Skip to content

Commit

Permalink
Don't open display when generating source code for Fl_Help_View
Browse files Browse the repository at this point in the history
widget (STR #1318)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5658 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
michaelrsweet committed Feb 2, 2007
1 parent a4814c4 commit 3fb13c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGES
Expand Up @@ -2,6 +2,8 @@ CHANGES IN FLTK 1.1.8

- Documentation fixes (STR #1454, STR #1455, STR #1456,
STR #1457, STR #1458, STR #1460, STR #1481, STR #1578)
- FLUID incorrectly opened the display when generating
source code for Fl_Help_View widgets (STR #1318)
- Fl_Double_Window did not always show the scheme
background image.
- Fixed first window behavior in OS X (STR #1548)
Expand Down
6 changes: 4 additions & 2 deletions fluid/factory.cxx
Expand Up @@ -624,8 +624,10 @@ class Fl_Help_View_Type : public Fl_Widget_Type {
virtual const char *type_name() {return "Fl_Help_View";}
Fl_Widget *widget(int x,int y,int w,int h) {
Fl_Help_View *myo = new Fl_Help_View(x,y,w,h);
myo->value("<HTML><BODY><H1>Fl_Help_View Widget</H1>"
"<P>This is a Fl_Help_View widget.</P></BODY></HTML>");
if (!compile_only) {
myo->value("<HTML><BODY><H1>Fl_Help_View Widget</H1>"
"<P>This is a Fl_Help_View widget.</P></BODY></HTML>");
}
return myo;}
Fl_Widget_Type *_make() {return new Fl_Help_View_Type();}
int pixmapID() { return 35; }
Expand Down

0 comments on commit 3fb13c3

Please sign in to comment.