X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6aa89a22b8e47000c98bff05c6f545f331f1c353..eb2693818cc2985605644e81997ed6e9b5a4d478:/samples/listctrl/listtest.h diff --git a/samples/listctrl/listtest.h b/samples/listctrl/listtest.h index db6eb7cfcf..0fafad7b75 100644 --- a/samples/listctrl/listtest.h +++ b/samples/listctrl/listtest.h @@ -13,7 +13,12 @@ class MyApp: public wxApp { public: + MyApp() { } + virtual bool OnInit(); + +private: + DECLARE_NO_COPY_CLASS(MyApp) }; class MyListCtrl: public wxListCtrl @@ -66,6 +71,7 @@ private: wxListItemAttr m_attr; + DECLARE_NO_COPY_CLASS(MyListCtrl) DECLARE_EVENT_TABLE() }; @@ -127,6 +133,7 @@ private: wxLog *m_logOld; + DECLARE_NO_COPY_CLASS(MyFrame) DECLARE_EVENT_TABLE() };