Search found 26 matches

by Sterl
Sat May 28, 2005 6:14 pm
Forum: C++ Development
Topic: [solved]Problem with wxMouseEvent
Replies: 11
Views: 4237

I've put the staticBitmap declaration before staticSizer one and now it works perfectly. Thanks for the advice. :wink:

It may be a bug !
by Sterl
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...
by Sterl
Sat May 28, 2005 3:37 pm
Forum: C++ Development
Topic: [solved]Problem with wxMouseEvent
Replies: 11
Views: 4237

Thanks for the code. I will analyse it and adapt to my project. :wink:
I'll keep you inform if it works....
by Sterl
Fri May 27, 2005 2:59 pm
Forum: C++ Development
Topic: [solved]Problem with wxMouseEvent
Replies: 11
Views: 4237

Somebody has the same probleme with dev C++ 4.9.9.2 and downloaded devpack 2.6.0 ?
by Sterl
Wed May 25, 2005 9:09 pm
Forum: C++ Development
Topic: [solved]Problem with wxMouseEvent
Replies: 11
Views: 4237

here is the code : ZonexStaticBitmap.h #ifndef __ZONEXSTATICBITMAP_H #define __ZONEXSTATICBITMAP_H class ZonexStaticBitmap : public wxStaticBitmap { public: ZonexStaticBitmap(wxWindow* parent,int iWidth,int iHeight); ~ZonexStaticBitmap(); void leftMouseDown(wxMouseEvent& event); private: DECLARE...
by Sterl
Wed May 25, 2005 6:31 pm
Forum: C++ Development
Topic: [solved]Problem with wxMouseEvent
Replies: 11
Views: 4237

I've changed my version into wxWidgets 2.6.0 and now the caputre of mouse event does'nt work anymore. I didn't change anything in my code... :cry:

Help please !
:wink:
by Sterl
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....
by Sterl
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...
by Sterl
Wed May 04, 2005 7:41 am
Forum: Announcements and Discoveries
Topic: Devpack for 2.6.0
Replies: 25
Views: 6566

I've tried to put the option but it doesn't change the executable size.
by Sterl
Wed May 04, 2005 7:20 am
Forum: Announcements and Discoveries
Topic: Devpack for 2.6.0
Replies: 25
Views: 6566

What di you mean by "strip" ?
by Sterl
Tue May 03, 2005 11:06 pm
Forum: Announcements and Discoveries
Topic: Devpack for 2.6.0
Replies: 25
Views: 6566

I won't be helpfull for you cause i use Win XP pro.

I'm telling this here because i don't know if it is linked to the compiler parameters or to the devpack itself.

I have also noticed that my software size with devpack 2.4.2 is 3904ko and is 6784ko with devpack 2.60.
by Sterl
Tue May 03, 2005 10:54 pm
Forum: Announcements and Discoveries
Topic: Devpack for 2.6.0
Replies: 25
Views: 6566

I have made a software with a progress dialog and i can measure the elapsed time while analysing my data. It takes about 5 seconds more with the devpack 2.60.
by Sterl
Tue May 03, 2005 9:45 pm
Forum: Announcements and Discoveries
Topic: Devpack for 2.6.0
Replies: 25
Views: 6566

I've tried to run my code on both devpack versions and it seems to run a little bit slower with the new devpack 2.6.0 than with the 2.4.2. Is it normal ?
by Sterl
Wed Mar 16, 2005 3:11 pm
Forum: C++ Development
Topic: Animated GIF
Replies: 7
Views: 2219

I've tried to update to version 2.5.4 but it produces severals errors while compiling my project. I use dev c++ 4.9.9.2. :cry:
by Sterl
Tue Mar 15, 2005 7:46 pm
Forum: C++ Development
Topic: Animated GIF
Replies: 7
Views: 2219

I'm using wxWidgets 2.4.2 and i don't see these files :cry: