#include </home/zeitlin/src/wx/github/interface/wx/dialog.h>
Public Member Functions | |
wxWindowModalDialogEvent (wxEventType commandType=wxEVT_NULL, int id=0) | |
wxDialog * | GetDialog () const |
int | GetReturnCode () const |
virtual wxEvent * | Clone () const |
イベントのコピーを返却します。 |
wxWindowModalDialogEvent::wxWindowModalDialogEvent | ( | wxEventType | commandType = wxEVT_NULL , |
int | id = 0 |
||
) |
virtual wxEvent* wxWindowModalDialogEvent::Clone | ( | ) | const [virtual] |
イベントのコピーを返却します。
Any event that is posted to the wxWidgets event system for later action (via wxEvtHandler::AddPendingEvent, wxEvtHandler::QueueEvent or wxPostEvent()) must implement this method.
All wxWidgets events fully implement this method, but any derived events implemented by the user should also implement this method just in case they (or some event derived from them) are ever posted.
All wxWidgets events implement a copy constructor, so the easiest way of implementing the Clone function is to implement a copy constructor for a new event (call it MyEvent) and then define the Clone function like this:
Implements wxEvent.
wxDialog* wxWindowModalDialogEvent::GetDialog | ( | ) | const |
int wxWindowModalDialogEvent::GetReturnCode | ( | ) | const |