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

[XaraXtreme-commits] Commit Complete



Commit by  : alex
Repository : xara
Revision   : 1684
Date       : Wed Aug  9 19:57:53 BST 2006

Changed paths:
   M /Trunk/XaraLX/wxOil/dlgmgr.cpp

Fix r1393 a bit better.


Diff:
Index: Trunk/XaraLX/wxOil/dlgmgr.cpp
===================================================================
--- Trunk/XaraLX/wxOil/dlgmgr.cpp	(revision 1683)
+++ Trunk/XaraLX/wxOil/dlgmgr.cpp	(revision 1684)
@@ -516,6 +516,11 @@
 			pDialogWnd->SetSizerAndFit(pSizer);
 		}
 
+		// Ensure the main frame is shown if the pane is floating, or it can get "behind"
+		// the main frame on wxGTK
+		if (paneinfo.IsFloating() && !CCamFrame::GetFrameManager()->GetManagedWindow()->IsShown())
+			CCamFrame::GetFrameManager()->GetManagedWindow()->Show();
+
 		CCamFrame::GetFrameManager()->AddPane(pDialogWnd, paneinfo);
 
 		CCamFrame::GetMainFrame()->UpdateFrameManager();


Xara