Add sample code showing how to create a new wxEvent class

In the event sample, show how create and use a new
wxEvent-derived class.

Closes https://github.com/wxWidgets/wxWidgets/pull/1633
This commit is contained in:
PB
2019-11-02 19:19:39 +01:00
committed by Vadim Zeitlin
parent 785ad3b63b
commit 33da780ecf
12 changed files with 368 additions and 8 deletions

View File

@@ -37,7 +37,8 @@ EVENT_CXXFLAGS = $(__RUNTIME_LIBS_7) -I$(BCCDIR)\include $(__DEBUGINFO) \
$(__DLLFLAG_p) -I.\..\..\samples -DNOPCH $(CPPFLAGS) $(CXXFLAGS)
EVENT_OBJECTS = \
$(OBJS)\event_event.obj \
$(OBJS)\event_gestures.obj
$(OBJS)\event_gestures.obj \
$(OBJS)\event_chessboard.obj
### Conditionally set variables: ###
@@ -241,3 +242,6 @@ $(OBJS)\event_event.obj: .\event.cpp
$(OBJS)\event_gestures.obj: .\gestures.cpp
$(CXX) -q -c -P -o$@ $(EVENT_CXXFLAGS) .\gestures.cpp
$(OBJS)\event_chessboard.obj: .\chessboard.cpp
$(CXX) -q -c -P -o$@ $(EVENT_CXXFLAGS) .\chessboard.cpp