Hi,
I create a program in windows with devc++ but now i want to create my program in linux.
I have a problem with the wxtimer in linux. Any idea?
Thanks a lot,
Stane
Timer on linux Topic is solved
Re: Timer on linux
No, but if you explained the problem to us, we may be able to find a solutionstane wrote:I have a problem with the wxtimer in linux. Any idea?
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4
"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4
"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda
Hi,
It is perfectly possible to use event tables etc with a wxTimer in linux, but for simple situations an easier way is shown in http://forums.wxwidgets.org/viewtopic.php?t=6197
Regards,
David
Well, perhaps calling the event-type wxTimerEvent would help. And I presume that WxStaticText is a valid pointer to a wxStaticText object, not another misspelling.void bla::change(WxTimerEvent& event){
WxStaticText->Show(true);
}
It is perfectly possible to use event tables etc with a wxTimer in linux, but for simple situations an easier way is shown in http://forums.wxwidgets.org/viewtopic.php?t=6197
Regards,
David
I believe that this is code generated directly from wxDev-C++. We might need to address the capitalisation in order to transfer code between windows/linux/mac correctly.DavidHart wrote:Hi,Well, perhaps calling the event-type wxTimerEvent would help.void bla::change(WxTimerEvent& event){
WxStaticText->Show(true);
}
Follow the development of my screenplay authoring program at http://wxscreenplaywriter.blogspot.com/
-
- Filthy Rich wx Solver
- Posts: 210
- Joined: Sat May 07, 2005 8:24 pm
- Location: Eskisehir, TURKEY
- Contact:
I also have same problem using wxTimer. it is OK for Windows, Pardus Linux & Fedora but not Ubuntu. I do not know why to do. I think that gnome is problem, because pardus & fedora uses kde.
- T U R K E Y ?
- I love this country!
WebSites:
http://mebt.sourceforge.net/
http://wxquran.sourceforge.net/
- I love this country!
WebSites:
http://mebt.sourceforge.net/
http://wxquran.sourceforge.net/
Strange. I've used wxTimers without problem, in kde and gnome, on all the major distros including ubuntu.emarti wrote:I also have same problem using wxTimer. it is OK for Windows, Pardus Linux & Fedora but not Ubuntu. I do not know why to do. I think that gnome is problem, because pardus & fedora uses kde.
The exec, statbar and the gauge part of the widgets samples all use wxTimers. Do they work for you there?