[wxPython] wxFrame, non titlebar, moveable

RE: [wxPython] wxFrame, non titlebar, moveable
Got it. Thanks.

Dale Strickland-Clark

Riverhall Systems Ltd. Custom database and Web applications.

Offices: London & Wokingham

···

-----Original Message-----

From: Robin Dunn [mailto:robin@alldunn.com]

Sent: Thu, 2002 January 24 16:42

To: wxpython-users@lists.wxwindows.org

Subject: Re: [wxPython] wxFrame, non titlebar, moveable

I can’t find any documentation on the Dragging() method of the wxEvent

object (used in the OnMouseMove handler).

Look at the docs for wxMouseEvent.

But also, why do you need it if you are keeping your own button state

record

(self.leftDown)?

Actually self.leftDown was left over from a previous approach. Just using

evt.LeftIsDown() in OnMoveMouse is good enough. You need to check which

button is down because you can get dragging events for the other buttons

too.

Robin Dunn

Software Craftsman

robin@AllDunn.com Java give you jitters?

http://wxPython.org Relax with wxPython!


wxpython-users mailing list

wxpython-users@lists.wxwindows.org

http://lists.wxwindows.org/mailman/listinfo/wxpython-users