Robin Dunn
ce8085808c
Documentation updates
2020-04-03 14:10:35 -07:00
Robin Dunn
4545d93924
Move wxAnimationDecoderList-related methods to wxAnimation
2020-04-03 12:49:15 -07:00
Robin Dunn
80c9513a80
Minor documentation tweaks
2020-04-02 14:21:21 -07:00
Robin Dunn
52d4bad3df
Apply suggestions from code review
...
Co-Authored-By: VZ <vadim@wxwidgets.org >
2020-04-02 12:35:58 -07:00
Robin Dunn
6039be5291
More documentation updates
2020-04-01 15:27:34 -07:00
Robin Dunn
1cf191f5d6
Update docs
2020-04-01 13:31:03 -07:00
Robin Dunn
85bd16fb06
Trim trailing whitespace
2020-03-31 14:02:39 -07:00
Robin Dunn
e72793abec
IsOk is pure virtual
2020-03-30 15:44:32 -07:00
Robin Dunn
f13c3dc1ec
Documentation updates for Animation classes
2020-03-30 15:26:52 -07:00
Robin Dunn
08ac4dbad6
Name the base animation class wxGenericAnimation with a wxAnimation shim class
2020-03-27 15:53:03 -07:00
Robin Dunn
488084c2f5
Name the base animation class wxGenericAnimation with a wxAnimation shim class
2020-03-27 14:33:11 -07:00
Robin Dunn
7468e7c8a8
Add text to wxAnimation docs about how to use the generic version on wxGTK
2020-03-24 19:58:04 -07:00
Robin Dunn
357f792971
Split decoder interface to match the actual header files
2020-03-24 17:32:12 -07:00
Robin Dunn
f3cd24ee35
Fix interface filename, remove duplicate enum
2020-03-24 17:02:48 -07:00
Robin Dunn
4942ee99f6
Update the interface files for the animation classes
2020-03-24 16:25:30 -07:00
Robin Dunn
501e55f949
Add missing wxMemoryDC::GetSelectedBitmap
2020-03-23 20:17:22 -07:00
Vadim Zeitlin
eaaad6471d
Merge branch 'aui-delete-tool'
...
Provide work around for surprising behaviour of
wxAuiToolBar::DeleteTool().
Closes https://github.com/wxWidgets/wxWidgets/pull/1758
2020-03-15 17:10:41 +01:00
Vadim Zeitlin
ea359e02ab
Rename tool ID parameter in wxAuiToolBar documentation
...
Use "toolId" to match the actual name in the header instead of
"tool_id".
No real changes.
2020-03-15 17:09:54 +01:00
Vadim Zeitlin
700eaff131
Add wxAuiToolBar::DestroyTool() and DestroyToolByIndex()
...
These new functions destroy the associated window too, unlike the
existing DeleteTool() and DeleteByIndex().
Closes #16552 .
2020-03-15 17:09:51 +01:00
Robin Dunn
5c039e080c
Add missing IsAcceptedKey to the wxGridCellEditor interface
2020-03-13 11:50:41 -07:00
Vadim Zeitlin
586d0e6ee6
Make wxGrid::GetBatchCount() const
...
There is really no reason for this simple accessor not to be const.
2020-03-11 21:59:15 +01:00
Vadim Zeitlin
8802657490
Add wxGrid::IsUsingNativeHeader()
...
It is convenient to have this function if only in order to be able to
call GetGridColHeader() safely, i.e. without triggering an assert if
native header is not being used.
2020-03-11 18:41:16 +01:00
Vadim Zeitlin
95b1f7b7ea
Document wxAuiToolBar::DeleteTool() and DeleteByIndex()
...
The behaviour of these functions for the tools containing controls is
counter-intuitive but changing it now would silently break existing code
working around the current semantics, so just document it instead.
See #16552 .
2020-03-10 23:34:06 +01:00
Vadim Zeitlin
c09fd8b59d
Update copyright years to 2020
...
Just run misc/scripts/inc_year and commit the results.
Closes #18690 .
2020-03-06 00:51:39 +01:00
PB
e22ab23216
Fix wxWindow::GetThemeEnabled() documentation
...
The method description was for some reason the
same as for ClearBackground().
Closes https://github.com/wxWidgets/wxWidgets/pull/1745
2020-02-29 15:43:21 +01:00
Tobias Taschner
613687ecb5
Updated wxWebViewEdge for SDK 0.9.430
...
This first beta release of the WebView2 SDK has many identifiers
renamed and webview interfaces split to Host and WebView.
Closes https://github.com/wxWidgets/wxWidgets/pull/1743
2020-02-29 15:40:45 +01:00
Vadim Zeitlin
1c6ab1aa65
Document wxTemp[F]File default ctors
...
For some reason default ctor wasn't documented, so add it.
2020-02-21 14:57:28 +01:00
Vadim Zeitlin
ebc0f056c0
Make wxTemp[F]File classes non default ctor explicit
...
There should really be no reason to ever implicitly convert a string to
a file.
2020-02-21 14:56:06 +01:00
Dummy
3e0780e811
Add wxTempFFile, similar to wxTempFile but using buffered I/O
...
Also add wxTempFFileOutputStream.
Closes #18673 .
2020-02-21 14:52:40 +01:00
Dummy
8c574e5c2b
Fix documentation of wxFile::Write() default conversion value
...
It's wxConvAuto, not wxConvUTF8.
Closes #18672 .
2020-02-21 14:30:43 +01:00
Artur Wieczorek
5bc020e844
Implement getters for members of wxPGWindowList
...
There is no reason to expose wxPGWindowList member variables. They should
be set in ctors and retrieved with getters.
2020-02-12 17:09:25 +01:00
Vadim Zeitlin
789858a4d9
Merge branch 'secret-service-check'
...
Check if secret service can be used under Unix.
See https://github.com/wxWidgets/wxWidgets/pull/1733
2020-02-11 22:36:03 +01:00
Vadim Zeitlin
b18169a0e4
Merge branch 'paint-debug'
...
Detect invalid use of wxPaintDC/wxPaintEvent better.
See https://github.com/wxWidgets/wxWidgets/pull/1732
2020-02-11 22:35:33 +01:00
Vadim Zeitlin
697d494caa
Merge branch 'grid-attr-smart-ptr'
...
Use smart pointers in wxGrid code.
See https://github.com/wxWidgets/wxWidgets/pull/1731
2020-02-11 22:35:03 +01:00
Vadim Zeitlin
8fcf46f65c
Forbid creation of wxPaintEvent objects from user code
...
This doesn't work anyhow, so it's better to prevent the code doing this
from compiling instead of getting run-time asserts or worse.
Also simplify construction of these events inside wxWidgets by passing
the window itself to the ctor instead of passing just its ID and calling
SetEventObject() separately later.
For consistency, do the same thing for wxNcPaintEvent too.
2020-02-10 23:03:01 +01:00
Vadim Zeitlin
f7f90a6111
Mention that wxSecretStore ctor can block
...
At least under Unix it can show a dialog asking to create a new key
ring.
2020-02-10 18:27:38 +01:00
Vadim Zeitlin
5a454d373b
Optionally return error message from wxSecretStore::IsOk()
...
This allows to give at least some explanation about why the secrets
can't be stored to the user, e.g. they could search for a message such
as
The name org.freedesktop.secrets was not provided by any .service files
to find out that gnome-keyring package needs to be installed on their
system.
Note that this change means that under Unix an attempt to connect to the
secret service is now made when wxSecretStore is constructed and not
just when it's used for the first time, as before.
2020-02-10 18:23:59 +01:00
Vadim Zeitlin
b680ba9596
Explicitly document that wxPaintEvent ctor must not be used
...
Objects of this type are only supposed to be created by wxWidgets
itself and not by user code.
2020-02-10 13:42:03 +01:00
Artur Wieczorek
9dbd3b4946
Use ctor with default argument instead of providing specialized ctor
...
We can use 2-parameter ctor with default NULL value for second parameter
instead of providing a special 1-paramater ctor.
2020-02-09 20:31:58 +01:00
Artur Wieczorek
f2f9cbe619
Get rid of unused wxPGWindowList ctor
...
There is no use case for wxPGWindowList initialiazed with NULL data.
2020-02-09 20:19:52 +01:00
Vadim Zeitlin
2e64ba6d6e
Also add wxGridCellEditorPtr and wxGridCellRendererPtr
...
This is similar to the previous commit and replaces manual calls to
DecRef() on the renderers/editors with the use of smart pointers for
them too.
2020-02-08 15:14:24 +01:00
Vadim Zeitlin
5f34b1749e
Use wxGridCellAttrPtr instead of manual DecRef() calls
...
Provide GetAttrPtr() and GetCellAttrPtr() convenience functions that can
be used instead of the original Ptr-less versions to avoid the need to
manually call DecRef() on the returned wxGridCellAttr pointers.
No real changes, just simplify the code and make it safer.
2020-02-08 14:55:36 +01:00
Ilya Sinitsyn
a40acbb28e
Add CanOverflow function to wxGridCellAttr
...
Add function to determine whether the cell will draw the overflowed text
to neighbour cells. Note that only left aligned cells currently can overflow.
2020-02-07 19:34:50 +01:00
Kvaz1r
5663157674
Fix link between flags and buttons in wxAuiManager
...
Don't store the buttons used by a pane separately, but take them
directly from the flags, as this ensures that updating the pane flags,
e.g. by calling CloseButton(false), really removes the corresponding
button.
This also makes wxAuiPaneButton helper completely unnecessary, so just
remove it to simplify the code.
Closes https://github.com/wxWidgets/wxWidgets/pull/1723
Closes #18223 .
2020-02-05 16:02:51 +01:00
Vadim Zeitlin
396dd6cf0b
Document that wxINVERT is not supported under wxGTK3 and wxMac
...
Also explain how to update the existing code using it.
See #16890 .
2020-01-23 01:11:58 +01:00
Vadim Zeitlin
767c07c040
Merge branch 'webview-edge'
...
Add support for (optionally) using Edge-based wxWebView.
See https://github.com/wxWidgets/wxWidgets/pull/1700
2020-01-22 03:38:00 +01:00
Vadim Zeitlin
0b2dd516c1
Slightly improve Edge webview backend setup instructions
...
Make it even more clear where should the files go and which files should
be copied, to avoid any ambiguity.
2020-01-22 03:36:38 +01:00
Vadim Zeitlin
db4c025e42
Document wxRadioButton relationship with focus in wxMSW
...
Explain that calling SetValue(true) may change the focus, as this is
not really obvious (and doesn't happen in the other ports).
2020-01-20 13:21:44 +01:00
Tobias Taschner
fb0e82e9d1
Implement GetPageSource() and GetPageText()
2020-01-17 21:09:51 +01:00
Tobias Taschner
bb508dc347
Implement text selection in wxWebViewEdge
...
Text selection/copy/paste etc implemented via javascript
2020-01-16 20:50:26 +01:00