mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 04:20:07 +01:00
Changes needed to ensure both the native and generic controls can be used in the wxGTK build.
This commit is contained in:
@@ -32,8 +32,8 @@ class TestPanel(wx.Panel):
|
||||
|
||||
sizer = wx.FlexGridSizer(cols=3, hgap=5, vgap=5)
|
||||
for name in GIFNames:
|
||||
ani = Animation(opj(name))
|
||||
ctrl = AnimationCtrl(self, -1, ani)
|
||||
ctrl = AnimationCtrl(self)
|
||||
ctrl.LoadFile(opj(name))
|
||||
ctrl.SetBackgroundColour(self.GetBackgroundColour())
|
||||
ctrl.Play()
|
||||
sizer.Add(ctrl, 0, wx.ALL, 10)
|
||||
|
||||
Reference in New Issue
Block a user