Search found 282 matches

by iwbnwif
Fri Apr 26, 2013 1:18 pm
Forum: C++ Development
Topic: Sending events between classes
Replies: 6
Views: 3908

Re: Sending events between classes

Thank you for your answer. As ever wxWidgets has a very clean and elegant solution to my problem =D> I am not (yet) trying to define my own event class, a wxCommandEvent will (hopefully) be fine for what I want. I created a simple test that consists of a MainFrame with a wxSplitter. In the MainFrame...
by iwbnwif
Thu Apr 25, 2013 9:56 pm
Forum: C++ Development
Topic: Sending events between classes
Replies: 6
Views: 3908

Sending events between classes

I would be grateful with a little help with events In my GUI I am dynamically adding "pages" to a notebook (which belongs to my main frame). Depending on the current view mode there is a separate tree control to the left. The notebook pages are basically wxPanel with their own sizers, cont...
by iwbnwif
Wed Apr 17, 2013 8:28 am
Forum: General Development
Topic: Tree tables with wxWidgets
Replies: 4
Views: 5474

Re: Tree tables with wxWidgets

during the ceBit tradefare in Germany I realized that it would be hardly possible to sell standard software with Java Swing.
I am interested in your reasons for this comment because I came to a similar conclusion but I am not entirely sure why :?

Sorry this is a bit OT for this forum.
by iwbnwif
Tue Apr 16, 2013 1:55 pm
Forum: General Development
Topic: Best way to 'export' to MS Word table
Replies: 3
Views: 4393

Re: Best way to 'export' to MS Word table

Hi, thanks for an interesting message.
by iwbnwif
Tue Apr 16, 2013 1:10 pm
Forum: General Development
Topic: 'Standard' RTF Output
Replies: 2
Views: 2439

Re: 'Standard' RTF Output

Thanks Doublemax for the links. I think you answered my first question that there isn't a component currently available. I think that making a reader/parser would be too much for me - I am just a beginner and it is something that even the mighty OpenOffice and KOffice seem to struggle with :? Also I...
by iwbnwif
Tue Apr 16, 2013 11:56 am
Forum: General Development
Topic: 'Standard' RTF Output
Replies: 2
Views: 2439

'Standard' RTF Output

As everyone knows or should know the wxRichTestCtrl has no relation to Microsoft's Rich Text Format. There have been several suggestions and maybe attempts to implement a wxRTF class that somehow writes to a .RTF file. One of the most interesting ones is mentioned here but this was a couple of years...
by iwbnwif
Fri Apr 12, 2013 4:50 pm
Forum: General Development
Topic: Best way to 'export' to MS Word table
Replies: 3
Views: 4393

Re: Best way to 'export' to MS Word table

I am going to answer my post a bit here because I found one article (unfortunately in Chinese) that gives a good insight into doing exactly what I want. The article is here http://emonkey.iteye.com/blog/1629247 In case anyone is interested this is what I have distilled so far... void MainFrame::onBu...
by iwbnwif
Fri Apr 12, 2013 1:47 pm
Forum: General Development
Topic: Best way to 'export' to MS Word table
Replies: 3
Views: 4393

Best way to 'export' to MS Word table

I appreciate that this is not strictly a wxWidgets question, but I am interested if anyone here has solved a similar problem. I have a wxGrid full of text that I would like to 'export' to a MS Word table. So far I have considered the following: Generate HTML and save as a file. This is relatively si...
by iwbnwif
Tue Apr 02, 2013 12:02 pm
Forum: C++ Development
Topic: "Finish" button on intermediate wxWizard pages
Replies: 4
Views: 2472

Re: "Finish" button on intermediate wxWizard pages

Thanks again, I have been giving this thought and actually I have to agree with you that this is bad UI design. I got the idea from the Eclipse new project wizard (see attached screenshot), but you are right. I will add a "Continue with advanced settings" checkbox which changes the "F...
by iwbnwif
Mon Apr 01, 2013 9:34 pm
Forum: C++ Development
Topic: "Finish" button on intermediate wxWizard pages
Replies: 4
Views: 2472

Re: "Finish" button on intermediate wxWizard pages

Thank you for your help Catalin. Sorry I didn't make myself clear, what I would like is to have the following at the bottom of the wizard: Help < Back Forward > Finish Cancel Instead of the normal < Back Forward > Cancel or < Back Finish Cancel on the last page. The purpose is to let the user skip t...
by iwbnwif
Mon Apr 01, 2013 3:47 pm
Forum: Platform Related Issues
Topic: Application sometimes not starting on Linux
Replies: 16
Views: 10247

Re: Application sometimes not starting on Linux

:lol: yes of course you are right that there are other options. What I meant was that the old Gnome desktop was available any more. I disabled on monitor using the ATI control panel and still get the hang. I did think about creating a VM and testing things in there but if it is a timing issue I am n...
by iwbnwif
Mon Apr 01, 2013 11:43 am
Forum: Platform Related Issues
Topic: Application sometimes not starting on Linux
Replies: 16
Views: 10247

Re: Application sometimes not starting on Linux

Nothing really unusual it is a stock 12.10 Ubuntu (i.e. not Kubuntu etc.).

The DE is the standard Unity - I don't think you can change it.

Its an Dell Optiplex 755. I do have two 22" monitors (big desktop mode) and have installed the closed source ATI driver.
by iwbnwif
Mon Apr 01, 2013 11:13 am
Forum: Platform Related Issues
Topic: Application sometimes not starting on Linux
Replies: 16
Views: 10247

Re: Application sometimes not starting on Linux

Yes I agree its a timing issue. Actually I had to increase the wxMilliSleep value to 100 because I was still getting occasional hangs with it set at 10.

The samples do hang from the command line (I haven't tried running them inside Codelite).
by iwbnwif
Mon Apr 01, 2013 8:03 am
Forum: C++ Development
Topic: "Finish" button on intermediate wxWizard pages
Replies: 4
Views: 2472

"Finish" button on intermediate wxWizard pages

Good morning list :) Sorry for another question but this time I hope it is a simple one! Is it possible to have a finish button on wxWizard pages other than the last one? The idea is that a user can end a wizard early accepting default values for the rest of the pages. To do this would need separate...
by iwbnwif
Mon Apr 01, 2013 7:53 am
Forum: Platform Related Issues
Topic: Application sometimes not starting on Linux
Replies: 16
Views: 10247

Re: Application sometimes not starting on Linux

Okay, I have solved this, or at least found an effective workaround. I have added a wxMilliSleep(10); before the MainFrame constructor is called. The reason for trying this is that large wxWidgets programs such as Codelight and FlameRobin never fail to start but smaller ones like my application and ...