//---------------------------------------------------------------------------
-%{
- DECLARE_DEF_STRING(NOTEBOOK_NAME);
-%}
+MAKE_CONST_WXSTRING(NOTEBOOK_NAME);
//---------------------------------------------------------------------------
%newgroup
// adds a new page to the control
virtual bool AddPage(wxWindow *page,
const wxString& text,
- bool select = false,
+ bool select = False,
int imageId = -1);
// the same as AddPage(), but adds the page at the specified position
virtual bool InsertPage(size_t n,
wxWindow *page,
const wxString& text,
- bool select = false,
+ bool select = False,
int imageId = -1)/* = 0*/;
// set the currently selected page, return the index of the previously
// cycle thru the pages
- void AdvanceSelection(bool forward = true);
+ void AdvanceSelection(bool forward = True);
};
// hit test, returns which tab is hit and, optionally, where (icon, label)
// (not implemented on all platforms)
- virtual int HitTest(const wxPoint& pt, long* OUTPUT) const;
+ DocDeclAStr(
+ virtual int, HitTest(const wxPoint& pt, long* OUTPUT) const,
+ "HitTest(Point pt) -> (tab, where)",
+ "Returns the tab which is hit, and flags indicating where using wxNB_HITTEST_ flags.");
// implement some base class functions
virtual wxSize CalcSizeFromPage(const wxSize& sizePage) const;
long style = 0,
const wxString& name = wxPyEmptyString);
- // returns true if we have wxLB_TOP or wxLB_BOTTOM style
+ // returns True if we have wxLB_TOP or wxLB_BOTTOM style
bool IsVertical() const;
};