Guidance
指路人
g.yi.org
Guidance Forums
/
wxWidgets (wxWindows) in C++
/ Toolbar icons
最新
搜索
论坛
Reginald Rexx
STC(宏晶)单片机与电路设计
wxWidgets (wxWindows) in C++
奇瑞QQ车友论坛
生活信息交流与学习角
质量与可靠性
Rapid-Q Basic
FreeBasic
Reginald
Forum
Examples
RapidQ
Forum
Bugs
Examples
Resource
RQ Doc
RQ Intro
System
LeonAutoBackup
Home
Software
App
Lib
RapidQ
Reginald
Upload
Chrononet
回顶部
⇑
Forum List
•
Thread List
•
Reply
•
Refresh
•
New Topic
•
Search
•
Previous
•
Next
1
1.
Toolbar icons
#5688
Posted by:
2005-01-07 00:09:16
I have been trying for ages to get these icons working. I think i am the closest I have been, but I cant get the resource file to compile.
I am only trying to load only one icon for now "Icon2.bmp". Here is my resource file:
#include "wx/msw/wx.rc"
icon2 BITMAP "Icon2.bmp"
And finally the line where I initiate the wxBitmap:
wxBitmap bitmap = wxBITMAP(icon2);
I have also tried other calls such as:
wxBitmap *bitmap = new wxBitmap(icon2);
wxBitmap *bitmap = new wxBitmap("Icon2.BMP",wxBITMAP_TYPE_BMP);
When I compile i get:
[Build Error] [myApp_private.res]Error 1
I really cannot work out what is wrong and its making me a bit angry now. Can anyone tell me what i may have doen wrong from this information?
Forum List
•
Thread List
•
Reply
•
Refresh
•
New Topic
•
Search
•
Previous
•
Next
1
掌柜推荐
¥1,005.00
DRE-PD2H智能双向速度继电器正反转向识别超欠速反转报警反接制动
¥790.00
SRE-PD1H智能速度继电器转速监控器超速欠速失速保护器打滑检测
¥900.00
双福SRE-PD3M CRS184速度继电器转速监控柴油机超速保护监视仪
¥497.00
D1H-5C-70双向转速传感器非接触霍尔齿轮正反转免磁钢M18*1.5长70
¥810.00
SRE-PD1N智能速度继电器转速监控NAMUR输入接口带方波脉冲输出
¥470.00
TMM-R80-BH发动机转速表带背光脉冲输入金属外壳12000转/分可定制
©
Sat 2024-7-27
Guidance Laboratory Inc.
Email:
webmaster1
g.yi
.
org
Hits:
0