Removed list of modeless windows (apparently no longer needed).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
fc58c6be4e
commit
a66dece0c5
@ -173,10 +173,5 @@ protected:
|
|||||||
DECLARE_EVENT_TABLE()
|
DECLARE_EVENT_TABLE()
|
||||||
}; // end of CLASS wxTopLevelWindowOS2
|
}; // end of CLASS wxTopLevelWindowOS2
|
||||||
|
|
||||||
//
|
|
||||||
// List of all frames and modeless dialogs
|
|
||||||
//
|
|
||||||
extern WXDLLEXPORT_DATA(wxWindowList) wxModelessWindows;
|
|
||||||
|
|
||||||
#endif // _WX_MSW_TOPLEVEL_H_
|
#endif // _WX_MSW_TOPLEVEL_H_
|
||||||
|
|
||||||
|
@ -51,7 +51,6 @@
|
|||||||
// globals
|
// globals
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
extern wxWindowList wxModelessWindows;
|
|
||||||
extern wxList WXDLLEXPORT wxPendingDelete;
|
extern wxList WXDLLEXPORT wxPendingDelete;
|
||||||
|
|
||||||
#if wxUSE_MENUS_NATIVE
|
#if wxUSE_MENUS_NATIVE
|
||||||
@ -142,7 +141,6 @@ bool wxFrame::Create(
|
|||||||
,rsName
|
,rsName
|
||||||
))
|
))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
wxModelessWindows.Append(this);
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
} // end of wxFrame::Create
|
} // end of wxFrame::Create
|
||||||
|
|
||||||
|
@ -52,9 +52,6 @@
|
|||||||
// globals
|
// globals
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
// list of all frames and modeless dialogs
|
|
||||||
wxWindowList wxModelessWindows;
|
|
||||||
|
|
||||||
// the name of the default wxWidgets class
|
// the name of the default wxWidgets class
|
||||||
extern void wxAssociateWinWithHandle( HWND hWnd
|
extern void wxAssociateWinWithHandle( HWND hWnd
|
||||||
,wxWindowOS2* pWin
|
,wxWindowOS2* pWin
|
||||||
@ -643,9 +640,6 @@ bool wxTopLevelWindowOS2::Create(
|
|||||||
|
|
||||||
wxTopLevelWindowOS2::~wxTopLevelWindowOS2()
|
wxTopLevelWindowOS2::~wxTopLevelWindowOS2()
|
||||||
{
|
{
|
||||||
if (wxModelessWindows.Find(this))
|
|
||||||
wxModelessWindows.DeleteObject(this);
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// After destroying an owned window, Windows activates the next top level
|
// After destroying an owned window, Windows activates the next top level
|
||||||
// window in Z order but it may be different from our owner (to reproduce
|
// window in Z order but it may be different from our owner (to reproduce
|
||||||
|
Loading…
Reference in New Issue
Block a user