Search found 23 matches

by mill-j
Thu Aug 09, 2018 5:20 pm
Forum: wxCode
Topic: Using wxFreeChart in wxWidgets
Replies: 12
Views: 8707

Re: Using wxFreeChart in wxWidgets

nona wrote: I tried to use the chart with FlexGridSizer but it did not work, did u try it before?
Not yet. So far I've never needed to use it. :D
by mill-j
Wed Aug 08, 2018 3:02 am
Forum: Compiler / Linking / IDE Related
Topic: Compile of wxwidgets fails
Replies: 8
Views: 2007

Re: Compile of wxwidgets fails

Which version of wxwidgets are you trying to build? And which version of MinGW?

I'm also curious what command you used to try to build wx.

Thanks
by mill-j
Tue Aug 07, 2018 1:10 am
Forum: Platform Related Issues
Topic: wxGenericNotificationMessage behaviour under Mac
Replies: 2
Views: 940

Re: wxGenericNotificationMessage behaviour under Mac

Ok using wxWidgets 3.1.1 on MacOS High Sierra 10.12 configured with ./configure --disable-shared I highly suspect MacOS is the culprit. But here is a minimal example. To reproduce the issue, just run the app, the notification pops up just fine. Select something on the desktop. It's hidden until you ...
by mill-j
Sat Aug 04, 2018 8:33 pm
Forum: Platform Related Issues
Topic: wxGenericNotificationMessage behaviour under Mac
Replies: 2
Views: 940

wxGenericNotificationMessage behaviour under Mac

I have a simple app that runs on the Windows, Linux, and recently also MacOS. Clicking the close button on this app will hide the frame instead of closing the app. Under Linux and Windows, wxGenericNotification works as intended, however under mac the notification only shows up when the frame is vis...
by mill-j
Sat Aug 04, 2018 1:32 am
Forum: wxCode
Topic: Using wxFreeChart in wxWidgets
Replies: 12
Views: 8707

Re: Using wxFreeChart in wxWidgets

I think your problem is how you declare your charts and add them to the frame. Your code works for the most part, try changing some things, like; wxBoxSizer* bSizer1; bSizer1 = new wxBoxSizer( wxVERTICAL ); wxChartPanel* GraphChartPanel = new wxChartPanel(this,-1); bSizer1->Add(GraphChartPanel, 1,wx...
by mill-j
Sat Jul 28, 2018 10:01 pm
Forum: C++ Development
Topic: Disabled controls not grayed out
Replies: 5
Views: 1772

Re: Disabled controls not grayed out

I have already used wxBusyInfo for somthing similar, it displays a "busy" notice and disables the frame until the task is done.
by mill-j
Fri Jul 20, 2018 1:17 am
Forum: C++ Development
Topic: 2D-Plots
Replies: 44
Views: 10514

Re: 2D-Plots

Ok never mind. I got it. I had to download the build/autoconf files from here https://sourceforge.net/p/wxcode/code/HEAD/tree/trunk/wxCode/build and edit the wxwin.m4 file to allow wxQT, then rebuild the configure file. I also built the wxFreeChart against wxQT and it built with no errors the first ...
by mill-j
Wed Jul 18, 2018 9:35 pm
Forum: Compiler / Linking / IDE Related
Topic: Error Linking WXQT
Replies: 11
Views: 2786

Re: Error Linking WXQT

Hi, So what do they use to write the application for Haiku? Do they have some kind of library for GUI development? Or they have patched GTK+/Qt? The native Haiku GUI is based on(or the same thing as) the BeOS API, see here https://www.haiku-os.org/docs/userguide/en/gui.html and http://blog.leahhans...
by mill-j
Wed Jul 18, 2018 3:39 pm
Forum: Compiler / Linking / IDE Related
Topic: Error Linking WXQT
Replies: 11
Views: 2786

Re: Error Linking WXQT

Hi, wxWidgets is known to use a native toolkitunder any and all platforms. I don't work under Haiku and I don't have it installed, so can't verify, but let me ask you - is Haiku have Qt/KDE as default WM? If so, it would be nice to have wxQt as a fully operational port with complete support. Nope H...
by mill-j
Wed Jul 18, 2018 2:23 pm
Forum: Compiler / Linking / IDE Related
Topic: Error Linking WXQT
Replies: 11
Views: 2786

Re: Error Linking WXQT

Hi, There is an old ticket about the Haiku port and wxWidgets on trac.wxwidgets.org. Do you know about it? Now, are you saying that the Haiku port of wxWidgets is operational and it is in the usable state? Also you can register for the trac.wxwidgets.org and leave the comments in that old ticket. I...
by mill-j
Wed Jul 18, 2018 3:37 am
Forum: Compiler / Linking / IDE Related
Topic: Error Linking WXQT
Replies: 11
Views: 2786

Re: Error Linking WXQT

I manually installed Qt-5.8 via the .run file to my home folder. Then I built a shared wx against that. Then before running my app I have to export the path to the portable Qt libs, otherwise it'll try to use the installed Qt libs and start clashing. I certainly wish more effort could be put into th...
by mill-j
Tue Jul 17, 2018 12:53 pm
Forum: C++ Development
Topic: 2D-Plots
Replies: 44
Views: 10514

Re: 2D-Plots

@wxJack I agree, you'll be better off in the long run figuring out sizers. The app that helped me get the "concept" was https://github.com/wxFormBuilder/wxFormBuilder wxFormBuilder @iwbnwif Thanks for maintaining such a great library. One thing that comes to mind, could you modify the ./co...
by mill-j
Thu Jul 12, 2018 6:10 pm
Forum: C++ Development
Topic: 2D-Plots
Replies: 44
Views: 10514

Re: 2D-Plots

[-X You need to add your chart to the frame. Here is a modified minimal app that I cobbled together just now. #include <wx/wx.h> #include <wx/bars/barplot.h> #include <wx/chartpanel.h> #include <wx/axis/numberaxis.h> #include <wx/axis/categoryaxis.h> #include <wx/xy/xyhistorenderer.h> #include <wx/c...
by mill-j
Tue Jul 10, 2018 2:00 pm
Forum: C++ Development
Topic: 2D-Plots
Replies: 44
Views: 10514

Re: 2D-Plots

The sample is awesome, but it is huge. I recommend that you figure out which graph you want (e.g. bar graph) and create a minimal wxWidgets app then copy only the functions related to the graph you need, this will take time and tweaks but trust me it works. The online documentation on the wxCode web...
by mill-j
Tue Jul 10, 2018 12:39 pm
Forum: C++ Development
Topic: 2D-Plots
Replies: 44
Views: 10514

Re: 2D-Plots

All of the files in the sample folder are needed to build the demo. I'd really recommend starting a separate app and copying and modifying code for the graph you need from demo(I doubt you need them all). If you plan on manually building demo, check out the makefiles for it, they might have some poi...