- // ctors
- // -----
- // default for dynamic class
- wxNotebook();
- // the same arguments as for wxControl (@@@ any special styles?)
- wxNotebook(wxWindow *parent,
- wxWindowID id,
- const wxPoint& pos = wxDefaultPosition,
- const wxSize& size = wxDefaultSize,
- long style = 0,
- const wxString& name = "notebook");
- // Create() function
- bool Create(wxWindow *parent,
- wxWindowID id,
- const wxPoint& pos = wxDefaultPosition,
- const wxSize& size = wxDefaultSize,
- long style = 0,
- const wxString& name = "notebook");
- // dtor
- ~wxNotebook();
-
- // accessors
- // ---------
- // get number of pages in the dialog
- int GetPageCount() const;
-
- // set the currently selected page, return the index of the previously
- // selected one (or -1 on error)
+ //
+ // Ctors
+ // -----
+ // Default for dynamic class
+ //
+ wxNotebook();
+
+ //
+ // the same arguments as for wxControl
+ //
+ wxNotebook( wxWindow* pParent
+ ,wxWindowID vId
+ ,const wxPoint& rPos = wxDefaultPosition
+ ,const wxSize& rSize = wxDefaultSize
+ ,long lStyle = 0
+ ,const wxString& rsName = wxNotebookNameStr
+ );
+
+ bool Create( wxWindow* pParent
+ ,wxWindowID vId
+ ,const wxPoint& rPos = wxDefaultPosition
+ ,const wxSize& rSize = wxDefaultSize
+ ,long lStyle = 0
+ ,const wxString& rsName = wxNotebookNameStr
+ );
+
+ //
+ // Accessors
+ // ---------
+ // Get number of pages in the dialog
+ //
+ virtual size_t GetPageCount(void) const;
+
+ //
+ // Set the currently selected page, return the index of the previously
+ // selected one (or wxNOT_FOUND on error)