X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/efe23391ab9462d85e35493f4727a1c0a7f69444..88f23fdd8366d57d15cba42d152539ff9ccbdd39:/samples/listctrl/listtest.h diff --git a/samples/listctrl/listtest.h b/samples/listctrl/listtest.h index a887cdb29e..db6eb7cfcf 100644 --- a/samples/listctrl/listtest.h +++ b/samples/listctrl/listtest.h @@ -5,7 +5,7 @@ // Modified by: // Created: 04/01/98 // RCS-ID: $Id$ -// Copyright: (c) Julian Smart and Markus Holzem +// Copyright: (c) Julian Smart // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// @@ -58,6 +58,7 @@ private: void SetColumnImage(int col, int image); void LogEvent(const wxListEvent& event, const wxChar *eventName); + void LogColEvent(const wxListEvent& event, const wxChar *eventName); virtual wxString OnGetItemText(long item, long column) const; virtual int OnGetItemImage(long item) const; @@ -72,13 +73,10 @@ private: class MyFrame: public wxFrame { public: - MyListCtrl *m_listCtrl; - wxTextCtrl *m_logWindow; - MyFrame(const wxChar *title, int x, int y, int w, int h); ~MyFrame(); -public: +protected: void OnSize(wxSizeEvent& event); void OnQuit(wxCommandEvent& event); @@ -113,6 +111,10 @@ public: wxImageList *m_imageListNormal; wxImageList *m_imageListSmall; + wxPanel *m_panel; + MyListCtrl *m_listCtrl; + wxTextCtrl *m_logWindow; + private: // recreate the list control with the new flags void RecreateList(long flags, bool withText = TRUE);