Skip to content

Commit

Permalink
Fix build on FreeBSD 14/stable, clang 17, wx 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rozhuk-im authored and eranif committed Mar 15, 2024
1 parent 703f067 commit 6018c41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugin/clSideBarCtrl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ void clSideBarCtrl::AddTool(const wxString& label, const wxString& bmpname, size
? (IsWindows11DarkMode() ? light_theme_bmp : dark_theme_bmp)
: light_theme_bmp;

auto tool = m_toolbar->AddTool(wxID_ANY, label, bmp, label, wxITEM_CHECK);
auto tool = m_toolbar->AddTool(wxID_ANY, label, wxBitmapBundle(bmp), label, wxITEM_CHECK);
auto tool_id = tool->GetId();
long tool_data_id = AddToolData(clSideBarToolData(bmpname));
TOOL_SET_USER_DATA(tool, tool_data_id);
Expand Down

0 comments on commit 6018c41

Please sign in to comment.