// Modified by:
// RCS-ID: $Id$
// Copyright: (c) David Webster
-// Licence: wxWidgets licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _NOTEBOOK_H
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,long lStyle = 0
- ,const wxString& rsName = "notebook"
+ ,const wxString& rsName = wxNotebookNameStr
);
bool Create( wxWindow* pParent
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,long lStyle = 0
- ,const wxString& rsName = "notebook"
+ ,const wxString& rsName = wxNotebookNameStr
);
//
//
int SetSelection(size_t nPage);
+ // changes selected page without sending events
+ int ChangeSelection(size_t nPage);
+
//
// Get the currently selected page
//
//
bool AddPage( wxNotebookPage* pPage
,const wxString& rsStrText
- ,bool bSelect = FALSE
+ ,bool bSelect = false
,int nImageId = -1
);
bool InsertPage( size_t nPage
,wxNotebookPage* pPage
,const wxString& rsStrText
- ,bool bSelect = FALSE
+ ,bool bSelect = false
,int nImageId = -1
);
,WXWORD wPos
,WXHWND hControl
);
- virtual void SetConstraintSizes(bool bRecurse = TRUE);
+ virtual void SetConstraintSizes(bool bRecurse = true);
virtual bool DoPhase(int nPhase);
protected: