Search found 274 matches

by iwbnwif
Mon Apr 24, 2017 9:10 am
Forum: C++ Development
Topic: Storing a wxVector of derived classes
Replies: 6
Views: 1261

Storing a wxVector of derived classes

I am working on some updates to the wxFreeChart library. The library includes datasets and data series. A dataset is basically a container for related data series, where a data series is essentially a sequence of data points to be graphed. I would like to refactor the dataset implementation to use a...
by iwbnwif
Thu Apr 20, 2017 9:14 am
Forum: General Development
Topic: Auto-Update System
Replies: 5
Views: 2468

Re: Auto-Update System

Hi, Whichway did you go? Any challenges met? Unfortunately I had to take a sabbatical from software development so never got chance to use these in anger. From memory, webupdate had some compile problems, but I got it to roughly work in the end. On the otherhand, winsparkle 'just worked'. Also, it i...
by iwbnwif
Sat Apr 08, 2017 7:40 am
Forum: Compiler / Linking / IDE Related
Topic: Installing wxWidgets on Win 10 with mingw command line
Replies: 8
Views: 3247

Re: Installing wxWidgets on Win 10 with mingw command line

There are also some concise instructions here that seem to always work for me on Windows 10.
by iwbnwif
Fri Apr 07, 2017 8:41 pm
Forum: Compiler / Linking / IDE Related
Topic: Freechart 1.6
Replies: 5
Views: 1731

Re: Freechart 1.6

First there is no easy way to change the data in a dataset, at least that I have found. And the instance variable for the data is private to the class. I am not sure about exactly how the license work, but this makes it difficult to just replace the data in the dataset. If the instance variable was...
by iwbnwif
Thu Apr 06, 2017 10:11 pm
Forum: Compiler / Linking / IDE Related
Topic: Freechart 1.6
Replies: 5
Views: 1731

Re: Freechart 1.6

Hi, I got a chart to draw by including the src and include directories into my project. This is not for production use, it is just a tool so although it is cumbersome, it works. Glad you got it to work. I haven't played with the build files at all, but instead have a separate project setup in Codeli...
by iwbnwif
Sat Mar 11, 2017 8:52 pm
Forum: Announcements and Discoveries
Topic: GNU Radio - OpenGL Charting
Replies: 0
Views: 2280

GNU Radio - OpenGL Charting

I still think that wxFreeChart is the way forward for wxWidgets charting and feel sorry that I haven't had time to work on it at all :oops: I have been working on other (non-software) projects and stumbled across GNU Radio https://github.com/gnuradio/gnuradio. Interestingly it offers both Qt and wxW...
by iwbnwif
Sun Jan 01, 2017 8:07 am
Forum: C++ Development
Topic: wxEVT_SHOW not fired on Top Level Window creation
Replies: 4
Views: 917

Re: wxEVT_SHOW not fired on Top Level Window creation

Just in case - check that it is the same on all 3 major platforms.
Sorry for the delay. I have just checked under Ubuntu 14.04 LTS and the behaviour is the same as on MSW.

Unfortunately I can't check on OSX.
by iwbnwif
Thu Dec 29, 2016 9:01 pm
Forum: C++ Development
Topic: wxEVT_SHOW not fired on Top Level Window creation
Replies: 4
Views: 917

Re: wxEVT_SHOW not fired on Top Level Window creation

Ah, got to the bottom of this.

wxEVT_SHOW is fired before wxEVT_ACTIVATE, I didn't realise that :oops:
by iwbnwif
Thu Dec 29, 2016 8:43 am
Forum: C++ Development
Topic: wxEVT_SHOW not fired on Top Level Window creation
Replies: 4
Views: 917

wxEVT_SHOW not fired on Top Level Window creation

Should a wxEVT_SHOW be fired when a new top level window (main frame) is created?

I appear to be seeing random behaviour where it is sometimes fired and sometimes not on successive start-ups of my app.
by iwbnwif
Tue Nov 01, 2016 11:25 pm
Forum: C++ Development
Topic: Smth wrong with wxMessageDialog?
Replies: 5
Views: 800

Re: Smth wrong with wxMessageDialog?

This is a little strange because I use wxMessageBox in almost exactly the same way as your first example on Ubuntu 14.04 and it works fine! For example, the following: int response = wxMessageBox(msg, "Confirm", selection.size() > 1 ? (wxYES_NO | wxCANCEL) : wxYES_NO); if (response == wxYES) { .... ...
by iwbnwif
Sat Oct 29, 2016 7:44 am
Forum: C++ Development
Topic: wxGrid: how to format float dropping trailing zeros
Replies: 10
Views: 2009

Re: wxGrid: how to format float dropping trailing zeros

You'd have to remove the zeros after the string is created. But as this happens deep inside wxGrid, it'll be hard to change that. I think that it should be possible with a custom wxGridCellRenderer . The best place to start looking would be in `wxGridCellNumberRenderer::GetString` or `wxGridCellFlo...
by iwbnwif
Sun Sep 25, 2016 7:36 am
Forum: The Code Dump
Topic: Bitmap creation failed in wxFreeChart
Replies: 5
Views: 2367

Re: Bitmap creation failed in wxFreeChart

Hi,

Sorry that you are having this problem. I will try to create a fix within the next few days, but in the meantime if someone likes to make a pull request that is also very welcome :)
by iwbnwif
Sun Sep 04, 2016 6:09 pm
Forum: General Development
Topic: wxAutomationObject - WORD - DOC to RTF [SOLVED]
Replies: 13
Views: 2903

Re: wxAutomationObject - WORD - DOC to RTF

Hi, a) Can I use wxAutomationObject with OOO ? If yes, has anybody an example with Writer ? It may be possible, but (obviously) only on MSW. It is worth having a look at the examples here: https://www.openoffice.org/udk/common/man/spec/ole_bridge.html But sorry, I never tried this. b) Is there also ...
by iwbnwif
Sun Sep 04, 2016 8:33 am
Forum: wxCode
Topic: the problem of "wxReportDocument" for print preview
Replies: 5
Views: 2880

Re: the problem of "wxReportDocument" for print preview

Hello, No problem, this is a sort of sideline for me too! Although wxReportDocument has a lot of promise, in the end I found LimeReport and wrote some wxWidgets bindings for it. Of course it would be nice to have a native wxWidgets reporting framework, but this is a good solution for me at the moment.
by iwbnwif
Sat Sep 03, 2016 10:59 am
Forum: C++ Development
Topic: what wxDC shoud i use ?
Replies: 4
Views: 940

Re: what wxDC shoud i use ?

can we treat the each drawn object on wxPaintDC as a window object so we can track their position, width n height and even has a onklick function on it'own class ? No, a wxDC has no real 'memory' of what has been drawn on it, other than the colour of the pixels that have been set. If you want to tr...