Search found 8 matches
- Fri Sep 17, 2010 10:11 am
- Forum: C++ Development
- Topic: wx 2.9.1 - I do not understand the event posting anymore
- Replies: 9
- Views: 2719
QueueEvent, when used in wxWindow, is a protected method. Yes, but it is public in wxEvtHandler. And you are right. You may use myWindow->GetEvtHandler()->QueueEvent() The documentation for wxWindow class states: ... ProcessEvent() itself can't be called for wxWindow objects as it ignores the event...
- Thu Sep 16, 2010 9:38 pm
- Forum: C++ Development
- Topic: wx 2.9.1 - I do not understand the event posting anymore
- Replies: 9
- Views: 2719
Doublechecked the wxWidgets docs: virtual void wxEvtHandler::QueueEvent(wxEvent* event) [virtual] This method is similar to ProcessEvent() but while the latter is synchronous, i.e. the event is processed immediately, before the function returns, this one is asynchronous and returns immediately while...
- Thu Sep 16, 2010 9:26 pm
- Forum: C++ Development
- Topic: Need help writing “backgroundless” widget for wxWidgets
- Replies: 0
- Views: 499
Need help writing “backgroundless” widget for wxWidgets
Hi there. I asked this question on stackoverflow 3 days back, but still not received any answers, so I'm posting it here. My question is concerned with GTK2 and wxWidgets (actually wxGTK). In wxGTK all controls have grey background by default and it is impossible to remove it. I have a textured pane...
- Thu Sep 16, 2010 9:20 pm
- Forum: C++ Development
- Topic: wx 2.9.1 - I do not understand the event posting anymore
- Replies: 9
- Views: 2719
- Thu Apr 16, 2009 7:59 pm
- Forum: C++ Development
- Topic: SIGSEGV. How to react on event with sender destruction.
- Replies: 3
- Views: 1002
- Wed Apr 15, 2009 4:47 pm
- Forum: C++ Development
- Topic: SIGSEGV. How to react on event with sender destruction.
- Replies: 3
- Views: 1002
SIGSEGV. How to react on event with sender destruction.
The problem is:
Object1 sends event using ProcessEvent() method;
Object2 handles the event and should delete Object1 instantly.
How to implement it? I'm trying to avoid delayed destruction schemes (callbacks, etc.).
Language is c++.
Object1 sends event using ProcessEvent() method;
Object2 handles the event and should delete Object1 instantly.
How to implement it? I'm trying to avoid delayed destruction schemes (callbacks, etc.).
Language is c++.
- Wed Aug 27, 2008 1:43 pm
- Forum: wxWidgets Development (Russian)
- Topic: Можно ли рисунок сделать полупро
- Replies: 11
- Views: 4747
- Tue Aug 26, 2008 5:48 pm
- Forum: wxWidgets Development (Russian)
- Topic: Можно ли рисунок сделать полупро
- Replies: 11
- Views: 4747