mirror of https://github.com/BOINC/boinc.git
MGR: Small efficiency tweak for Mac Simple View
This commit is contained in:
parent
1aeb40ed0f
commit
79a9d2740a
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue