X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b513212d2eab4daacd56606d6c7d489639e3215b..601964ff75f93953dd1f6e4665b9839a8eb72e44:/include/wx/x11/private.h diff --git a/include/wx/x11/private.h b/include/wx/x11/private.h index 541db7b10b..354007c372 100644 --- a/include/wx/x11/private.h +++ b/include/wx/x11/private.h @@ -13,10 +13,14 @@ #define _WX_PRIVATE_H_ #include "wx/defs.h" +#include "wx/utils.h" #include "X11/Xlib.h" +#include "X11/Xatom.h" +#include "X11/Xutil.h" class wxMouseEvent; class wxKeyEvent; +class wxWindow; // ---------------------------------------------------------------------------- // common callbacks @@ -63,11 +67,13 @@ Pixmap XCreateInsensitivePixmap( Display *display, Pixmap pixmap ); extern XColor g_itemColors[]; extern int wxComputeColours (Display *display, wxColour * back, wxColour * fore); -extern void wxDoChangeForegroundColour(WXWidget widget, wxColour& foregroundColour); -extern void wxDoChangeBackgroundColour(WXWidget widget, wxColour& backgroundColour, bool changeArmColour = FALSE); - extern Window wxGetWindowParent(Window window); +// Set the window manager decorations according to the +// given wxWindows style +bool wxSetWMDecorations(Window w, long style); +bool wxMWMIsRunning(Window w); + // For convenience inline Display* wxGlobalDisplay() { return (Display*) wxGetDisplay(); }