 |
wxMaxima
|
Go to the documentation of this file.
31 #ifndef NOTIFICATION_H
32 #define NOTIFICATION_H
36 #include <wx/notifmsg.h>
40 #define NOTIFI_OVERRIDE override
42 #define NOTIFI_OVERRIDE
58 const wxString &message = {},
59 wxWindow *parent=NULL,
60 int flags=wxICON_INFORMATION);
74 void OnClick(wxCommandEvent &event);
77 #undef NOTIFI_OVERRIDE
~Notification() override
A destructor that also closes the notification.
Definition: Notification.h:62
Definition: Notification.h:51
GroupCell * m_errorNotificationCell
The cell we signal an error for.
Definition: Notification.h:68
void OnClick(wxCommandEvent &event)
Called on clicking at the notification, if the OS supports that.
Definition: Notification.cpp:67
Notification()
A constructor that doesn't take any arguments.
Definition: Notification.cpp:32
wxWindow * GetGroup()
Returns a pointer to the main window or NULL, if no main window is set.
Definition: Notification.h:66
Definition: GroupCell.h:68
void SetGroup(wxWindow *parent)
Informs the notification which the main window is it notified for.
Definition: Notification.cpp:61