1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxArtProvider demo - art browser dialog
4 // Author: Vaclav Slavik
7 // Copyright: (c) Vaclav Slavik
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef __ARTBROWS_H__
12 #define __ARTBROWS_H__
14 #include "wx/dialog.h"
15 #include "wx/artprov.h"
17 class WXDLLIMPEXP_FWD_CORE wxListCtrl
;
18 class WXDLLIMPEXP_FWD_CORE wxListEvent
;
19 class WXDLLIMPEXP_FWD_CORE wxStaticBitmap
;
21 class wxArtBrowserDialog
: public wxDialog
24 wxArtBrowserDialog(wxWindow
*parent
);
26 void SetArtClient(const wxArtClient
& client
);
27 void SetArtBitmap(const wxArtID
& id
, const wxArtClient
& client
, const wxSize
& size
= wxDefaultSize
);
30 void OnSelectItem(wxListEvent
&event
);
31 void OnChooseClient(wxCommandEvent
&event
);
34 wxStaticBitmap
*m_canvas
;
41 #endif // __ARTBROWS_H__