mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 19:10:09 +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:
@@ -10,7 +10,7 @@ It demonstrates moving objects around, etc, etc.
|
||||
import wx
|
||||
|
||||
#ver = 'local'
|
||||
2ver = 'installed'
|
||||
ver = 'installed'
|
||||
|
||||
if ver == 'installed': ## import the installed version
|
||||
from wx.lib.floatcanvas import NavCanvas, Resources
|
||||
@@ -366,6 +366,6 @@ class DrawFrame(wx.Frame):
|
||||
self.MoveTri = None
|
||||
self.Canvas.Draw(True)
|
||||
|
||||
app = wx.PySimpleApp(0)
|
||||
app = wx.App(0)
|
||||
DrawFrame(None, -1, "FloatCanvas Tree Demo App", wx.DefaultPosition, (700,700) )
|
||||
app.MainLoop()
|
||||
|
||||
Reference in New Issue
Block a user