Notebook tab orientation problems

The problem is that you are ORing in DEFAULT_FRAME_STYLE to the style.
This is not valid for wxNotebook. The only valid styles are wxNB_*.

  Matthew

···

-----Original Message-----
From: Sean McKay [mailto:mckay_sean@yahoo.com]
Sent: Thursday, June 26, 2003 7:48 AM
To: wxpython-users@lists.wxwindows.org
Subject: [wxPython-users] Notebook tab orientation problems

I have been encountering some strange behavior w/ the Notebook control..
when it is contained by a splitter or sizer (and perhaps other containers)
its tab orientation cannot be NB_TOP... even if it is set to NB_TOP
explicitly.

Does anyone have any work-arounds to get NB_TOP to work?

Attached is wxPython 2.4.1.2 code that shows this problem.

Thanks,

Sean

Matthew,

Thanks for the help, it fixed it.

Sean

···

--- Matthew Thornley <matthew.thornley@motioneng.com> wrote:

The problem is that you are ORing in DEFAULT_FRAME_STYLE to the style.
This is not valid for wxNotebook. The only valid styles are wxNB_*.

  Matthew

-----Original Message-----
From: Sean McKay [mailto:mckay_sean@yahoo.com]
Sent: Thursday, June 26, 2003 7:48 AM
To: wxpython-users@lists.wxwindows.org
Subject: [wxPython-users] Notebook tab orientation problems

I have been encountering some strange behavior w/ the Notebook control..
when it is contained by a splitter or sizer (and perhaps other
containers)
its tab orientation cannot be NB_TOP... even if it is set to NB_TOP
explicitly.

Does anyone have any work-arounds to get NB_TOP to work?

Attached is wxPython 2.4.1.2 code that shows this problem.

Thanks,

Sean

=====
Don't be anxious about tomorrow. God will take care of your tomorrow too. Live one day at a time. -- Matthew 6:34 TLB

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!