Skip to content

Commit eb94f40

Browse files
authored
Merge pull request c-smile#165 from CaptainApollo/patch-1
VS2005 build fix
2 parents c7a15fc + 1b83476 commit eb94f40

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/sciter-x-behavior.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,11 @@ typedef BOOL SC_CALLBACK SciterBehaviorFactory( LPCSTR, HELEMENT, LPElementEvent
647647
// event handler can be attached to the element as a "behavior" (see below)
648648
// or by sciter::dom::element::attach( event_handler* eh )
649649

650+
#ifdef CPP11
650651
struct event_handler : public sciter::om::asset<event_handler>
652+
#else
653+
struct event_handler
654+
#endif
651655
{
652656
event_handler() // EVENT_GROUPS flags
653657
{

0 commit comments

Comments
 (0)