X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a693e6e0460b6b3c32e4b6f114a3ab7b7cd24ea..f6bcfd974ef26faf6f91a62cac09827e09463fd1:/wxPython/tests/testi.py?ds=inline diff --git a/wxPython/tests/testi.py b/wxPython/tests/testi.py new file mode 100644 index 0000000000..5fb4fced9c --- /dev/null +++ b/wxPython/tests/testi.py @@ -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) +