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

@@ -31,7 +31,8 @@ EVENT_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(__THREADSFLAG) \
EVENT_OBJECTS = \
$(OBJS)\event_sample_rc.o \
$(OBJS)\event_event.o \
$(OBJS)\event_gestures.o
$(OBJS)\event_gestures.o \
$(OBJS)\event_chessboard.o
### Conditionally set variables: ###
@@ -233,6 +234,9 @@ $(OBJS)\event_event.o: ./event.cpp
$(OBJS)\event_gestures.o: ./gestures.cpp
$(CXX) -c -o $@ $(EVENT_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\event_chessboard.o: ./chessboard.cpp
$(CXX) -c -o $@ $(EVENT_CXXFLAGS) $(CPPDEPS) $<
.PHONY: all clean