add FunctionBase::trigger_htmx_event() with a std::wstring parameter
This commit is contained in:
@@ -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
|
* DEPRACATED
|
||||||
* for backward compatibility
|
* for backward compatibility
|
||||||
|
|||||||
@@ -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, int value);
|
||||||
virtual void trigger_htmx_event(const wchar_t * event_name, long 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 wchar_t * value);
|
||||||
|
virtual void trigger_htmx_event(const wchar_t * event_name, const std::wstring & value);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user