Skip to content

Latest commit

 

History

History
58 lines (38 loc) · 1.07 KB

File metadata and controls

58 lines (38 loc) · 1.07 KB

DomainSpinCtrl

Shows how to create a DomainSpinCtrl widget with own wxDomainSpinCtrl (wxPanel with wxTextCtrl and wxSpinButton).

Source

DomainSpinCtrl.cpp

wxDomainSpinCtrl.h

CMakeLists.txt

Output

output

Build and run

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

Windows :

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

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

macOS :

mkdir build && cd build
cmake .. -G "Xcode"
open ./DomainSpinCtrl.xcodeproj

Select DomainSpinCtrl 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 ./DomainSpinCtrl.cbp > /dev/null 2>&1

Select DomainSpinCtrl project and type F9 to build and run it.

Linux :

mkdir build && cd build
cmake .. 
cmake --build . --config Debug
./DomainSpinCtrl