X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/67d947ba89b176c05c7707f44e4381bdef0f21c8..ccdcde00d9ae27ca20ff6c3c9495918a0ec725aa:/src/univ/winuniv.cpp diff --git a/src/univ/winuniv.cpp b/src/univ/winuniv.cpp index f3ab3b3f23..9662665813 100644 --- a/src/univ/winuniv.cpp +++ b/src/univ/winuniv.cpp @@ -111,8 +111,6 @@ void wxWindow::Init() m_oldSize.x = -1; m_oldSize.y = -1; - - m_hasDialogBackground = FALSE; } bool wxWindow::Create(wxWindow *parent, @@ -304,7 +302,7 @@ bool wxWindow::DoDrawBackground(wxDC& dc) void wxWindow::EraseBackground(wxDC& dc, const wxRect& rect) { // TODO: handle bg bitmaps here! - + m_renderer->DrawBackground(dc, wxTHEME_BG_COLOUR(this), rect, GetStateFlags()); }