internal bridge speed

This commit is contained in:
SoftFever 2023-08-10 17:34:51 +08:00
parent bb89336285
commit 89ec02444a
11 changed files with 37 additions and 18 deletions

View file

@ -69,6 +69,8 @@ public:
wxWindow* extra_widget_win {nullptr};
//BBS: add api to get the first option's key
std::string& get_first_option_key() {
if(m_options.empty())
return std::string();
return m_options[0].opt_id;
}