New methods added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -388,7 +388,10 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
// returns true if we have wxCHB_TOP or wxCHB_BOTTOM style
|
// returns true if we have wxCHB_TOP or wxCHB_BOTTOM style
|
||||||
bool IsVertical() const { return HasFlag(wxCHB_BOTTOM | wxCHB_TOP); }
|
bool IsVertical() const;
|
||||||
|
|
||||||
|
// returns the choice control
|
||||||
|
wxChoice* GetChoiceCtrl() const;
|
||||||
|
|
||||||
virtual bool DeleteAllPages();
|
virtual bool DeleteAllPages();
|
||||||
};
|
};
|
||||||
|
@@ -197,6 +197,17 @@ public:
|
|||||||
// is this line currently visible?
|
// is this line currently visible?
|
||||||
bool IsVisible(size_t line) const;
|
bool IsVisible(size_t line) const;
|
||||||
|
|
||||||
|
// this is the same as GetVisibleBegin(), exists to match
|
||||||
|
// GetLastVisibleLine() and for backwards compatibility only
|
||||||
|
size_t GetFirstVisibleLine() const;
|
||||||
|
|
||||||
|
// get the last currently visible line
|
||||||
|
//
|
||||||
|
// this function is unsafe as it returns (size_t)-1 (i.e. a huge positive
|
||||||
|
// number) if the control is empty, use GetVisibleEnd() instead, this one
|
||||||
|
// is kept for backwards compatibility
|
||||||
|
size_t GetLastVisibleLine() const;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user