Floatcanvas samples updates for Phoenix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2013-04-30 05:19:51 +00:00
parent 443c6590d2
commit 7bc7aaf7f8
36 changed files with 111 additions and 116 deletions

View File

@@ -124,8 +124,6 @@ class DrawFrame(wx.Frame):
self.Moving = False
return None
def TriHit(self, object):
print "In TriHit"
if not self.Moving:
@@ -171,9 +169,11 @@ class DrawFrame(wx.Frame):
self.MoveTri = None
self.Canvas.Draw(True)
app = wx.PySimpleApp(0)
DrawFrame(None, -1, "FloatCanvas TextBox Test App", wx.DefaultPosition, (700,700) )
app.MainLoop()
if __name__ == "__main__":
app = wx.App(0)
x = DrawFrame(None, -1, "FloatCanvas TextBox Test App", wx.DefaultPosition, (700,700) )
x.Show()
app.MainLoop()