Skip to content
Snippets Groups Projects
Commit d875e393 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

use LoadIcon instead of LoadImage

parent ddd46c1b
No related branches found
No related tags found
No related merge requests found
...@@ -138,8 +138,7 @@ FlGui::FlGui(int argc, char **argv) ...@@ -138,8 +138,7 @@ FlGui::FlGui(int argc, char **argv)
#if defined(WIN32) #if defined(WIN32)
graph[0]->getWindow()->icon graph[0]->getWindow()->icon
((const char*)LoadImage(fl_display, MAKEINTRESOURCE(IDI_ICON), ((const void*)LoadIcon(fl_display, MAKEINTRESOURCE(IDI_ICON)));
IMAGE_ICON, 16, 16, LR_DEFAULTCOLOR));
#elif defined(__APPLE__) #elif defined(__APPLE__)
// nothing to do here // nothing to do here
#else #else
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment