added HasMultiplePages()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -213,6 +213,10 @@ public:
|
||||
return wxNOT_FOUND;
|
||||
}
|
||||
|
||||
|
||||
// we do have multiple pages
|
||||
virtual bool HasMultiplePages() const { return true; }
|
||||
|
||||
protected:
|
||||
// Should we accept NULL page pointers in Add/InsertPage()?
|
||||
//
|
||||
|
||||
@@ -865,6 +865,10 @@ public:
|
||||
{ return DoPopupMenu(menu, x, y); }
|
||||
#endif // wxUSE_MENUS
|
||||
|
||||
// override this method to return true for controls having multiple pages
|
||||
virtual bool HasMultiplePages() const { return false; }
|
||||
|
||||
|
||||
// scrollbars
|
||||
// ----------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user