// headers
// ============================================================================
-#ifdef __GNUG__
- #pragma implementation "wxLEDNumberCtrl.h"
-#endif
-
#include "wx/wxprec.h"
#ifdef __BORLANDC__
wxMemoryDC MemDc;
MemDc.SelectObject(*pMemoryBitmap);
- MemDc.BeginDrawing();
// Draw background.
MemDc.SetBrush(wxBrush(GetBackgroundColour(), wxSOLID));
}
}
- MemDc.EndDrawing();
-
// Blit the memory dc to screen.
Dc.Blit(0, 0, Width, Height, &MemDc, 0, 0, wxCOPY);
delete pMemoryBitmap;