Skip to content

Commit

Permalink
icon code is only for fltk 1.3.3 and up
Browse files Browse the repository at this point in the history
  • Loading branch information
jpcima committed Mar 16, 2019
1 parent 682ec32 commit 5858ca8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sources/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,11 @@ int main(int argc, char *argv[])
textdomain("FreeMajor");
#endif

#if FL_API_VERSION >= 10303
Fl_Pixmap icon(Icon::FreeMajor);
Fl_RGB_Image image(&icon);
Fl_Window::default_icon(&image);
#endif

Main_Window win;

Expand Down

0 comments on commit 5858ca8

Please sign in to comment.