several notebook bugs fixed:
1. deleting the last page sets selection to -1 2. deleting the selected page unselects it first 3. adding page calls Layout() on it git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -52,7 +52,10 @@ public:
|
||||
void OnAddPage(wxCommandEvent& event);
|
||||
void OnDeletePage(wxCommandEvent& event);
|
||||
void OnSize(wxSizeEvent& event);
|
||||
void Init(void);
|
||||
void OnIdle(wxIdleEvent& event);
|
||||
|
||||
void Init();
|
||||
|
||||
protected:
|
||||
wxNotebook* m_notebook;
|
||||
wxPanel* m_panel; // Panel containing notebook and OK/Cancel/Help
|
||||
|
Reference in New Issue
Block a user