add FunctionBase::trigger_htmx_event() with a std::wstring parameter

This commit is contained in:
2026-06-21 01:38:45 +02:00
parent 5a92edc6b0
commit e897cfbd14
2 changed files with 7 additions and 0 deletions
+6
View File
@@ -1164,6 +1164,12 @@ void FunctionBase::trigger_htmx_event(const wchar_t * event_name, const wchar_t
}
void FunctionBase::trigger_htmx_event(const wchar_t * event_name, const std::wstring & value)
{
trigger_htmx_event(event_name, value.c_str());
}
/*
* DEPRACATED
* for backward compatibility
+1
View File
@@ -243,6 +243,7 @@ public:
virtual void trigger_htmx_event(const wchar_t * event_name, int value);
virtual void trigger_htmx_event(const wchar_t * event_name, long value);
virtual void trigger_htmx_event(const wchar_t * event_name, const wchar_t * value);
virtual void trigger_htmx_event(const wchar_t * event_name, const std::wstring & value);