Some tweaks to reflect changes in wxWidgets

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-05-26 18:36:37 +00:00
parent 8715875f72
commit 45dc66f8e2
2 changed files with 25 additions and 9 deletions

View File

@@ -151,6 +151,12 @@ public:
// cycle thru the pages
void AdvanceSelection(bool forward = true);
DocDeclAStr(
virtual int, HitTest(const wxPoint& pt, long* OUTPUT) const,
"HitTest(Point pt) -> (tab, where)",
"Returns the page/tab which is hit, and flags indicating where using
wx.NB_HITTEST flags.", "");
static wxVisualAttributes
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
};
@@ -233,14 +239,6 @@ public:
// set the size of the tabs for wxNB_FIXEDWIDTH controls
virtual void SetTabSize(const wxSize& sz);
// hit test, returns which tab is hit and, optionally, where (icon, label)
// (not implemented on all platforms)
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
wx.NB_HITTEST flags.", "");
// implement some base class functions
virtual wxSize CalcSizeFromPage(const wxSize& sizePage) const;