Patch level :10.0

Files correlati     : xvaga.dll
Ricompilazione Demo : [ ]
Commento            :
Corretto reperimento icone associate ad estensioni di file noti


git-svn-id: svn://10.65.10.50/trunk@18766 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2009-04-22 13:31:44 +00:00
parent d33aa62806
commit 096949519e

View File

@ -879,7 +879,11 @@ wxIcon* OsWin32_LoadIcon(const char* filename)
if (IsInternetAddress(filename))
ext = ".htm";
else
{
wxFileName::SplitPath(filename, NULL, NULL, NULL, &ext);
if (!ext.StartsWith("."))
ext.insert(0, ".");
}
}
ext.MakeLower();