X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8bbe427f8e5a2078b266e282453595b5a634d35c..6cc24024d67eb04ee9da7639c8c6dce40cf644fb:/samples/toolbar/test.h?ds=sidebyside diff --git a/samples/toolbar/test.h b/samples/toolbar/test.h index dcea766cb8..81ad6c421b 100644 --- a/samples/toolbar/test.h +++ b/samples/toolbar/test.h @@ -22,7 +22,7 @@ class MyTimer : public wxTimer public: MyTimer(wxFrame *frame) { m_frame = frame; } - virtual void Notify() { wxLogStatus(m_frame, "Timer arrived!"); } + virtual void Notify() { wxLogStatus(m_frame, _T("Timer arrived!") ); } private: wxFrame *m_frame; @@ -45,9 +45,7 @@ public: private: wxTextCtrl* m_textWindow; - MyTimer m_timer; - -DECLARE_EVENT_TABLE() + DECLARE_EVENT_TABLE() }; #define ID_TOOLBAR 500