Search found 4 matches
- Thu Sep 17, 2015 9:07 am
- Forum: wxCode
- Topic: wxFreeChart crashes with gcc optimization -O3 and when deriving from wxChartPanel
- Replies: 5
- Views: 3324
Re: wxFreeChart crashes with gcc optimization -O3 and when deriving from wxChartPanel
I use mingw32 with gcc 4.7.2 compiler. Regarding the second problem, I have found the problem. This is the test class that is derived from wxChartPanel: class MyChartPanel : public wxChartPanel { public: /** * @brief Constructor. * * @param pParent Parent window. * @param pId Window identifier. If <...
- Wed Sep 16, 2015 10:44 am
- Forum: wxCode
- Topic: wxFreeChart crashes with gcc optimization -O3 and when deriving from wxChartPanel
- Replies: 5
- Views: 3324
wxFreeChart crashes with gcc optimization -O3 and when deriving from wxChartPanel
I'm trying to use wxFreeChart 1.6 with wxWidgets 3.0.2 compiled with gcc under Windows. There are two scenarios where no chart can be displayed and the demo app and/or the application using wxFreeChart crashes: - Using gcc compiler optimization -O3 (demo app and user app) - When deriving from wxChar...
- Fri Aug 07, 2015 1:47 pm
- Forum: Compiler / Linking / IDE Related
- Topic: DLL using wxWidgets shared by multiple host components
- Replies: 2
- Views: 1107
Re: DLL using wxWidgets shared by multiple host components
Yes indeed, if I do not call run_wx_gui_from_dll() and wx_dll_cleanup() from the main application, no separate thread for wxWidgets is created and the same wxWidgets instance is used in all components. This works perfect. It's good to know that I can use the "DLL" sample for the case where...
- Wed Aug 05, 2015 6:52 am
- Forum: Compiler / Linking / IDE Related
- Topic: DLL using wxWidgets shared by multiple host components
- Replies: 2
- Views: 1107
DLL using wxWidgets shared by multiple host components
Hi all, I'm using wxWidgets 3.0.2 under win32 compiled with MinGW 4.7.2 and would like to make a DLL that uses wxWidgets (with or without GUI) and that can be loaded and used by multiple host components (other DLLs or EXEs using or not using wxWidgets). In order to minimize the file size of the over...