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
•
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
•
Refresh
•
New Topic
•
Search
•
Previous
•
Next
1
掌柜推荐
¥660.00
THM-R80-BM背光指针式转速表带小时计金属外壳1200转1800转3000转
¥288.00
N1H-4C-70齿轮转速传感器霍尔发动机柴油机测速M16*1长70有源脉冲
¥1,580.00
DMM-R100-BV双向转速表背光指针式正反转船用尾轴转速表孔径102
¥900.00
双福SRE-PD3M CRS184速度继电器转速监控柴油机超速保护监视仪
¥317.00
N1H-5A-100转速传感器霍尔齿轮非接触式测速螺纹M18*1.5长100有源
¥410.00
VMM-R52-B直流电压表DC7~25V指针式带背光可定制电压范围
©
Fri 2024-10-18
Guidance Laboratory Inc.
Email:
webmaster1
g.yi
.
org
Hits:
0