Author Topic: wxSmith: HtmlWindow patch, and adding support for wxStdDialogButtonSizer  (Read 5131 times)

takeshimiya

  • Guest
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]
« Last Edit: January 29, 2006, 07:54:48 pm by Takeshi Miya »

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: wxSmith: HtmlWindow patch, and adding support for wxStdDialogButtonSizer
« Reply #1 on: January 30, 2006, 09:51:24 pm »
Thx for pathes :) I'll try to append soon :)

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: wxSmith: HtmlWindow patch, and adding support for wxStdDialogButtonSizer
« Reply #2 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 :)