*** empty log message ***

svn path=/trunk/boinc/; revision=11434
This commit is contained in:
Charlie Fenton 2006-11-01 09:20:05 +00:00
parent b043f38bcb
commit a5c955fa6b
2 changed files with 10 additions and 1 deletions

View File

@ -11941,10 +11941,12 @@ Charlie 1 Nov 2006
- Mac: Work around Simple GUI hang due to bug in Mac version of - Mac: Work around Simple GUI hang due to bug in Mac version of
wxBufferedDC.GetTextExtent(). 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. - Mac: more changes to XCode project to better build Simple GUI.
clientgui/ clientgui/
sg_CustomControls.cpp, .h sg_CustomControls.cpp, .h
sg_DlgMessages.cpp
sg_ViewTabPage.cpp sg_ViewTabPage.cpp
mac_build/ mac_build/
boinc.xcodeproj/ boinc.xcodeproj/

View File

@ -66,6 +66,12 @@ CDlgMessages::CDlgMessages(wxWindow* parent, wxWindowID id, const wxString& titl
SetSize(545,450); 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); m_pList = new CSGUIListCtrl(this, ID_SIMPLE_MESSAGESVIEW, DEFAULT_LIST_MULTI_SEL_FLAGS);
wxASSERT(m_pList); wxASSERT(m_pList);
@ -120,6 +126,7 @@ void CDlgMessages::CreateDialog()
Refresh(); Refresh();
} }
void CDlgMessages::VwXDrawBackImg(wxEraseEvent& event,wxWindow *win,wxBitmap* bitMap,int opz){ void CDlgMessages::VwXDrawBackImg(wxEraseEvent& event,wxWindow *win,wxBitmap* bitMap,int opz){
event.Skip(false);wxDC *dc; event.Skip(false);wxDC *dc;
dc=event.GetDC(); dc=event.GetDC();