X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/880715c9a941c58e5f702ff340aac7138b27f6ed..ad3fca675f77c2903cafd096bbda8baa2e7689ff:/wxPython/src/_panel.i diff --git a/wxPython/src/_panel.i b/wxPython/src/_panel.i index a20389f1f6..180bd8c8ed 100644 --- a/wxPython/src/_panel.i +++ b/wxPython/src/_panel.i @@ -22,6 +22,8 @@ %newgroup +MustHaveApp(wxPanel); + class wxPanel : public wxWindow { public: @@ -57,6 +59,8 @@ public: // derive from it and wxPanel. But what to do about wxGTK where this // is not True? +MustHaveApp(wxScrolledWindow); + class wxScrolledWindow : public wxPanel { public: @@ -98,7 +102,7 @@ public: DocDeclAStr( virtual void, GetScrollPixelsPerUnit(int *OUTPUT, int *OUTPUT) const, "GetScrollPixelsPerUnit() -> (xUnit, yUnit)", - "Get the size of one logical unit in physical units."); + "Get the size of one logical unit in physical units.", ""); // Enable/disable Windows scrolling in either direction. If True, wxWindows // scrolls the canvas and only a bit of the canvas is invalidated; no @@ -111,7 +115,7 @@ public: DocDeclAStr( virtual void, GetViewStart(int *OUTPUT, int *OUTPUT) const, "GetViewStart() -> (x,y)", - "Get the view start"); + "Get the view start", ""); // Set the scale factor, used in PrepareDC void SetScale(double xs, double ys); @@ -122,14 +126,14 @@ public: %nokwargs CalcScrolledPosition; %nokwargs CalcUnscrolledPosition; - DocStr(CalcScrolledPosition, "Translate between scrolled and unscrolled coordinates."); + DocStr(CalcScrolledPosition, "Translate between scrolled and unscrolled coordinates.", ""); wxPoint CalcScrolledPosition(const wxPoint& pt) const; DocDeclA( void, CalcScrolledPosition(int x, int y, int *OUTPUT, int *OUTPUT) const, "CalcScrolledPosition(int x, int y) -> (sx, sy)"); - DocStr(CalcUnscrolledPosition, "Translate between scrolled and unscrolled coordinates."); + DocStr(CalcUnscrolledPosition, "Translate between scrolled and unscrolled coordinates.", ""); wxPoint CalcUnscrolledPosition(const wxPoint& pt) const; DocDeclA( void, CalcUnscrolledPosition(int x, int y, int *OUTPUT, int *OUTPUT) const,