I've put the staticBitmap declaration before staticSizer one and now it works perfectly. Thanks for the advice.
It may be a bug !
Search found 26 matches
- Sat May 28, 2005 6:14 pm
- Forum: C++ Development
- Topic: [solved]Problem with wxMouseEvent
- Replies: 11
- Views: 4237
- Sat May 28, 2005 5:01 pm
- Forum: C++ Development
- Topic: [solved]Problem with wxMouseEvent
- Replies: 11
- Views: 4237
Ok i've found the problem. Your code works well. But in my project the ZonexStaticBitmap is placed into a wxStaticBox and the staticBox seems to stop all mouse event. That was not the case with the 2.4.2 devpacks. Try this code in your exemple and you will see the problem.... MyFrame::MyFrame(wxWind...
- Sat May 28, 2005 3:37 pm
- Forum: C++ Development
- Topic: [solved]Problem with wxMouseEvent
- Replies: 11
- Views: 4237
- Fri May 27, 2005 2:59 pm
- Forum: C++ Development
- Topic: [solved]Problem with wxMouseEvent
- Replies: 11
- Views: 4237
- Wed May 25, 2005 9:09 pm
- Forum: C++ Development
- Topic: [solved]Problem with wxMouseEvent
- Replies: 11
- Views: 4237
- Wed May 25, 2005 6:31 pm
- Forum: C++ Development
- Topic: [solved]Problem with wxMouseEvent
- Replies: 11
- Views: 4237
- Sat May 07, 2005 4:39 pm
- Forum: C++ Development
- Topic: [solved]Problem with wxMouseEvent
- Replies: 11
- Views: 4237
Ok thanks for the help. :wink: I've understood what was wrong. In fact, i had a wxStaticBitmap added to my panel and i had to put the declaration of the event table in the declaration class of the staticBitmap. In your example, you define an empty panel with a certain size and that's why that works....
- Sat May 07, 2005 2:33 pm
- Forum: C++ Development
- Topic: [solved]Problem with wxMouseEvent
- Replies: 11
- Views: 4237
[solved]Problem with wxMouseEvent
I've tried to use mouse events but it dosen't work. Here is samples of my code : in mypanel.h class myPanel : public wxPanel { public: // class constructor myPanel(wxWindow* parent); // class destructor ~myPanel(); void onMouseDown(wxMouseEvent& event); private: DECLARE_EVENT_TABLE() }; in myPan...
- Wed May 04, 2005 7:41 am
- Forum: Announcements and Discoveries
- Topic: Devpack for 2.6.0
- Replies: 25
- Views: 6566
- Wed May 04, 2005 7:20 am
- Forum: Announcements and Discoveries
- Topic: Devpack for 2.6.0
- Replies: 25
- Views: 6566
- Tue May 03, 2005 11:06 pm
- Forum: Announcements and Discoveries
- Topic: Devpack for 2.6.0
- Replies: 25
- Views: 6566
- Tue May 03, 2005 10:54 pm
- Forum: Announcements and Discoveries
- Topic: Devpack for 2.6.0
- Replies: 25
- Views: 6566
- Tue May 03, 2005 9:45 pm
- Forum: Announcements and Discoveries
- Topic: Devpack for 2.6.0
- Replies: 25
- Views: 6566
- Wed Mar 16, 2005 3:11 pm
- Forum: C++ Development
- Topic: Animated GIF
- Replies: 7
- Views: 2219
- Tue Mar 15, 2005 7:46 pm
- Forum: C++ Development
- Topic: Animated GIF
- Replies: 7
- Views: 2219