From 5ad2cdec2957609d95bd92fdb551bea28453bd3a Mon Sep 17 00:00:00 2001 From: mrjt Date: Mon, 10 Nov 2008 10:47:47 +0000 Subject: [PATCH] Docking: Compilation fix git-svn-id: svn://ultimatepp.org/upp/trunk@628 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- bazaar/Docking/DockCont.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bazaar/Docking/DockCont.cpp b/bazaar/Docking/DockCont.cpp index 4261ea8a8..205894e57 100644 --- a/bazaar/Docking/DockCont.cpp +++ b/bazaar/Docking/DockCont.cpp @@ -763,7 +763,10 @@ void DockCont::SyncFrames(bool lock) { bool frames = !lock && (IsDocked() || IsAutoHide()); handle.Show(frames); - SetFrame(0, frames ? Single() : NullFrame()); + if (frames) + SetFrame(0, Single()); + else + SetFrame(0, NullFrame()); } DockCont::DockCont()