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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user