home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wxos2233.zip / wxOS2-2_3_3.zip / wxWindows-2.3.3 / samples / artprov / artbrows.h < prev    next >
C/C++ Source or Header  |  2002-09-01  |  1KB  |  46 lines

  1. /////////////////////////////////////////////////////////////////////////////
  2. // Name:        artbrows.h
  3. // Purpose:     wxArtProvider demo - art browser dialog
  4. // Author:      Vaclav Slavik
  5. // Modified by:
  6. // Created:     2002/04/05
  7. // RCS-ID:      $Id: artbrows.h,v 1.2 2002/08/31 22:30:48 GD Exp $
  8. // Copyright:   (c) Vaclav Slavik
  9. // Licence:     wxWindows license
  10. /////////////////////////////////////////////////////////////////////////////
  11.  
  12. #ifndef __ARTBROWS_H__
  13. #define __ARTBROWS_H__
  14.  
  15. #if defined(__GNUG__) && !defined(__APPLE__)
  16. #pragma interface "artbrows.h"
  17. #endif
  18.  
  19. #include "wx/dialog.h"
  20. #include "wx/artprov.h"
  21.  
  22. class WXDLLEXPORT wxListCtrl;
  23. class WXDLLEXPORT wxListEvent;
  24. class WXDLLEXPORT wxStaticBitmap;
  25.  
  26. class wxArtBrowserDialog : public wxDialog
  27. {
  28. public:
  29.     wxArtBrowserDialog(wxWindow *parent);
  30.  
  31.     void SetArtClient(const wxArtClient& client);
  32.  
  33. private:
  34.     void OnSelectItem(wxListEvent &event);
  35.     void OnChooseClient(wxCommandEvent &event);
  36.     
  37.     wxListCtrl *m_list;
  38.     wxStaticBitmap *m_canvas;
  39.     wxString m_client;
  40.  
  41.     DECLARE_EVENT_TABLE()
  42. };
  43.  
  44. #endif // __ARTBROWS_H__
  45.  
  46.