Moved and reorganized wxPython directories
Now builds into an intermediate wxPython package directory before installing git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
25
wxPython/tests/testi.py
Normal file
25
wxPython/tests/testi.py
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
|
||||
from wxPython.wx import *
|
||||
|
||||
def t():
|
||||
r1 = wxRect(0,0, 25, 500)
|
||||
r2 = wxRect(10, 10, 50, 100)
|
||||
|
||||
r = wxIntersectRect(r1, r2)
|
||||
print r
|
||||
|
||||
r = wxIntersectRect(r1, (50, 10, 50, 100))
|
||||
print r
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
class MyApp(wxApp):
|
||||
def OnInit(self):
|
||||
t()
|
||||
return false
|
||||
|
||||
app = MyApp(0)
|
||||
|
Reference in New Issue
Block a user