wxCloseEvent
Implements methods from the following classes
wxEvent
Methods
wxCloseEvent
Constructor.
CanVeto
Returns true if you can veto a system shutdown or a window close event.
GetLoggingOff
Returns true if the user is just logging off or false if the system is shutting down.
SetCanVeto
Sets the 'can veto' flag.
SetLoggingOff
Sets the 'logging off' flag.
Veto
Call this from your event handler to veto a system shutdown or to signal to the calling application that a window close did not happen.
Static Methods
wxCloseEvent
wxCloseEvent
(
integer
$commandEventType
=
wxEVT_NULL
,
integer
$id
)
Constructor.
CanVeto
bool
CanVeto
( )
Returns true if you can veto a system shutdown or a window close event.
GetLoggingOff
bool
GetLoggingOff
( )
Returns true if the user is just logging off or false if the system is shutting down.
SetCanVeto
SetCanVeto
(
bool
$canVeto
)
Sets the 'can veto' flag.
SetLoggingOff
SetLoggingOff
(
bool
$loggingOff
)
Sets the 'logging off' flag.
Veto
Veto
(
bool
$veto
=
true
)
Call this from your event handler to veto a system shutdown or to signal to the calling application that a window close did not happen.