diff --git a/checkin_notes b/checkin_notes index 69de456742..92f3a5c456 100755 --- a/checkin_notes +++ b/checkin_notes @@ -11940,11 +11940,13 @@ Rom 31 Oct 2006 Charlie 1 Nov 2006 - Mac: Work around Simple GUI hang due to bug in Mac version of wxBufferedDC.GetTextExtent(). - -Mac: Fix transparent text. + - Mac: Fix transparent text. + - Mac: Fix Message dialog background. - Mac: more changes to XCode project to better build Simple GUI. clientgui/ sg_CustomControls.cpp, .h + sg_DlgMessages.cpp sg_ViewTabPage.cpp mac_build/ boinc.xcodeproj/ diff --git a/clientgui/sg_DlgMessages.cpp b/clientgui/sg_DlgMessages.cpp index c278226eb9..194c1f0693 100644 --- a/clientgui/sg_DlgMessages.cpp +++ b/clientgui/sg_DlgMessages.cpp @@ -66,6 +66,12 @@ CDlgMessages::CDlgMessages(wxWindow* parent, wxWindowID id, const wxString& titl SetSize(545,450); } +#ifdef __WXMAC__ + SetSize(544,450); + CSkinSimple* pSkinSimple = wxGetApp().GetSkinManager()->GetSimple(); + new wxStaticBitmap(this, wxID_ANY, *pSkinSimple->GetMessagesDialogBackgroundImage()->GetBitmap()); +#endif + m_pList = new CSGUIListCtrl(this, ID_SIMPLE_MESSAGESVIEW, DEFAULT_LIST_MULTI_SEL_FLAGS); wxASSERT(m_pList); @@ -120,6 +126,7 @@ void CDlgMessages::CreateDialog() Refresh(); } + void CDlgMessages::VwXDrawBackImg(wxEraseEvent& event,wxWindow *win,wxBitmap* bitMap,int opz){ event.Skip(false);wxDC *dc; dc=event.GetDC();