]> git.saurik.com Git - wxWidgets.git/blame - samples/artprov/artbrows.h
skip apple options
[wxWidgets.git] / samples / artprov / artbrows.h
CommitLineData
ccb42cc5
VS
1/////////////////////////////////////////////////////////////////////////////
2// Name: artbrows.h
3// Purpose: wxArtProvider demo - art browser dialog
4// Author: Vaclav Slavik
5// Modified by:
6// Created: 2002/04/05
ccb42cc5 7// Copyright: (c) Vaclav Slavik
526954c5 8// Licence: wxWindows licence
ccb42cc5
VS
9/////////////////////////////////////////////////////////////////////////////
10
11#ifndef __ARTBROWS_H__
12#define __ARTBROWS_H__
13
ccb42cc5
VS
14#include "wx/dialog.h"
15#include "wx/artprov.h"
16
ef8dd4a3
PC
17class WXDLLIMPEXP_FWD_CORE wxListCtrl;
18class WXDLLIMPEXP_FWD_CORE wxListEvent;
19class WXDLLIMPEXP_FWD_CORE wxStaticBitmap;
ccb42cc5
VS
20
21class wxArtBrowserDialog : public wxDialog
22{
23public:
24 wxArtBrowserDialog(wxWindow *parent);
25
26 void SetArtClient(const wxArtClient& client);
e53a95bc 27 void SetArtBitmap(const wxArtID& id, const wxArtClient& client, const wxSize& size = wxDefaultSize);
ccb42cc5
VS
28
29private:
30 void OnSelectItem(wxListEvent &event);
31 void OnChooseClient(wxCommandEvent &event);
ef8dd4a3 32
ccb42cc5
VS
33 wxListCtrl *m_list;
34 wxStaticBitmap *m_canvas;
e53a95bc 35 wxStaticText *m_text;
ccb42cc5
VS
36 wxString m_client;
37
38 DECLARE_EVENT_TABLE()
39};
40
41#endif // __ARTBROWS_H__
42