]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/artprov/artbrows.h
Extract compiler-specific macro definitions in a new wx/compiler.h.
[wxWidgets.git] / samples / artprov / artbrows.h
index 40bca1ec81e0ce0bafb568c5cde3e34025120f5a..060d54ddc5cfafdba52fd27967ed29f9f7114d22 100644 (file)
@@ -6,22 +6,18 @@
 // Created:     2002/04/05
 // RCS-ID:      $Id$
 // Copyright:   (c) Vaclav Slavik
-// Licence:     wxWindows license
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef __ARTBROWS_H__
 #define __ARTBROWS_H__
 
-#if defined(__GNUG__) && !defined(__APPLE__)
-#pragma interface "artbrows.h"
-#endif
-
 #include "wx/dialog.h"
 #include "wx/artprov.h"
 
-class WXDLLEXPORT wxListCtrl;
-class WXDLLEXPORT wxListEvent;
-class WXDLLEXPORT wxStaticBitmap;
+class WXDLLIMPEXP_FWD_CORE wxListCtrl;
+class WXDLLIMPEXP_FWD_CORE wxListEvent;
+class WXDLLIMPEXP_FWD_CORE wxStaticBitmap;
 
 class wxArtBrowserDialog : public wxDialog
 {
@@ -29,13 +25,15 @@ 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()