X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4617be085fb55acce74f4d4687b098918dc9d107..8d5ff32d33ad07acb9c1824368fbbe954b601bbb:/wxPython/src/_display.i 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,