diff --git a/Fltk/FlGui.cpp b/Fltk/FlGui.cpp index 3b54829f50a887c8f16c78c4bbfb4bbc42e16621..247c2a03cb61c50f4183984b069dcc03a21bcb31 100644 --- a/Fltk/FlGui.cpp +++ b/Fltk/FlGui.cpp @@ -138,8 +138,7 @@ FlGui::FlGui(int argc, char **argv) #if defined(WIN32) graph[0]->getWindow()->icon - ((const char*)LoadImage(fl_display, MAKEINTRESOURCE(IDI_ICON), - IMAGE_ICON, 16, 16, LR_DEFAULTCOLOR)); + ((const void*)LoadIcon(fl_display, MAKEINTRESOURCE(IDI_ICON))); #elif defined(__APPLE__) // nothing to do here #else