mirror of https://github.com/BOINC/boinc.git
MGR: Work around long-standing cosmetic bug in SimpleGUI with newer versions of wxwidgets.
svn path=/trunk/boinc/; revision=14400
This commit is contained in:
parent
2f3d70a228
commit
20a87d0d37
|
@ -510,6 +510,13 @@ CSkinSimple* pSkinSimple = wxGetApp().GetSkinManager()->GetSimple();
|
|||
wxASSERT(wxDynamicCast(pSkinSimple, CSkinSimple));
|
||||
|
||||
wxLogTrace(wxT("Function Start/End"), wxT("CViewTabPage::DrawText - Begin"));
|
||||
|
||||
#if wxCHECK_VERSION(2,8,0)
|
||||
// Workaround for unknown problem with newer versions of wxWidgets
|
||||
// At this point, the size of the panel has been reduced to 336,300
|
||||
this->SetSize(343,314);
|
||||
#endif
|
||||
|
||||
#if (defined(__WXMAC__) && (! wxCHECK_VERSION(2,8,0)))
|
||||
// wxBufferedDC.GetTextExtent() fails with wxMac-2.6.3, causing Manager to hang
|
||||
wxClientDC dc(this);
|
||||
|
|
Loading…
Reference in New Issue