X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/45ff6421e6d0327584bb85aeb5bda8be48b6ca5e..a8522481f71a43df96d6322890e9f539c7737993:/include/wx/x11/privx.h diff --git a/include/wx/x11/privx.h b/include/wx/x11/privx.h index a55f980277..5314cda202 100644 --- a/include/wx/x11/privx.h +++ b/include/wx/x11/privx.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) @@ -74,5 +62,8 @@ void wxAllocColor(Display *display,Colormap colormap,XColor *xcolor); wxString wxGetXEventName(XEvent& event); #endif +// Is the window visible? +bool wxWindowIsVisible(Window win); + #endif // _WX_PRIVX_H_