More framework updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -68,7 +68,15 @@ wxIcon::wxIcon(
|
||||
, int nDesiredHeight
|
||||
)
|
||||
{
|
||||
LoadFile( rIconFile
|
||||
//
|
||||
// A very poor hack, but we have to have separate icon files from windows
|
||||
// So we have a modified name where replace the last three characters
|
||||
// with os2. Also need the extension.
|
||||
//
|
||||
wxString sOs2Name = rIconFile.Mid(0, rIconFile.Length() - 3);
|
||||
|
||||
sOs2Name += "Os2.ico";
|
||||
LoadFile( sOs2Name
|
||||
,lFlags
|
||||
,nDesiredWidth
|
||||
,nDesiredHeight
|
||||
|
Reference in New Issue
Block a user