mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 19:10:09 +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
|
||||
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):
|
||||
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))
|
||||
|
||||
def test_lib_throbber_Events(self):
|
||||
|
||||
Reference in New Issue
Block a user