added OnSize() to wxNotebook which forwards size events to the pages: fixes

the layout problem


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1998-06-23 16:28:49 +00:00
parent 46851318fe
commit 4e6322e0e5
4 changed files with 44 additions and 8 deletions

View File

@@ -70,12 +70,12 @@ class wxNotebook: public wxControl
bool DeletePage( const int page );
bool AddPage(wxWindow* win, const wxString& text, const int imageId = -1, void* data = NULL );
wxWindow *GetPageWindow( const int page ) const;
// overriden to do nothing
virtual void AddChild( wxWindow *win );
protected:
// wxWin callbacks
void OnSize(wxSizeEvent& event);
wxImageList* m_imageList;
wxList m_pages;