Added ability to use xml resource files. Still need to add ability to
subclass wxXmlResourceHandler, etc... Added wxGridAutoEditMixin to the mixins library package. Made ColourSelect be derived from wxButton. Fixed a few bugs here and there, added some missing methods, etc. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -15,12 +15,15 @@ class TestChoice(wxPanel):
 | 
			
		||||
                               wxPoint(15, 10))
 | 
			
		||||
 | 
			
		||||
        wxStaticText(self, -1, "Select one:", wxPoint(15, 50), wxSize(75, 20))
 | 
			
		||||
        wxChoice(self, 40, (80, 50), (95, 125),
 | 
			
		||||
        self.ch = wxChoice(self, 40, (80, 50), (95, 125),
 | 
			
		||||
                 choices = sampleList)
 | 
			
		||||
        EVT_CHOICE(self, 40, self.EvtChoice)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def EvtChoice(self, event):
 | 
			
		||||
        self.log.WriteText('EvtChoice: %s\n' % event.GetString())
 | 
			
		||||
        self.ch.Append("A new item")
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#---------------------------------------------------------------------------
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user