Search found 23 matches

by iamsky1981
Wed Feb 29, 2012 6:44 am
Forum: Compiler / Linking / IDE Related
Topic: wxmsw29ud_core.lib(imagtiff.obj) : error LNK2019: ???
Replies: 1
Views: 1389

wxmsw29ud_core.lib(imagtiff.obj) : error LNK2019: ???

Linking executable: bin\Debug\t2.exe wxmsw29ud_core.lib(imagtiff.obj) : error LNK2019: 无法解析的外部符号 _TIFFSetErrorHandler,该符号在函数 "public: __thiscall wxTIFFHandler::wxTIFFHandler(void)" ([email protected]@[email protected]) 中被引用 wxmsw29ud_core.lib(imagtiff.obj) : error LNK2019: 无法解析的外部符号 _TIFFSetWarningHandler,该符号在...
by iamsky1981
Wed Feb 29, 2012 6:41 am
Forum: Compiler / Linking / IDE Related
Topic: help? codeblocks + wxWidgets + VS2008
Replies: 1
Views: 1505

help? codeblocks + wxWidgets + VS2008

Linking executable: bin\Debug\t2.exe wxmsw29ud_core.lib(imagtiff.obj) : error LNK2019: 无法解析的外部符号 _TIFFSetErrorHandler,该符号在函数 "public: __thiscall wxTIFFHandler::wxTIFFHandler(void)" ([email protected]@[email protected]) 中被引用 wxmsw29ud_core.lib(imagtiff.obj) : error LNK2019: 无法解析的外部符号 _TIFFSetWarningHandler,该符号在...
by iamsky1981
Wed Feb 29, 2012 6:39 am
Forum: wxWidgets Development (Chinese)
Topic: wxmsw29ud_core.lib(imagtiff.obj) error LNK2019???
Replies: 0
Views: 2303

wxmsw29ud_core.lib(imagtiff.obj) error LNK2019???

Linking executable: bin\Debug\t2.exe wxmsw29ud_core.lib(imagtiff.obj) : error LNK2019: 无法解析的外部符号 _TIFFSetErrorHandler,该符号在函数 "public: __thiscall wxTIFFHandler::wxTIFFHandler(void)" ([email protected]@[email protected]) 中被引用 wxmsw29ud_core.lib(imagtiff.obj) : error LNK2019: 无法解析的外部符号 _TIFFSetWarningHandler,该符号在...
by iamsky1981
Wed Jul 27, 2011 2:59 am
Forum: wxWidgets Development (Chinese)
Topic: wxAuiBitmapFromBits
Replies: 0
Views: 1521

wxAuiBitmapFromBits

wxAuiBitmapFromBits的第一个参数是一个unsigned char数组,这个数组怎么创建的?
by iamsky1981
Mon Jun 27, 2011 11:14 am
Forum: wxWidgets Development (Chinese)
Topic: 大家有没有用过的2.9.1的wxTaskBarIcon这个类?
Replies: 1
Views: 2226

大家有没有用过的2.9.1的wxTaskBarIcon这个类?

这个类我在2.9.0下用过很好用,但是今天我把代码转到2.9.1上面来就出问题了
问题出在这个类的SetICon函数上,跟踪进去,在m_win = new wxTaskBarIconWindow(this);出错了,郁闷了一下午了,也没整出个头绪来?但是编译samples里面的那个taskbar,还能正常运行,我把这个例子拿出来,放到codeblocks下重新编译,都能通过,但是运行时就处错误,和上面的错误一个样,真够了,哪位高手请指点一下迷津~~~~~~
by iamsky1981
Tue Jan 18, 2011 6:53 am
Forum: wxWidgets Development (Chinese)
Topic: wxGCDC, wxGraphicsContext
Replies: 0
Views: 1552

wxGCDC, wxGraphicsContext

各位前辈都使用过wxGCDC和wxGraphicsContext这两个类画图吗?
这两个类到底有啥用处?什么时候能用到? :oops:
by iamsky1981
Thu Mar 04, 2010 3:51 am
Forum: wxWidgets Development (Chinese)
Topic: 无法打开输入文件“wxmsw28_core.lib”|
Replies: 1
Views: 1758

无法打开输入文件“wxmsw28_core.lib”|

我刚开始编译的是wxwidgets的普通版本,用了一段时间后,我又编译成了unicode版本,但是codeblocks总是去打开wxmsw28_core.lib,而不是打开wxmsw28u_core.lib,这个问题怎么解决呢?
LINK||fatal error LNK1181: 无法打开输入文件“wxmsw28_core.lib”|
||=== Build finished: 1 errors, 1 warnings ===|
by iamsky1981
Fri Jan 29, 2010 3:25 am
Forum: wxWidgets Development (Chinese)
Topic: why?
Replies: 5
Views: 2717

Please elaborate this post, what did you do and what platform. In the future I will delete these kind of posts on the spot, as it is a waste of time and effort from people who really want to help. - Jorgen platform: FedoraCore 12 I would like to use wxWidgets to compile codeblocks,In the process of...
by iamsky1981
Thu Jan 28, 2010 11:56 am
Forum: wxWidgets Development (Chinese)
Topic: why?
Replies: 5
Views: 2717

why?

../../../src/sdk/wxscintilla/include/wx/wxscintilla.h:2201: error:相互冲突的声明‘typedef long int wxIntPtr’ /usr/local/include/wx-2.9/wx/defs.h:1110: 错误:‘wxIntPtr’早先被声明为‘typedef ssize_t wxIntPtr’ In file included from ../../../src/include/sdk_common.h:122, from ../../../src/include/sdk_precomp.h:14, from t...
by iamsky1981
Thu Jan 28, 2010 11:52 am
Forum: wxWidgets Development (Chinese)
Topic: 用wxwidgets 2.9.0 的来
Replies: 3
Views: 2302

用wxwidgets 2.9.0 的来

我现编译的wxWidgets-2.9.0,然后又编译的codeblocks,但是在编译CB的过程中,出现错误,错误如下: ../../../src/sdk/wxscintilla/include/wx/wxscintilla.h:2201: 错误:相互冲突的声明‘typedef long int wxIntPtr’ /usr/local/include/wx-2.9/wx/defs.h:1110: 错误:‘wxIntPtr’早先被声明为‘typedef ssize_t wxIntPtr’ In file included from ../../../src/include/sdk_common...
by iamsky1981
Thu Dec 10, 2009 2:34 am
Forum: wxWidgets Development (Chinese)
Topic: 怎样设置命令行参数?
Replies: 1
Views: 1291

怎样设置命令行参数?

codeblocks可以向VC一样设置命令行参数吗?
by iamsky1981
Thu Nov 05, 2009 8:28 am
Forum: wxWidgets Development (Chinese)
Topic: 有关wxWidgets的wxDC画渐变色的问题
Replies: 3
Views: 2695

唉,刚才又仔细看了看,非常失望的看到了下面的一句话:
on platforms where alpha is not yet supported, this always returns wxALPHA_OPAQUE.

不支持还整个参数跟真事似的 ,真够了~ :roll:
by iamsky1981
Thu Nov 05, 2009 8:11 am
Forum: wxWidgets Development (Chinese)
Topic: 有关wxWidgets的wxDC画渐变色的问题
Replies: 3
Views: 2695

有关wxWidgets的wxDC画渐变色的问题

今天用wxWidgets写程序的时候,看到wxDC的一个函数:GradientFillLinear,在这个函数中有两个颜色,说明现在wxWidgets只支持2中颜色的渐变,函数的参数中没有设置颜色透明度的参数,返回去再查看wxColour,有一个函数为: void Set(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha=wxALPHA_OPAQUE),其中有一个参数alpha,这个应该是设置颜色的透明度的吧?在源代码中wxColour定义了两个alpha的初值: const unsi...
by iamsky1981
Thu Nov 05, 2009 7:58 am
Forum: wxWidgets Development (Chinese)
Topic: 透明窗体怎么弄呀
Replies: 3
Views: 3205

参考wxAui的例子,你会看到一个函数:SetTransParent(),就可以设置窗口的透明度。