Fillid in many more missing functions (such as Enable())

There are still things to fix when compiling sockets ..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1998-09-06 20:27:21 +00:00
parent 13439807d3
commit d3904ceb9a
20 changed files with 258 additions and 82 deletions

View File

@@ -60,6 +60,7 @@ class wxCheckBox: public wxControl
void SetValue( bool state );
bool GetValue(void) const;
void SetFont( const wxFont &font );
void Enable( bool enable );
};
#endif // __GTKCHECKBOXH__

View File

@@ -36,16 +36,13 @@ class wxControl: public wxWindow
DECLARE_DYNAMIC_CLASS(wxControl)
public:
// construction
wxControl();
wxControl( wxWindow *parent, wxWindowID id,
const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize,
long style = 0, const wxString &name = wxPanelNameStr );
// overridables
virtual void Command( wxCommandEvent &event );
// accessors
// this function will filter out '&' characters and will put the accelerator
// char (the one immediately after '&') into m_chAccel (@@ not yet)
virtual void SetLabel( const wxString &label );
@@ -53,8 +50,7 @@ public:
protected:
wxString m_label;
// when we implement keyboard interface we will make use of this, but not yet
//char m_chAccel;
char m_chAccel; // enabled to avoid breaking binary compatibility later on
};
#endif // __GTKCONTROLH__

View File

@@ -65,7 +65,6 @@ class wxRadioBox: public wxControl
void SetSelection( int n );
int GetSelection(void) const;
wxString GetString( int n ) const;
wxString GetLabel(void) const;
void SetLabel( const wxString& label );
void SetLabel( int item, const wxString& label );
void SetLabel( int item, wxBitmap *bitmap );
@@ -79,8 +78,8 @@ class wxRadioBox: public wxControl
virtual int Number(void) const;
int GetNumberOfRowsOrCols(void) const;
void SetNumberOfRowsOrCols( int n );
void SetFont( const wxFont &font );
void OnSize( wxSizeEvent &event );
// implementation

View File

@@ -62,6 +62,7 @@ class wxRadioButton: public wxControl
virtual void SetValue(bool val);
virtual bool GetValue(void) const;
void SetFont( const wxFont &font );
void Enable( bool enable );
};
#endif // __GTKRADIOBUTTONH__

View File

@@ -50,6 +50,7 @@ class wxStaticBox: public wxControl
bool Create( wxWindow *parent, wxWindowID id, const wxString &label,
const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize,
long style = 0, const wxString &name = wxStaticBoxNameStr );
void SetLabel( const wxString &label );
};
#endif // __GTKSTATICBOXH__