Commit Graph
100 Commits
Author SHA1 Message Date
PB c5dddf5ee2 Add support for MSVS 2026
ABI check / ABI check (push) Has been cancelled
Unix builds / Ubuntu 24.04 wxGTK with ASAN (push) Has been cancelled
Unix builds / Ubuntu 22.04 wxGTK ANSI (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK UTF-8 (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxMotif (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxQt (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxX11 (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK 2 (push) Has been cancelled
Unix builds / Ubuntu 20.04 wxGTK 3 with clang (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK 3 static with gcc 4.8 (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK 3 STL (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxDFB (push) Has been cancelled
CMake builds / macOS 14 wxOSX (push) Has been cancelled
CMake builds / Windows MSVC (push) Has been cancelled
CMake builds / macOS 14 wxIOS (push) Has been cancelled
CMake builds / Ubuntu 22.04 wxGTK 3 (push) Has been cancelled
MSW builds / wxMSW vs2022 DLL Debug x64 (push) Has been cancelled
MSW builds / wxMSW vs2022 DLL Release x64 (push) Has been cancelled
MSW builds / wxMSW vs2022 Debug Win32 (push) Has been cancelled
MSW cross-builds / wxMSW 32 bits (push) Has been cancelled
MSW cross-builds / wxMSW 64 bits (push) Has been cancelled
Code Checks / Check Spelling (push) Has been cancelled
Code Checks / Check Whitespace (push) Has been cancelled
Code Checks / Check Mixed EOL (push) Has been cancelled
Code Checks / Check C++ Style (push) Has been cancelled
Update Documentation / Update Online Documentation (push) Has been cancelled
Update wx_config.props, add MSVS 2026 solutions for the library
and the minimal sample, and update the docs.

See #26140.
2026-02-01 21:22:16 +01:00
PB 40ed30b6ed Add GCC version in MSW binaries information
Add GCC 14.2.0 to the list of MSYS GCC versions for which the
Windows prebuilt binaries are available.
2025-04-21 10:58:32 +02:00
PB d8545cc61f Recognize Windows Server 2025 in wxGetOsDescription()
Recognize Windows Server 2025 in wxGetOsDescription()
and update Windows OS table in wxGetOsVersion() docs.

See #25066.

(cherry picked from commit c88c86ece9)
2025-01-12 15:50:27 +01:00
PB 2b4bfeef66 Improve window sizing documentation
Fix the flag name in wxSizerFlags::Shaped() description.

Add a reference to Windows Sizing Overview to Window Layout page and
Sizers Overview.

Add a reference to Sizers Overview to Window Sizing Overview.

Closes #25044.

(cherry picked from commit e0b055e53b)
2025-01-06 22:21:01 +01:00
PB 7712b0ce78 Update the Windows versions table in wxGetOsVersion() docs
Update Windows Server information.

Additionally, add a note to wxGetOsDescription() source to
keep the table in docs in the sync with the code.

See #24653.

(cherry picked from commit 73e28e2b65)
2024-07-04 01:20:10 +02:00
PB d00148de08 Recognize Windows Server 2019 in wxGetOsDescription()
For some reason, testing for Windows Server 2019 was missing there.

See #24598.

(cherry picked from commit c7c6485c59)
2024-06-09 12:36:55 +02:00
PB a7a387a291 Document all supported styles in wxSpinCtrlDouble docs
Document all available styles, i.e., just like with wxSpinCtrl, list
also wxTE_PROCESS_ENTER and the three text alignment options.

See #24488.

(cherry picked from commit 86e4660ba6)
2024-04-24 20:52:03 +02:00
PB 39cf38e5fc Remove unused variable from the dialogs sample
(cherry picked from commit b4a29dfab7)
2024-04-08 02:53:56 +02:00
PB c8c9b10c15 Add missing #if guard around a variable
The variable declared inside #if guard was used outside such guard
which of course made the build fail.

(cherry picked from commit 42079fd43f)
2024-03-12 16:23:34 +01:00
PB 3225bef937 Avoid unused variable warning in rich text control code
Declare a variable used only inside #if guard also in the #if guard,
to avoid an unused variable warning.

(cherry picked from commit abe6d5a49c)
2024-03-12 16:23:34 +01:00
PB ac13253ffc Remove unused variables from rich text control code
(cherry picked from commit 7629da8e10)
2024-03-12 16:23:34 +01:00
PB d5c63171bf Remove unused variable from ribbon toolbar code
(cherry picked from commit d8fc164a19)
2024-03-12 16:23:02 +01:00
PB ef9d264219 Remove unused variable in Generic progress dialog code
(cherry picked from commit 1f47d32b65)
2024-03-12 16:22:32 +01:00
PB e4617e6f58 Fix confusing argument names in wxPersistentWindow docs
Use the same argument name as in the actual code in the class
constructor as well as the convenience function, instead of
wrongly copypasted "book".

See also 33de6dc (Fix confusing wxPersistentTLW ctor argument name,
2023-12-22).

See #24158.

(cherry picked from commit 24952d0203)
2023-12-25 21:04:36 +01:00
PB d4e38a2b29 Document more macOS-only wxTextCtrl methods
Document previously undocumented macOS methods
enabling/disabling automatic character substitutions.

This should have been part of 90e1769 (Add API to control
OS X wxTextCtrl’s smart behavior, 2016-10-16).

See #23889.

(cherry picked from commit 081b7c430b)
2023-09-21 22:59:49 +02:00
PB 7ccdc6ac85 Fix crash due to logging bug in the event sample
The gestures frame created its own log target and deleted
the previous one but did not restore it when being closed.

This left the current log target invalid which led to a crash
when calling any wxLog*() function after gestures frame was closed.

Fix this by restoring the previous log target when gestures frame
is closed.

See #23767, #23881.

(cherry picked from commit 8efb1bceda)
2023-09-21 22:57:29 +02:00
PB f5b2c1cc78 Fix typo in wxColourDialog documentation
The code example in wxColourDialog documentation used
a wrong type to create wxColourDialog instance.

See #23793, #23794.

(cherry picked from commit 547d49f68b)
2023-08-24 03:40:12 +02:00
PB 6b328645dc Improve wxFileSystem::AddHandler() documentation
The note in the method description incorrectly stated that
"...the handlers are deleted in wxFileSystem's destructor so
that you don't have to care about it." However, unless a
handler is removed by calling wxFileSystem::RemoveHandler()
(or undocumented wxFileSystem::CleanUpHandlers()), it is deleted
only when wxWidgets shuts down in wxFileSystemModule::OnExit().

Update the method documentation that it is correct (and similar to
that of wxImage::AddHandler()).

See #23789.

(cherry picked from commit af453674b6)
2023-08-24 03:40:12 +02:00
PB 3c9854e852 Correct wxBUILD_TESTS CMake build options in unit tests docs
Provide the correct options for wxBUILD_TESTS in the CMake part
of unit tests documentation.

See #23745, #23746.

(cherry picked from commit 350222e411)
2023-08-01 01:36:41 +02:00
PB 18d860b0c0 Document that RUNTIME_LIBS works only when building with MSVC
Mention that RUNTIME_LIBS=static works only when building
wxWidgets with Microsoft Visual C++.

See #23715.
2023-07-23 00:07:07 +02:00
PB 927761981b Add MSVS 2022 to supported compilers in MSW binaries docs
See #23714.
2023-07-23 00:06:23 +02:00
PB b78382a6e1 Fix typos in changelog
Also add couple of missing words, while still keeping lines under 80
characters limit.

Closes #23675.
2023-07-02 18:06:48 +02:00
PB 61c28b300c Improve documentation about parallel builds with MinGW makefile
In the note about building wxWidgets with MinGW makefile and using
parallel build, explain that "-jN" option cannot be used when building
"setup_h" target.

See #23642.

(cherry picked from commit 81ce7edb75)
2023-06-16 00:02:00 +02:00
PB de89d40ea8 Copy all data files needed by XRC sample when building with CMake
XPM files demonstrating the use of wxBitmapBundle in the XRC files
were not copied when building the XRC sample with CMake.

This should have been part of eaa769a (Use wxBitmapBundle in
wxBitmapComboBox XRC handler, 2022-02-09).

See #23612.

(cherry picked from commit 241ed70b5b)
2023-06-06 21:24:54 +02:00
PB 148cafdcd0 Fix memory leak in the art provider sample
The list client data must be destroyed not only when closing the
resource browser dialog (see 754f75c1cd (Fix memory leaks in artprov
sample, 2022-01-28) but also whenever the art client is changed.

See #23417, #23418.

(cherry picked from commit 02cba46643)
2023-04-04 17:18:33 +02:00
PB b8c4d5428a Improve comments in samples/sample.rc
Provide more information about application manifest, High DPI support,
and contents of wx/msw/wx.rc file.

Use the correct file extension for docs/msw/winxp.md.

See #23116.

(cherry picked from commit 42c2cb9936)
2023-01-06 00:57:39 +01:00
PB 8ad526cf04 Update Backwards Compatibility programming guide.
No real changes, basically just update wxWidgets versions used
to more recent ones.

(cherry picked from commit cf43c97f7d)
2022-11-13 22:36:35 +01:00
PB 173c8f9d5c Update Multithreading Overview programming guide
(cherry picked from commit 41fc16489e)
2022-11-13 22:36:35 +01:00
PB 6d0ad7299a Update Windows Theme support page
(cherry picked from commit b112dfb4a0)
2022-11-13 22:36:35 +01:00
PB b45d47022c Add macros for event tables for three wxWebView events
Add macros for a still supported legacy way of handling events
(event tables and Connect()) for wxEVT_WEBVIEW_FULLSCREEN_CHANGED,
wxEVT_WEBVIEW_SCRIPT_MESSAGE_RECEIVED, and wxEVT_WEBVIEW_SCRIPT_RESULT.

See #22949.

(cherry picked from commit d9bb8c36ef)
2022-11-13 22:32:46 +01:00
PB b597d39cdd Fix the name of EVT_WEBVIEW_FULLSCREEN_CHANGED macro in the docs
It had an extra underscore in it (EVT_WEBVIEW_FULL_SCREEN_CHANGED).

See #22947, #22948.

(cherry picked from commit fc9c9c0e1b)
2022-11-12 17:47:15 +01:00
PB 317a133407 Do not trigger non-CMake CI builds with CMake-only changes
See #22934.

(cherry picked from commit 5c72c7af35)
2022-11-12 17:47:15 +01:00
PB 92a63f016a Always use vendor in CMake-built DLLs regardless of version
The vendor string was ignored for the stable wxWidgets versions (e.g.,
3.2). However, vendor should be always used when available, regardless
of wxWidgets version. The only case when vendor should not be used is
when creating official builds (currently not done with CMake).

See #22931.

(cherry picked from commit 48434622c6)
2022-11-12 17:47:15 +01:00
PB d109e79653 Update strftime() link in wxDateTime::Format() docs
The old link to https://cplusplus.com became invalid.

See #22912, #22913.

(cherry picked from commit 232e161ed6)
2022-11-12 17:47:15 +01:00
PB bf2b837fd2 Update comments in setup_inc.h and various wx/setup.h files
Update the outdated or just plain incorrect comments.

See #22857.

(cherry picked from commit c22f6ba4fc)
2022-11-12 17:47:15 +01:00
PB 7352e5a363 Improve wxBitmapBundle documentation, notably mention SVG support
Add an SVG and a wxBitmapBundleImpl to the list of methods that can be
used when creating a wxBitmapBundle.

Remove a generic sentence promising adding other methods of creating
bundles in the future.

See #22774.

(cherry picked from commit 17371d911d)
2022-09-05 20:36:11 +02:00
PBandVadim Zeitlin f988e31a0a Fix wxDynamicLibrary unit test compilation in C++20 mode
Don't use operator<<() with a wide char string, as this overload has
been removed in C++20. This can be done simply by not using wide char
string at all in this test, as it's not really needed.

Co-Authored-By: Vadim Zeitlin <vadim@wxwidgets.org>

See #22599.

(cherry picked from commit 8d3812adce)
2022-07-05 01:38:46 +02:00
PB 7f04c30098 Fix typos and wording in changes.txt
Fix typos and make language consistent in 3.1.7 changelog.

Closes #22494.
2022-06-07 00:01:58 +02:00
PB 6f135cae70 Fix mistakenly added "events" category
The category was added to wxAuiToolBarStyle instead wxAuiToolBarEvent/
2022-05-23 20:05:02 +02:00
PB 97aae519fa Add "events" category to wxEvent-derived classes docs where missing
If a wxEvent-derived class documentation lacks "events" category,
the class will not appear in the Events class list.

The "events" category is still missing in several event classes
(e.g., palette events or wxRibbonToolBarEvent), but those lack
actual documentation aside from just methods declarations anyway.
2022-05-23 19:06:55 +02:00
PB eb5820f93a Correct Events and Event Handling overview
Change "order" to "reverse order" in "... dynamically bound handlers
are searched in order of their registration ...".

Use better check for C++11 in a code example.

Unify whitespace usage in code examples.
2022-05-23 18:40:56 +02:00
PB 68dee47694 Explain how to best use wxFrame as input form
Add information about the recommended way of using wxFrame
as a form, i.e., to not create the input controls as its
direct children but use wxPanel for this instead.

Closes #22395.
2022-05-05 17:32:43 +02:00
PB ed3b1c6ca3 Simplify MSVC pragma for embedding application manifest
Instead of defining a manifest for each individual CPU architecture, use
a single manifest with an asterisk for the architecture.

Should have been part of 77d8926126 (Simplify Windows application
manifests, 2021-12-17).

Closes #22376.
2022-05-01 03:03:20 +02:00
PB 97e126624e Show error message wxSVGBitmapEmbedHandler::ProcessBitmap()
Do not just silently fail in wxSVGBitmapEmbedHandler::ProcessBitmap()
when wxUSE_BASE64=0, use wxFAIL_MEG() to show why it failed.
2022-04-30 17:46:25 +02:00
PB 3f32bac284 Fix building wxSVGBitmapEmbedHandler when wxUSE_BASE64=0
Use guards for wxUSE_BASE64 in wxSVGBitmapEmbedHandler::ProcessBitmap()
and just return false there when wxUSE_BASE64=0.
2022-04-30 16:33:28 +02:00
PB 4ddaa9c0ce Fix building wxIniConfig when wxUSE_BASE64=0
Use guards for wxUSE_BASE64 just as wxConfigBase does.
2022-04-30 16:29:13 +02:00
PB 8c9c6f5088 Fix examples in wxBitmapBundle documentation
Add the missing label parameter to AddTool() calls.

Closes #22345.
2022-04-21 21:21:51 +02:00
PB 7d73617b33 Add Windows 11 to supported platforms listed in README.md 2022-04-18 22:19:57 +02:00
PB 92deb92e29 Use doubled backslashes in examples in wxFileName documentation
Fix syntax of C strings in the examples.

Closes #22311.
2022-04-16 15:34:08 +02:00
PB 295237882b Fix building benchmarks with gcc
GCC failed to compile bench.cpp due to DBL_MAX not being declared.

Fix this by including float.h.

Closes #22262.
2022-04-03 20:12:44 +02:00
PB dc770deab0 Fix typos and wording in docs and comments
Closes #22191.
2022-03-17 23:53:52 +01:00
PB e5f195da33 Copy SVG files with samples
Add few recently added SVG files used for bitmap bundles in samples
also to bakefiles and CMakeLists.

Closes #22197.
2022-03-17 23:48:01 +01:00
PB 754f75c1cd Fix memory leaks in artprov sample
The list control used in the Resources Browser dialog had
dynamically allocated wxStrings assigned as item data that
were never freed.

Closes #22070.
2022-01-30 22:58:07 +01:00
PB 5ba37d867c Support creating wxBitmapBundle from SVG in application resource
Allow creating wxBitmapBitmap from SVG image stored in an application
resource on the platforms where wxHAS_IMAGE_RESOURCES is defined.

On Windows, load the bundle from a resource with RT_RCDATA type and on
MacOS from a file with an extension "svg" placed in the "Resources"
subdirectory of the application bundle.

Closes #22061.
2022-01-27 14:39:35 +01:00
PB 72e1de6d73 Do not use Direct2D Debug Layer if wx debug features are disabled
Create wxD2D1Factory with D2D1_DEBUG_LEVEL_WARNING only when debug
features, such as asserts, are enabled at wx level.

This is not the exact equivalent of the "Debug" build commonly used
under MSW with MSVC, but seems to be the closest equivalent, see the
discussion in #22034.

Closes #22039.
2022-01-21 21:17:33 +01:00
PB ccb6b10c1f Use SVG-based toolbar bitmaps in webview sample
In webview sample toolbar use wxBitmapBundles created from SVG files
instead of XPM bitmaps, as this results in much better appearance in
high DPI.

Closes #2642.
2022-01-17 01:07:57 +01:00
PB 2cb37faa9a Define NANOSVG_ALL_COLOR_KEYWORDS before including NanoSVG
When NANOSVG_ALL_COLOR_KEYWORDS is not defined, only 10
of the 147 SVG named colors are recognized and all the
others are displayed as black.
2022-01-09 17:10:59 +01:00
PB 0f8ab824a3 Fix using const char* and wxString in ternary operator
Using a const char* and a wxString in the two branches of the ternary
operator resulted in compile-time errors since the result type of the
conditional expression was ambiguous, so add explicit conversions to fix
it.

Closes https://github.com/wxWidgets/wxWidgets/pull/2634

See #19355.
2022-01-03 21:20:23 +01:00
PB 2b7512269b Remove incorrect Release() calls from wxWebViewIEImpl code
When a COM interface is held by wxCOMPtr, one should not call
Interface->Release(), as it decreases the interface's reference
count without wxCOMPtr owning the interface being aware of that.
When then wxCOMPtr calls Interface->Release() in its destructor
the reference count is erroneously decreased again, which is bound
to result in bad things happening.

If one needs to release an interface held by wxCOMPtr immediately,
wxCOMPtr::reset() should be used instead.

These Release() calls should have been removed in 938506b1f7 (Use
wxCOMPtr throughout the wxWebViewIE Find code., 2013-05-18), which
introduced the use of wxCOMPtr, but were forgotten there.

Closes https://github.com/wxWidgets/wxWidgets/pull/2626

Closes #15207.
2022-01-02 12:30:09 +01:00
PB 419f899b3d Revert changes to the code generating the manifest name in wx.rc
This undoes the part of 77d8926126 (Simplify Windows application
manifests, 2021-12-17) which removed special handling of MSVC from
wx.rc, as it's still needed.
2021-12-18 21:50:15 +01:00
PB afb4870f9d Add MSVS 2022 solutions for the library and minimal sample
Closes https://github.com/wxWidgets/wxWidgets/pull/2625
2021-12-18 20:16:59 +01:00
PB 77d8926126 Simplify Windows application manifests
In section "dependency" use "*" in processorArchitecture instead of specifying
the concrete architecture such as "amd64" or "x86". This allows to have just one
manifest for all architectures instead of having them for all supported architectures
individually differing in just processorArchitecture.
2021-12-17 16:57:45 +01:00
PB d7e33a5291 Extend wxMSW contributor guide
List useful wrapper classes for Windows API provided by wxWidgets.

Closes https://github.com/wxWidgets/wxWidgets/pull/2578
2021-11-05 13:56:10 +01:00
PB f8dda6db65 Do not use calendar.rc for calendar sample in CMake
The file was removed in  16f2c7bb89 (Remove unused samples resource
files, 2021-10-20) merged as part of 3d5664cabe (Merge branch
'samples-dpi-v2-aware', 2021-10-25).

Closes https://github.com/wxWidgets/wxWidgets/pull/2565
2021-10-26 19:40:18 +02:00
PB 3a0bb1b18c Fix setting focus to wxWebViewEdge
It was impossible to give focus to the actual web view in wxWebViewEdge
by keyboard navigation or programmatically with wxWebViewEdge::SetFocus().

Fix it by calling CoreWebView2Controller::MoveFocus() in the wxWebViewEdge's
wxEVT_SET_FOCUS handler.

Closes https://github.com/wxWidgets/wxWidgets/pull/2444
2021-07-26 13:57:10 +02:00
PB 346a31d545 Remove TravisCI mentions from build scripts
Travis CI is not used anymore, remove its mentions from the build scripts.
2021-07-15 13:53:12 +02:00
PB 91f6bee71b Remove TravisCI build scripts
Travis CI is not used anymore, remove its scripts.
2021-07-14 22:34:27 +02:00
PB 89242efa78 Remove TravisCI badge from readme
Travis CI is not used anymore, so remove its build status badge
from the main readme.
2021-07-14 09:00:59 +02:00
PB 3aed157e19 Update Czech translations
Closes https://github.com/wxWidgets/wxWidgets/pull/2410
2021-07-03 14:31:36 +01:00
PB e050c2a1b7 Fix link in High DPI Overview
Make MSW-specific link to point to Win32 documentation
instead of MacOS one.

Closes https://github.com/wxWidgets/wxWidgets/pull/2384
2021-05-31 16:35:07 +02:00
PB 43ace6193a Correct dependencies for wxAUI library in documentation
Library wxAUI does not depend on libraries wxHTML or wxXRC,
remove these incorrect dependencies from documentation.

Closes https://github.com/wxWidgets/wxWidgets/pull/2376
2021-05-22 21:32:29 +01:00
PB 9e34269191 Correct documentation for XRC sizeritem property "ratio"
In the description of XRC sizeritem property "ratio" refer to
wxSizerItem::SetRatio() instead of non-existent wxSizer::SetRatio().

Closes https://github.com/wxWidgets/wxWidgets/pull/2373
2021-05-22 21:29:12 +01:00
PB 99bcb29fce Remove wxGTK1 mentions from the documentation
GTK1 is no longer supported, so do not document control limitations when using it.
2021-05-13 06:52:09 -07:00
PB 9610160c31 Remove outdated and unnecessary comment about MSVC linking pragma 2021-05-05 21:00:22 +02:00
PB 6716fcd097 Update note about enabling OpenGL support on Windows 2021-05-05 20:56:05 +02:00
PB da581ccc1a Remove BCC makefiles (again)
All BCC makefiles were removed as a part of "Remove support for Borland
C++ compiler" PR; however, a few of them sneaked back as a part of the
newly introduced wxWebRequest.

Remove them for good.
2021-05-01 18:40:38 +02:00
PB 318784fc1b Handle invalid paths better in MSW wxDirDialog
When setting a path including an invalid drive in IFileDialog-based
wxDirDialog, Windows returned ERROR_INVALID_DRIVE error. wxWidgets
treated this as an error and reverted to showing the old
ShowSHBrowseForFolder()-based dialog.

However, it is better to just ignore any errors produced when attempting
to set the default folder (as the code already did for ERROR_FILE_NOT_FOUND)
and show IFileDialog-based dialog anyway.

Closes https://github.com/wxWidgets/wxWidgets/pull/2356
2021-05-01 14:11:24 +02:00
PB 31b983bad1 Make menu sample build when using precompiled headers
Headers wx/filehistory.h and wx/filename.h were included only
when WX_PRECOMP was not defined.

However, these two files are not included in wx/wxprec.h,
so they must be always included directly.

Closes https://github.com/wxWidgets/wxWidgets/pull/2344
2021-04-24 13:34:54 +02:00
PB b7b4e1a530 Document that wxMatchWild() is always case-sensitive
Closes https://github.com/wxWidgets/wxWidgets/pull/2337
2021-04-22 23:57:02 +02:00
PB 46867f591c Mark deprecated methods as such in wxIcon documentation
wxIcon::Set{Depth|Height|Width}() are deprecated (in wxGDIImage, see 26ee45e),
mark them as such in the documentation (should probably be a part of a5aa044a).

Also fix a typo.

Closes https://github.com/wxWidgets/wxWidgets/pull/2331
2021-04-20 00:21:51 +01:00
PB 1c15e05260 Mention example CMake file in CMake Overview 2021-04-16 12:35:12 +02:00
PB 152a2079b4 Fix example code in wxArtProvider docs
Add a missing ampersand to the third parameter of overridden
CreateBitmap(), to make it clear it is a reference.

Also add semicolons after methods declarations.

Closes https://github.com/wxWidgets/wxWidgets/pull/2299

Closes #19125.
2021-03-31 03:04:49 +02:00
PB b9f22fc633 Replace wxEvtHandler::Connect() with Bind() in the docs
In the docs, replace mentions of wxEvtHandler::Connect() with
wxEvtHandler::Bind(), mostly to match the actual code but also
because Bind() is the recommended way to dynamically bind events.

Closes https://github.com/wxWidgets/wxWidgets/pull/2298
2021-03-31 03:04:49 +02:00
PB 1cb066364f Fix ignored path for MSW sources for GitHub CI
Due to a copy&paste mistake the path wrongly included non-existing "wx"
folder.

Closes https://github.com/wxWidgets/wxWidgets/pull/2275
2021-03-13 13:13:05 +01:00
PBandVZ 783244af21 Do not trigger build by change in any MD file
Co-authored-by: VZ <vz-github@zeitlins.org>
2021-03-05 19:41:05 +01:00
PB 79363eb8fd Add more ignored paths for GitHub CI
GitHub CI does not build for Microsoft Windows. Therefore, do not start builds
for changes made in folders used only for MSW.
2021-03-02 20:30:46 +01:00
PB 93773b0b65 Add more ignored paths for AppVeyor CI
AppVeyor CI builds for Microsoft Windows only. Therefore, do not start builds
for changes made only in dfb, gtk, gtk1, motif, unix, and x11 folders.

Additionally, do not start the builds when only an *.md file in the root
folder changes.

Lastly, ignore all changes in the demos folder: Demos are not built by AppVeyor at all.
2021-03-02 20:21:21 +01:00
PB 9d0aee5ee6 Fix using invalid string index in wxIsAbsolutePath()
Check if the path is at least two characters long before accessing its
second character.

Add test cases for wxIsAbsolutePath() on MS Windows.

Closes https://github.com/wxWidgets/wxWidgets/pull/2262
2021-03-02 16:00:59 +01:00
PB a75aa78263 Fix dragging file in DnD sample
At least on Microsoft Windows, it is possible to start dragging an unselected
wxTreeCtrl item. Therefore, in wxEVT_TREE_BEGIN_DRAG handler do not use the
path that is currently selected in the control but the one that is actually
being dragged.

Closes https://github.com/wxWidgets/wxWidgets/pull/2258
2021-03-01 00:03:21 +01:00
PB 623e6a4fc3 Make wxWebViewEdge visible after creating
Fixes: #18851
2021-02-07 21:33:28 +01:00
PB e094734a89 Fix numbered list in wxMenuEvent docs
Just remove the empty line which prevented doxygen from generating a numbered list.
2021-01-24 21:58:59 +01:00
PB 688baa1097 Remove the '+' from "GTK+" everywhere 2020-12-08 17:32:39 +01:00
PB d4b84dbb35 Update as requested in review 2020-12-08 17:24:53 +01:00
PB 415f16b22e Update Platform Details overview
Remove information that is no longer relevant or important.
Replace "http" with "https" everywhere.
2020-12-08 15:57:54 +01:00
PB 6fbacb20d8 Remove checks for wxNEEDS_CHARPP
wxNEEDS_CHARPP was needed only for now unsupported GCC versions.
2020-10-19 20:07:16 +02:00
PB a7df23d43c Remove checks for outdated GCC versions
wxWidgets now supports only GCC 4 and newer, so there is no reason
to keep code specific for older GCC versions.
2020-10-19 19:38:53 +02:00
PB 68a4e47e4c Remove trailing whitespace 2020-10-15 19:50:37 +02:00
PB 29370cfee9 Get rid of wxCOMPILER_NO_OVERLOAD_ON_ENUM compile guard 2020-10-15 16:41:43 +02:00
PB caab5dda00 Resolve removal of the rest of BCC-affected
Make changes based on feedback provided by vadz.
2020-10-14 20:11:58 +02:00
PB 6ba1b8c78c Fix the bug causing GUI tests crashes 2020-10-14 20:10:30 +02:00