This was forgotten in 722f58e238 (Refactor wxRibbon to use
wxBitmapBundle for icons and images, 2026-01-25), see #26117.
Closes#26406.
Co-authored-by: Vadim Zeitlin <vadim@wxwidgets.org>
Postpone initializing the fields that use FromDIP() till after window
has been created as FromDIP() doesn't return correct result for a window
that hasn't been created yet.
Closes#26313.
Null argument is allowed in wxHtmlHelpController::ReadCustomization()
and is potentially useful here to prevent the use of a dangling pointer.
Also explicitly document that this parameter can be null.
Closes#26238.
Documentation for this function was added in d137d1e1e0 (Add
wxGraphicsContext overloads taking wx{Rect,Point}2DDouble, 2025-05-23)
but it didn't exist -- so add it too now.
Also add documentation for the same overload in wxGraphicsContext, which
was probably intended to be done in the commit above.
See #25444.
Closes#25473.
Closes#25474.
Co-authored-by: Vadim Zeitlin <vadim@wxwidgets.org>
Explain the difference between wxControl and wxWindow and also mention
the existence of wxScrolled<wxControl> which is used as a base class
elsewhere.
Closes#25415.
Closes#25421.
IFileDialog already does what our own AppendExtension() tries to do, so
there is no need to call it again, as this results in extra unwanted
extension in some cases.
Closes#24949.
Closes#25034.
Use correct content type when creating binary secrets to prevent
libsecret from munging them.
Also update the sample to show more functionality.
Closes#24351.
Closes#24352.
Override required functions in wxHeaderCtrlSimple to avoid asserts if
its columns are reordered.
Also bring the code behaviour in agreement with the documentation by
calling UpdateColumn() after calling UpdateColumnVisibility().
Finally, only call UpdateColumnsOrder() if the corresponding event was
not processed as the application should use one xor the other mechanism
for reacting to columns reordering, but not both.
Closes#24108.
Closes#24172.
Without this change, using wxEL_ALLOW_NEW without wxEL_ALLOW_EDIT
resulted in an assertion failure, so fix it by turning wxEL_ALLOW_EDIT
too in this case: this makes sense because adding a new element is
"editing" too, and there doesn't seem to be any realistic scenario in
which new items can be added but the existing items can't be changed.
Closes#24099.
Closes#24100.
This method is needed to determine the sorted state of a control derived
from wxItemContainer without knowing the actual derived control class.
Closes#23971.
Return true, not false, from EnableProofCheck() when turning the checks
off in wxMSW.
Also fix wxTextProofOptions::IsSpellCheckEnabled() return value in
wxGTK, where EnableProofCheck() already returned the correct value but
only due to a combination of two bugs.
Closes#23831, #23832.