Mac SG: Ugly hack for unknown alignment problem on Mac, requested by Kevin Reed

svn path=/trunk/boinc/; revision=13424
This commit is contained in:
Charlie Fenton 2007-08-21 05:04:05 +00:00
parent 9ddaaa89f4
commit 1bae24b1e8
2 changed files with 10 additions and 1 deletions

View File

@ -8026,9 +8026,13 @@ Rom 20 Aug 2007
boinc.bmp
Charlie 20 Aug 2007
Mac SG: Ugly hack for unknown alignment problem on Mac, requested by Kevin
Reed
Mac Uninstaller: Display new image in "Are you sure" dialog showing new
BOINC logo going into the trash for non-English speaking users.
clientgui/
sg_ViewTabPage.cpp
mac_build/
boinc.xcodeproj/
project.pbxproj

View File

@ -320,7 +320,12 @@ void CViewTabPage::UpdateInterface()
void CViewTabPage::CreateSlideShowWindow() {
wSlideShow=new wxWindow(this,-1,wxPoint(26,74),wxSize(290,126),wxNO_BORDER);
#ifdef __WXMAC__
// Ugly hack for unknown alignment problem on Mac, requested by Kevin Reed
m_canvas = new MyCanvas(wSlideShow, wxPoint(0,-22), wxSize(290,148), GetSlideShow());
#else
m_canvas = new MyCanvas(wSlideShow, wxPoint(0,0), wxSize(290,126), GetSlideShow());
#endif
}