Patch level :2.2 2006 nopatch
Files correlati : Ricompilazione Demo : [ ] Commento :nuovi link alle resources in wx263 e corretta chiamata wxBitmap secondo wx263 git-svn-id: svn://10.65.10.50/trunk@13899 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
db98c62c22
commit
333f84ce99
@ -126,7 +126,8 @@ void TTaskBarIcon::Init()
|
|||||||
wxInitAllImageHandlers();
|
wxInitAllImageHandlers();
|
||||||
wxImage img(strIcon);
|
wxImage img(strIcon);
|
||||||
img.Rescale(32,32);
|
img.Rescale(32,32);
|
||||||
icon.CopyFromBitmap(img.ConvertToBitmap());
|
wxBitmap bmp(img);
|
||||||
|
icon.CopyFromBitmap(bmp);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
icon.LoadFile("mondrian", wxBITMAP_TYPE_ICO_RESOURCE);
|
icon.LoadFile("mondrian", wxBITMAP_TYPE_ICO_RESOURCE);
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
mondrian ICON "soap.ico"
|
mondrian ICON "soap.ico"
|
||||||
#include "../../wx240/include/wx/msw/wx.rc"
|
#include "../../wx263/include/wx/msw/wx.rc"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user