X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/289cd4e2dca6beefe137a73c32f43ec3bb8517c4..a685dd314cc5daeb1492a4a57f475df91d6cd126:/contrib/src/gizmos/ledctrl.cpp diff --git a/contrib/src/gizmos/ledctrl.cpp b/contrib/src/gizmos/ledctrl.cpp index 6d946378b7..458af3f4cc 100644 --- a/contrib/src/gizmos/ledctrl.cpp +++ b/contrib/src/gizmos/ledctrl.cpp @@ -2,10 +2,6 @@ // headers // ============================================================================ -#ifdef __GNUG__ - #pragma implementation "wxLEDNumberCtrl.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ @@ -178,7 +174,6 @@ void wxLEDNumberCtrl::OnPaint(wxPaintEvent &WXUNUSED(event)) wxMemoryDC MemDc; MemDc.SelectObject(*pMemoryBitmap); - MemDc.BeginDrawing(); // Draw background. MemDc.SetBrush(wxBrush(GetBackgroundColour(), wxSOLID)); @@ -245,8 +240,6 @@ void wxLEDNumberCtrl::OnPaint(wxPaintEvent &WXUNUSED(event)) } } - MemDc.EndDrawing(); - // Blit the memory dc to screen. Dc.Blit(0, 0, Width, Height, &MemDc, 0, 0, wxCOPY); delete pMemoryBitmap;