Template:Primary sources

Orijinol òŧā Julian Smart[1][2][3]
Divelopen bai Various developers and contributors[4]
Iniçiol rīlīs 1992n; 24 nin jiqín (1992)[5]
Divelopmènt steitùs Active
Wraiten in C++
Opèreitiŋ sistèm Cross-platform
Taip Development library
Laisèns wxWindows Licence

wxWidgets (/wiksˈwiits/ "wix-widgets", formerly wxWindows) wa widget toolkit and tools library for creating graphical user interfaces (GUIs) for cross-platform applications.

wxWidgets-wa softwär laibrari yusen in Linuks dè divelopmènt. Jigùm-wa hosten à GitHub.

Leitest dè wxWidgets vörçion wa 3.1.1. Nigè softwär wa rīkwairen für rīkompailiŋ Audacity.

wxWidgets enables a program's GUI code to compile and run on several computer platforms with minimal or no code changes. A wide choice of compilers and other tools to use with wxWidgets facilitates development of sophisticated applications.[6] wxWidgets supports a comprehensive range of popular operating systems and graphical libraries, both proprietary and non-proprietary, and is widely deployed in prominent organizations (see text).

The project was started under the name wxWindows in 1992 by Julian Smart at the University of Edinburgh.[1] The project was renamed wxWidgets in 2004 in response to a trademark claim by Microsoft UK.

It is free and open source software, distributed under the terms of the wxWidgets Licence, which satisfies those who wish to produce for GPL and proprietary software.[7]

Portability and deploymentEdit

wxWidgets covers systems such as Microsoft Windows, macOS (Carbon and Cocoa), iOS (Cocoa Touch), Linux/Unix (X11, Motif, and GTK+), OpenVMS, OS/2 and AmigaOS. A version for embedded systems is under development.[8]

wxWidgets is used across many industry sectors, most notably by Xerox, Advanced Micro Devices (AMD), Lockheed Martin, NASA and the Center for Naval Analyses. It is also used in the public sector and education by, for example, Dartmouth Medical School, National Human Genome Research Institute, National Center for Biotechnology Information, and many others.[6] wxWidgets is used in many open source projects,[9] and by individual developers.


wxWidgets (initially wxWindows) was started in 1992 by Julian Smart at the University of Edinburgh.[1] He attained an honours degree in Computational science from the University of St Andrews in 1986, and is still a core developer.[2]

On February 20, 2004, the developers of wxWindows announced that the project was changing its name to wxWidgets, as a result of Microsoft requesting Julian Smart to respect Microsoft's United Kingdom trademark of the term Windows.[10]

Major release versions were 2.4 on 6 January 2003, 2.6 on 21 April 2005 and 2.8.0 on 14 December 2006. Version 3.0 was released on 11 November 2013.

wxWidgets has participated in the Google Summer of Code since 2006.[11][12]

The following table contains the release history of wxWidgets, showing all of its major release versions.

Version number Date Notable changes
Project started by Julian Smart 1992[13]
wxWindows 1
Alpha 1 5 April 1997[14]
Beta 1 24 December 1998[14]
wxWidgets 2
2.0.1 1 March 1999[14]
2.2.0 9 July 2000[15]
2.4.0 6 January 2003[15]
2.6.0 21 April 2005[15]
2.8.0 14 December 2006[16]
  • wxAUI library.
  • Generic wxRichTextCtrl.
  • wxComboCtrl with custom, graphical comboboxes.
  • Further functionality including wxAnimationCtrl, wxSimpleHtmlListBox, wxHyperlinkCtrl, wxColourPickerCtrl, wxDirPickerCtrl, wxFilePickerCtrl, wxFontPickerCtrl, wxCollapsiblePane, wxSearchCtrl, wxAboutBox, wxTreebook, tar streams.
wxWidgets 3
3.0 11 November 2013[14]
  • GTK+ 3 port
  • Transparent Unicode support
  • Unification of debug-release builds
  • Cocoa-based wxOSX port running in 64-bit mode
  • PersistentControls
  • Support for window-modal and application-modal dialogs
  • wxRibbon – ribbon implementation
  • wxPropertyGrid
3.1.0 29 February 2016
  • Better support for high DPI displays, especially under Windows.
  • Support for latest compilers including MSVS 2015, g++ 5.3 and clang 3.8, including in C++11 mode.
  • Revamped OpenGL support better suited to modern OpenGL (3.2+).
  • New wxActivityIndicator and wxNativeWindow classes.
  • Improvements to wxNotificationMessage.
  • Several new methods such as wxTextEntry::ForceUpper(), wxProcess::Activate(), wxDateTime::GetWeekBasedYear(), wxListBox::GetTopItem(), wxStandardPaths::GetUserDir(), wxUIActionSimulator::Select().
  • Updated versions of the bundled third party libraries and support for GStreamer 1.0 under Unix.
  • New experimental wxQt port.
  • Bug fixes.
Future versions
3.2 [17]
  • Drop Win9x platform support.
  • Drop Microsoft Visual C++ 6.0 support.


Template:Further2 Template:Infobox software license wxWidgets is distributed under a custom made wxWindows Licence, similar to the GNU Lesser General Public License (LGPL), with an exception stating that derived works in binary form may be distributed on the user's own terms.[7] This license is a free software license approved by the FSF,[18] making wxWidgets free software. It has been approved by the Open Source Initiative (OSI).[19]

Official supportEdit

Supported platformsEdit

wxWidgets is supported on the following platforms.[20][21]

  • Windows – wxMSW (32/64-bits Windows XP up to Windows 10)
  • Linux/Unix wxGTK, wxX11, wxMotif
  • macOS – wxMac (Mac OS X 10.3 using Carbon, Mac OS X 10.5 using Cocoa), wxOSX/Cocoa(32/64-bits Mac OS X 10.7 or later)
  • OS/2 – wxOS2, wxPM, wxWidgets for GTK+ or Motif can be compiled on OS/2
  • Embedded platforms – wxEmbedded®[8]

External portsEdit

  • Amiga – wxWidgets-AOS: AmigaOS port (Work In Progress)[22]

Supported compilersEdit

Template:See also2 wxWidgets is officially confirmed to work properly with the following compilers.[23]

Toolkit Compiler Version
wxMSW Microsoft Visual Studio – Visual C++ 5.0+
Borland C++ 5.5+
C++Builder 2006+
Watcom C++, OpenWatcom 10.6+
CodeWarrior 7+
Cygwin 1.5+
MinGW 2.0+
Digital Mars C/C++ compiler 8.40+
wxGTK g++ 2.95+
Clang++ 3.3+
Intel C++ Compiler 9.1+
Sun Studio C/C++ 5.9
HP aC++ 3.8
IBM XL C/C++ 8.0

Programming language bindingsEdit

Template:Main article


The wxWidgets library is implemented in C++, with bindings available for many commonly used programming languages.[24]

wxWidgets is best described as a native mode toolkit as it provides a thin abstraction to a platform's native widgets, contrary to emulating the display of widgets using graphic primitives. Calling a native widget on the target platform results in a more native looking interface than toolkits such as Swing (for Java), as well as offering performance and other benefits.[25]

The toolkit is also not restricted to GUI development, having an inter-process communication layer, socket networking functionality, and more.

RAD tools and IDEs for wxWidgetsEdit


There are many Rapid Application Development (RAD) and Integrated Development Environment (IDE) tools available, among them:[26][27]

Applications built using wxWidgetsEdit

File:Amaya inuse.png

Template:See also2 Notable applications that use wxWidgets:


Päkeijs tu instol[28][29]:

$ sudo apt-get install libwxgtk2.8-dev libwxgtk2.8-dbg


  • libwxbase2.8-dbg
  • libwxbase2.8-dev
  • wx-common
  • wx2.8-headers


  • wx2.8-doc
  • xlibmesa-glu-dev
  • libglu-dev


  1. libwxbase2.8-dbg
  2. libwxbase2.8-dev
  3. libwxgtk2.8-dbg
  4. libwxgtk2.8-dev
  5. wx-common
  6. wx2.8-headers
升級 0 個,新安裝 6 個,移除 0 個,有 3 個未被升級。
需要下載 21.0 MB 的套件檔。
此操作完成之後,會多佔用 113 MB 的磁碟空間。
Do you want to continue? [Y/n] y


  1. 下載: utopic/universe wx2.8-headers amd64 [1,022 kB]
  2. 下載: utopic/universe libwxbase2.8-dbg amd64 [2,911 kB]
  3. 下載: utopic/universe libwxgtk2.8-dbg amd64 [17.0 MB]
  4. 下載: utopic/universe libwxbase2.8-dev amd64 [25.5 kB]
  5. 下載: utopic/universe wx-common amd64 3.0.1-3 [64.6 kB]
  6. 下載: utopic/universe libwxgtk2.8-dev amd64 [25.7 kB]

取得 21.0 MB 用了 36秒 (569 kB/s)


(讀取資料庫 ... 目前共安裝了 741899 個檔案和目錄。)

選取了原先未選的套件 wx2.8-headers。
準備解開 .../wx2.8-headers_2.8.12.1+dfsg2-2ubuntu1_amd64.deb ...
解開 wx2.8-headers ( 中...
選取了原先未選的套件 libwxbase2.8-dbg。
準備解開 .../libwxbase2.8-dbg_2.8.12.1+dfsg2-2ubuntu1_amd64.deb ...
解開 libwxbase2.8-dbg ( 中...
選取了原先未選的套件 libwxgtk2.8-dbg。
準備解開 .../libwxgtk2.8-dbg_2.8.12.1+dfsg2-2ubuntu1_amd64.deb ...
解開 libwxgtk2.8-dbg ( 中...
選取了原先未選的套件 libwxbase2.8-dev。
準備解開 .../libwxbase2.8-dev_2.8.12.1+dfsg2-2ubuntu1_amd64.deb ...
解開 libwxbase2.8-dev ( 中...
選取了原先未選的套件 wx-common。
準備解開 .../wx-common_3.0.1-3_amd64.deb ...
解開 wx-common (3.0.1-3) 中...
選取了原先未選的套件 libwxgtk2.8-dev。
準備解開 .../libwxgtk2.8-dev_2.8.12.1+dfsg2-2ubuntu1_amd64.deb ...
解開 libwxgtk2.8-dev ( 中...


Processing triggers for man-db ( ...
設定 wx2.8-headers ( ...
設定 libwxbase2.8-dbg ( ...
update-alternatives: 以 /usr/lib/x86_64-linux-gnu/wx/config/base-unicode-debug-2.8 提供 自動模式 中的 /usr/bin/wx-config (wx-config)
設定 libwxgtk2.8-dbg ( ...
update-alternatives: 以 /usr/lib/x86_64-linux-gnu/wx/config/gtk2-unicode-debug-2.8 提供 自動模式 中的 /usr/bin/wx-config (wx-config)
設定 libwxbase2.8-dev ( ...
update-alternatives: 以 /usr/lib/x86_64-linux-gnu/wx/config/base-unicode-release-2.8 提供 自動模式 中的 /usr/bin/wx-config (wx-config)
設定 wx-common (3.0.1-3) ...
設定 libwxgtk2.8-dev ( ...
update-alternatives: 以 /usr/lib/x86_64-linux-gnu/wx/config/gtk2-unicode-release-2.8 提供 自動模式 中的 /usr/bin/wx-config (wx-config)
Processing triggers for libc-bin (2.19-10ubuntu2.3) ...


Si osouEdit

  • FLTK – a light, cross platform, non-native widget toolkit
  • FOX toolkit – a fast, open source, cross-platform widget toolkit
  • GTK+ – the GIMP toolkit, a widget toolkit used by GNOME applications
  • gtkmm – C++ version of GTK+
  • Juce – an extensive cross-platform widget toolkit
  • IUP – a multi-platform toolkit for building native graphical user interfaces
  • Qt (toolkit) – an application framework used by KDE applications
  • Ultimate++ - a C++ cross-platform development framework
  • Widget toolkit
  • List of widget toolkits


  1. 1.0 1.1 1.2 "About the wxWidgets Project". Ritrīven on 2010-01-02. 
  2. 2.0 2.1 "About Julian Smart,". 1964-03-27. Ritrīven on 2009-06-08. 
  3. "Julian Smart". Ritrīven on 2009-06-08. 
  4. wxWidgets developers and contributors
  5. History - wxWidgets
  6. 6.0 6.1 "About Who uses wxWidgets?". Ritrīven on 2011-04-12. 
  7. 7.0 7.1 ""License" page on website". "The wxWindows Licence is essentially the LGPL, with an exception stating that derived works in binary form may be distributed on the user's own terms." 
  8. 8.0 8.1 "wxEmbedded®: wxWidgets for embedded applications". 
  9. "List of open source applications that uses wxWidgets". Ritrīven on 2011-04-22. 
  10. Smart, Julian (August 2004). "Name change". Ritrīven on 2007-04-23. 
  11. Smart, Julian (2006-10-10). "Google Summer of Code 2006: wxWidgets projects summary". Ritrīven on 2011-04-11. 
  12. "Google Summer of Code 2006". Ritrīven on 2011-04-11. 
  13. "History of wxWidgets". Ritrīven on 2011-04-11. 
  14. 14.0 14.1 14.2 14.3 "wxWidgets Change Log". Ritrīven on 2011-04-11. 
  15. 15.0 15.1 15.2 "News". Ritrīven on 2011-04-11. 
  16. Sudiarto Raharjo, Willy (2006-12-14). "WxWidgets 2.8.0". Ritrīven on 2011-04-11. 
  17. "wxWidgets Roadmap". Ritrīven on 2013-05-02. 
  19. "Open Source Initiative OSI – The wxWindows Library Licence:Licensing". Open Source Initiative. Ritrīven on 2011-04-28. 
  20. "wxWidgets: Introduction". 
  21. "wxWidgets: Platform Details". 
  22. "wxWidgets-AOS: AmigaOS port". Ritrīven on 2011-04-24. 
  23. "Supported Platforms". Ritrīven on 2011-04-24. 
  24. "wxWidgets General Information". Ritrīven on 2015-08-01. 
  25. "WxWidgets Compared To Other Toolkits". Ritrīven on 2010-01-02. 
  26. "Tools for wxWidgets". Ritrīven on 2011-04-12. 
  27. "List of Integrated Development Environments". Ritrīven on 2011-04-12. 
  28. "wxWidgets problem on Ubuntu Karmic" in (Iŋgliš/English). wxWidgets dè Diskùsçion Forùm. 2010-01-17. Ritrīven on 2015-04-15. 
  29. "Installing and configuring under Ubuntu" in (Iŋgliš/English). wxWiki. 2012-10-21. 

Further readingEdit

Ikstörnol liŋksEdit

Wikimedia Commons has media related to:

Template:WxWidgets Template:Widget toolkits

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.