fixed recent modeless dialog breakage caused by removing wxDIALOG_MODAL (wxModelessWindows list doesn't exist any more; wxDialog::SetModal() and IsModalShowing() deperecated)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-04-21 12:45:16 +00:00
parent a48e51ce11
commit f46f4c86b2
5 changed files with 93 additions and 116 deletions

View File

@@ -62,7 +62,6 @@
// global variables
// ---------------------------------------------------------------------------
extern wxWindowList wxModelessWindows; // from dialog.cpp
extern wxMenu *wxCurrentPopupMenu;
extern const wxChar *wxMDIFrameClassName; // from app.cpp
@@ -223,8 +222,6 @@ bool wxMDIParentFrame::Create(wxWindow *parent,
return false;
}
wxModelessWindows.Append(this);
// unlike (almost?) all other windows, frames are created hidden
m_isShown = false;
@@ -725,8 +722,6 @@ bool wxMDIChildFrame::Create(wxMDIParentFrame *parent,
wxAssociateWinWithHandle((HWND) GetHWND(), this);
wxModelessWindows.Append(this);
return true;
}