+
+void wxArtBrowserDialog::SetArtBitmap(const wxArtID& id, const wxArtClient& client, const wxSize& size)
+{
+ wxBitmap bmp = wxArtProvider::GetBitmap(id, client, size);
+ m_canvas->SetSize(bmp.GetWidth(), bmp.GetHeight());
+ m_canvas->SetBitmap(bmp);
+ m_text->SetLabel(wxString::Format(wxT("Size: %d x %d"), bmp.GetWidth(), bmp.GetHeight()));
+ Refresh();
+}