[gtk+/gtk-2-16] On demand definition of WS_EX_COMPOSITED



commit c93c0546bfdcb5661c03f62944def2dd87bff95f
Author: Hans Breuer <hans breuer org>
Date:   Sun Aug 9 18:46:49 2009 +0200

    On demand definition of WS_EX_COMPOSITED

 gdk/win32/gdkmain-win32.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gdk/win32/gdkmain-win32.c b/gdk/win32/gdkmain-win32.c
index 4d6e0de..891a791 100644
--- a/gdk/win32/gdkmain-win32.c
+++ b/gdk/win32/gdkmain-win32.c
@@ -621,6 +621,9 @@ _gdk_win32_window_exstyle_to_string (LONG style)
   BIT (ACCEPTFILES);
   BIT (APPWINDOW);
   BIT (CLIENTEDGE);
+#ifndef WS_EX_COMPOSITED
+#  define WS_EX_COMPOSITED 0x02000000L
+#endif
   BIT (COMPOSITED);
   BIT (CONTEXTHELP);
   BIT (CONTROLPARENT);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]