X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1efad474fdc991183054287762e93756c5084e6c..f2b79dadee30587a381a675ac386b7cfbb28993d:/src/msw/combo.cpp diff --git a/src/msw/combo.cpp b/src/msw/combo.cpp index 85866cb9eb..762b82eadc 100644 --- a/src/msw/combo.cpp +++ b/src/msw/combo.cpp @@ -388,7 +388,7 @@ void wxComboCtrl::OnPaintEvent( wxPaintEvent& WXUNUSED(event) ) // TODO: Convert drawing in this function to Windows API Code wxSize sz = GetClientSize(); - wxBufferedPaintDC dc(this,GetBufferBitmap(sz)); + wxAutoBufferedPaintDC dc(this); const wxRect& rectb = m_btnArea; wxRect rect = m_tcArea;