Fix drop-down-too-narrow-on-first-drop bug.
This commit is contained in:
parent
69d58d39e5
commit
f0aa6aa442
|
@ -87,6 +87,9 @@ void GRID_CELL_COMBOBOX::BeginEdit( int aRow, int aCol, wxGrid* aGrid )
|
|||
|
||||
Combo()->SetFocus();
|
||||
|
||||
// Work around a wxWidgets bug where the drop-down is the wrong width on the first drop.
|
||||
Combo()->Set( Combo()->GetStrings() );
|
||||
|
||||
#ifdef __WXOSX_COCOA__
|
||||
// This is a work around for the combobox being simply dismissed when a
|
||||
// choice is made in it under OS X. The bug is almost certainly due to a
|
||||
|
|
Loading…
Reference in New Issue