Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Building with wxWidgets 2.9

<< < (10/10)

Jenna:

--- Quote from: stahta01 on February 19, 2012, 03:27:21 am ---Did you turn off all the debugging options in wxWidgets 2.9?
Because I could see them taking a lot of CPU time to run.

--- End quote ---
No, and this might be the reason.
I will not dig into it deeper for now, because I need the asserts to find more issues with wxWidgets (not only 2.9), that will otherwise silently be ignored.

Jenna:
I have two patches here, to solve wx2.9 issues.

One issue leads to a crash in projectfiledialog, because of incorrect settings for wxGridSizer (columns and rows have to match the amount of children) and will surely not do any harm.

The other leads to a frozen (not repainted) application after splitting or unsplitting an editor.
This issue is most likely a wxGTK only issue and is related to reparenting the controls while the editor is frozen.
I have a patch here for this, that thaws the editor before the call to Reparent() and freezes it directly after.
I wrapped in #if defined ( __WXGTK__ ) && wxCHECK_VERSION(2, 9, 0), but before committing it, I would like to ask, whether it is really only a wxGTK issue or also happens on wxMSW.
The second question is, if it also happens with wxwidgets < 2.9.4 (the one I use for test). To be sure I check for wx2.9.0, but this might not be correct.

I will build a (real) debug version of wxWidgets and try to track down the bug and probably provide a patch for wxwidgets or at least file a bug-report with a simple testcase.

Navigation

[0] Message Index

[*] Previous page

Go to full version