Search found 77 matches
- Thu Sep 10, 2009 8:39 pm
- Forum: C++ Development
- Topic: Is this a potential bug in wxEventLoop
- Replies: 3
- Views: 1750
Is this a potential bug in wxEventLoop
Hi all, I am facing a strange crash now. (I am using wx 2.8.9 on WinXP). There is a frame. On that frame, click some button, a modal dialog pops out. Then on that dialog, click other button, another modal dialog pops out. Then quickly close these two dialogs one by one. Then the crash happens. Actua...
- Fri Dec 26, 2008 6:49 am
- Forum: C++ Development
- Topic: Grid with button-type cell
- Replies: 7
- Views: 2071
- Fri Dec 05, 2008 3:16 am
- Forum: C++ Development
- Topic: Use wxGTK in Windows
- Replies: 1
- Views: 467
Use wxGTK in Windows
Dear all, I am very interesting about a question. Can wxGTK be compiled in Windows with GTK+ developing package and Mingw? If so, it may bring many benefits IMO. You can define your own gtkrc for different themes for GUI; You don't need to face the inconsistency in Windows and Linux. I've found some...
- Thu Oct 30, 2008 8:48 am
- Forum: C++ Development
- Topic: Custom event handler can't catch wxPaintEvent?
- Replies: 1
- Views: 492
- Thu Oct 30, 2008 3:25 am
- Forum: C++ Development
- Topic: Custom event handler can't catch wxPaintEvent?
- Replies: 1
- Views: 492
Custom event handler can't catch wxPaintEvent?
Hi, all.
I wrote a custome event handler and try to catch the wxPaintEvent. Code:
In XP, it's OK. But when using wxGTK, I failed.
Any suggestions?
Thanks.
I wrote a custome event handler and try to catch the wxPaintEvent. Code:
Code: Select all
BEGIN_EVENT_TABLE(....)
EVT_PAINT(...)
END_EVENT_TABLE()
Any suggestions?
Thanks.
- Thu Oct 30, 2008 3:21 am
- Forum: Component Writing
- Topic: How to draw custom control based on some standard controls?
- Replies: 3
- Views: 1882
- Tue Oct 28, 2008 9:42 am
- Forum: Component Writing
- Topic: How to draw custom control based on some standard controls?
- Replies: 3
- Views: 1882
How to draw custom control based on some standard controls?
Hi, all. I want to create a custom button which will draw a small bitmap(4x4) at the left-bottom corner of the button. This bitmap is used to indicate some kind of status. Before I will write my own OnPaint(), in which I will draw the border, the label and the bitmap. But the work is complex and it ...
- Mon Oct 13, 2008 6:19 am
- Forum: wxWidgets Development (Chinese)
- Topic: 线程中启动对话框问题
- Replies: 1
- Views: 2547
- Mon Oct 13, 2008 6:15 am
- Forum: wxWidgets Development (Chinese)
- Topic: 请教动态事件与静态事件的效率?
- Replies: 3
- Views: 3491
- Tue Oct 07, 2008 10:21 am
- Forum: C++ Development
- Topic: Cannot draw something with DC
- Replies: 7
- Views: 1460
Maybe you can try to add static event table to handle paint event.
I think
is what you need.
I think
Code: Select all
EVT_PAINT()
- Fri Sep 05, 2008 10:29 am
- Forum: Compiler / Linking / IDE Related
- Topic: Question about how to use pre-compile in VS2003
- Replies: 2
- Views: 959
- Fri Sep 05, 2008 2:47 am
- Forum: Compiler / Linking / IDE Related
- Topic: helloworld linking error in windows with vc++2005
- Replies: 8
- Views: 1754
Hi, pathzl! I've tried your project. I converted it to a VS 2008 Express project. Because I am still using wx2.6.2(which has many problems! :( ), I change the input libs from 28 to 26. And after that, everything was OK, just some warning message popped out. In my opinion, that's not the problem of y...
- Thu Sep 04, 2008 10:42 am
- Forum: Compiler / Linking / IDE Related
- Topic: helloworld linking error in windows with vc++2005
- Replies: 8
- Views: 1754
- Wed Sep 03, 2008 5:57 pm
- Forum: Compiler / Linking / IDE Related
- Topic: helloworld linking error in windows with vc++2005
- Replies: 8
- Views: 1754
- Wed Sep 03, 2008 10:26 am
- Forum: Compiler / Linking / IDE Related
- Topic: Question about how to use pre-compile in VS2003
- Replies: 2
- Views: 959
Question about how to use pre-compile in VS2003
Dear all. As my project is getting bigger and bigger, I am trying to use pre-compile to accelerate build speed. I wrote header/src files like below. stdwx.h #ifndef __STDWX_H__ #define __STDWX_H__ #include "wx/wxprec.h" #include "wx/grid.h" #include "wx/xrc/xmlres.h" #i...