Browse Source

Misc

gh-pages
falkTX 11 years ago
parent
commit
ea86c5bcf5
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      dgl/src/Window.cpp

+ 5
- 2
dgl/src/Window.cpp View File

@@ -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()


Loading…
Cancel
Save