From eb3d14161d2a7eaa40d27154efd249fef3e5f43d Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 10 Feb 2006 18:32:10 +0000 Subject: [PATCH] GetFromWindow is available everywhere now git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_display.i | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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, -- 2.50.0