git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2005-02-02 22:36:36 +00:00
parent 8fc680f47c
commit a7593631f1
2 changed files with 6 additions and 2 deletions

View File

@ -318,7 +318,7 @@ class MessagePanel(wx.Panel):
box.Add((10,10), 2)
self.SetSizer(box)
self.Fit()
#---------------------------------------------------------------------------

View File

@ -14,7 +14,11 @@ class TestPanel(wx.Panel):
style=wx.TAB_TRAVERSAL|wx.CLIP_CHILDREN)
# Create some controls
self.mc = wx.media.MediaCtrl(self, style=wx.SIMPLE_BORDER)
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)