]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/tests/testi.py
implement wxColourDialog::Move() (patch 548048)
[wxWidgets.git] / wxPython / tests / testi.py
... / ...
CommitLineData
1
2
3from wxPython.wx import *
4
5def t():
6 r1 = wxRect(0,0, 25, 500)
7 r2 = wxRect(10, 10, 50, 100)
8
9 r = wxIntersectRect(r1, r2)
10 print r
11
12 r = wxIntersectRect(r1, (50, 10, 50, 100))
13 print r
14
15
16
17
18
19class MyApp(wxApp):
20 def OnInit(self):
21 t()
22 return false
23
24app = MyApp(0)
25