]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/toolbar/test.h
Added the forgotten file txtstrm.tex
[wxWidgets.git] / samples / toolbar / test.h
index 4f2a12bb79116d1df4f692d5334b3cb3b603c228..81ad6c421b60fde86fbc6287ed13a7826ab3b8e2 100644 (file)
@@ -17,6 +17,17 @@ class MyApp: public wxApp
     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
 {
@@ -34,7 +45,7 @@ public:
 private:
     wxTextCtrl*         m_textWindow;
 
-DECLARE_EVENT_TABLE()
+    DECLARE_EVENT_TABLE()
 };
 
 #define ID_TOOLBAR  500