1 \section{\class{wxNotifyEvent
}}\label{wxnotifyevent
}
3 This class is not used by the event handlers by itself, but is a base class
4 for other event classes (such as
\helpref{wxNotebookEvent
}{wxnotebookevent
}).
6 It (or an object of a derived class) is sent when the controls state is being
7 changed and allows the program to
\helpref{Veto()
}{wxnotifyeventveto
} this
8 change if it wants to prevent it from happening.
10 \wxheading{Derived from
}
12 \helpref{wxCommandEvent
}{wxcommandevent
}\\
13 \helpref{wxEvent
}{wxevent
}\\
14 \helpref{wxEvtHandler
}{wxevthandler
}\\
15 \helpref{wxObject
}{wxobject
}
17 \wxheading{Include files
}
21 \wxheading{Event table macros
}
27 \helpref{wxNotebookEvent
}{wxnotebookevent
}
29 \latexignore{\rtfignore{\wxheading{Members
}}}
31 \membersection{wxNotifyEvent::wxNotifyEvent
}\label{wxnotifyeventconstr
}
33 \func{}{wxNotifyEvent
}{\param{wxEventType
}{ eventType = wxEVT
\_NULL},
\param{int
}{ id =
0}}
35 Constructor (used internally by wxWindows only).
37 \membersection{wxNotifyEvent::IsAllowed
}\label{wxnotifyeventisallowed
}
39 \constfunc{bool
}{IsAllowed
}{\void}
41 Returns TRUE if the change is allowed (
\helpref{Veto()
}{wxnotifyeventveto
}
42 hasn't been called) or FALSE otherwise (if it was).
44 \membersection{wxNotifyEvent::Veto
}\label{wxnotifyeventveto
}
46 \func{void
}{Veto
}{\void}
48 Prevents the change announced by this event from happening.
50 It is in general a good idea to notify the user about the reasons for vetoing
51 the change because otherwise the applications behaviour (which just refuses to
52 do what the user wants) might be quite surprising.