From e601902dd5a9f023594fef6a0f4995e59b4d9a0e Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Sat, 26 Feb 2022 20:34:42 +0100 Subject: Improve engine managemen --- src/game_tab/editor/EditorPanelBF.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game_tab/editor/EditorPanelBF.cpp') diff --git a/src/game_tab/editor/EditorPanelBF.cpp b/src/game_tab/editor/EditorPanelBF.cpp index f74ef64..8aac38e 100644 --- a/src/game_tab/editor/EditorPanelBF.cpp +++ b/src/game_tab/editor/EditorPanelBF.cpp @@ -82,7 +82,7 @@ EditorPanelBF::EditorPanelBF( wxWindow* parent, wxWindowID id, const wxPoint& po engine_list_label->Wrap( -1 ); engine_page_sizer->Add( engine_list_label, 0, wxALL, 5 ); - engine_list = new wxListCtrl( engine_page, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_ICON ); + engine_list = new wxListBox( engine_page, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 ); engine_page_sizer->Add( engine_list, 1, wxALL|wxEXPAND, 5 ); analyze_game_button = new wxButton( engine_page, wxID_ANY, wxT("Analyze game"), wxDefaultPosition, wxDefaultSize, 0 ); -- cgit v1.2.3