changed the notebook control to use AddPage() interface (Julian's version
didn't work at all) andupdated the sample to work with it git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
5bfe9bbc65
commit
4bf58c62d2
5 changed files with 108 additions and 70 deletions
|
|
@ -68,7 +68,7 @@ class wxNotebook: public wxControl
|
|||
void SetPadding( const wxSize& padding );
|
||||
bool DeleteAllPages(void);
|
||||
bool DeletePage( const int page );
|
||||
bool AddPage( const int page, const wxString& text, wxWindow* win, const int imageId = -1, void* data = NULL );
|
||||
bool AddPage(wxWindow* win, const wxString& text, const int imageId = -1, void* data = NULL );
|
||||
wxWindow *GetPageWindow( const int page ) const;
|
||||
|
||||
// overriden to do nothing
|
||||
|
|
@ -78,7 +78,6 @@ class wxNotebook: public wxControl
|
|||
|
||||
wxImageList* m_imageList;
|
||||
wxList m_pages;
|
||||
GtkWidget *m_frame;
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
};
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ class wxNotebook: public wxControl
|
|||
void SetPadding( const wxSize& padding );
|
||||
bool DeleteAllPages(void);
|
||||
bool DeletePage( const int page );
|
||||
bool AddPage( const int page, const wxString& text, wxWindow* win, const int imageId = -1, void* data = NULL );
|
||||
bool AddPage(wxWindow* win, const wxString& text, const int imageId = -1, void* data = NULL );
|
||||
wxWindow *GetPageWindow( const int page ) const;
|
||||
|
||||
// overriden to do nothing
|
||||
|
|
@ -78,7 +78,6 @@ class wxNotebook: public wxControl
|
|||
|
||||
wxImageList* m_imageList;
|
||||
wxList m_pages;
|
||||
GtkWidget *m_frame;
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue