如何在 wxLua 中将 wxTextCtrl 输入发送到 wxListBox?

我很新手 Lua 和 wxWidgets,现在我正在尝试通过按下按钮来将 wxTextCtrl 中的输入显示在 wxListBox 上。如何使用 wxLua 而不是 C++ 实现这个代码?

listPlayers->AppendString(txtUserInput->GetValue())

原文链接 https://stackoverflow.com/questions/69790986

点赞
stackoverflow用户2858170
stackoverflow用户2858170
listPlayers:AppendString(txtUserInput:GetValue())

给自己一个忙,学习 Lua 的基础知识,然后再继续使用 wxLua。

2021-11-01 10:05:46