summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-06-16 20:23:31 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-09-28 08:48:31 +0100
commiteb1e793906b26aabb4bd099c2bd8a392139ac5a3 (patch)
tree6b45177389e89cee57ba6d420232944ef2da74ce /tools
parent15eb1c02601d8c7fa135930a3eb3787a24e8b92a (diff)
add and use a "WINDOW_CONTAINER" type
use it instead of dynamic_cast seeing as we already are dragging the window type information around with us
Diffstat (limited to 'tools')
-rw-r--r--tools/inc/tools/wintypes.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/inc/tools/wintypes.hxx b/tools/inc/tools/wintypes.hxx
index 0898cbfb38a1..c1fb936eb0cd 100644
--- a/tools/inc/tools/wintypes.hxx
+++ b/tools/inc/tools/wintypes.hxx
@@ -35,7 +35,7 @@ typedef sal_uInt16 WindowType;
#define WINDOW_WINDOW (WINDOW_FIRST + 0x05)
#define WINDOW_SYSWINDOW (WINDOW_FIRST + 0x06)
#define WINDOW_WORKWINDOW (WINDOW_FIRST + 0x07)
-// #define WINDOW_MDIWINDOW (WINDOW_FIRST + 0x08)
+#define WINDOW_CONTAINER (WINDOW_FIRST + 0x08)
#define WINDOW_FLOATINGWINDOW (WINDOW_FIRST + 0x09)
#define WINDOW_DIALOG (WINDOW_FIRST + 0x0a)
#define WINDOW_MODELESSDIALOG (WINDOW_FIRST + 0x0b)