X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ccb42cc5c8fae331899b71a6ac1c2c039789ab24..3c01c5951189e13b8b4a5d7b288b54d4a57a30f8:/samples/artprov/artbrows.h?ds=sidebyside diff --git a/samples/artprov/artbrows.h b/samples/artprov/artbrows.h index 2494a6ea34..199a31fa40 100644 --- a/samples/artprov/artbrows.h +++ b/samples/artprov/artbrows.h @@ -12,16 +12,12 @@ #ifndef __ARTBROWS_H__ #define __ARTBROWS_H__ -#ifdef __GNUG__ -#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()