diff --git a/DSView/pv/winnativewidget.cpp b/DSView/pv/winnativewidget.cpp index cbb1423b..718b1503 100644 --- a/DSView/pv/winnativewidget.cpp +++ b/DSView/pv/winnativewidget.cpp @@ -101,7 +101,6 @@ WinNativeWidget::WinNativeWidget(const int x, const int y, const int width, assert(false); } - SetWindowLongW(_hWnd, GWL_STYLE, GetWindowLongW(_hWnd, GWL_STYLE) & ~WS_CAPTION); SetWindowLongPtr(_hWnd, GWLP_USERDATA, reinterpret_cast(this)); SetWindowPos(_hWnd, NULL, 0, 0, 0, 0, SWP_FRAMECHANGED | SWP_NOMOVE | SWP_NOSIZE);