Everything is fince, except that thw wx.RESIZE_BORDER is never honored (what
IMHO makes sense since the flag has to be there when the window is actually
created, which took place already). Since Create is called inplicitly I can't
specify any flags.
Did I oversee something ??
Thanks
UC
···
--
Open Source Solutions 4U, LLC 2570 Fleetwood Drive
Phone: +1 650 872 2425 San Bruno, CA 94066
Cell: +1 650 302 2405 United States
Fax: +1 650 872 2417
Everything is fince, except that thw wx.RESIZE_BORDER is never honored (what IMHO makes sense since the flag has to be there when the window is actually created, which took place already). Since Create is called inplicitly I can't specify any flags.
Did I oversee something ??
You can put the flag in the XRC.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
Yeah, that's what I figured. I got to talk to Robert. wxDesigner doesn't
support that. Since it's not that important anyways (at least not the resize
flag) I guess I'll just do stuff in wxDesigner and later take xrced and add
the flags.
Thanks
UC
···
On Monday 02 June 2003 06:37 pm, Robin Dunn wrote:
Uwe C. Schroeder wrote:
> Hi,
>
> is there a way to specify window flags when loading a XML ressource ?
> I can set extra styles, but nor normal ones.
>
> Here some code snippet (it's in the __init__ of a wx.Dialog derived
> class)
>
> _dlg=wx.PreDialog()
> self._xres.LoadOnDialog(_dlg,parent,"DlgSearch")
> _dlg.SetWindowStyleFlag(wx.RESIZE_BORDER | _dlg.GetWindowStyleFlag())
> _dlg.SetTitle("Search")
> self.this=_dlg.this
> self._setOORInfo(self)
>
> Everything is fince, except that thw wx.RESIZE_BORDER is never honored
> (what IMHO makes sense since the flag has to be there when the window is
> actually created, which took place already). Since Create is called
> inplicitly I can't specify any flags.
>
> Did I oversee something ??
You can put the flag in the XRC.
--
Open Source Solutions 4U, LLC 2570 Fleetwood Drive
Phone: +1 650 872 2425 San Bruno, CA 94066
Cell: +1 650 302 2405 United States
Fax: +1 650 872 2417