Skip to content

gammasoft71/Examples_wxWidgets

Repository files navigation

wxWidgets examples

Shows how to use wxWidgets controls only by programming code (c++17).

wxwidgets

wxBase examples contains wxBase (Console) examples.

wxCore examples contains wxCore (GUI) examples.

wxAUI examples contains wxAUI (Advanced User Interface docking) examples.

wxRichText examples contains wxRichText (Rich Text) examples.

  • Dialogs contains rich text dialogs examples.
  • Controls contains rich text controls examples.

wxWebView examples contains wxWebView (web view) examples.

  • Controls contains web view controls examples.

wxGL examples contains wxGL (Open GL) examples.

  • Controls contains Open GL controls examples.

Download

git clone https://github.com/gammasoft71/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.20 or above.