some little tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2000-11-04 07:41:29 +00:00
parent abbe77c16b
commit 3351077305
3 changed files with 27 additions and 9 deletions

View File

@@ -331,6 +331,10 @@ public:
void SetPosition(const wxPoint& pos) {
self->Move(pos);
}
void SetRect(const wxRect& rect, int sizeFlags=wxSIZE_AUTO) {
self->SetSize(rect, sizeFlags);
}
}
void SetSizeHints(int minW=-1, int minH=-1, int maxW=-1, int maxH=-1, int incW=-1, int incH=-1);