mirror of
https://github.com/Open-Shell/Open-Shell-Menu.git
synced 2026-04-11 17:37:22 +10:00
Fix checkboxes in settings dialog with custom themes (#1630)
This commit is contained in:
@@ -979,7 +979,7 @@ void CSettingsManager::ResetSettings( void )
|
||||
HIMAGELIST CSettingsManager::GetImageList( HWND tree )
|
||||
{
|
||||
if (m_ImageList) return m_ImageList;
|
||||
HTHEME theme=OpenThemeData(tree,L"button");
|
||||
HTHEME theme=OpenThemeData(GetParent(tree),L"button");
|
||||
HDC hdc=CreateCompatibleDC(NULL);
|
||||
int iconSize=(TreeView_GetItemHeight(tree)<32)?16:32;
|
||||
int checkSize=16;
|
||||
|
||||
Reference in New Issue
Block a user