#include #include #include class TaskBarBaloon : public wxFrame { public: TaskBarBaloon(wxString sTitle, wxString sMessage, std::string new_ident=""); virtual ~TaskBarBaloon() { delete timer; } /** painting bg */ void OnPaint(wxPaintEvent& event); /** timer to close window */ void OnTimerTick(wxTimerEvent & event); /** click on the baloon */ void OnClick(wxMouseEvent & event); /** click on the baloon */ void OnEscape(wxKeyEvent & event){}; /** display the baloon and run the timer */ void showBaloon(unsigned int iTimeout); private: wxTimer * timer; std::string new_ident; DECLARE_EVENT_TABLE(); };