From 06d8009a574aa604aba79bad836b0ae7f974adf5 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Tue, 16 Apr 2013 16:05:23 -0400 Subject: [PATCH] MGR: Keep the BOINC logo visible in the about dialog box. --- clientgui/DlgAbout.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/clientgui/DlgAbout.cpp b/clientgui/DlgAbout.cpp index 4efd9ecd7d..22a8541d42 100644 --- a/clientgui/DlgAbout.cpp +++ b/clientgui/DlgAbout.cpp @@ -40,6 +40,10 @@ #include "config.h" #endif +////@begin XPM images +#include "res/boinc_logo.xpm" +////@end XPM images + /*! * CDlgAbout type definition @@ -156,7 +160,7 @@ void CDlgAbout::CreateControls() { wxBoxSizer* itemBoxSizer5 = new wxBoxSizer(wxVERTICAL); itemBoxSizer4->Add(itemBoxSizer5, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5); - wxBitmap m_AboutBOINCLogoCtrlBitmap(wxNullBitmap); + wxBitmap m_AboutBOINCLogoCtrlBitmap((const char**)boinc_logo_xpm); m_AboutBOINCLogoCtrl = new wxStaticBitmap; m_AboutBOINCLogoCtrl->Create( itemDialog1, wxID_STATIC, m_AboutBOINCLogoCtrlBitmap, wxDefaultPosition, wxDefaultSize, 0 ); itemBoxSizer5->Add(m_AboutBOINCLogoCtrl, 0, wxALIGN_LEFT|wxALL, 5);