Skip to content

Commit ebd7db4

Browse files
coremail-cyt徐扬斌
authored andcommitted
wxMSW: disable to display gripper while in dark mode.
1 parent 187ce81 commit ebd7db4

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
@@ -261,7 +261,7 @@ void wxDialog::ShowGripper(bool show)
261261
if ( show )
262262
ResizeGripper();
263263

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

267267
void wxDialog::ResizeGripper()

0 commit comments

Comments
 (0)