wxGTK: fix an issue in WIDGET_HOTKEY_LIST ctor.

fixed for wxWidgets 3.0, but still existing in 3.1
This commit is contained in:
jean-pierre charras 2021-01-10 12:52:57 +01:00
parent 067b94c410
commit 1ff2622b3c
1 changed files with 2 additions and 1 deletions

View File

@ -451,8 +451,9 @@ WIDGET_HOTKEY_LIST::WIDGET_HOTKEY_LIST( wxWindow* aParent, HOTKEY_STORE& aHotkey
AppendColumn( _( "Description" ), 900, wxALIGN_LEFT, wxCOL_RESIZABLE | wxCOL_SORTABLE );
#if defined( __WXGTK__ ) && !wxCHECK_VERSION( 3, 1, 0 )
#if defined( __WXGTK__ )// && !wxCHECK_VERSION( 3, 1, 0 )
// Automatic column widths are broken in wxGTK 3.0.x; set min widths to ensure visibility
// They are also broken in wxGTK 3.1.4
wxDataViewCtrl* dv = GetDataView();