Skip to content

Latest commit

 

History

History
58 lines (38 loc) · 1010 Bytes

File metadata and controls

58 lines (38 loc) · 1010 Bytes

StaticBitmap2

Shows how to create a StaticBitmap widget with wxStaticBitmap.

Source

StaticBitmap2.cpp

CMakeLists.txt

Resources/Logo.png

Output

output

Build and run

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

Windows :

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

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

macOS :

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

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

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

Linux :

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