Maarten Bent
942fcf8285
Don't use hard-coded expander sizes in wxPropertyGrid
...
Use wxRendererNative::GetExpanderSize() instead.
Update the tests to work with the bigger expander.
Fixes #25571
2025-09-03 02:23:05 +02:00
Vadim Zeitlin
b107ec473c
Rename scoped enum wxPGPropertyFlags to wxPGFlags
...
This allows to reintroduce wxPGPropertyFlags enum compatible with its
3.2 definition.
The new name for the scoped enum is not great because it less precise
but is shorter, which is more convenient, and it seems difficult to find
something else sufficiently different from wxPGPropertyFlags as to not
provoke confusion with it.
2025-07-14 23:13:59 +02:00
Wlodzimierz-ABX-Skiba
b3629f8859
Fix PropertyGridTestCase when using non-default DPI
...
Add missing FromDIP().
Closes #25124 .
2025-02-08 13:57:23 +01:00
Vadim Zeitlin
7aa6da06d0
Remove wxUSE_LONGLONG and always use wxLongLong_t
...
All supported platforms provide 64-bit integer types since many years,
so remove the legacy wxLongLongWx implementation and rename
wxLongLongNative to just wxLongLong and always compile it in.
Note that wxLongLong itself must still be kept for compatibility as it
has member functions, such as GetValue() or ToString(), that can be used
in the existing code.
2024-10-18 19:26:15 +02:00
Lauri Nurmi
007787c3a8
Remove unused wxString variables
...
A few were removed tests/, which might have existed for readability.
2024-10-02 00:31:08 +03:00
Vadim Zeitlin
2464c900f5
Fix wxPropertyGrid test case failing once every 4 years
...
Don't assume that the same date is valid in the previous year, as this
is not the case for Feb 29.
2024-02-29 16:15:04 +01:00
Artur Wieczorek
c8552aec0c
Make wxPGPropertyFlags a bitmask
...
To improve type safety of flags.
2023-12-25 15:09:50 +01:00
ali kettab
aa4a19cb1d
Fix or skip other failures in the tests under wxQt
2023-11-01 00:39:19 +01:00
Vadim Zeitlin
fa5964c100
Use WaitFor() and new YieldForAWhile() helpers in the tests
...
Reuse the existing function (and another new one, which is even simpler)
instead of duplicating its code in many places in the tests.
No real changes.
2023-10-02 15:10:36 +02:00
Vadim Zeitlin
c6a18264e1
Fix signed/unsigned comparison warnings in wxPropertyGrid tests
...
Use size_t for a variable being compared with a size_t expression.
2023-02-19 23:47:08 +01:00
Artur Wieczorek
5b1911523c
Add more unit tests of wxPGVIterator
2023-02-19 22:36:40 +01:00
Artur Wieczorek
f1273ce152
Use class enums to implement bitmask types
...
To improve type safety of flags.
2023-02-19 22:36:21 +01:00
Artur Wieczorek
ec25a5c83c
Execute automated tests for wxPropertyGrid
...
Move existing manually executed tests in propgrid sample to the test
suite executed automatically.
2023-01-30 17:28:17 +01:00