mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 03:50:06 +01:00
Merge pull request #58 from swt2c/fix_throbber_test
Fix throbber test crash on GTK2
This commit is contained in:
@@ -5,9 +5,6 @@ import wx.lib.throbber as th
|
|||||||
|
|
||||||
|
|
||||||
import throbImages
|
import throbImages
|
||||||
images = [throbImages.catalog[i].GetBitmap()
|
|
||||||
for i in throbImages.index
|
|
||||||
if i not in ['eclouds', 'logo']]
|
|
||||||
|
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -15,6 +12,9 @@ class lib_throbber_Tests(wtc.WidgetTestCase):
|
|||||||
|
|
||||||
def test_lib_throbber(self):
|
def test_lib_throbber(self):
|
||||||
pnl = wx.Panel(self.frame)
|
pnl = wx.Panel(self.frame)
|
||||||
|
images = [throbImages.catalog[i].GetBitmap()
|
||||||
|
for i in throbImages.index
|
||||||
|
if i not in ['eclouds', 'logo']]
|
||||||
w = th.Throbber(pnl, -1, images, size=(36, 36))
|
w = th.Throbber(pnl, -1, images, size=(36, 36))
|
||||||
|
|
||||||
def test_lib_throbber_Events(self):
|
def test_lib_throbber_Events(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user