Added wxBookCtrlBase::FindPage().
Add helper function to find the index of the given page. Closes #15125. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -193,6 +193,17 @@ public:
|
||||
*/
|
||||
virtual int ChangeSelection(size_t page) = 0;
|
||||
|
||||
/**
|
||||
Returns the index of the specified tab window or @c wxNOT_FOUND
|
||||
if not found.
|
||||
|
||||
@param page One of the control pages.
|
||||
@return The zero-based tab index or @c wxNOT_FOUND if not found.
|
||||
|
||||
@since 2.9.5
|
||||
*/
|
||||
int FindPage(const wxWindow* page) const;
|
||||
|
||||
//@}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user