Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/xwt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Xwt.XamMac/Xwt.Mac/WindowFrameBackend.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xwt.XamMac/Xwt.Mac/WindowFrameBackend.cs b/Xwt.XamMac/Xwt.Mac/WindowFrameBackend.cs
index bfae9ac8..3344bb95 100644
--- a/Xwt.XamMac/Xwt.Mac/WindowFrameBackend.cs
+++ b/Xwt.XamMac/Xwt.Mac/WindowFrameBackend.cs
@@ -104,7 +104,7 @@ namespace Xwt.Mac
}
void TryAddChildWindowIfVisible(NSWindow parentWindow, NSWindow window)
- {
+ {
if (parentWindow != null && Visible)
{
if (!parentWindow.ChildWindows.Contains(window))
@@ -340,7 +340,7 @@ namespace Xwt.Mac
//we try to get the native object from the parameter if not we fallback into the real parent
if (ApplicationContext.Toolkit.GetNativeWindow(parent) is NSWindow nParent && nParent != Window.ParentWindow)
- {
+ {
// remove from the previous parent
if (Window.ParentWindow != null)
Window.ParentWindow.RemoveChildWindow(Window);