| 180 | } |
| 181 | |
| 182 | std::optional<wxArrayStringEx> WindowEventSerialization( const wxEvent &event ) |
| 183 | { |
| 184 | std::optional< wxArrayStringEx > result; |
| 185 | if ( auto windowName = WindowEventName( event ); !windowName.empty() ) |
| 186 | result.emplace( wxArrayStringEx{ windowName } ); |
| 187 | else |
| 188 | FailedEventSerialization(); |
| 189 | return result; |
| 190 | } |
| 191 | |
| 192 | template<typename Event = wxCommandEvent, typename EventType > |
| 193 | static Type NullaryCommandType( EventType type, const wxString &code ){ |
no test coverage detected