DECLARE_EVENT_TABLE()
}; // end of CLASS wxTopLevelWindowOS2
-//
-// List of all frames and modeless dialogs
-//
-extern WXDLLEXPORT_DATA(wxWindowList) wxModelessWindows;
-
#endif // _WX_MSW_TOPLEVEL_H_
// globals
// ----------------------------------------------------------------------------
-extern wxWindowList wxModelessWindows;
extern wxList WXDLLEXPORT wxPendingDelete;
#if wxUSE_MENUS_NATIVE
,rsName
))
return FALSE;
- wxModelessWindows.Append(this);
return TRUE;
} // end of wxFrame::Create
// globals
// ----------------------------------------------------------------------------
-// list of all frames and modeless dialogs
-wxWindowList wxModelessWindows;
-
// the name of the default wxWidgets class
extern void wxAssociateWinWithHandle( HWND hWnd
,wxWindowOS2* pWin
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