diff options
Diffstat (limited to 'include/vcl/layout.hxx')
-rw-r--r-- | include/vcl/layout.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/layout.hxx b/include/vcl/layout.hxx index 3e03ca20c860..1673605373eb 100644 --- a/include/vcl/layout.hxx +++ b/include/vcl/layout.hxx @@ -711,8 +711,8 @@ VCL_DLLPUBLIC bool isLayoutEnabled(const vcl::Window *pWindow); inline bool isContainerWindow(const vcl::Window &rWindow) { WindowType eType = rWindow.GetType(); - return eType == WINDOW_CONTAINER || eType == WINDOW_SCROLLWINDOW || - (eType == WINDOW_DOCKINGWINDOW && ::isLayoutEnabled(&rWindow)); + return eType == WindowType::CONTAINER || eType == WindowType::SCROLLWINDOW || + (eType == WindowType::DOCKINGWINDOW && ::isLayoutEnabled(&rWindow)); } inline bool isContainerWindow(const vcl::Window *pWindow) |