fixes of transient popup dialogs, still not perfect, but getting there:

* fixed: popup didn't work when editor didn't have focus
* fixed: dimissal by losing focus didn't repaint dropdown arrows

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1572 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2010-12-30 23:47:36 +00:00
parent 31377629c8
commit 29c0dca669
3 changed files with 10 additions and 7 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ class DropDownList : public wxPopupTransientWindow {
/// Prepare for showing the list
virtual void onShow() {}
/// Do something after hiding the list
virtual void onHide() {}
virtual void OnDismiss();
inline bool isRoot() { return parent_menu == nullptr; }