Version: 2.9.4
Public Member Functions
wxWindowModalDialogEvent Class Reference

#include </home/zeitlin/src/wx/github/interface/wx/dialog.h>

Inheritance diagram for wxWindowModalDialogEvent:

Public Member Functions

 wxWindowModalDialogEvent (wxEventType commandType=wxEVT_NULL, int id=0)
wxDialogGetDialog () const
int GetReturnCode () const
virtual wxEventClone () const
 イベントのコピーを返却します。

List of all members.


Constructor & Destructor Documentation

wxWindowModalDialogEvent::wxWindowModalDialogEvent ( wxEventType  commandType = wxEVT_NULL,
int  id = 0 
)

Member Function Documentation

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:

        wxEvent *Clone() const { return new MyEvent(*this); }

Implements wxEvent.

wxDialog* wxWindowModalDialogEvent::GetDialog ( ) const
int wxWindowModalDialogEvent::GetReturnCode ( ) const
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines