Skip to content

Commit 4047d72

Browse files
committed
Fix checkboxes in settings dialog with custom themes (#1630)
1 parent 4b26b4d commit 4047d72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Src/Lib/Settings.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -979,7 +979,7 @@ void CSettingsManager::ResetSettings( void )
979979
HIMAGELIST CSettingsManager::GetImageList( HWND tree )
980980
{
981981
if (m_ImageList) return m_ImageList;
982-
HTHEME theme=OpenThemeData(tree,L"button");
982+
HTHEME theme=OpenThemeData(GetParent(tree),L"button");
983983
HDC hdc=CreateCompatibleDC(NULL);
984984
int iconSize=(TreeView_GetItemHeight(tree)<32)?16:32;
985985
int checkSize=16;

0 commit comments

Comments
 (0)