X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bb0054cda81e7a6a6e1f33f4b47e46f529110f14..2356708db31b737c6eae53c2316b642aa5a2e68d:/utils/wxPython/demo/DialogUnits.py?ds=sidebyside diff --git a/utils/wxPython/demo/DialogUnits.py b/utils/wxPython/demo/DialogUnits.py index cb4cf2c860..8d293c2007 100644 --- a/utils/wxPython/demo/DialogUnits.py +++ b/utils/wxPython/demo/DialogUnits.py @@ -1,4 +1,4 @@ -#!/bin/env python +#!/usr/bin/env python #---------------------------------------------------------------------------- # Name: DialogUnits.py # Purpose: A minimal wxPython program that is a bit smarter than test1. @@ -46,6 +46,9 @@ class MyFrame(wxFrame): wxDLG_SZE(panel, wxSize(36, -1)), wxTE_READONLY) + print wxDLG_PNT(panel, wxPoint(24, 4)), wxDLG_SZE(panel, wxSize(36, -1)) + print wxDLG_PNT(panel, wxPoint(24, 16)),wxDLG_SZE(panel, wxSize(36, -1)) + # This method is called automatically when the CLOSE event is # sent to this window