]> git.saurik.com Git - wxWidgets.git/blame - utils/dialoged/src/edlist.h
Committing in .
[wxWidgets.git] / utils / dialoged / src / edlist.h
CommitLineData
ae8351fc
JS
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
5aa5c1e4
GD
15#include "wx/listctrl.h"
16#include "wx/imaglist.h"
ae8351fc
JS
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();
f6bcfd97 24
ae8351fc
JS
25 // Load icons and add to the list
26 void Initialize();
f6bcfd97 27
ae8351fc
JS
28 // Get selection, or -1
29 long GetSelection() const;
f6bcfd97
BP
30
31 DECLARE_EVENT_TABLE()
32
ae8351fc
JS
33protected:
34 wxImageList m_imageList;
35};
36
37#endif
38