commit ea86c5bcf53b79618f083d6e0954d9ce28b7d4a9
parent 4f34027d957447639bff8e3b8f848d2dbb95a079
Author: falkTX <falktx@gmail.com>
Date: Tue, 24 Dec 2013 07:44:54 +0000
Misc
Diffstat:
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/dgl/src/Window.cpp b/dgl/src/Window.cpp
@@ -480,7 +480,10 @@ public:
assert(fModal.parent != nullptr);
if (fModal.parent == nullptr)
+ {
+ DBG("Failed, there's no modal parent!\n");
return setVisible(true);
+ }
fModal.parent->fModal.childFocus = this;
@@ -500,10 +503,10 @@ public:
UpdateWindow(hwnd);
#endif
+ DBG("Ok\n");
+
fModal.parent->setVisible(true);
setVisible(true);
-
- DBG("Ok\n");
}
void exec_fini()