1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxArtProvider demo - art browser dialog
4 // Author: Vaclav Slavik
8 // Copyright: (c) Vaclav Slavik
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef __ARTBROWS_H__
13 #define __ARTBROWS_H__
15 #include "wx/dialog.h"
16 #include "wx/artprov.h"
18 class WXDLLIMPEXP_FWD_CORE wxListCtrl
;
19 class WXDLLIMPEXP_FWD_CORE wxListEvent
;
20 class WXDLLIMPEXP_FWD_CORE wxStaticBitmap
;
22 class wxArtBrowserDialog
: public wxDialog
25 wxArtBrowserDialog(wxWindow
*parent
);
27 void SetArtClient(const wxArtClient
& client
);
28 void SetArtBitmap(const wxArtID
& id
, const wxArtClient
& client
, const wxSize
& size
= wxDefaultSize
);
31 void OnSelectItem(wxListEvent
&event
);
32 void OnChooseClient(wxCommandEvent
&event
);
35 wxStaticBitmap
*m_canvas
;
42 #endif // __ARTBROWS_H__