misc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
8fc680f47c
commit
a7593631f1
@ -318,7 +318,7 @@ class MessagePanel(wx.Panel):
|
||||
box.Add((10,10), 2)
|
||||
|
||||
self.SetSizer(box)
|
||||
|
||||
self.Fit()
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
@ -14,7 +14,11 @@ class TestPanel(wx.Panel):
|
||||
style=wx.TAB_TRAVERSAL|wx.CLIP_CHILDREN)
|
||||
|
||||
# Create some controls
|
||||
try:
|
||||
self.mc = wx.media.MediaCtrl(self, style=wx.SIMPLE_BORDER)
|
||||
except NotImplementedError:
|
||||
self.Destroy()
|
||||
raise
|
||||
|
||||
btn1 = wx.Button(self, -1, "Load File")
|
||||
self.Bind(wx.EVT_BUTTON, self.OnLoadFile, btn1)
|
||||
|
Loading…
Reference in New Issue
Block a user