--- nono/wx/wxsoftkey.cpp 2026/04/29 17:04:28 1.1 +++ nono/wx/wxsoftkey.cpp 2026/04/29 17:04:33 1.1.1.3 @@ -204,7 +204,7 @@ WXLunaSoftKeyPanel::Draw(wxDC& dc) } SetTextBackColor(bgcolor); - wxString utfstr("右クリックで長押し"); + wxString utfstr(wxT("右クリックで長押し")); const char *sjis = (const char *)utfstr.mb_str(conv); DrawStringSJIS(dc, 190 * unit, 2 * unit, sjis, TA::Disable); } @@ -350,9 +350,7 @@ WXLunaSoftKeyPanel::FindKeydata(uint key } } // 見付からないはずはない - warnx("keycode %d not found", keycode); - assert(true); - __unreachable(); + assertmsg(0, "keycode %d not found", keycode); } // マウス左クリック (Down) イベント