wxWidgets/samples/artprov/artbrows.h
Vadim Zeitlin 526954c596 Globally use "wxWindows licence" consistently.
Use "wxWindows licence" and not "wxWidgets licence" (the latter doesn't
exist) and consistently spell "licence" using British spelling.

See #12165.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-07-13 13:29:13 +00:00

44 lines
1.1 KiB
C++

/////////////////////////////////////////////////////////////////////////////
// Name: artbrows.h
// Purpose: wxArtProvider demo - art browser dialog
// Author: Vaclav Slavik
// Modified by:
// Created: 2002/04/05
// RCS-ID: $Id$
// Copyright: (c) Vaclav Slavik
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __ARTBROWS_H__
#define __ARTBROWS_H__
#include "wx/dialog.h"
#include "wx/artprov.h"
class WXDLLIMPEXP_FWD_CORE wxListCtrl;
class WXDLLIMPEXP_FWD_CORE wxListEvent;
class WXDLLIMPEXP_FWD_CORE wxStaticBitmap;
class wxArtBrowserDialog : public wxDialog
{
public:
wxArtBrowserDialog(wxWindow *parent);
void SetArtClient(const wxArtClient& client);
void SetArtBitmap(const wxArtID& id, const wxArtClient& client, const wxSize& size = wxDefaultSize);
private:
void OnSelectItem(wxListEvent &event);
void OnChooseClient(wxCommandEvent &event);
wxListCtrl *m_list;
wxStaticBitmap *m_canvas;
wxStaticText *m_text;
wxString m_client;
DECLARE_EVENT_TABLE()
};
#endif // __ARTBROWS_H__