X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5e29f97a3c55598b9310a4643f9073b6b926672c..c822ad5a5e30a21ca3340af644bf79804cf7c777:/include/wx/x11/privx.h diff --git a/include/wx/x11/privx.h b/include/wx/x11/privx.h index d66501f987..5314cda202 100644 --- a/include/wx/x11/privx.h +++ b/include/wx/x11/privx.h @@ -9,8 +9,8 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifndef _WX_PRIVATE_H_ -#define _WX_PRIVATE_H_ +#ifndef _WX_PRIVX_H_ +#define _WX_PRIVX_H_ #include "wx/defs.h" #include "wx/utils.h" @@ -38,18 +38,6 @@ extern int wxComputeColours (Display *display, wxColour * back, wxColour * fore) // For convenience inline Display* wxGlobalDisplay() { return (Display*) wxGetDisplay(); } -#define wxNO_COLORS 0x00 -#define wxBACK_COLORS 0x01 -#define wxFORE_COLORS 0x02 - -extern XColor itemColors[5] ; - -#define wxBACK_INDEX 0 -#define wxFORE_INDEX 1 -#define wxSELE_INDEX 2 -#define wxTOPS_INDEX 3 -#define wxBOTS_INDEX 4 - #define wxMAX_RGB 0xff #define wxMAX_SV 1000 #define wxSIGN(x) ((x < 0) ? -x : x) @@ -69,5 +57,13 @@ void wxXColorToHSV(wxHSV *hsv,XColor *xcolor); 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); + #endif -// _WX_PRIVATE_H_ +// _WX_PRIVX_H_