in looking at the code in more detail, the suggestions on wxVSCROLL
versus wx.VSCROLL don't seem to be relevant.
Both give the same answer, namely -2147483648
The original call was
self.qlist.SetWindowStyleFlag(wxSTATIC_BORDER|wxVSCROLL)
wxSTATICBORDER (or wx.STATICBORDER) is 16777216
However, I don't know what is supposed to happen by OR between a
positive and negative number whereas python quite happily calculates
it as
-2130706432
wxPython SetWindowsStyleFlag is quite unhappy with any of these
numbers (which would also be my feeling since I don't like negative
longints). My suspicion is that the definitions of wxVSCROLL have
been messed up in the latest distribution of wxPython but I would love
to be corrected.
···
_________________________
Mark Achtman
Max-Planck Institut für Infektionsbiologie
Schumannstr. 21/22
10117 Berlin, Germany
Tel: +4930 28460751
Fax: +4930 28460750
e-mail: achtman@mpiib-berlin.mpg.de
Co-Editor
Infection, Genetics and Evolution - http://www.elsevier.nl/locate/meegid
You are invited to submit articles for the above journal
directly to me.
Instructions to authors at the megiid website