X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f516d986371b7643efda569d64ae19e75d221411..835165d576b66441987b78519e6ef1fe74ea795a:/include/wx/x11/privx.h diff --git a/include/wx/x11/privx.h b/include/wx/x11/privx.h index e28ccf353e..7cfd8616ad 100644 --- a/include/wx/x11/privx.h +++ b/include/wx/x11/privx.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: privx.h +// Name: wx/x11/privx.h // Purpose: Private declarations common to X11 and Motif ports // Author: Julian Smart // Modified by: @@ -26,19 +26,16 @@ #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); - -int wxGetBestMatchingPixel(Display *display, XColor *desiredColor, Colormap cmap); +WXPixel wxGetBestMatchingPixel(Display *display, XColor *desiredColor, Colormap cmap); Pixmap XCreateInsensitivePixmap( Display *display, Pixmap pixmap ); extern XColor g_itemColors[]; @@ -67,12 +64,7 @@ void wxAllocNearestColor(Display *display,Colormap colormap,XColor *xcolor); 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 @@ -148,7 +140,7 @@ bool wxWindowIsVisible(Window win); bool wxDoSetShape( Display* xdisplay, Window xwindow, const wxRegion& region ); -class WXDLLEXPORT wxXVisualInfo +class WXDLLIMPEXP_CORE wxXVisualInfo { public: wxXVisualInfo(); @@ -169,7 +161,7 @@ public: int m_visualRedPrec; int m_visualGreenPrec; int m_visualBluePrec; - + unsigned char *m_colorCube; };