Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c2143f
)
ecere/gui/Window: Fix for icon sometimes not showing up on Windows XP
author
Jerome St-Louis
<jerome@ecere.com>
Sat, 10 Mar 2012 02:51:22 +0000
(21:51 -0500)
committer
Jerome St-Louis
<jerome@ecere.com>
Sat, 10 Mar 2012 02:51:22 +0000
(21:51 -0500)
ecere/src/gui/Window.ec
patch
|
blob
|
history
diff --git
a/ecere/src/gui/Window.ec
b/ecere/src/gui/Window.ec
index
2f7ee6f
..
516fef2
100644
(file)
--- a/
ecere/src/gui/Window.ec
+++ b/
ecere/src/gui/Window.ec
@@
-4751,7
+4751,8
@@
private:
delete display;
}
}
- guiApp.interfaceDriver.SetIcon(this, icon);
+ // Sometimes icon does not show up on Windows XP if we set here...
+ // guiApp.interfaceDriver.SetIcon(this, icon);
}
else if(this != guiApp.desktop)
{
@@
-6167,6
+6168,7
@@
public:
// Real set state & activate for proper display & activation
property::visible = visible;
// SetState(state & 0x00000003, true, 0);
+ guiApp.interfaceDriver.SetIcon(this, icon);
if(visible)
{