Try this patch. wxPropertyGrid must be compiled with wxPG_USE_WXMODULE defined to 0.
If not, wxPropertyGrid crashed this was true several months ago; it might have changed.
Edit: It fixes the crash for me.
Tim S
Index: src/plugins/contrib/wxSmith/wxSmith.cbp
===================================================================
--- src/plugins/contrib/wxSmith/wxSmith.cbp (revision 4602)
+++ src/plugins/contrib/wxSmith/wxSmith.cbp (working copy)
@@ -15,6 +15,9 @@
<Option type="2" />
<Option compiler="gcc" />
<Option createDefFile="1" />
+ <Compiler>
+ <Add option="-DwxPG_USE_WXMODULE=0" />
+ </Compiler>
</Target>
<Target title="wxSmithLib">
<Option platforms="Windows;" />