Force disable the native dropdown caret on grid comboctrl's we create
Fix #7212
This commit is contained in:
parent
cb215a0abe
commit
43e93cc801
|
@ -176,6 +176,9 @@ public:
|
||||||
m_preselect( aPreselect )
|
m_preselect( aPreselect )
|
||||||
{
|
{
|
||||||
SetButtonBitmaps( KiBitmap( BITMAPS::small_library ) );
|
SetButtonBitmaps( KiBitmap( BITMAPS::small_library ) );
|
||||||
|
|
||||||
|
// win32 fix, avoids drawing the "native dropdown caret"
|
||||||
|
Customize( wxCC_IFLAG_HAS_NONSTANDARD_BUTTON );
|
||||||
}
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
@ -225,6 +228,9 @@ public:
|
||||||
m_preselect( aPreselect )
|
m_preselect( aPreselect )
|
||||||
{
|
{
|
||||||
SetButtonBitmaps( KiBitmap( BITMAPS::small_library ) );
|
SetButtonBitmaps( KiBitmap( BITMAPS::small_library ) );
|
||||||
|
|
||||||
|
// win32 fix, avoids drawing the "native dropdown caret"
|
||||||
|
Customize( wxCC_IFLAG_HAS_NONSTANDARD_BUTTON );
|
||||||
}
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
@ -280,6 +286,9 @@ public:
|
||||||
m_dlg( aParentDlg )
|
m_dlg( aParentDlg )
|
||||||
{
|
{
|
||||||
SetButtonBitmaps( KiBitmap( BITMAPS::www ) );
|
SetButtonBitmaps( KiBitmap( BITMAPS::www ) );
|
||||||
|
|
||||||
|
// win32 fix, avoids drawing the "native dropdown caret"
|
||||||
|
Customize( wxCC_IFLAG_HAS_NONSTANDARD_BUTTON );
|
||||||
}
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
@ -334,6 +343,9 @@ public:
|
||||||
m_normalizeBasePath( aNormalizeBasePath )
|
m_normalizeBasePath( aNormalizeBasePath )
|
||||||
{
|
{
|
||||||
SetButtonBitmaps( KiBitmap( BITMAPS::small_folder ) );
|
SetButtonBitmaps( KiBitmap( BITMAPS::small_folder ) );
|
||||||
|
|
||||||
|
// win32 fix, avoids drawing the "native dropdown caret"
|
||||||
|
Customize( wxCC_IFLAG_HAS_NONSTANDARD_BUTTON );
|
||||||
}
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
Loading…
Reference in New Issue