Force disable the native dropdown caret on grid comboctrl's we create

Fix #7212
This commit is contained in:
Marek Roszko 2021-04-14 22:54:40 -04:00
parent cb215a0abe
commit 43e93cc801
1 changed files with 12 additions and 0 deletions

View File

@ -176,6 +176,9 @@ public:
m_preselect( aPreselect )
{
SetButtonBitmaps( KiBitmap( BITMAPS::small_library ) );
// win32 fix, avoids drawing the "native dropdown caret"
Customize( wxCC_IFLAG_HAS_NONSTANDARD_BUTTON );
}
protected:
@ -225,6 +228,9 @@ public:
m_preselect( aPreselect )
{
SetButtonBitmaps( KiBitmap( BITMAPS::small_library ) );
// win32 fix, avoids drawing the "native dropdown caret"
Customize( wxCC_IFLAG_HAS_NONSTANDARD_BUTTON );
}
protected:
@ -280,6 +286,9 @@ public:
m_dlg( aParentDlg )
{
SetButtonBitmaps( KiBitmap( BITMAPS::www ) );
// win32 fix, avoids drawing the "native dropdown caret"
Customize( wxCC_IFLAG_HAS_NONSTANDARD_BUTTON );
}
protected:
@ -334,6 +343,9 @@ public:
m_normalizeBasePath( aNormalizeBasePath )
{
SetButtonBitmaps( KiBitmap( BITMAPS::small_folder ) );
// win32 fix, avoids drawing the "native dropdown caret"
Customize( wxCC_IFLAG_HAS_NONSTANDARD_BUTTON );
}
protected: