//---------------------------------------------------------------------------
-%{
- DECLARE_DEF_STRING(NOTEBOOK_NAME);
-%}
+MAKE_CONST_WXSTRING(NOTEBOOK_NAME);
//---------------------------------------------------------------------------
%newgroup
virtual void SetImageList(wxImageList *imageList);
// as SetImageList() but we will delete the image list ourselves
- %addtofunc AssignImageList "args[1].thisown = 0"
+ %apply SWIGTYPE *DISOWN { wxImageList *imageList };
void AssignImageList(wxImageList *imageList);
+ %clear wxImageList *imageList;
// get pointer (may be NULL) to the associated image list
wxImageList* GetImageList() 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.");
+ "Returns the tab which is hit, and flags indicating where using wx.NB_HITTEST_ flags.");
// implement some base class functions
virtual wxSize CalcSizeFromPage(const wxSize& sizePage) const;