From: Robin Dunn Date: Fri, 10 Feb 2006 18:32:10 +0000 (+0000) Subject: GetFromWindow is available everywhere now X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/eb3d14161d2a7eaa40d27154efd249fef3e5f43d?ds=inline GetFromWindow is available everywhere now git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/src/_display.i b/wxPython/src/_display.i index 32a52cd25c..6cbc1cda98 100644 --- a/wxPython/src/_display.i +++ b/wxPython/src/_display.i @@ -159,14 +159,8 @@ doesn't belong to any display", ""); DocStr(GetFromWindow, "Find the display where the given window lies, return wx.NOT_FOUND if it is not shown at all.", ""); -#ifdef __WXMSW__ static int GetFromWindow(wxWindow *window); -#else - %extend { - static int GetFromWindow(wxWindow *window) - { wxPyRaiseNotImplemented(); return wxNOT_FOUND; } - } -#endif + DocDeclStr( virtual bool , IsOk() const,