Bug in sash drag

Eric Fahlgren <[email protected]>
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>
Attempting to drag a sash splitter in an AUI window gives this:

Traceback (most recent call last):
  File "venv/lib/site-packages/wx/lib/splitter.py", line 437, in _OnMouse
    self._DrawSashTracker(self._oldX, self._oldY)
  File "venv/lib/site-packages/wx/lib/splitter.py", line 701, in 
_DrawSashTracker
    x1, y1 = self.ClientToScreen(x1, y1)
TypeError: Window.ClientToScreen(): argument 1 has unexpected type 'int'

I have a simple hack that fixes it (put parens around x1,y1 to make it a 
tuple, repeat also on line 702), but is this a missing overload on 
ClientToScreen?  It seems likely that it should it really accept a pair of 
ints in addition to "point" objects...

Using Py 2.7.11 x64, Phoenix 3.0.3.dev1964+f780b21 (build from 2016-04-09, 
so only a couple days old).

-- 
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.