Re: Phoenix - wx.ScrolledWindow with VSCROLL
woss <[email protected]>
| Newsgroups | gmane.comp.python.wxpython.devel |
|---|---|
| Message-ID | <[email protected]> |
2016. március 5., szombat 19:26:39 UTC+1 időpontban [email protected] a következőt írta: > > On Saturday, March 5, 2016 at 12:47:16 PM UTC-5, woss wrote: >> >> Hi Robin, >> >> Now wx.VSCROLL is a bad.style for wx.ScrolledWindow. >> .... >> File "D:\Python\cv\treepanel.py", line 27, in __init__ >> super(TreePanelTree, self).__init__(parent, style=wx.SUNKEN_BORDER) >> File >> "d:\python27\lib\site-packages\wx-3.1-msw\wx\lib\agw\customtreectrl.py", >> line 2820, in __init__ >> wx.ScrolledWindow.__init__(self, parent, id, pos, size, >> style|wx.HSCROLL|wx.VSCROLL, name) >> wx._core.wxAssertionError: C++ assertion "Assert failure" failed at >> ..\..\src\common\wincmn.cpp(858) in wxWindowBase::GetWindowBorderSize(): >> Unknown border style. >> >> The last good version was: '3.0.3.dev1943+fdf739f' >> >> (Error sample: Demo / CustomTreeCtrl) >> >> Win7_64SP1 / py2.7_32 / wxPhoenix_3.0.3.dev1956+aab2833 >> > > Interesting. I submitted a patch recently to fix the wrapping of > wx.VSCROLL, so it is possibly related to that. What does "print > wx.VSCROLL" show on Windows? > Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:32:19) [MSC v.1500 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. >>> import wx >>> wx.version() '3.0.3.dev1956+aab2833 msw (phoenix)' >>> wx.VSCROLL, wx.HSCROLL (2147483648L, 1073741824) >>> -- You received this message because you are subscribed to the Google Groups "wxPython-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.