wxWindowCreate/DestroyEvent now derive from wxCommandEvent

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-04-08 21:55:02 +00:00
parent 82f640ebc2
commit cacdec1b9c
2 changed files with 2 additions and 4 deletions

View File

@@ -524,14 +524,12 @@ void wxQueryNewPaletteEvent::CopyObject(wxObject& obj_d) const
}
wxWindowCreateEvent::wxWindowCreateEvent(wxWindow *win)
: wxEvent()
{
SetEventType(wxEVT_CREATE);
SetEventObject(win);
}
wxWindowDestroyEvent::wxWindowDestroyEvent(wxWindow *win)
: wxEvent()
{
SetEventType(wxEVT_DESTROY);
SetEventObject(win);