add more references to the delayed deletion of wxTopLevelWindows

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi 2008-11-25 00:24:58 +00:00
parent 5b4666dfbe
commit 2e4f32d760
3 changed files with 43 additions and 2 deletions

View File

@ -180,8 +180,11 @@ public:
const wxString& name = wxDialogNameStr);
/**
Destructor. Deletes any child windows before deleting the physical
window.
Destructor.
Deletes any child windows before deleting the physical window.
See @ref overview_windowdeletion for more info.
*/
virtual ~wxDialog();

View File

@ -165,6 +165,8 @@ public:
/**
Destructor. Destroys all child windows and menu bar if present.
See @ref overview_windowdeletion for more info.
*/
virtual ~wxFrame();

View File

@ -53,6 +53,42 @@ enum
class wxTopLevelWindow : public wxWindow
{
public:
/**
Default ctor.
*/
wxTopLevelWindow();
/**
Constructor creating the top level window.
*/
wxTopLevelWindow(wxWindow *parent,
wxWindowID winid,
const wxString& title,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxDEFAULT_FRAME_STYLE,
const wxString& name = wxFrameNameStr);
/**
Destructor. Remember that wxTopLevelWindows do not get immediately
destroyed when the user (or the app) closes them; they have a
@b delayed destruction.
See @ref overview_windowdeletion for more info.
*/
virtual ~wxTopLevelWindow();
/**
Creates the top level window.
*/
bool Create(wxWindow *parent,
wxWindowID id,
const wxString& title,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxDEFAULT_FRAME_STYLE,
const wxString& name = wxFrameNameStr);
/**
Returns @true if the platform supports making the window translucent.