Skip to content

Commit 5858ca8

Browse files
committed
icon code is only for fltk 1.3.3 and up
1 parent 682ec32 commit 5858ca8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sources/main.cc

+2
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,11 @@ int main(int argc, char *argv[])
7070
textdomain("FreeMajor");
7171
#endif
7272

73+
#if FL_API_VERSION >= 10303
7374
Fl_Pixmap icon(Icon::FreeMajor);
7475
Fl_RGB_Image image(&icon);
7576
Fl_Window::default_icon(&image);
77+
#endif
7678

7779
Main_Window win;
7880

0 commit comments

Comments
 (0)