More properties

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-09-08 01:08:36 +00:00
parent 925430af06
commit 76b8fa1d20
20 changed files with 200 additions and 6 deletions

View File

@@ -78,6 +78,11 @@ public:
void CopyFromBitmap(const wxBitmap& bmp);
%pythoncode { def __nonzero__(self): return self.Ok() }
%property(Depth, GetDepth, SetDepth, doc="See `GetDepth` and `SetDepth`");
%property(Height, GetHeight, SetHeight, doc="See `GetHeight` and `SetHeight`");
%property(Width, GetWidth, SetWidth, doc="See `GetWidth` and `SetWidth`");
};
//---------------------------------------------------------------------------
@@ -124,6 +129,10 @@ public:
#endif
}
}
%property(FileName, GetFileName, SetFileName, doc="See `GetFileName` and `SetFileName`");
%property(Index, GetIndex, SetIndex, doc="See `GetIndex` and `SetIndex`");
};
@@ -159,6 +168,8 @@ public:
// returns the icon with size wxSYS_ICON_[XY]; if no such icon exists,
// returns the first icon in the bundle
const wxIcon& GetIcon( const wxSize& size ) const;
%property(Icon, GetIcon, doc="See `GetIcon`");
};
//---------------------------------------------------------------------------