]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/toolbar/test.h
Removed wxNullRegion
[wxWidgets.git] / samples / toolbar / test.h
index 4f2a12bb79116d1df4f692d5334b3cb3b603c228..63da855c3468e90a868e90fca6146136fca73bb3 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, "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