Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 1.13 KB

File metadata and controls

51 lines (37 loc) · 1.13 KB

User control Examples

This folder contains user control examples.

  • DomainSpinCtrl shows how to create a DomainSpinCtrl widget with own wxDomainSpinCtrl (wxPanel with wxTextCtrl and wxSpinButton).
  • Line shows how to create a custom control Line from wxPanel.
  • NumericTextCtrl shows how to create a custom control NumericTextCtrl from wxTextCtrl.

Build and run

To build this project, open "Terminal" and type following lines:

Windows

mkdir build && cd build
cmake ..
start UserControls.sln

Select any project and type Ctrl+F5 to build and run it.

macOS :

mkdir build && cd build
cmake .. -G "Xcode"
open ./UserControls.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 ./UserControls.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