Just test whether we're using "Venetian blinds" hint directly instead of
testing for whether we use wxPseudoTransparentFrame which can be also
used for the default transparent hint if transparency is not supported
natively.
This doesn't change much in practice, but just avoid using dynamic cast
unnecessarily.
This makes the hint much more visible under wxGTK where the previously
used wxSYS_COLOUR_ACTIVECAPTION was typically too light in the default
light mode and almost completely invisible in dark mode.
Under wxMSW appearance in dark mode is also improved, although the hint
is still not very visible there -- but this is still better than being
completely invisible before.
Closes#23987.
This reverts commit b1fcf100ff because it
doesn't seem to be necessary any more, as the bug reported in #15071
that was fixed by that commit can't be reproduce any longer in the
current version and this commit resulted in other bugs, notably #24042
and probably also #24063.
The existing code didn't work correctly when wxAUI_NB_CLOSE_ON_ALL_TABS
style was used as it didn't check for it and so assumed that the close
button was only shown on the current page.
This resulted in wrong result being returned from this function for the
right most tab which could not actually fit into the available space
when rendered (because Render() did draw all close buttons correctly)
and, because of this, not showing the tab entirely when MakeTabVisible()
was called, e.g. when adding a new tab.
Closes#24096.
Because some pages in the sample contain too much content to fit entirely
in the visible area of the page. Under wxQt port, this is true regardless
of the state of the window (whether it is maximized or not) some content
remains hidden and inaccessible.
Closes#24154.
Missing semicolon on latest method addition causes doxygen parsing
issues which in turn causes problems for dependent projects like wxRuby
and wxPython.
Closes#24155.
Calling this function from OnInternalIdle() is not always enough, so
call it before processing each and every event to ensure that CEF can
really do whatever it needs to be doing internally.
This doesn't seem to noticeably slow down the program and solves weird
problems, like embedded text boxes (e.g. search zones on the web sites)
not getting focus on click.
wxEventLoop is not used in this file any more after the changes of
11d04389a0 (Add support for using wxWebViewChromium from non-main
thread, 2023-11-29).
Check for 'libcef_dll' instead of 'cef_paths.gypi', because the minimal distribution doesn't contain the last one.
Mark all CEF variables as advanced, so they don't show up in the default CMake GUI.
WindowOpenDisposition is an inherited typedef from a base class and may
result in ambiguity errors if more than one base class defines it, so
use the actual type corresponding to it to preventively solve this
problem.
No real changes yet.
This resulted in at least a use-after-free ASAN warning and possibly
actual memory corruption, so ensure that we unlock m_devMode before
freeing and resetting it.
Closes#24146.
Co-authored-by: Vadim Zeitlin <vadim@wxwidgets.org>
As there is more then one ctor since 11ed91af8f (Add missing default
constructor of wxFileDialog in wxMSW, 2023-12-03), this code would need
to be duplicated in the default ctor too now, but it seems simpler and
more logical to move it to the dtor instead.
See #24113.
This corrects a problem introduced in 11ed91af8f (Add missing default
constructor of wxFileDialog in wxMSW, 2023-12-03) as m_data remained
uninitialized when default ctor was used.
See #24113.
Restore the macro removed in 0d6f2f2b85 (Remove wxSuffix from MSBuild
files, it's always "u" now, 2022-10-28) as it can still be used in the
user projects importing wx properties files and it doesn't cost anything
to keep it.
Append the new line character only before starting the next line instead
of doing it after each line to avoid having it when there is just one
line, as this as unexpected when copying a single cell.
Closes#24139.
wxIntProperty::DoValidation() overloads for wxLongLong_t and wxULongLong_t
parameters are not supported because for these types there are no direct
conversions to wxVariant.
Arguments of such types will be handled by overloads for wxLongLong
and wxULongLong.