#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
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(); }