Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: takeshimiya on January 29, 2006, 07:52:42 pm

Title: wxSmith: HtmlWindow patch, and adding support for wxStdDialogButtonSizer
Post by: takeshimiya on January 29, 2006, 07:52:42 pm
Hi!

First patch: wxStdDialogButtonSizer addition
I've tried to add support for wxStdDialogButtonSizer to wxSmith. It works in non-XRC mode :), but in XRC fails.
I don't know what to do with the xrc handlers, so I'm attaching the patch here.
Also, I've found some shortcomings in wxSmith when trying to add this, see the TODO's in the patch.

Another patch: wxHtmlWindow fix
I've done XRC saving/loading properly for wxHtmlWindow.
It was saving
Code: xml
<url></url>
etc, even if it was empty. And that pops out an "html not found" obviously. So it really shouldn't save the tags at all. This patch fix it. :)

SF is down ATM, but I'll post up there when it goes online again.

[attachment deleted by admin]
Title: Re: wxSmith: HtmlWindow patch, and adding support for wxStdDialogButtonSizer
Post by: byo on January 30, 2006, 09:51:24 pm
Thx for pathes :) I'll try to append soon :)
Title: Re: wxSmith: HtmlWindow patch, and adding support for wxStdDialogButtonSizer
Post by: byo on January 31, 2006, 12:24:55 am
Ok, pathes applied  :D
I've also looked for this wxStdDialogButtonSizer and see what's going on with it  :)

I've additionally started redesigning properties system and that may affect widgets code. So I've decided to wait with anything else till rewrite of main engine is done. So the bugs will have to wait. But I hope it won't get long :)