X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7722248d7510121367c9d4db7af1156197c26e82..e732529375cfcca3b0bc79c37e350cb7a80525c6:/wxPython/src/_window.i diff --git a/wxPython/src/_window.i b/wxPython/src/_window.i index 5c0cf3a0e1..9dec8acb35 100644 --- a/wxPython/src/_window.i +++ b/wxPython/src/_window.i @@ -546,13 +546,13 @@ public: DocDeclAStr( void, GetTextExtent(const wxString& string, int *OUTPUT, int *OUTPUT), - "GetTextExtent(wxString string) -> (width, height)", + "GetTextExtent(String string) -> (width, height)", "Get the width and height of the text using the current font."); DocDeclAStrName( void, GetTextExtent(const wxString& string, int *OUTPUT, int *OUTPUT, int *OUTPUT, int* OUTPUT, const wxFont* font = NULL), - "GetFullTextExtent(wxString string, Font font=None) ->\n (width, height, descent, externalLeading)", + "GetFullTextExtent(String string, Font font=None) ->\n (width, height, descent, externalLeading)", "Get the width, height, decent and leading of the text using the current or specified font.", GetFullTextExtent); @@ -762,13 +762,13 @@ def DLG_PNT(win, point_or_x, y=None): if y is None: return win.ConvertDialogPointToPixels(point_or_x) else: - return win.ConvertDialogPointToPixels(wxPoint(point_or_x, y)) + return win.ConvertDialogPointToPixels(wx.Point(point_or_x, y)) def DLG_SZE(win, size_width, height=None): if height is None: return win.ConvertDialogSizeToPixels(size_width) else: - return win.ConvertDialogSizeToPixels(wxSize(size_width, height)) + return win.ConvertDialogSizeToPixels(wx.Size(size_width, height)) }