]> git.saurik.com Git - wxWidgets.git/blame_incremental - utils/dialoged/src/edlist.h
added test for HitTest(m_dragPoint) bug to the sample
[wxWidgets.git] / utils / dialoged / src / edlist.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: edlist.h
3// Purpose: Resource editor list of controls
4// Author: Julian Smart
5// Modified by:
6// Created: 04/01/98
7// RCS-ID: $Id$
8// Copyright: (c) Julian Smart
9// Licence: wxWindows license
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _EDLIST_H_
13#define _EDLIST_H_
14
15#include <wx/listctrl.h>
16#include <wx/imaglist.h>
17
18class wxResourceEditorControlList: public wxListCtrl
19{
20public:
21 wxResourceEditorControlList(wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size,
22 long style = wxLC_SMALL_ICON|wxLC_AUTOARRANGE|wxLC_SINGLE_SEL);
23 ~wxResourceEditorControlList();
24
25 // Load icons and add to the list
26 void Initialize();
27
28 // Get selection, or -1
29 long GetSelection() const;
30
31 DECLARE_EVENT_TABLE()
32
33protected:
34 wxImageList m_imageList;
35};
36
37#endif
38