Skip to content
/ wxWidgetsTemplate Public template

A template project for wxWidgets C++, with pre-set files and IDE projects, and allows for easy updates to wxWidgets

License

Notifications You must be signed in to change notification settings

Ravbug/wxWidgetsTemplate

Repository files navigation

I am no longer updating this.

The most recent versions of wxWidgets has modern CMake support, making this template useless, because CMake can generate IDE projects and makefiles for a variety of platforms automatically. I am keeping it online for historical reasons.

You can view the wxWidgets CMake documentation here: CMake Overview and see my example CMakeLists.txt that handles macOS app bundles and icon files in the following repositories: FatFileFinderCPP, UnityHubNative, MinecraftSoundsExtractor

wxWidgetsTemplate

wxWidgets is an efficient cross-platform GUI library for C++. However, wxWidgets can be quite difficult to set up on all of the supported systems, especially for new users.

This template project addresses the high barrier of entry.

Notable features you get with this template

  • Easily compile versions of your app for Windows, macOS, and Linux, using a single codebase with the preconfigured Xcode, Visual Studio, and Make files.
  • wxFormBuilder integration – build your interface quickly in their fantastic visual editor!
  • Windows High DPI Awareness and helper functions to easily scale your UI to high resolution displays
  • Application icons – simply replace the relevant icon file
  • Dynamic or static link wxWidgets with ease on all supported platforms
  • Portable codebase – the library is contained inside, so no need to install the library to every computer. If you do not want this, you can easily remove the library from the project. More Info

Get Started with this template

To get started using this template with your own code, see the Getting Started guide on the wiki.

Updating the wxWidgets version

Updating the wxWidgets version this project uses is as simple as overwriting the wxWidgets folder with the one for the new version and tweaking some files. See the Updating wxWidgets guide on the Wiki for more information.

Issues

Please report all problems (or suggestions!) in the Issues section of this repository. Make sure to include as many details as possible, or I won't be able to fix it.