X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/243dbf1a5088be31980df51b97831b52cb6986cd..b5435dccd098ae153c3b7b3b8fca8dd0d763986c:/src/msw/choice.cpp diff --git a/src/msw/choice.cpp b/src/msw/choice.cpp index f92b66426a..f9629adaab 100644 --- a/src/msw/choice.cpp +++ b/src/msw/choice.cpp @@ -251,8 +251,6 @@ wxString wxChoice::GetString(int n) const { wxLogLastError(wxT("SendMessage(CB_GETLBTEXT)")); } - - str.UngetWriteBuf(); } return str; @@ -413,11 +411,6 @@ WXHBRUSH wxChoice::OnCtlColor(WXHDC pDC, WXHWND WXUNUSED(pWnd), WXUINT WXUNUSED( ) { HDC hdc = (HDC)pDC; - if (GetParent()->GetTransparentBackground()) - SetBkMode(hdc, TRANSPARENT); - else - SetBkMode(hdc, OPAQUE); - wxColour colBack = GetBackgroundColour(); if (!IsEnabled())