Skip to content

Latest commit

 

History

History
57 lines (43 loc) · 1.54 KB

README.md

File metadata and controls

57 lines (43 loc) · 1.54 KB

Component Examples

This folder contains component examples.

  • ArtProvider shows how to create a simple ArtProvider component with wxArtProvider.
  • BusyCursor shows how to show or hide wxBusyCursor.
  • Config shows how to create a simple Config component with wxConfig.
  • Config2 shows how to create a simple Config component with wxConfig.
  • Cursor shows how to create a simple Cursor component with wxCursor.
  • ImageList shows how to create a simple ImageList component with wxImageList.
  • RichToolTip shows how to create a RichToolTip widget with wxRichToolTip.
  • Timer shows how to create a simple Timer component with wxTimer.
  • ToolTip shows how to create a ToolTip component.

Build and run

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

Windows

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

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

macOS :

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