git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30093
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
DECLARE_EVENT_TABLE()
}; // end of CLASS wxTopLevelWindowOS2
DECLARE_EVENT_TABLE()
}; // 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_
// globals
// ----------------------------------------------------------------------------
// globals
// ----------------------------------------------------------------------------
-extern wxWindowList wxModelessWindows;
extern wxList WXDLLEXPORT wxPendingDelete;
#if wxUSE_MENUS_NATIVE
extern wxList WXDLLEXPORT wxPendingDelete;
#if wxUSE_MENUS_NATIVE
- wxModelessWindows.Append(this);
return TRUE;
} // end of wxFrame::Create
return TRUE;
} // end of wxFrame::Create
// globals
// ----------------------------------------------------------------------------
// globals
// ----------------------------------------------------------------------------
-// list of all frames and modeless dialogs
-wxWindowList wxModelessWindows;
-
// the name of the default wxWidgets class
extern void wxAssociateWinWithHandle( HWND hWnd
,wxWindowOS2* pWin
// the name of the default wxWidgets class
extern void wxAssociateWinWithHandle( HWND hWnd
,wxWindowOS2* pWin
wxTopLevelWindowOS2::~wxTopLevelWindowOS2()
{
wxTopLevelWindowOS2::~wxTopLevelWindowOS2()
{
- if (wxModelessWindows.Find(this))
- wxModelessWindows.DeleteObject(this);
-
//
// 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
//
// 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