More fixes for the OGL wrapper and some other updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -107,6 +107,21 @@ class FileBrowseButton(wxPanel):
|
||||
''' Convenient setting of text control value '''
|
||||
return self.textControl.SetValue (value)
|
||||
|
||||
def Enable (self, value):
|
||||
''' Convenient enabling/disabling of entire control '''
|
||||
self.label.Enable (value)
|
||||
self.textControl.Enable (value)
|
||||
return self.browseButton.Enable (value)
|
||||
|
||||
def GetLabel( self ):
|
||||
''' Retrieve the label's current text '''
|
||||
return self.label.GetLabel()
|
||||
|
||||
def SetLabel( self, value ):
|
||||
''' Set the label's current text '''
|
||||
return self.label.SetLabel( value )
|
||||
|
||||
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
|
||||
|
Reference in New Issue
Block a user