Skip to content

Commit 7338c4d

Browse files
committed
wxMSW: disable to display gripper while in dark mode.
1 parent e05bf55 commit 7338c4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/msw/dialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ void wxDialog::ShowGripper(bool show)
262262
if ( show )
263263
ResizeGripper();
264264

265-
::ShowWindow((HWND)m_hGripper, show ? SW_SHOW : SW_HIDE);
265+
::ShowWindow((HWND)m_hGripper, (show && !wxSystemSettings::GetAppearance().IsDark()) ? SW_SHOW : SW_HIDE);
266266
}
267267

268268
void wxDialog::ResizeGripper()

0 commit comments

Comments
 (0)