From 0e18d4ac8718414fd6192cc2983b7cd44f5fd28a Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Sun, 27 Feb 2022 16:29:14 +0100 Subject: Improve live engine dialog --- src/game_tab/editor/LiveEngineDialogFB.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game_tab/editor/LiveEngineDialogFB.cpp') diff --git a/src/game_tab/editor/LiveEngineDialogFB.cpp b/src/game_tab/editor/LiveEngineDialogFB.cpp index 03f9435..4d96ed4 100644 --- a/src/game_tab/editor/LiveEngineDialogFB.cpp +++ b/src/game_tab/editor/LiveEngineDialogFB.cpp @@ -30,8 +30,8 @@ LiveEngineDialogFB::LiveEngineDialogFB( wxWindow* parent, wxWindowID id, const w main_sizer->Add( current_engine_sizer, 0, wxEXPAND, 5 ); - lines_list = new wxListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 ); - main_sizer->Add( lines_list, 1, wxALL|wxEXPAND, 5 ); + lines_list = new wxListCtrl( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT ); + main_sizer->Add( lines_list, 0, wxALL|wxEXPAND, 5 ); this->SetSizer( main_sizer ); -- cgit v1.2.3