Guidance
指路人
g.yi.org
Guidance Forums
/
wxWidgets (wxWindows) in C++
/ wxStaticBitmap problems with setting an image
最新
搜索
论坛
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.
wxStaticBitmap problems with setting an image
#5734
Posted by:
2005-01-22 04:09:15
i don't know what do i do wrong but every time i try to set an image or bitmap to a wxStaticBitmap window the program stops (at the debugging stage), here i will paste a code i think everything is ok
{
wxString FILENAME2 = wxFileSelector("Choose panorama image","","",NULL,"Any File|*.*",wxOPEN|wxFILE_MUST_EXIST);
if ( FILENAME2.IsEmpty() == true ) return ;
wxBitmap bitmap_obj;
if (!bitmap_obj.LoadFile(FILENAME2, wxBITMAP_TYPE_ANY))
return;
if (!bitmap_obj.Ok()) return;
GetNewTest()->SetBitmap(bitmap_obj);
}
and
wxStaticBitmap* GetNewTest() { return (wxStaticBitmap*) FindWindow( ID_NewTest ); }
thx for any help
Forum List
•
Thread List
•
Reply
•
Refresh
•
New Topic
•
Search
•
Previous
•
Next
1
掌柜推荐
¥388.00
双福N1R-6C-70细齿轮转速传感器M14*1长70有源3线非接触测速推挽
¥288.00
双福N1H-5A-44转速传感器霍尔非接触式测齿轮M18*1.5带插座免磁钢
¥410.00
TOM-R52-BI指针式温度表带背光52mm可定制刻度及logo发动机用抗震
¥470.00
TMM-R80-BH船用柴油机转速表金属外壳防水抗震背光指针80~90开孔
¥430.00
TMM-R52-BM转速表500-14000转/分背光指针不锈钢可接发电机测速
¥1,580.00
DMM-R100-BV双向转速表背光指针式正反转船用尾轴转速表孔径102
©
Sun 2023-12-3
Guidance Laboratory Inc.
Email:
webmaster1
g.yi
.
org
Hits:
0