From e5bed7767ec2dfac27085ef15b6e882596060f74 Mon Sep 17 00:00:00 2001 From: David Rose Date: Mon, 13 Aug 2012 23:44:04 +0000 Subject: [PATCH] LR_DEFAULTSIZE --- panda/src/windisplay/winGraphicsWindow.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/windisplay/winGraphicsWindow.cxx b/panda/src/windisplay/winGraphicsWindow.cxx index 2cfaaebdc0..6b4e7d1d6d 100644 --- a/panda/src/windisplay/winGraphicsWindow.cxx +++ b/panda/src/windisplay/winGraphicsWindow.cxx @@ -2593,7 +2593,7 @@ get_icon(const Filename &filename) { Filename os = resolved.to_os_specific(); HANDLE h = LoadImage(NULL, os.c_str(), - IMAGE_ICON, 0, 0, LR_LOADFROMFILE); + IMAGE_ICON, 0, 0, LR_LOADFROMFILE | LR_DEFAULTSIZE); if (h == 0) { windisplay_cat.warning() << "windows icon filename '" << os << "' could not be loaded!!\n";