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:
Robin Dunn
2000-02-17 04:52:42 +00:00
parent 5e9ff6adaa
commit 99ab9f3bf9
10 changed files with 112 additions and 41 deletions

View File

@@ -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 )
#----------------------------------------------------------------------