From: Robin Dunn Date: Fri, 10 Feb 2006 19:07:36 +0000 (+0000) Subject: Oops, CenteronScreen wasn't really removed, just moved to wxTopLevelWindow X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/51941b4877b5ea52eb228fb4d35ed4c8c2e33191 Oops, CenteronScreen wasn't really removed, just moved to wxTopLevelWindow git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/docs/CHANGES.txt b/wxPython/docs/CHANGES.txt index ad3b949067..05f9b1bb3a 100644 --- a/wxPython/docs/CHANGES.txt +++ b/wxPython/docs/CHANGES.txt @@ -20,6 +20,12 @@ The following deprecated items have been removed: * wx.FontMapper SetConfig method + * wx.html.HtmlSearchStatus.GetContentsItem method + + * wx.html.HtmlHelpData.GetContents, GetContentsCnt, GetIndex, and + GetIndexCnt methods + + wx.EventLoop is now implemented for wxMac. Added wxPython wrappers for the new wx.Treebook and wx.Toolbook @@ -84,7 +90,6 @@ affected by this are: - 2.6.3.0 ------- diff --git a/wxPython/src/_toplvl.i b/wxPython/src/_toplvl.i index 2c977606bb..3c27d1b5af 100644 --- a/wxPython/src/_toplvl.i +++ b/wxPython/src/_toplvl.i @@ -144,6 +144,11 @@ public: bool MacGetMetalAppearance() const { /*wxPyRaiseNotImplemented();*/ return false; } } #endif + + DocDeclStr( + void , CenterOnScreen(int dir = wxBOTH), + "Center the window on screen", ""); + %pythoncode { CentreOnScreen = CenterOnScreen } };