Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

wxSmith and patch 1903 for wxW28 and wxPropertyGrid 1.2.x

<< < (2/3) > >>

stahta01:

--- Quote from: byo on March 23, 2007, 05:19:34 pm ---Yup, I'd like to switch into newer wxPropertyGrid, probably do it this evening :) Have you tested if wxSmith works fine with new wxPG ?

BYO

--- End quote ---

I have done minor testing and it worked after turning off wxModule; I do NOT use wxSmith so I do NOT know enough to test it very well. The define of wxPG_USE_WXMODULE=0 turns off wxModule during the compile of wxPropertyGrid.

Tim S

stahta01:
I have updated Berlios Patch 1912 "Patch CB Build Files to use wxPropertyGrid 1.2.6"
https://developer.berlios.de/patch/?func=detailpatch&patch_id=1912&group_id=5358
(WXMAKINGLIB_PROPGRID-unix.patch)

for Linux build issues, it now hopefully does the needed defines.

Tim S

byo:
Patches applied along with new wxPropertyGrid version :)

Thanks for your work :D

BYO

afb:
I ran into some issues due to the wxPG_COMPATIBILITY_1_0_0 flag not being set...
(i.e. it was missing things like wxRECURSE and wxPGConstants, for example)

EDIT: bootstrapping made it pick up the added defines now, all good

The new propgrid also seems to have a few wx includes missing from the headers:

--- Code: ---Index: src/include/propgrid/include/wx/propgrid/propdev.h
===================================================================
--- src/include/propgrid/include/wx/propgrid/propdev.h (revision 3754)
+++ src/include/propgrid/include/wx/propgrid/propdev.h (arbetskopia)
@@ -18,6 +18,7 @@
     #error "propdev.h must be included *before* advprops.h"
 #endif
 
+#include <wx/textctrl.h>
 
 class WXDLLIMPEXP_PG wxArrayEditorDialog;
 
Index: src/include/propgrid/include/wx/propgrid/propgrid.h
===================================================================
--- src/include/propgrid/include/wx/propgrid/propgrid.h (revision 3754)
+++ src/include/propgrid/include/wx/propgrid/propgrid.h (arbetskopia)
@@ -17,6 +17,7 @@
 #endif
 
 #include <wx/dynarray.h>
+#include <wx/dcclient.h>
 #include <wx/hashmap.h>
 #include <wx/variant.h>
 #include <wx/tooltip.h>

--- End code ---

byo:
Jay, it's really painfull for me to make wxPropGrid working  :?

Sorry for breaking linux build. I'm just trying to figure out what's wrong (it compiles fine on windows) and I'm getting little bit frustrated. Anybody knows what packages should be installed on ubuntu edgy to get full development version of GTK 2 ? (Even though I've installed reauired *.dev packges, I still don't have files like gtk-config).

And those missing headers is a standard thing in wxPG, including proper files may be real challange. That's big minus for wxPG.

BYO

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version