summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2014-05-31 00:44:48 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2014-05-31 03:04:45 +1000
commitc4f425e691ba4a0757bea6792d02ae92a2975832 (patch)
treef3c1144b51e143823260e4ec09a97898f2ec788e
parent24d8bcc763b550d8da0e0a6b9f5c3b4113662b5c (diff)
vcl: make Window::Show() if statement a little easier to read
Change-Id: I3b4d88f8e0a2f378878f29fbf799b795018b18b3
-rw-r--r--vcl/source/window/window.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index e04652af8b35..a3146d965c19 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -2338,7 +2338,9 @@ void Window::Show( bool bVisible, sal_uInt16 nFlags )
// eg, the drop down of a combobox which is a system floating window
if( mpWindowImpl->mbFrame && GetParent() && GetParent()->IsCompoundControl() &&
GetParent()->IsNativeWidgetEnabled() != IsNativeWidgetEnabled() )
+ {
EnableNativeWidget( GetParent()->IsNativeWidgetEnabled() );
+ }
if ( mpWindowImpl->mbCallMove )
{