This repository contains the source code for the examples associated with the wxWidget tutorials presented on the http://www.wxishiko.com/wxWidgetsTutorials website.
- Getting Started
- MinimalApp1: A minimal application that does nothing.
- MinimalApp2: A minimal application that displays a window that can be closed.
- Events
- UpdateUIEvent1: use of the wxUpdateUIEvent to update the state of a menu item.
- Sizers
- SimpleFit1: use of a wxBoxSizer and its Fit method to set the size of the main window based on its contents.
- SimpleFit2: use of a wxBoxSizer and its Fit method to set the size of the main window based on its contents.
- SimpleFit3: use of a wxBoxSizer and its SetSizeHints method to set the size of the main window based on its contents.
- Drawing
- Drag and Drop
- DragAndDropText1: use of wxDropSource to make a wxStaticText a drag and drop source.
- DragAndDropText2: use of wxTextDropTarget to make a wxTextCtrl a drag and drop target.
- Windows
- WxSplitterWindow1: basic use of a wxSplitterWindow (vertical split).
- WxSplitterWindow2: splitting and unsplitting a wxSplitterWindow programmatically.
- Standard Controls
- WxButton1: basic use of a wxButton control.
- WxCheckBox1: basic use of a wxCheckBox control.
- WxRadioBox1: basic use of a wxRadioBox control.
- WxStaticText1: basic use of a wxStaticText control.
- WxTextCtrl1: basic use of a wxTextCtrl control.
- WxTextCtrl2: basic use of a multiline wxTextCtrl control.
- Tree and List Controls
- WxListView1: basic use of a wxListView control (1 column).
- WxListView2: basic use of a wxListView control (2 columns).
- WxTreeCtrl1: basic use of a wxTreeCtrl control.
- WxTreeCtrl2: shows the events generated by wxTreeCtrl.
- WxTreeCtrl3: shows how to display a context menu in a wxTreeCtrl.
- WxTreeCtrl4: shows how to edit the labels of the wxTreeCtrl items.
- Picker Controls
- WxColourPickerCtrl1: basic use of a wxColourPickerCtrl control.
- WxDirPickerCtrl1: basic use of a wxDirPickerCtrl control.
- WxFilePickerCtrl1: basic use of a wxFilePickerCtrl control.
- Book Controls
- WxNotebook1: basic use of a wxNotebook control.
- WxNotebook2: shows how to handle wxNotebook events.
- WxTreebook1: basic use of a wxTreebook control.
- Dialogs
- WxAboutBox1: basic use of the wxAboutBox function (native dialog).
- WxAboutBox2: basic use of the wxAboutBox function (generic dialog).
- WxDirDialog1: basic use of a wxDirDialog dialog.
- WxFileDialog1: basic use of a wxFileDialog dialog.
- WxFontDialog1: basic use of a wxFontDialog dialog.
- WxWizard1: basic use of the wxWizard class.
- WxWizard2: example of the wxWizard class with input validation.
- wxStyledTextCtrl (source code editing control based on Scintilla)
- WxStyledTextCtrl1: basic use of a wxStyledTextCtrl control.
- WxStyledTextCtrl2: use of a wxStyledTextCtrl control to display C++ code.
- wxAUI
- WxAuiNotebook1: basic use of a wxAuiNotebook control.
- WxAuiNotebook2: shows the events generated by wxAuiNotebook.
Copyright (c) 2015-2017 Xavier Leclercq
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.