bool InitToolbar(wxToolBar* toolBar);
};
+class MyTimer : public wxTimer
+{
+public:
+ MyTimer(wxFrame *frame) { m_frame = frame; }
+
+ virtual void Notify() { wxLogStatus(m_frame, _T("Timer arrived!") ); }
+
+private:
+ wxFrame *m_frame;
+};
+
// Define a new frame
class MyFrame: public wxFrame
{
private:
wxTextCtrl* m_textWindow;
-DECLARE_EVENT_TABLE()
+ DECLARE_EVENT_TABLE()
};
+#define ID_TOOLBAR 500
+