Merge branch 'notebook-add-page-events'
Harmonize events sent by wxNotebook::AddPage(): they are now sent only when adding any page except the first one if it is selected in all ports. See https://github.com/wxWidgets/wxWidgets/pull/1192
This commit is contained in:
@@ -42,8 +42,8 @@ public:
|
||||
|
||||
virtual wxSize CalcSizeFromPage(const wxSize& sizePage) const;
|
||||
|
||||
int SetSelection(size_t nPage) { return DoSetSelection(nPage, SetSelection_SendEvent); }
|
||||
int ChangeSelection(size_t nPage) { return DoSetSelection(nPage); }
|
||||
int SetSelection(size_t nPage);
|
||||
int ChangeSelection(size_t nPage);
|
||||
|
||||
virtual bool DeleteAllPages() wxOVERRIDE;
|
||||
|
||||
@@ -51,7 +51,6 @@ public:
|
||||
|
||||
protected:
|
||||
virtual wxWindow *DoRemovePage(size_t page);
|
||||
int DoSetSelection(size_t nPage, int flags = 0);
|
||||
|
||||
private:
|
||||
QTabWidget *m_qtTabWidget;
|
||||
|
Reference in New Issue
Block a user