,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: