From 84b613d3c0eb3d753a6aa86c1af51024a52c422b Mon Sep 17 00:00:00 2001 From: Volker Ruppert Date: Sun, 23 Jun 2024 19:50:30 +0200 Subject: [PATCH] Compilation fix for wxMSW. --- bochs/gui/wxmain.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bochs/gui/wxmain.cc b/bochs/gui/wxmain.cc index 991c0c55c..fd8099efa 100644 --- a/bochs/gui/wxmain.cc +++ b/bochs/gui/wxmain.cc @@ -1308,7 +1308,7 @@ void MyFrame::SetToolBarBitmap(int id, bool onoff) switch (id) { case ID_Toolbar_Mouse_en: - bitmap = onoff ? mouse_xpm : mouse_dis_xpm; + bitmap = wxBitmap(onoff ? mouse_xpm : mouse_dis_xpm); break; default: return;