/////////////////////////////////////////////////////////////////////////////
-// Name: privx.h
+// Name: wx/x11/privx.h
// Purpose: Private declarations common to X11 and Motif ports
// Author: Julian Smart
// Modified by:
#pragma message enable nosimpint
#endif
-class WXDLLIMPEXP_CORE wxMouseEvent;
-class WXDLLIMPEXP_CORE wxKeyEvent;
-class WXDLLIMPEXP_CORE wxWindow;
-class WXDLLIMPEXP_CORE wxRegion;
+class WXDLLIMPEXP_FWD_CORE wxMouseEvent;
+class WXDLLIMPEXP_FWD_CORE wxKeyEvent;
+class WXDLLIMPEXP_FWD_CORE wxWindow;
+class WXDLLIMPEXP_FWD_CORE wxRegion;
// ----------------------------------------------------------------------------
// key events related functions
// ----------------------------------------------------------------------------
-extern int wxCharCodeXToWX(KeySym keySym);
-extern KeySym wxCharCodeWXToX(int id);
-
WXPixel wxGetBestMatchingPixel(Display *display, XColor *desiredColor, Colormap cmap);
Pixmap XCreateInsensitivePixmap( Display *display, Pixmap pixmap );
void wxAllocColor(Display *display,Colormap colormap,XColor *xcolor);
// For debugging
-#ifdef __WXDEBUG__
wxString wxGetXEventName(XEvent& event);
-#endif
-
-// Is the window visible?
-bool wxWindowIsVisible(Window win);
#if wxUSE_NANOX
#define XEventGetWindow(event) event->general.wid
bool wxDoSetShape( Display* xdisplay, Window xwindow, const wxRegion& region );
-class WXDLLEXPORT wxXVisualInfo
+class WXDLLIMPEXP_CORE wxXVisualInfo
{
public:
wxXVisualInfo();
int m_visualRedPrec;
int m_visualGreenPrec;
int m_visualBluePrec;
-
+
unsigned char *m_colorCube;
};