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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user