Commit Graph
77252 Commits
Author SHA1 Message Date
Vadim Zeitlin b2e45a048d Add dragimag, event, except, exec, fswatcher, help, htlbox 2024-11-03 20:11:44 +01:00
Vadim Zeitlin f279f55ca2 Add "docview" sample project 2024-11-03 20:11:44 +01:00
Vadim Zeitlin 53be78dcf1 Add "dnd" sample project 2024-11-03 20:11:44 +01:00
Vadim Zeitlin 2c4c3afcff Add "display" sample project 2024-11-03 20:11:44 +01:00
Vadim Zeitlin 601a256aee Add "dialup" sample project
Create new "Unmaintained Old Samples" category for it and rename the
existing "Various" category to "Uncategorized" in order to make it
appear before the "Unmaintained" one.
2024-11-03 20:11:44 +01:00
Vadim Zeitlin 5db104347c Add "debugrpt" sample project 2024-11-03 20:11:44 +01:00
Vadim Zeitlin a53d2d8c4c Add "config" sample project 2024-11-03 20:11:44 +01:00
Vadim Zeitlin 7b1c9ed112 Add "caret" sample project 2024-11-03 20:11:44 +01:00
Vadim Zeitlin 88dc726843 Add "calendar" sample project 2024-11-03 20:11:44 +01:00
Vadim Zeitlin 6323109829 Exclude generated Perl scripts from whitespace checks
App::FatPacker adds a lot of extra whitespace but we don't really care
about it in the generated files, so just skip them in the corresponding
check.
2024-11-03 20:11:44 +01:00
Vadim Zeitlin a4154cdb32 Add fatpacked version of clone-minimal-vcxproj helper
This one can be used without having any Perl modules on the system.
2024-11-03 20:11:44 +01:00
Vadim Zeitlin 04b94be476 Add an even more ad hoc script to create sample projects
This one half-adds them to the solution file too: note that you still
need to sort the new sample under the correct folder interactively and
apply the same changes as to samples/samples_vc17.sln to all the other
solution file which can be done by e.g. the following shell one-liner:

for v in 14 15 16; do
  git diff -- samples/samples_vc17.sln | sed "s/samples_vc17.sln/samples_vc${v}.sln/g" | git apply -v
done
2024-11-03 20:11:44 +01:00
Vadim Zeitlin 24dea4bc77 Add "access" sample project 2024-11-03 20:11:44 +01:00
Vadim Zeitlin ff6d1806b4 Add "anitest" sample project 2024-11-03 20:11:44 +01:00
Vadim Zeitlin e362cc578d Add "sound" sample project 2024-11-03 20:11:44 +01:00
Vadim Zeitlin 7ef01b965f Add "webrequest" sample project 2024-11-03 20:11:44 +01:00
Vadim Zeitlin 063732a5d4 Add "stc" sample project 2024-11-03 20:11:44 +01:00
Vadim Zeitlin 9f37797cf0 Add more samples projects 2024-11-03 20:11:44 +01:00
Vadim Zeitlin 4f8c5e6069 Use DPI aware manifest in the widgets sample MSVS project 2024-11-02 16:50:49 +01:00
Vadim Zeitlin 7518bb6a0d Add "image" sample project 2024-11-02 16:50:49 +01:00
Vadim Zeitlin fdf69ac2bb Fix "erase" sample appearance in high DPI
Just add the calls to FromDIP() everywhere.
2024-11-02 16:50:49 +01:00
Vadim Zeitlin ddca938b84 Add erase sample project 2024-11-02 16:50:49 +01:00
Vadim Zeitlin 5a768c2a16 Add vscroll sample project 2024-11-02 16:50:49 +01:00
Vadim Zeitlin 569c3cb01b Add several more samples projects 2024-11-02 16:50:49 +01:00
Vadim Zeitlin 6dc535ba03 Save docview sample data under "wxWidgets_Samples" too
Make this sample consistent with the "widgets" one, which already used
"wxWidgets_Samples" as vendor name (which is used as registry key name
under MSW).
2024-11-02 16:50:49 +01:00
Vadim Zeitlin 1ff7e4a854 Add "drawing" sample to the samples solution
Put it under the new "Topical Samples" folder.
2024-11-02 16:50:49 +01:00
Vadim Zeitlin bf57077c55 Rename samples solutions folder to put them in better order
MSVS seems to always order the folders alphabetically, so try to name
name in such a way that more important folders appear at the top and
less important ones at the bottom.
2024-11-02 16:50:49 +01:00
Vadim Zeitlin f453cdb410 Add more samples to MSVS solution file 2024-11-02 16:50:49 +01:00
Vadim Zeitlin 5c94a843a3 Add all libraries and folders to the samples solutions
Even if all libraries are not used here yet, they will be by at least
some samples when they are added.

Also start organizing things by putting projects under folders to avoid
having too many of them at the top level.
2024-11-02 16:50:49 +01:00
Vadim Zeitlin 5ffb02e7e9 Add dependency on the custom build step to MSVS samples solutions
This allows to build them immediately by building this solution, without
building the library first.
2024-11-02 16:50:49 +01:00
Vadim Zeitlin 0f73c7f126 Move minimal sample MSVS solutions to the samples directory
This is done in preparation for adding more samples to these solution
files.
2024-11-02 16:50:48 +01:00
Vadim Zeitlin e1c36794f0 Remove obsolete exclusions for MSVS 2008 ARM projects
They're not used since a long time and will never be again.
2024-11-02 16:50:48 +01:00
Vadim Zeitlin 1b2ccae1ce Add fatpack'd version of vcxproj-clone Perl script
This version includes UUID::Tiny dependency and so doesn't need anything
except core Perl itself and so should run just about anywhere.

This was produced by "fatpack pack vcxproj-clone.pl > vcxproj-clone".
2024-11-02 16:50:48 +01:00
Vadim Zeitlin 63100ff3ae Add script allowing to create a clone of MSVS project file
Put under version control an ancient script (created back in ~2012?)
that can be used to create a copy an existing MSVS project file using a
new name and a different UUID.

This is very far from being a replacement for a proper (meta) build
system such as bakefile but still better than nothing at all.
2024-11-02 16:50:48 +01:00
Roberto Boriotti 50252c9382 Remove stray zero-width space from Italian translations
No real changes, just remove an accidentally added U+200B from one
translation.
2024-11-02 16:05:19 +01:00
Bill Su 12b09a5e5e Provide wxXmlResourceHandler for wxVListBox
Fix #24361.

Closes #24867.
2024-11-02 04:03:24 +01:00
Vadim Zeitlin d7528e39ab Merge branch 'aui-update-iconized'
Fix updating AUI while minimized.

See #24934.
2024-11-02 04:01:13 +01:00
Vadim Zeitlin b7bc6a15d6 Merge branches 'gtk-mouse-click', 'gtk-click-captured' and 'gtk-enter-leave-events'
Fix multiple problems with GTK mouse events:

- Avoid phantom release events after dismissing modal dialog (#24931).
- Do send enter/leave events for window-less controls in wxGTK (#24932).
- Fix coordinates in click events sent to window with capture (#24933).
2024-11-02 03:57:53 +01:00
Blake-Madden a32caeecd9 Mention that wxHTML can handle background-color style
Closes #24923.
2024-11-02 03:57:22 +01:00
Blake-Madden 48df3a32fc wxHtmlPrintout i18n and DPI fixes
Make default titles translatable, don't piece strings together for
title.

Also, make initial frame size DPI aware.

Remove wxT macros.

Closes #24916.
2024-11-02 03:56:29 +01:00
Vadim Zeitlin ec7cfdf2c3 Merge branch 'pg-fixes'
Miscellaneous wxPropertyGrid fixes.

See #24929.
2024-11-02 03:54:48 +01:00
Vadim Zeitlin 3966608c59 Merge branch 'lbox-ownerdraw-bg'
Fixes for owner drawn wxListBox items background.

See #24918.
2024-11-02 03:52:08 +01:00
Vadim Zeitlin 297223ea93 Merge branch 'webrequest-curl-close-crash'
Fix crash in wxWebRequestCURL when connection is refused

See #24914.
2024-11-02 03:44:38 +01:00
Vadim Zeitlin 6277278e45 Merge branch 'aui-hint-fixes'
wxAUI notebook pages dragging-related fixes, fixing #24890 and #24892.

See #24911.
2024-11-02 03:43:38 +01:00
Vadim Zeitlin 3cce8397ec Merge branch 'msw-offset-fixes'
Fix handling client area offset in wxMSW for different DC classes.

See #24924.
2024-11-02 03:40:32 +01:00
Vadim Zeitlin d3f788f371 Don't leave wxGUIEventLoop::m_lastEvent uninitialized
Zero out m_lastEvent originally to avoid reading uninitialized memory
contents later in memcmp() when GTKIsSameAsLastEvent() is copied.
2024-11-01 22:15:42 +01:00
Vadim Zeitlin d20fb1c199 Return empty size from iconized wxFrame GetClientSize() in wxMSW
Returning negative size, due to subtracting tool/status bar size from
it, was unexpected, so return empty, i.e. (0,0), size when the window is
iconized instead, as documented.
2024-11-01 19:13:21 +01:00
Vadim Zeitlin 8b71472619 Don't break AUI layout if Update() is called while iconized
Because we don't have the correct client size when the window is
minimized (at least in wxMSW), postpone the actual update until the
window is restored, as we don't really need to do it until then anyhow.

Closes #24930.
2024-11-01 19:13:21 +01:00
Lauri Nurmi a47b560fd4 Fix wxGETTEXT_IN_CONTEXT* with wxNO_IMPLICIT_WXSTRING_ENCODING
The call to wxGetTranslation() was ambiguous. Fix this by adding missing
wxASCII_STR() for all string literal arguments in wxGETTEXT_IN_CONTEXT
and wxGETTEXT_IN_CONTEXT_PLURAL, just as it is used in _().

Also test that all translation macros expand to compilable code
when wxNO_IMPLICIT_WXSTRING_ENCODING is enabled.

See #1312 and also #24916.

Closes #24925.
2024-11-01 16:35:06 +01:00
Vadim Zeitlin c6bcc29c69 Fix coordinates in click events sent to window with capture
First of all, ensure that the press and release events do go to the
window with the capture, which may not have been the case at all when
the capturing window didn't have a corresponding GDK window, e.g. when
capturing mouse in wxStaticText-derived class.

And also adjust the coordinates to be correct for the captured window to
ensure that the window receives the expected events.
2024-11-01 00:52:52 +01:00