From: Mattia Barbon Date: Sat, 22 Mar 2003 16:12:30 +0000 (+0000) Subject: Removed unnecessay code. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4d53042a6a097d225fc54beac11f82a9f7e4ba04 Removed unnecessay code. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/motif/cursor.cpp b/src/motif/cursor.cpp index f47a1b400e..0abb841b46 100644 --- a/src/motif/cursor.cpp +++ b/src/motif/cursor.cpp @@ -336,12 +336,6 @@ wxCursor::wxCursor(wxStockCursor id) { m_refData = new wxCursorRefData; M_CURSORDATA->m_cursorId = id; - - WXDisplay* display = wxGetDisplay(); - if (!display) - return; - - WXCursor cursor = GetXCursor(display); } wxCursor::~wxCursor()