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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user