class MyApp: public wxApp
{
public:
+ MyApp() { }
+
virtual bool OnInit();
+
+private:
+ DECLARE_NO_COPY_CLASS(MyApp)
};
class MyListCtrl: public wxListCtrl
wxListItemAttr m_attr;
+ DECLARE_NO_COPY_CLASS(MyListCtrl)
DECLARE_EVENT_TABLE()
};
{
public:
MyFrame(const wxChar *title, int x, int y, int w, int h);
- ~MyFrame();
+ virtual ~MyFrame();
+
+ void DoSize();
protected:
void OnSize(wxSizeEvent& event);
wxLog *m_logOld;
+ DECLARE_NO_COPY_CLASS(MyFrame)
DECLARE_EVENT_TABLE()
};