Commit Graph

142 Commits

Author SHA1 Message Date
neofelis2X
2b97171728 Docs: fix 2 small errors in sphinx REST files 2025-02-24 23:03:37 +01:00
DietmarSchwertberger
d343f222cc update BusyCursor snippet 2024-02-27 14:08:10 +01:00
Robin Dunn
7f42784255 Fix code snippet in docs for XmlReseource.LoadDialog 2022-10-17 14:33:42 -07:00
Robin Dunn
866cdf9ab2 Fix typo 2022-08-06 13:03:53 -07:00
Robin Dunn
25fa3d9931 Add pythonized versions for new doc snippets 2022-08-06 11:40:10 -07:00
Robin Dunn
a030c90dd2 Pythonize new code snippets in the docs 2022-06-08 18:08:54 -07:00
Robin Dunn
eb04a7db0b Add more new Python code snippets 2022-05-17 19:49:31 -07:00
Robin Dunn
04cc18fbe8 Add Python snippets for the BitmapBundle docs 2022-05-17 18:49:36 -07:00
Scott Talbert
c62d1508d6 Merge pull request #2096 from pieleric/docs-fix-missing-getkeycode-snippet
docs: fix missing GetKeyCode() call in GetKeyCode() example
2022-02-24 16:13:41 -05:00
Éric Piel
db4fcca2d7 docs: fix missing GetKeyCode() call in GetKeyCode() example 2022-02-01 16:28:34 +01:00
Robin Dunn
9627bb8035 Merge branch 'master' into update-wx 2021-12-13 21:40:18 -08:00
Robin Dunn
cbe539efd9 Merge pull request #2047 from swt2c/df_unicode
Use wx.DF_UNICODETEXT instead of wx.DF_TEXT
2021-12-13 20:46:14 -08:00
Scott Talbert
2791fd7016 Use wx.DF_UNICODETEXT instead of wx.DF_TEXT
wx.DF_TEXT doesn't work on macOS and Unicode should be available under
all platforms.
2021-12-06 19:56:04 -05:00
Robin Dunn
014af4f8f1 Add Python snippets for AddScriptMessageHandler 2021-10-26 12:37:24 -07:00
Christian Clauss
25ba122168 Fix typos discovered by codespell 2021-08-07 18:55:49 +02:00
Robin Dunn
7c63c5cc90 Add the High DPI Overview doc from wxWidgets 2020-10-22 16:10:09 -07:00
Robin Dunn
d061009b9e Add FromPNGData factory, and fix markup in some docstrings 2020-07-29 14:58:16 -07:00
Robin Dunn
8ed62491e7 Add some code snippets for the docs 2020-07-07 16:03:56 -07:00
Robin Dunn
bda5fbefd7 Fix comment text in code snippet 2020-05-22 10:59:27 -07:00
Per A. Brodtkorb
426258b7b7 Adding missing close for open and replaced "fid=open(filename) fid.close()"
statements with the safer "with open(filename) as fid:" blocks.

Also removed unnecessary "try: ... finally: pass" statements
and refactored code from img2py function into _write_image and _replace_non_alphanumeric_with_underscore

Fixes #1574
2020-03-25 10:36:38 +01:00
Robin Dunn
7eaf6b1d86 Add snippet for GridFitMode 2020-03-20 13:30:04 -07:00
Robin Dunn
1cad84aa8e Add some new code snippets 2019-12-11 13:58:47 -08:00
Robin Dunn
defa946fce remove experimental automodule 2019-09-04 14:31:01 -07:00
Robin Dunn
d6bda86a0e Some docstring updates, and add wx.svg to the docs to be built 2019-09-04 14:30:51 -07:00
Robin Dunn
1f5fe1e398 Fix stray backtick 2019-07-24 22:00:11 -07:00
Mike Driscoll
fcf30690d6 Fix typo in wx.StaticBoxSixer 2019-07-23 12:33:17 -05:00
Robin Dunn
e389a38b53 Propgrid fixes needed due to wxWidgets update 2019-05-29 15:10:44 -07:00
Robin Dunn
f884bf8e4a Convert new code snippets 2019-05-24 15:35:56 -07:00
Mesalu
484fb84bb9 remove misleading comments, do not create a copy of strs 2018-10-22 14:30:17 -07:00
Robin Dunn
900f002518 Use wx.EventBlocker as a context manager in the sample code snippet in the docs
(cherry picked from commit 2c5c104a79)
2018-09-25 13:56:41 -07:00
Peter Van Hese
b4940c19b5 Fix typo in documentation overview
fixes #1006
2018-09-18 19:29:26 +02:00
Robin Dunn
b5bb587145 Merge pull request #897 from RobinD42/add-windowidref
Add wx.WindowIDRef and wx.NewIdRef
2018-06-24 21:37:54 -07:00
Robin Dunn
f32cb4669f Merge pull request #845 from RobinD42/fix-issue811
Enable wrapping wxGraphicsContext::Create(metaFileDC)
(cherry picked from commit 6c3ce18e17)
2018-05-05 22:22:05 -07:00
Robin Dunn
a429e7cdbe Update wx.TextCompleterSimple example code snippet 2018-05-02 10:36:59 -07:00
Robin Dunn
0a6b77efe2 Take out the code for one of the DataViewModel snippets as it does not apply to wxPython. 2018-03-20 13:28:23 -07:00
Robin Dunn
693863c2a5 Merge pull request #762 from mesalu/admonish_deprecation
Admonish deprecations
2018-02-22 22:08:02 -08:00
Robin Dunn
750fd1f504 Convert new doc snippets 2018-02-13 17:13:44 -08:00
André Colomb
13caffe00f Fix a link typo in the documentation overview.
This makes the link to the wx.xrc module documentation actually work.
2018-02-05 09:37:42 +01:00
swprojects
b6e2b3a05e Fix spelling 2018-01-25 16:24:42 +00:00
Robin Dunn
c1a0a4dfa7 Merge pull request #691 from Metallicow/Trim-whitespace
Trim trailing whitespace - everything that's left
2018-01-17 17:56:01 -08:00
Metallicow
936d722cd8 ⁉️ Trim trailing whitespace *.md; *.rst
⁉️  Not sure if the generated *.rst stuff is intended to have
whitespace or not, so seperating this from the other commits, so easy to
revert if necessary.
2018-01-16 09:24:16 -06:00
Metallicow
1257f42189 ⁉️ Trim trailing whitespace docs/sphinx/rest_substitutions/*.py
⁉️ Not sure if the generated .rst stuff is intended to have
whitespace like this in it or not, so seperating this from the other
commits, so easy to revert if necessary.
2018-01-16 09:02:20 -06:00
Robin Dunn
051374d57c Add new code snippet 2018-01-15 13:33:37 -08:00
Robin Dunn
ce7333945f Update clipboard sample code 2017-12-28 14:19:35 -08:00
Robin Dunn
69d44e00fd Slight reorg of the docs home page, and add link to functions index 2017-10-25 20:09:20 -07:00
Robin Dunn
b67671ea6f Fix AccereratorTable sample code 2017-09-28 08:15:03 -07:00
Robin Dunn
0ba64bf6d2 Add a page for listing the various overview documents 2017-09-15 15:29:35 -07:00
Robin Dunn
60dbde834b '&' --> 'and' and some other text tweaks 2017-08-08 19:44:26 -07:00
Steve Barnes
0da9225fe5 Add not on wxdocs & wxdemo utilities to docs/sphinx/rest_substitutions/overviews/index.rst 2017-08-08 11:43:11 +01:00
Robin Dunn
2e07a611f5 Make the snippet a little more pythonic. Update the save dialog snippet too. 2017-08-04 13:30:50 -07:00