Hi Bryan,
Bryan Klimt wrote:
line 14 of TestBrokenNB_wdr.py should be:
item0.AddWindow( item1, -1, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5 )
Hmm, I set the "option" argument = 1, which made it work.
It also has a problem that it does a lot of "if x==true:". You should NEVER
do this. This is equivalent to "if x==1:" which doesnt mean what ==true
should. It should be "if x:".
The _wdr.py files are created, and overwritten, by wxDesigner. Thanks for the tip, though.
Also, you shouldn't mix tabs and spaces. It makes it hard for others with
different editors.
Yeah, my bad. I don't usually code in Windows and for this example, I used EditPlus without checking the "make tabs = 4 spaces" option first. Sorry for the hassle.
Thanks for your help.
Eric.
···
----- Original Message -----
From: "Eric Walstad" <eric@ericwalstad.com>
To: <wxPython-users@lists.wxwindows.org>
Sent: Tuesday, December 17, 2002 3:59 PM
Subject: [wxPython-users] wxSplitter, wxTreectrl | wxNotebook - displays in
Linux, Not on WindowsHi All,
I'm having a problem making my app work on both RH Linux 8 and Windows
(95 and XP). It works as expected in Linux, but the
splitter/tree/notebook do not display in windows.My app is basically like this:
Main App
menu bar
tool bar
splitter
tree
notebook
page1 with static text
page2 with static text
status barI've googled for answers and have tried creating a simple sample app
that both follows, as closely as I can with wxDesigner, the wxPython
demo app and demonstrates the problem. Attached are the two source
files for the simple sample of the problem. There are screenshots here:http://63.203.42.146/ericwalstad.com/pub/wxprob.html
I use wxDesigner to create the windows, so all the controls are
associated with a sizer (if that matters). I'm using python 2.2 on
linux, 2.2.2 on windows, wxPython 2.3.3.1 on both platforms and
wxDesigner 2.7gThanks very much for your time and any help or pointers for further
research!Eric.