Skip to content
wxWidgets - Cross-Platform GUI Library
Stop Russia agression of Ukraine
Stop the War in Ukraine

wxWidgets is united with the people of Ukraine and the international community.

wxWidgets is a C++ library that lets developers create applications for Windows, macOS, Linux and other platforms with a single code base. It has popular language bindings for Python, Ruby, Lua, Perl and several other languages, and unlike other cross-platform toolkits, wxWidgets gives applications a truly native look and feel because it uses the platform's native API rather than emulating the GUI. It's also extensive, free, open-source and mature.

Latest News

wxWidgets 3.2.8 Released

Posted on

3.2.8 is the latest maintenance release in the stable 3.2 series and is now available on GitHub, from where you can download archives with the library sources and documentation as well as binaries for the selected Windows compilers such as Microsoft Visual C++, MinGW-w64 and TDM-GCC. You can also read the updated documentation for this version online and, in particular, if you’re new to wxWidgets, you may find the installation guide a good starting point.

Changes since 3.2.7

The focus of this release, coming soon after the previous one, is to fix several problems found in 3.2.7:

  • Fix crash in wxPropertyGrid with wxGTK3 after recent change (#25286).
  • Fix padding of wxMenu in high DPI under Windows 11 (#25117).
  • Fix key codes in WXK_NUMPADx events in wxGTK (#25263).
  • Fix ABI breakage for versioned symbols in 3.2.7 (#25327).
  • Fix third party libraries build with Xcode 16.3.
  • Fix using OpenGL and WebView when using CMake install (#25266).

But it still contains a couple of enhancements, including:

  • Add wxVector(std::initializer_list<U> list) constructor (#25290).
  • Add mouse scrolling support to generic wxSpinCtrl (#24935).
  • Add @USER@ macro to HTML and RichText printers (#25318).

Other changes include:

  • Call OnExceptionInMainLoop() in wxGTK if idle event handler throws (#25312).
  • Compute wxStaticText best size ourselves if GTK does it wrongly (#24781).
  • Fix page count display in wxHtmlPrintout when there is only one page ([#25320]).
  • Miscellaneous CMake build improvements (#25324).
  • Fix new warnings with gcc 15 (#25338).
  • Update Brazilian Portuguese translations.

Please see the full change log for more details.

This release is API and ABI-compatible with the previous 3.2.x releases, so the existing applications don’t even need to be rebuilt to profit from all the fixes above if they use shared/dynamic libraries. And if they do need to be recompiled, this can be done without any changes to the code.

Feedback

Please let us know about your experience with this release via any of the following channels:

or by commenting under this post.

Thanks to all contributors to this release and we hope that you will enjoy working with it!

Comments

wxWidgets Book Examples Now Available on GitHub

Posted on

A comprehensive collection of wxWidgets example applications is now available to the community. These applications were originally developed as supplementary material for the Polish book Cross-Platform Programming with C++ and wxWidgets 3 and are now publicly accessible on GitHub in the dedicated repository All example applications are released under the wxWidgets License.

Repository Contents

The repository contains more than 25 example applications, showcasing various wxWidgets functionalities. These include, among others:

  • User interface components and custom controls
  • File handling, logging, and system operations
  • Networking (HTTP, FTP, and Socket communication)
  • Multithreading
  • OpenGL and 3D graphics
  • Developing a custom code editor with wxScintilla

Additionally, some projects demonstrate more advanced features, making them useful for both beginners and experienced developers looking to integrate wxWidgets into their applications.

All the examples were tested on:

  • Windows 11 (Visual Studio 2022, wxWidgets 3.3.x)
  • Linux Mint 22 (wxWidgets 3.2.6)

Each project includes configuration files for Visual Studio, Code::Blocks, and Makefile, ensuring compatibility across different development environments.

All examples have been fully translated into English to support a global audience of developers.

All projects have been re-tested, updated, and adapted to the latest versions of wxWidgets and C++20, ensuring modern compatibility and performance.

The repository also includes the upgrade_wxwidgets.py script, which facilitates both upgrading and adapting projects to any version of the wxWidgets library.

This resource provides an excellent starting point for developers interested in exploring wxWidgets through working examples. Users are encouraged to review the code and adapt it to their own projects.

Comments

wxRuby3 1.0.0 released

Posted on

It’s time! wxRuby3 has reached its 1.0.0 stable release.

This release targets the wxWidgets 3.2.5 release by default, which contains (among many others) quite some fixes which came from the development of wxRuby3, and can be installed from RubyGems or downloaded from Github.

This release is the result of about 1.5 years of development, starting at the abandoned remains of wxRuby2, taking a page out of the wxPython Phoenix book and ending with this release.

wxRuby3 is a cross-platform GUI library for Ruby, based on the mature wxWidgets GUI toolkit for C++. It uses native widgets wherever possible, providing the correct look, feel and behavior to GUI applications on Windows, macOS and Linux/GTK. wxRuby aims to provide a comprehensive solution to developing professional-standard desktop applications in Ruby. wxRuby3 also provides extensive usage documentation at its Wiki as well as a complete API reference.

What has changed in this release?

  • improved documentation
  • support building against wxWidgets GIT master version
  • improved stability
  • add Wx::Overlay and Wx::DCOverlay
  • add 2D affine transformation support
  • add Wx::GraphicsRenderer
  • various DC support improvements
  • add large 2D drawing sample

Full Changelog: https://github.com/mcorino/wxRuby3/compare/v0.9.8…v1.0.0

How to install?

gem install wxruby3

See the INSTALL documentation for more details. Binary packages for major platforms are available as release assets on Github.

Where can I learn more?

Usage Documentation: see the Wiki

API Documentation: see here

Source code: Github

Rubygems: wxRuby3

Where can I provide feedback?

Report problems, bugs, instructions using Github Issues.

Start discussions, submit ideas, feature requests etc. using Github Discussion.

Credits

Thanks go to the dedicated wxWidgets team for providing such a fantastic GUI library to build wxRuby3 on as well as to the wxPython Phoenix team for providing the idea of code generation from the wxWidgets interface docs.

For more credits see here.

Comments

Modern Icon Sets wxArtProvider Released

Posted on

perazz has released wxMaterialDesignArtProvider, a custom wxArtProvider class providing SVG-based icons from the Material Design, SimpleIcons, FontAwesome and FluentUI system datasets. All these datasets come with permissive licenses (MIT, CC BY 4.0, CC0 1.0, Apache 2.0) that should make it easy to embed it in new and existing projects.

All SVG icons are hardcoded into headers such that no external files are needed to build the art provider class. Each dataset belongs to a custom client (so that filled/outline versions can be used for hovering effects) and color customization is provided via a simple regex-based extension.

Hopefully this can be useful to people who want to make their existing wxWidgets applications access modern icon sets with limited effort.

Screenshots of the wxMaterialDesignArtProvider sample browser in macOS and Windows

Comments

MFC Porting Guide

Posted on

Utah C++ Programmers group has released a new video about porting from MFC to wxWidgets accompanied by a gist with a step-by-step guide.

Hopefully this can be useful to people who want to make their existing MFC applications portable or just to switch to a more actively maintained framework.

Comments

News Archive