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

wxPropGrid crash!

(1/2) > >>

Loaden:
This crash can reproduce.
step 1: Create a wxWidgets project with frame based, and using wxSmith.
step 2: Resources > wxFrame > Style, hit the "+" icon, and choice any option, like "wxCAPTION", e.g.
step 3: Close project
step 4: CB crash!

I'm testing CB 10.05 and not have this issue.
And testing wxSmith r6700, or wxPropGrid r6345, both have this issue.
If disable CC plugin, the crash still existed.

I can't find the reason, and can't to fixed.

It's seems happen when move wxPropGrid into SDK?? I am not sure... :?

Loaden:
I am testing on Windows XP and ArchLinux.
The crash can occured to any OS.

Jenna:
That attached patch should fix the issue (at least on linux).
It's just a quick hack (and I am not really happy with it) and it's not tested on windows.

Can you test it there please ?

We could also completely remove the calls to Freeze and Thaw in wxsPropertyGridManager::UnbindPropertyContainer, but I don't know if it has visual side-effects.

xunxun:
I test the patch on Win7 64bit. That seems it works well.

Loaden:

--- Quote from: jens on November 13, 2010, 03:06:11 pm ---Can you test it there please ?

--- End quote ---
You are a hero! :D
I'm tested on Windows XP and ArchLinux, the issue was gone!
Thanks a lot!

Navigation

[0] Message Index

[#] Next page

Go to full version