Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand



Downloads of v 2.9.1:


Last Update:

06 Nov 2014

Package Maintainer(s):

Software Author(s):

  • wxWidgets


c++ wx widgets ui


This is not the latest version of wxWidgets available.

  • 1
  • 2
  • 3

2.9.1 | Updated: 06 Nov 2014



Downloads of v 2.9.1:



Software Author(s):

  • wxWidgets


c++ wx widgets ui

wxWidgets 2.9.1

This is not the latest version of wxWidgets available.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed

Validation Testing Unknown

Verification Testing Unknown

Scan Testing Successful:

No detections found in any package files

Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install wxWidgets, run the following command from the command line or from PowerShell:


To upgrade wxWidgets, run the following command from the command line or from PowerShell:


To uninstall wxWidgets, run the following command from the command line or from PowerShell:


Deployment Method:


This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)

2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade wxwidgets -y --source="'INTERNAL REPO URL'" --version="'2.9.1'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:

choco upgrade wxwidgets -y --source="'INTERNAL REPO URL'" --version="'2.9.1'" 

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0

Exit $exitCode

- name: Install wxwidgets
    name: wxwidgets
    version: '2.9.1'
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

chocolatey_package 'wxwidgets' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '2.9.1'

See docs at https://docs.chef.io/resource_chocolatey_package.html.

cChocoPackageInstaller wxwidgets
    Name     = "wxwidgets"
    Version  = "2.9.1"
    Source   = "INTERNAL REPO URL"

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.

package { 'wxwidgets':
  ensure   => '2.9.1',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.

4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Package Approved

This package was approved by moderator gep13 on 11 Nov 2014.


wxWidgets is a C++ library that lets developers create applications for Windows, Mac OS X, Linux and other platforms with a single code base. It has popular language bindings for Python, Perl, Ruby and many 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.

$packageName = 'wxwidgets' 
$installerType = 'EXE' 
$url = 'http://sourceforge.net/projects/wxwindows/files/2.9.1/wxMSW-2.9.1-Setup.exe/download' 
$silentArgs = '/silent' 
$validExitCodes = @(0) 

Install-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "$url"  -validExitCodes $validExitCodes

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
wxWidgets 3.1.0 962 Thursday, August 18, 2016 Approved
wxWidgets 3.0.2 728 Monday, November 24, 2014 Approved
wxWidgets 3.0.1 473 Tuesday, November 4, 2014 Approved
wxWidgets 2.9.1 477 Thursday, November 6, 2014 Approved


  • wxStandardPaths doesn't use vendor name by default under MSW and OSX to
    remain compatible with 2.8 behaviour but this makes it incompatible with
    2.9.0. Please use UseAppInfo(AppInfo_AppName | AppInfo_VendorName) explicitly
    to use the vendor name in the paths returned by wxStandardPaths.

  • wxDataViewModel::GetAttr() is now const, as it should have been from the very
    beginning. You will need to change it to be const in your derived model
    class too if you override it.


  • Added wxFileSystemWatcher (Bartosz Bekier, Google Summer of Code project).
  • Added wxStd{Input,Output}Stream classes (Jonathan Liu).
  • Include port number in host header in wxHTTP (Marcin 'Malcom' Malich).
  • Added wxTempFile::Flush().
  • Added support for wxLongLong and wxULongLong in wxVariant.
  • Added wxVector::swap().
  • Many wxLog improvements:
  • wxLogXXX() functions are now thread-safe.
  • Log levels can now be set independently for different log components.
  • wxLog::DoLogRecord() has access to the location of the log message
    (file, line and function name) and id of the thread which generated it.
  • SetThreadActiveTarget() allows to set up thread-specific log targets.
  • Fix output buffer overflow in wxBase64Decode() (Eric W. Savage).
  • Added bilinear image resizing algorithm to wxImage (bishop).
  • Fix bug with position argument in wxImage::Size() (Byron Sorgdrager).
  • Added wxImage::ClearAlpha() (Javier Torres).
  • Fix bug with parsing concatenated switches in wxCmdLineParser (Mike Funduc).
  • Added wxMBConv::cMB2WC(wxCharBuffer) and cWC2MB(wxWCharBuffer) overloads.
  • Added wxAny class; a modern, backwards-incompatible replacement for
  • wxDateTime timezone functions now dynamic (no caching).
  • Added wxHttpGetCookie and wxHttpHasCookies (dodge).
  • Added support for unique volume names to wxFileName (Neno Ganchev).
  • Correct bugs when using wxTextInputStream with wxConvAuto (Leon Buikstra).
  • Don't crash when input is empty in wxFileConfig ctor (Lukasz Michalski).
  • Correct wxSocket::Peek() to not block (Anders Larsen).
  • Added IEC and SI units support to GetHumanReadableSize() (Julien Weinzorn).
  • Add convenient wxString::ToStd{String,Wstring}() helpers.
  • Added wxTranslations class to allow localization without changing locale.
    It provides more flexible languages enumeration API as well.
  • Added wxResourceTranslationsLoader for loading translations from Windows
  • Added wxMessageQueue::Clear().
  • Added wxConfig::Read(float *) overload (Terry Farnham).
  • Always use decimal point (and not the current locale separator) in wxConfig.
  • Fix posting of binary data using wxHTTP (Catalin Raceanu).


  • Return signed return code from wxExecute(wxEXEC_SYNC).
  • Allow to use WX_APPNAME_DATA_DIR environment var to override the return value
    of wxStandardPaths::GetDataDir().

All (GUI):

  • Added support for showing bitmaps in wxButton.
  • Added wxInfoBar.
  • Added stretchable spaces support to wxToolBar.
  • Added support for corner, row and column headers renderers to wxGrid.
  • wxWindow::SetAutoLayout() now works for all windows, not just panels.
  • Support wxListCtrl columns, items and image lists in XRC (Kinaou Hervé).
  • Added support for wxFileCtrl to XRC (Kinaou Hervé).
  • Added ownfg, ownbg and ownfont tags to XRC.
  • Added wxEditableListBox XRC handler.
  • Added multiple selection support to wxDirCtrl (Steve Lamerton).
  • wxGrid: add possibility to prevent resizing of individual rows/columns.
  • wxGrid: allow changing the horizontal alignment of numeric cells.
  • wxHTML: add support for table borders width (Laurent Humbertclaude).
  • wxHTML: add limited support for span elements styles (Nigel Paton).
  • Added wxMouseEventsManager.
  • Building OpenGL library is now enabled by default.
  • Fixed wxDataViewCtrl::Set{Foreground,Background}Colour().
  • Added wxDataViewRenderer::EnableEllipsize().
  • Improve wxTreeCtrl::ScrollTo() in generic version (Raanan Barzel).
  • Added wxFont::[Make]{Bold,Italic,Smaller,Larger} and Scaled methods.
  • Added wxDC::CopyAttributes() and use it in wxBufferedDC.
  • Added wxTextWrapper helper class useful for wrapping lines of text.
  • Added EVT_DATAVIEW_CACHE_HINT() event (Trigve).
  • Added wxLB_NO_SB style (implemented for MSW only; Dario Senic).
  • Added long version field to wxAboutDialogInfo (Jeff Tupper).
  • Added wxWindow::CanScroll() behaving like the old HasScrollbar() and made
    HasScrollbar() really check for the scrollbar existence.
  • Added wxKeyEvent::IsKeyInCategory() (Jeff Tupper).
  • Add A0 and A1 paper formats support (Martin Perktold).
  • Fixed wxComboCtrl popup size on Mac (scrollbars were always shown).
  • Fixed wxComboCtrl focus problem on Mac (first-time popup
    dismissed immediately as text control grabbed the focus).
  • wxPropertyGrid: added wxPG_EX_MULTIPLE_SELECTION.
  • wxPropertyGrid: added functions for editing property labels.
  • wxPropertyGrid: many fixes to property validation failure behavior. Added
  • wxPropertyGrid: Added wxPropertyGrid::DedicateKey().
  • wxPropertyGrid: wxArrayStringProperty now uses wxEditableListBox.
  • wxPropertyGrid: Added "Delimiter" attribute for wxArrayStringProperty.
  • wxPropertyGridManager: added wxPG_NO_INTERNAL_BORDER,
    control over borders. Borders around property grid are now native for
  • Added wxPropertyGridManager::ShowHeader().
  • Added wxXmlResource::LoadObjectRecursively().
  • Added wxColour::Set/GetRGB() and Set/GetRGBA() methods (Marcel Haß).
  • wxRTC: added wxRICHTEXT_HANDLER_USE_CSS flag for HTML handler to use CSS
    where possible.
  • wxRTC: corrected centring and right-justification spacing.
  • wxRTC: fixed style selection reset after editing a style.
  • wxRTC: can now edit line spacing in .1 increments from 1 to 2.
  • wxRTC: added PaintAboveContent function for drawing on top of text.
  • Added wxBORDER_THEME to XRC.
  • wxGraphicsContext is now enabled by default if supported by the platform.
  • Fix building with using system libpng 1.4 (Volker Grabsch).
  • Add wxComboBox::Popup() and Dismiss() methods (Igor Korot).
  • Added wxTreeCtrl::SelectChildren() (Nikolay Tiushkov).
  • Show pages icons in window list menu in wxAuiNotebook (Ronny Krüger).
  • Add "initial selection" parameter to wxGetSingleChoice() (Nikolay Tiushkov).
  • Implement wxDocument::Revert() (troelsk).
  • Allow overriding print preview frame creation in docview (troelsk).
  • Added support for gradient stops in wxGraphicsContext (Kit Bishop).
  • Added wxTransparentColour.
  • Added wxToolBar::GetToolByPos().
  • Added wxProgressDialog::Was{Cancelled,Skipped}() (Julien Weinzorn).
  • Added wxTreeCtrl::{Clear,Set}FocusedItem() (Nikolay Tiushkov).
  • Added "filter changed" event to wxFileCtrl (Bill Jones).
  • wxAUI: update floating window position and not only size on resize (MacGyver).
  • Added wxComboCtrl::SetTextCtrlStyle().
  • Also update client data in wxRearrangeList control (John Roberts).
  • Generate more click events in wxGrid when using native header (John Roberts).


  • wxRadioBox constructor uses default consistent with other ports now.
  • Implement wxMask copy ctor.
  • Partially implemented wxTextCtrl::GetStyle() (Igor Romanov).
  • Corrected themed border display.
  • Fix wxClipboard::GetData() for asymmetric wxDataObjects (Timothy Lee).


  • Implement wxWindow::ShowWithEffect() in wxOSX/Cocoa.
  • Correct min/max pages display in the print dialog (Auria).
  • Fix wxDataViewColumn::GetWidth() in Cocoa (Neno Ganchev).


  • Translate wxMessageDialog labels to the language of the current locale.
  • Allow changing the height of wxChoice and wxComboBox.
  • Update CRT environment block in wxSetEnv() too.
  • Fix wxMDIChildFrame::SetSize() (Lars Rosenboom).
  • Fix wxTreeCtrl::UnselectItem() in single selection controls.
  • Allow customizing wxStandardPaths logic for program directory determination.
  • Use time in wxDateTime equivalent to SYSTEMTIME conversion (troelsk).
  • Setting colours for wxSpinCtrl now works.
  • Worked around child window and caret positioning bug (in Windows) when using
    wxBORDER_THEME in a container window.
  • Suppressed spurious character event for decimal key in numeric keypad.
  • Allow to not create wxPaintDC in EVT_PAINT handler.
  • Fix sending of wxEVT_COMMAND_LIST_COL_DRAGGING events in wxListCtrl.
  • Allow putting the UAC symbol on buttons (Chris Spencer).
  • Fix wxTaskBarIcon for older Windows systems (Daniel Wyatt).
  • Fixed wxOwnerDrawnComboBox keyboard handling: drop-down is no longer
    displayed when arrow key is pressed (without Alt).
  • In some rare cases wxOwnerDrawnComboBox drop-down animation could display
    as garbage. This has now been greatly reduced (mcben).
  • Fixed wxComboCtrl::SetButtonPosition() on Vista/Win7.


  • Korean translations added (Sungkee Jung).
  • Romanian translations added (Manuel Ciosici).

This package has no dependencies.

Discussion for the wxWidgets Package

Ground Rules:

  • This discussion is only about wxWidgets and the wxWidgets package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or wxWidgets, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus