This folder contains event examples.
- ApplicationIdle shows how to create an application and catch idle event.
- CustomEvent shows how to create a CustomEvent event with wxCommandEvent.
- EvtHandlerFilterEvent shows how to use EvtHandler::FilterEvent method.
- FrameAndEvents shows how to create a Frame and catch some events.
- FrameClick shows how to create a Frame and catch click event.
- FramePaint shows how to create a Frame and catch paint event.
- KeyEvents shows how to create a Frame and catch key events.
- MouseEvents shows how to create a Frame and catch mouse events.
- ProcessEvent shows how to override ProcessEvent method.
To build this project, open "Terminal" and type following lines:
mkdir build && cd build
cmake ..
start Events.sln
Select any project and type Ctrl+F5 to build and run it.
mkdir build && cd build
cmake .. -G "Xcode"
open ./Events.xcodeproj
Select any project and type Cmd+R to build and run it.
mkdir build
cd build
cmake .. -G "CodeBlocks - Unix Makefiles"
xdg-open ./Events.cbp > /dev/null 2>&1
Select any project and type F10 to build and run it.
mkdir build
cd build
cmake ..
cmake --build . --config Debug
./AnyProject