X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0c6dff03708fdc2d310f412cbc3cb7b705bc943e..364f3b070071ee73e417a3770342d779774288e8:/src/msw/toplevel.cpp diff --git a/src/msw/toplevel.cpp b/src/msw/toplevel.cpp index 1db870f1e8..315d02dea9 100644 --- a/src/msw/toplevel.cpp +++ b/src/msw/toplevel.cpp @@ -1335,18 +1335,6 @@ bool wxTopLevelWindowMSW::CanSetTransparent() return (os_type == wxOS_WINDOWS_NT && ver_major >= 5); } -void wxTopLevelWindowMSW::DoEnable(bool enable) -{ - wxTopLevelWindowBase::DoEnable(enable); - - // Enabling or disabling a window may change its appearance. Unfortunately, - // in at least some situation, toplevel windows don't repaint themselves, - // so we have to issue explicit refresh to avoid rendering artifacts. - // - // TODO: find out just what exactly is wrong here - Refresh(); -} - void wxTopLevelWindowMSW::DoFreeze() { // do nothing: freezing toplevel window causes paint and mouse events