wxWidgets Examples
Shows how to use wxWidgets controls only by programming code (c++17).
wxWidgets
- Hello World contains wxWidgets "Hello, World!" examples.
- Applications contains applications examples.
- Dialogs contains dialogs examples.
- Frames contains frames examples.
- Menus and toolbars contains menus and toolbars examples.
- Containers contains containers examples.
- Controls contains common controls examples.
- Book Controls contains book controls examples.
- Picker Controls contains picker controls examples.
- Components contains components examples.
- Printing contains printing examples.
- Events contains events examples.
- Painting contains painting examples.
- Window Docking contains windows docking examples.
- OpenGL contains OpenGL examples.
- User controls contains user controls examples.
- User Dialogs contains user dialogs examples.
- Others contains others examples.
- All contains all examples.
Download
git clone https://github.com/gammasoft71/Examples_wxWidgets Examples_wxWidgets
Build and run
To build this project, open "Terminal" and type following lines:
Windows
mkdir build && cd build
cmake ..
start wxWidgetsExamples.sln
Select any project and type Ctrl+F5 to build and run it.
macOS :
mkdir build && cd build
cmake .. -G "Xcode"
open ./wxWidgetsExamples.xcodeproj
Select any project and type Cmd+R to build and run it.
Linux with Code::Blocks :
mkdir build
cd build
cmake .. -G "CodeBlocks - Unix Makefiles"
xdg-open ./wxWidgetsExamples.cbp > /dev/null 2>&1
Select any project and type F10 to build and run it.
Linux :
mkdir build
cd build
cmake ..
cmake --build . --config Debug
./AnyProject
Remarks
This project run with wxWidgets 3.2 or above and CMake 3.0 or above.