mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 12:00:13 +01:00
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:
@@ -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()
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user