Vadim Zeitlin
7b36d72b44
Merge branch 'vc-pmdpi' of https://github.com/MaartenBent/wxWidgets
...
Add DPI Awareness option to nmake makefiles and MSVC projects.
See https://github.com/wxWidgets/wxWidgets/pull/1664
2019-12-03 02:29:25 +01:00
Vadim Zeitlin
7849d231d9
Merge branch 'build-option-fixes' of https://github.com/MaartenBent/wxWidgets
...
Miscellaneous build options fixes.
See https://github.com/wxWidgets/wxWidgets/pull/1661
2019-12-03 02:27:52 +01:00
Maarten Bent
067c192112
Add DPI aware manifest to minimal.vcxproj
2019-11-30 23:11:04 +01:00
Maarten Bent
bed8cd7b52
Rebake after adding DPI awareness option
2019-11-30 22:52:48 +01:00
Maarten Bent
016f00777e
Fix 'declaration hides previous local declaration' warnings
2019-11-29 00:21:01 +01:00
Maarten Bent
7daabeb98b
Rebake event sample
2019-11-28 22:05:00 +01:00
Vadim Zeitlin
04b6fc2f90
Add another cell with boolean renderer/editor to the sample
...
No real changes, just test the boolean cells appearance with the default
white background too.
2019-11-28 02:14:50 +01:00
Maarten Bent
3d1a8ef54e
Fix 'switch label contains default but no case' warning
2019-11-27 21:25:13 +01:00
Maarten Bent
136a43f033
Fix building display sample without wxUSE_DISPLAY
2019-11-21 23:43:04 +01:00
Maarten Bent
c4e54c78fd
Select active mode in display sample
...
Update sample to use SizerFlags.
Set a minimum size to the dialog.
2019-11-21 23:43:02 +01:00
Jouk
db2e571c1b
Add samples/event/chessboard.cpp to be compiled into the sample on OpenVMS
2019-11-19 08:33:38 +01:00
PB
33da780ecf
Add sample code showing how to create a new wxEvent class
...
In the event sample, show how create and use a new
wxEvent-derived class.
Closes https://github.com/wxWidgets/wxWidgets/pull/1633
2019-11-16 00:56:23 +01:00
Vadim Zeitlin
9b43bd8af2
Merge branch 'dpi-textctrl' of https://github.com/MaartenBent/wxWidgets
...
Improvements for wxTextCtrl, wxSearchCtrl, wxButton when using
non-default DPI.
See https://github.com/wxWidgets/wxWidgets/pull/1634
2019-11-13 15:47:59 +01:00
Vadim Zeitlin
767f545be5
Number displays in the sample starting from 1, not 0
...
This is more usual and coincides with the built-in display names under
MSW, where they're called "DISPLAY1", "DISPLAY2" etc.
No real changes.
2019-11-08 00:07:54 +01:00
Stefan Csomor
c9c5a4d99d
fixing include style
2019-11-05 19:52:53 +01:00
Maarten Bent
0e335b9dc1
Make button and searchctrl pages in widgets sample more DPI aware
2019-11-03 21:50:27 +01:00
Maarten Bent
8c0c3cc2b9
Use 'fit exactly' on button page in widgets sample to toggle wxBU_EXACTFIT
2019-11-03 21:50:27 +01:00
Vadim Zeitlin
fe35ddd34b
Make date cells in the grid sample more readable
...
Add labels for the columns using date format and labels for the cells
using date renderer/editor explicitly to give a better idea about what's
going on here.
Also use the same rows numbers for date cells as for the column ones for
consistency.
No real changes.
See 659ab78c6d
2019-11-01 18:48:07 +01:00
Vadim Zeitlin
349e73994b
Merge branch 'dpi-awareness-option' of https://github.com/MaartenBent/wxWidgets
...
Add wxUSE_DPI_AWARE_MANIFEST option allowing to choose to use a manifest
specifying per-monitor DPI awareness.
See https://github.com/wxWidgets/wxWidgets/pull/1622
2019-10-30 21:25:45 +01:00
Maarten Bent
a72c9b6dbc
Run autoconf and rebake after adding wxUSE_DPI_AWARE_MANIFEST
2019-10-30 00:02:08 +01:00
Vadim Zeitlin
0a02f4c190
Increment version number to 3.1.4
...
Done by running misc/scripts/inc_release, manually updating version.bkl,
rebaking and rerunning autoconf.
Also a header for the next version to the change log.
2019-10-28 14:11:00 +01:00
Vadim Zeitlin
2b3e3d6c10
Show wxRendererNative::DrawChoice() in the render sample too
...
See #18255 .
2019-10-25 17:47:02 +02:00
Vadim Zeitlin
616ad0d92b
Show status bar fields coordinates in a message box in the sample
...
Showing them directly on the screen using wxClientDC doesn't work in all
ports, notable under Mac.
See #18469 .
2019-10-25 04:10:23 +02:00
Artur Wieczorek
b97bf311e0
Log widget class name for focus events in widgets sample
...
This shows better what is going on with focus and makes troubleshooting easier.
2019-10-24 21:00:35 +02:00
Vadim Zeitlin
b8c9e6754d
Merge branch 'msvc-warns'
...
Fix an annoying MSVC warning in SDK headers.
Remove wxUSE_IOSTREAMH.
See https://github.com/wxWidgets/wxWidgets/pull/1614
2019-10-23 19:50:14 +02:00
Artur Wieczorek
a60c5b36fe
Don't attempt to delete root wxPGProperty in propgrid sample
...
The root wxPGProperty is not designed to be deleted so we should look
for a property to delete in the collection of its child properties.
Closes #18539 .
2019-10-23 18:02:35 +02:00
Paul Cornett
ffac936882
Fix crash in propgrid sample, see #18537
2019-10-22 19:51:50 -07:00
Vadim Zeitlin
8587a96d70
Remove unused member variable from listctrl sample
...
No real changes, just remove a stray declaration.
2019-10-22 18:49:32 +02:00
Vadim Zeitlin
e34823a0c4
Stop using wx/ioswrap.h in the samples
...
This is not necessary any longer after wxUSE_IOSTREAMH removal and it
makes the sample code more clear.
2019-10-22 02:42:33 +02:00
Vadim Zeitlin
fc711f869f
Remove obsolete wxUSE_IOSTREAMH option
...
This is always 0 for any still supported compiler, so remove the option
and configure checks for it.
Still define it as 0 for compatibility, just in case it's used outside
of the library.
2019-10-21 20:46:21 +02:00
Vadim Zeitlin
b66a4b9948
Add a menu item to start editing the cell to grid sample
...
Show that this is done using EnableCellEditControl() and not
ShowCellEditControl(), as might have been expected.
2019-10-13 01:56:13 +02:00
Olly Betts
18e05aeeee
Remove no-op uses of wxNO_FULL_REPAINT_ON_RESIZE
...
This behaviour has been the default and this constant 0 since
e441e1f4e8
which was over 16 years ago.
Closes https://github.com/wxWidgets/wxWidgets/pull/1601
2019-10-11 14:12:43 +02:00
Artur Wieczorek
4c6b12744c
Demonstrate drawing cross hair in drawing sample
...
There is no such demonstration so far.
2019-10-10 19:37:52 +02:00
Vadim Zeitlin
2f6cb20d2c
Stop intercepting Alt-Fn keys in the text sample
...
This was annoying, especially under MSW, as Alt-F4 couldn't be used to
close the application quickly.
2019-10-09 00:26:26 +02:00
Scott Talbert
b134589cbb
Fix OpenGL samples when using HiDPI displays
...
OpenGL seems to operate using physical pixels, so we need to factor in the
scale factor when setting the GL viewport.
Closes #17391 .
Closes https://github.com/wxWidgets/wxWidgets/pull/1470
2019-10-08 02:14:21 +02:00
Vadim Zeitlin
86fab39ac9
Regenerate MinGW makefiles using response files
...
This avoids errors due to overflowing MSW command line length when
linking monolithic library.
Closes #18135 .
2019-10-06 23:04:21 +02:00
Artur Wieczorek
3bf082a8e5
Fix preparing a bitmap in propgrid sample
...
Set explicitly the background colour before clearing the bitmap.
2019-10-02 00:08:25 +02:00
Artur Wieczorek
203e265d9b
Fix re-creating wxComboBox in widgets sample
...
To preserve layout, old wxComboBox should be replaced with the new one in the same location in the sizer. So we need to create a new combo box first, put in the sizer and only after that the old combo box can be deleted.
2019-10-02 00:01:41 +02:00
Maarten Bent
2b41ba2702
Apply review comments
2019-09-29 19:30:39 +02:00
Maarten Bent
370ae40b35
Use more FromDIP for hardcoded sizes
2019-09-28 23:47:04 +02:00
Ilya Sinitsin
ce01d8286b
Xcode iphone ( #1565 )
...
* Adapt xcodeproj for iPhone to generic imaglist.cpp
* Fix the installation error in the iPhone minimal sample
Fix "Failed to install the requested application" error.
2019-09-28 17:16:35 +02:00
Vadim Zeitlin
1dfdd93a2a
Merge branch 'qt-listctrl'
...
New version of wxListCtrl for wxQt, supporting virtual list controls,
checkboxes, sorting and with other fixes.
See https://github.com/wxWidgets/wxWidgets/pull/1551
2019-09-27 19:16:56 +02:00
Ilya Sinitsyn
7f91481294
Add XRC handler for wxInfoBar
...
Update the schema and the sample to show it in action.
Closes https://github.com/wxWidgets/wxWidgets/pull/1564
2019-09-27 12:57:01 +02:00
Vadim Zeitlin
cfbe47560e
Merge branch 'qt_list_ctrl_hit_test_offset' of https://github.com/GeoTeric/wxWidgets into qt-listctrl
...
Fix wxListCtrl::HitTest() which was off roughly by 1 due to not taking
into account the header height.
Closes https://github.com/wxWidgets/wxWidgets/pull/1350
2019-09-22 01:20:42 +02:00
Vadim Zeitlin
daa64f2ee4
Merge branch 'dvc-inconsist-fixes'
...
Fix several inconsistencies in wxDVC between wxGTK and the other
implementations.
See https://github.com/wxWidgets/wxWidgets/pull/1547
2019-09-18 14:33:34 +02:00
Vadim Zeitlin
7a0f57ea29
Fix assert in the generic file dialog in the dialogs sample
...
Cast the dialog pointer to wxFileDialogBase to avoid failures when using
wxGenericFileDialog, which inherits from wxFileDialogBase, but not from
wxFileDialog itself.
Closes #18506 .
2019-09-18 02:05:07 +02:00
Ilya Sinitsyn
e26d90028b
Allow disabling hiding columns when using wxHeaderCtrl in wxGrid
...
Add wxGrid::DisableHidingColumns() method which can be used to prevent
wxHeaderCtrl from allowing the user to hide columns interactively, which
is something it allows to do by default, unlike the "built-in" wxGrid
header.
Also add EnableHidingColumns() and CanHideColumns() for consistency with
the other similar methods.
Closes https://github.com/wxWidgets/wxWidgets/pull/1554
2019-09-16 23:32:59 +02:00
Paul Kulchenko
9d704706cb
Respect AUI toolbar buttons sticky state in native MSW theme
...
Indicate that the items are sticky by always drawing them in a
hover-like state, as otherwise stickiness wasn't visible at all.
Closes #18496 .
2019-09-14 20:20:05 +02:00
Vadim Zeitlin
063b6edf68
Add a check for resetting the associated model to the sample
...
Verify that resetting the model doesn't result in selection change
events.
2019-09-12 23:20:20 +02:00
Vadim Zeitlin
0d005bdf02
Add wxEVT_DATAVIEW_SELECTION_CHANGED test handler to the sample
...
Verify that the sample is not invoked unexpectedly.
2019-09-12 23:00:14 +02:00