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:
parent
d33aa62806
commit
096949519e
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user