xwFrame styles

How can I modify wxFrames style to get a window without maximize and/or minimize button?

Thanks.

···


Tomás A. Schertel
http://tomas.archlinux-br.org/

Linux Registered User #304838
Arch Linux User
http://www.archlinux-br.org/

“I wanna rock and roll all nite and python every day”

X Fórum Internacional Software Livre - fisl10
24 a 27 de junho de 2009
PUCRS - Porto Alegre - Brasil

Tomás Acauan Schertel wrote:

How can I modify wxFrames style to get a window without maximize and/or minimize button?

Start with the wx.DEFAULT_FRAME_STYLE and turn off the wx.MINIMIZE_BOX and wx.MAXIMIZE_BOX flags, like this:

  wx.DEFAULT_FRAME_STYLE & ~(wx.MINIMIZE_BOX|wx.MAXIMIZE_BOX)

Or you could just build up a style value using the other styles that you do want.

···

--
Robin Dunn
Software Craftsman

Hello,

···

On Jun 1, 2009, at 3:49 PM, Tomás Acauan Schertel wrote:

How can I modify wxFrames style to get a window without maximize and/or minimize button?

see: http://docs.wxwidgets.org/2.8.10/wx_wxframe.html#wxframe

Cody

Thank you guys.

···


Tomás A. Schertel
http://tomas.archlinux-br.org/

Linux Registered User #304838
Arch Linux User
http://www.archlinux-br.org/

“I wanna rock and roll all nite and python every day”

X Fórum Internacional Software Livre - fisl10
24 a 27 de junho de 2009
PUCRS - Porto Alegre - Brasil

On Mon, Jun 1, 2009 at 7:33 PM, Cody Precord codyprecord@gmail.com wrote:

Hello,

On Jun 1, 2009, at 3:49 PM, Tomás Acauan Schertel wrote:

How can I modify wxFrames style to get a window without maximize and/

or minimize button?

see: http://docs.wxwidgets.org/2.8.10/wx_wxframe.html#wxframe

Cody