Add IsOk's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -154,6 +154,9 @@ public:
|
||||
// NB: this function will _not_ generate PAGE_CHANGING/ED events
|
||||
virtual int SetSelection(size_t n)/* = 0*/;
|
||||
|
||||
|
||||
// acts as SetSelection but does not generate events
|
||||
virtual int ChangeSelection(size_t n)/* = 0*/;
|
||||
|
||||
// cycle thru the pages
|
||||
void AdvanceSelection(bool forward = true);
|
||||
@@ -273,6 +276,13 @@ public:
|
||||
static wxVisualAttributes
|
||||
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
|
||||
|
||||
// returns false if the change to nPage is vetoed by the program
|
||||
bool SendPageChangingEvent(int nPage);
|
||||
|
||||
// sends the event about page change from old to new (or GetSelection() if
|
||||
// new is -1)
|
||||
void SendPageChangedEvent(int nPageOld, int nPageNew = -1);
|
||||
|
||||
%property(RowCount, GetRowCount, doc="See `GetRowCount`");
|
||||
%property(ThemeBackgroundColour, GetThemeBackgroundColour, doc="See `GetThemeBackgroundColour`");
|
||||
};
|
||||
|
Reference in New Issue
Block a user