Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: Cryogen on September 12, 2010, 06:25:48 am

Title: Added additional rich text controls to wxSmith and improved some others.
Post by: Cryogen on September 12, 2010, 06:25:48 am

 Hi Guys,

I've released 2 more patches for wxSmith. The first corrects some oversights and a bug in some controls added previously:

-Documented the important event ID requirement for wxFindReplaceDialog;
-Generate a wxRichTextStyleSheet for wxRichTextStyleOrganiserDialog;
-Fixed a bug in wxsRichTextStyleOrganiserDialog that caused dialogue styles to be omitted.

The second adds some additional rich text controls:
-wxRichTextStyleComboCtrl
-wxRichTextStyleListBox
-wxRichTextStyleListCtrl

A demo app. is now available from the wxSmithAddons link below and should be updated with the new controls in a day or so.

Cheers.
Title: Re: Added additional rich text controls to wxSmith and improved some others.
Post by: MortenMacFly on September 13, 2010, 12:56:07 pm
...sorry, but this patch (wxsmith_add_richtext_controls.patch) does not work for me. The error is:
patching file "src/plugins/contrib/wxSmith/wxSmith-unix.cbp"                                          
patching file "src/plugins/contrib/wxSmith/wxSmith.cbp"                                                
patching file "src/plugins/contrib/wxSmith/wxwidgets/defitems/Makefile.am"                            
patch: **** malformed patch at line 90: @@ -167,6 +173,7 @@                                            

...any hints? Can you re-do?
Title: Re: Added additional rich text controls to wxSmith and improved some others.
Post by: Cryogen on September 14, 2010, 02:51:20 am
...sorry, but this patch (wxsmith_add_richtext_controls.patch) does not work for me. The error is:
patching file "src/plugins/contrib/wxSmith/wxSmith-unix.cbp"                                          
patching file "src/plugins/contrib/wxSmith/wxSmith.cbp"                                                
patching file "src/plugins/contrib/wxSmith/wxwidgets/defitems/Makefile.am"                            
patch: **** malformed patch at line 90: @@ -167,6 +173,7 @@                                            

...any hints? Can you re-do?

I'll redo it. I modified it by hand to remove the image changes which aren't in SVN. That probably screwed it. Sorry.  :oops:

Title: Re: Added additional rich text controls to wxSmith and improved some others.
Post by: Cryogen on September 14, 2010, 02:58:24 am

 Patch version 2. You'll need to remove the imagelist-related entries manually if necessary.