MGR: Small efficiency tweak for Mac Simple View

This commit is contained in:
Charlie Fenton 2014-03-17 10:25:01 -07:00
parent 1aeb40ed0f
commit 79a9d2740a
1 changed files with 2 additions and 0 deletions

View File

@ -262,6 +262,8 @@ void CBOINCBitmapComboBox::DrawLargeBitmap(CDrawLargeBitmapEvent&) {
void CBOINCBitmapComboBox::OnPaint(wxPaintEvent& event) { void CBOINCBitmapComboBox::OnPaint(wxPaintEvent& event) {
if (!m_bHaveLargeBitmaps) return;
int x, y; int x, y;
wxPaintDC myDC(this); wxPaintDC myDC(this);
unsigned int i = GetSelection(); unsigned int i = GetSelection();