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:
@@ -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__
|
||||
|
@@ -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__
|
||||
|
@@ -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
|
||||
|
@@ -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__
|
||||
|
@@ -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__
|
||||
|
Reference in New Issue
Block a user