compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
0e0d88570a
commit
aa9a4ae1a5
@ -41,7 +41,7 @@ extern const char *wxSliderNameStr;
|
||||
class wxSlider: public wxControl
|
||||
{
|
||||
public:
|
||||
wxSlider() {}
|
||||
wxSlider();
|
||||
inline wxSlider( wxWindow *parent, wxWindowID id,
|
||||
int value, int minValue, int maxValue,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
@ -52,12 +52,13 @@ public:
|
||||
{
|
||||
Create( parent, id, value, minValue, maxValue, pos, size, style, validator, name );
|
||||
}
|
||||
~wxSlider();
|
||||
bool Create(wxWindow *parent, wxWindowID id,
|
||||
int value, int minValue, int maxValue,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxSL_HORIZONTAL,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxSliderNameStr );
|
||||
virtual int GetValue() const;
|
||||
virtual void SetValue( int );
|
||||
@ -79,15 +80,15 @@ public:
|
||||
int GetThumbLength() const;
|
||||
void SetTick( int tickPos );
|
||||
|
||||
// implementation
|
||||
// implementation
|
||||
// --------------
|
||||
|
||||
|
||||
bool IsOwnGtkWindow( GdkWindow *window );
|
||||
void ApplyWidgetStyle();
|
||||
|
||||
|
||||
GtkAdjustment *m_adjust;
|
||||
float m_oldPos;
|
||||
|
||||
|
||||
private:
|
||||
DECLARE_DYNAMIC_CLASS(wxSlider)
|
||||
};
|
||||
|
@ -41,7 +41,7 @@ extern const char *wxSliderNameStr;
|
||||
class wxSlider: public wxControl
|
||||
{
|
||||
public:
|
||||
wxSlider() {}
|
||||
wxSlider();
|
||||
inline wxSlider( wxWindow *parent, wxWindowID id,
|
||||
int value, int minValue, int maxValue,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
@ -52,12 +52,13 @@ public:
|
||||
{
|
||||
Create( parent, id, value, minValue, maxValue, pos, size, style, validator, name );
|
||||
}
|
||||
~wxSlider();
|
||||
bool Create(wxWindow *parent, wxWindowID id,
|
||||
int value, int minValue, int maxValue,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxSL_HORIZONTAL,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxSliderNameStr );
|
||||
virtual int GetValue() const;
|
||||
virtual void SetValue( int );
|
||||
@ -79,15 +80,15 @@ public:
|
||||
int GetThumbLength() const;
|
||||
void SetTick( int tickPos );
|
||||
|
||||
// implementation
|
||||
// implementation
|
||||
// --------------
|
||||
|
||||
|
||||
bool IsOwnGtkWindow( GdkWindow *window );
|
||||
void ApplyWidgetStyle();
|
||||
|
||||
|
||||
GtkAdjustment *m_adjust;
|
||||
float m_oldPos;
|
||||
|
||||
|
||||
private:
|
||||
DECLARE_DYNAMIC_CLASS(wxSlider)
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user