News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Upgrading wxPropertyGrid to the newest

Started by heromyth, February 04, 2007, 03:44:48 PM

Previous topic - Next topic

heromyth

The steps is here:

1) downloading wxPropertyGrid
It's at here:
http://downloads.sourceforge.net/wxpropgrid/wxpropgrid-1.2.6-src.tar.gz?use_mirror=jaist

Place all the files in the package into codeblocks/src/sdk/propgrid/.

2) patching scintilla

Not needed

3) patching CB

Using these patch files:

Makefile.am.wxPropertyGrid.patch
CodeBlocks-unix.cbp.patch
CodeBlocks.cbp.wxPropertyGrid.patch

4) rebuilding CB

Now enjoy it!

All the patch files are in the attachment.

I have tested it with CB SVN 3566 under WinXP SP2, and haven't found any problem.

I have also submitted this patch at https://developer.berlios.de/patch/?func=detailpatch&patch_id=1872&group_id=5358


[attachment deleted by admin]

stahta01

#1
If you want to use wxSmith look at my thread on this at
   
Patch to update wxPropertyGrid to version 1.2.6 and current wxSmith testing
http://forums.next.codeblocks.org/index.php?topic=4638.0

Note: wxSmith is the only project that uses wxPropertyGrid that I could find.

Meaning of defines added to project file:
WXMAKINGLIB_PROPGRID makes wxPropertyGrid into static library
wxPG_USE_WXMODULE=0 turns off the use of wxWidgets wxModule; the use wxModule was causing wxSmith to crash.
wxPG_COMPATIBILITY_1_0_0 turns on 1.0.0 compatibility mode; this should be removed and the errors fixed, but we can do that another day.

#defines needed in target wxPropertyGrid
WXMAKINGLIB_PROPGRID
wxPG_USE_WXMODULE=0
wxPG_COMPATIBILITY_1_0_0

#defines needed in project wxSmith
WXMAKINGLIB_PROPGRID
wxPG_COMPATIBILITY_1_0_0


Tim S
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

heromyth

Quote from: stahta01 on February 04, 2007, 04:12:14 PM
If you want to use wxSmith look at my thread on this at
   
Patch to update wxPropertyGrid to version 1.2.6 and current wxSmith testing
http://forums.next.codeblocks.org/index.php?topic=4638.0

Note: wxSmith is the only project that uses wxPropertyGrid that I could find.


Oh, such is that! I have never built wxSmith, so I can't deeply test wxPropertyGrid 1.2.6 with C::B.

Sorry for this patch.

stahta01

Quote from: heromyth on February 04, 2007, 05:37:51 PM
Quote from: stahta01 on February 04, 2007, 04:12:14 PM
If you want to use wxSmith look at my thread on this at
   
Patch to update wxPropertyGrid to version 1.2.6 and current wxSmith testing
http://forums.next.codeblocks.org/index.php?topic=4638.0

Note: wxSmith is the only project that uses wxPropertyGrid that I could find.


Oh, such is that! I have never built wxSmith, so I can't deeply test wxPropertyGrid 1.2.6 with C::B.

Sorry for this patch.

Just update your patches to contain the added defines I listed above.
I am NOT really patching wxPropertyGrid in any real way. I corrected the mixed linefeed issue and changed the CHANGES-propgrid.txt to include the old comments. All the patches need by Code::Blocks to wxPropertyGrid are now in the release 1.2.6. It was I that submitted patches to have WXMAKINGLIB_PROPGRID and wxPG_USE_WXMODULE added to wxPropertyGrid.

Maybe they will then do your patches, my patch is too large to submit to Berlios.

Tim S

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

stahta01

I noticed you are trying to updates parts of C::B you might look at my list I started what seems like long ago
http://forums.next.codeblocks.org/index.php?topic=4425.0

The astyle was just updated last month, C::B has some bugs with it you might try upgrading it and see if they are fixed.

Tim S
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]