X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0c6dff03708fdc2d310f412cbc3cb7b705bc943e..96c9640205933ad0673d5af2c96af0816c50160c:/src/msw/toplevel.cpp?ds=sidebyside 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