misc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user