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
•
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
•
Refresh
•
New Topic
•
Search
•
Previous
•
Next
1
掌柜推荐
¥1,210.00
双福SRE-AD3H智能速度继电器模拟电流电压变送转速监控模块20mA
¥890.00
双福SRE-PD3M智能速度继电器转速监控柴油机超速欠速保护监视仪
¥489.00
双福D1H-5A-70双向齿轮传感器M18*1.5霍尔转速方向正反转识别推挽
¥918.00
SRE-PE3M-AC速度继电器转速监控超速欠速失速保护数显转速表厂家
¥660.00
TOM-R80-BI背光指针式温度表1000度双通道80mm可定制刻度厂家直销
¥1,390.00
SRE-AE3H AE3M-AC智能速度继电器转速监控超速保护数显转速表
©
Fri 2025-6-6
Guidance Laboratory Inc.
Email:
webmaster1
g.yi
.
org
Hits:
0