NanoX modificati

NanoX modifications


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2002-02-20 23:19:40 +00:00
parent 2e09dc2dc8
commit c79a329dcb
12 changed files with 777 additions and 408 deletions

View File

@@ -20,7 +20,10 @@
#include "wx/utils.h"
#include "wx/x11/private.h"
#if !wxUSE_NANOX
#include <X11/cursorfont.h>
#endif
//-----------------------------------------------------------------------------
// wxCursor
@@ -64,6 +67,13 @@ wxCursor::wxCursor( int cursorId )
{
m_refData = new wxCursorRefData();
#if wxUSE_NANOX
// TODO Create some standard cursors from bitmaps.
#else
// !wxUSE_NANOX
M_CURSORDATA->m_display = wxGlobalDisplay();
wxASSERT_MSG( M_CURSORDATA->m_display, wxT("No display") );
@@ -108,6 +118,7 @@ wxCursor::wxCursor( int cursorId )
}
M_CURSORDATA->m_cursor = (WXCursor) XCreateFontCursor( (Display*) M_CURSORDATA->m_display, x_cur );
#endif
}
wxCursor::wxCursor(const char bits[], int width, int height,