X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e384095a6c8445e95e8a2478bb0bde9f7cfd0f76..51b83b37560a05eb688e8ed584bca47b0d1f968e:/wxPython/src/mac/_controls.py diff --git a/wxPython/src/mac/_controls.py b/wxPython/src/mac/_controls.py index 9a4105c076..8e4855b9c7 100644 --- a/wxPython/src/mac/_controls.py +++ b/wxPython/src/mac/_controls.py @@ -1884,7 +1884,7 @@ class TextCtrl(_core.Control): def HitTest(*args, **kwargs): """ - HitTest(Point pt) -> (result, row, col) + HitTest(Point pt) -> (result, col, row) Find the row, col coresponding to the character at the point given in pixels. NB: pt is in device coords but is not adjusted for the client @@ -3026,7 +3026,7 @@ class BookCtrlBasePtr(BookCtrlBase): if not hasattr(self,"thisown"): self.thisown = 0 self.__class__ = BookCtrlBase _controls_.BookCtrlBase_swigregister(BookCtrlBasePtr) -NOTEBOOK_NAME = cvar.NOTEBOOK_NAME +NotebookNameStr = cvar.NotebookNameStr def BookCtrlBase_GetClassDefaultAttributes(*args, **kwargs): """ @@ -3101,7 +3101,7 @@ class Notebook(BookCtrlBase): def __init__(self, *args, **kwargs): """ __init__(self, Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, String name=NOTEBOOK_NAME) -> Notebook + Size size=DefaultSize, long style=0, String name=NotebookNameStr) -> Notebook """ newobj = _controls_.new_Notebook(*args, **kwargs) self.this = newobj.this @@ -3112,7 +3112,7 @@ class Notebook(BookCtrlBase): def Create(*args, **kwargs): """ Create(self, Window parent, int id=-1, Point pos=DefaultPosition, - Size size=DefaultSize, long style=0, String name=NOTEBOOK_NAME) -> bool + Size size=DefaultSize, long style=0, String name=NotebookNameStr) -> bool """ return _controls_.Notebook_Create(*args, **kwargs)