wxwidgets/samples
Vadim Zeitlin 9b2f55833e Add wxPreferencesPage::GetIcon() returning wxBitmapBundle
Allow returning a wxBitmapBundle rather than an individual wxBitmap.

Also make GetLargeIcon() non-pure even in wxOSX, as it now doesn't need
to be overridden if GetIcon() is -- but don't make GetIcon() pure
virtual neither to allow the existing code overriding GetLargeIcon() to
keep working.

This incidentally fixes the icons for the standard pages under macOS
broken by 388d322b68 (carry changes to toolbar over to prefs on osx,
2021-09-28), which replaced return statements with assignments,
resulting in the icon being set to the last value assigned to it instead
of the correct one -- this commit restores the previous control flow in
wxStockPreferencesPage::GetLargeIcon() (now called GetIcon()).

Closes #22187.
2022-03-17 23:49:18 +01:00
..
access Rebake after the year change 2022-01-14 22:51:24 +01:00
animate Rebake after the year change 2022-01-14 22:51:24 +01:00
archive Use arch suffix consistently in all directories names 2021-08-26 23:12:40 +02:00
artprov Add accelerators to artprov sample menu entries 2022-02-05 17:53:29 +00:00
aui Rebake after the year change 2022-01-14 22:51:24 +01:00
calendar Rebake after the year change 2022-01-14 22:51:24 +01:00
caret Fix text drawing in caret sample with wxGTK3 and wxOSX 2022-03-10 16:18:20 +01:00
clipboard Rebake after the year change 2022-01-14 22:51:24 +01:00
collpane Rebake after the year change 2022-01-14 22:51:24 +01:00
combo Fix combo sample build without wxHAS_SVG 2022-02-25 18:32:24 +01:00
config Rebake after the year change 2022-01-14 22:51:24 +01:00
console Use arch suffix consistently in all directories names 2021-08-26 23:12:40 +02:00
dataview Use wxBitmapBundle in wxHeaderColumn in samples 2022-03-04 03:37:20 +01:00
debugrpt Rebake after the year change 2022-01-14 22:51:24 +01:00
dialogs Demonstrate how to interrupt closing an application 2022-02-25 00:37:58 +01:00
dialup Rebake after the year change 2022-01-14 22:51:24 +01:00
display Add wxTopLevelWindow::SetContentProtection() 2022-02-06 15:59:22 +01:00
dll Rebake after the year change 2022-01-14 22:51:24 +01:00
dnd Rebake after the year change 2022-01-14 22:51:24 +01:00
docview Rebake after the year change 2022-01-14 22:51:24 +01:00
dragimag Rebake after the year change 2022-01-14 22:51:24 +01:00
drawing Avoid some -Wfloat-conversion warnings 2022-02-13 18:11:55 -08:00
erase Rebake after the year change 2022-01-14 22:51:24 +01:00
event Rebake after the year change 2022-01-14 22:51:24 +01:00
except Rebake after the year change 2022-01-14 22:51:24 +01:00
exec Rebake after the year change 2022-01-14 22:51:24 +01:00
font Rebake after the year change 2022-01-14 22:51:24 +01:00
fswatcher Rebake after the year change 2022-01-14 22:51:24 +01:00
grid Avoid some -Wfloat-conversion warnings 2022-02-13 18:11:55 -08:00
help Rebake after the year change 2022-01-14 22:51:24 +01:00
htlbox Rebake after the year change 2022-01-14 22:51:24 +01:00
html Copy SVG files with samples 2022-03-17 23:48:01 +01:00
image Allow using wxImage::Scale() for zooming in image sample 2022-02-22 02:26:06 +00:00
internat Rebake after the year change 2022-01-14 22:51:24 +01:00
ipc Rebake after the year change 2022-01-14 22:51:24 +01:00
joytest Rebake after the year change 2022-01-14 22:51:24 +01:00
keyboard Rebake after the year change 2022-01-14 22:51:24 +01:00
layout Rebake after the year change 2022-01-14 22:51:24 +01:00
listctrl Rebake after the year change 2022-01-14 22:51:24 +01:00
mdi Rebake after the year change 2022-01-14 22:51:24 +01:00
mediaplayer Rebake after the year change 2022-01-14 22:51:24 +01:00
memcheck Rebake after the year change 2022-01-14 22:51:24 +01:00
menu Use scalable icon in the menu sample 2022-02-05 20:53:36 +01:00
mfc Use DPI aware manifests for MSVS 2022 too 2021-12-18 13:22:59 +01:00
minimal Add wxSuffixDebug to MSVS properties file 2022-02-23 22:12:57 +00:00
nativdlg Rebake after the year change 2022-01-14 22:51:24 +01:00
notebook Rebake after the year change 2022-01-14 22:51:24 +01:00
oleauto Rebake after the year change 2022-01-14 22:51:24 +01:00
opengl Avoid some -Wfloat-conversion warnings 2022-02-13 18:11:55 -08:00
ownerdrw Rebake after the year change 2022-01-14 22:51:24 +01:00
popup Rebake after the year change 2022-01-14 22:51:24 +01:00
power Rebake after the year change 2022-01-14 22:51:24 +01:00
preferences Add wxPreferencesPage::GetIcon() returning wxBitmapBundle 2022-03-17 23:49:18 +01:00
printing Rebake after the year change 2022-01-14 22:51:24 +01:00
propgrid Rebake after the year change 2022-01-14 22:51:24 +01:00
regtest Rebake after the year change 2022-01-14 22:51:24 +01:00
render Avoid some -Wfloat-conversion warnings 2022-02-13 18:11:55 -08:00
ribbon Rebake after the year change 2022-01-14 22:51:24 +01:00
richtext Avoid some -Wfloat-conversion warnings 2022-02-13 18:11:55 -08:00
sashtest Rebake after the year change 2022-01-14 22:51:24 +01:00
scroll Rebake after the year change 2022-01-14 22:51:24 +01:00
secretstore Use arch suffix consistently in all directories names 2021-08-26 23:12:40 +02:00
shaped Rebake after the year change 2022-01-14 22:51:24 +01:00
sockets Rebake after the year change 2022-01-14 22:51:24 +01:00
sound Rebake after the year change 2022-01-14 22:51:24 +01:00
splash Rebake after the year change 2022-01-14 22:51:24 +01:00
splitter Updated sample to allow switching doubleclick on sash on or off. 2022-02-02 22:32:07 +01:00
statbar Rebake after the year change 2022-01-14 22:51:24 +01:00
stc Rebake after the year change 2022-01-14 22:51:24 +01:00
svg Avoid some -Wfloat-conversion warnings 2022-02-13 18:11:55 -08:00
taborder Rebake after the year change 2022-01-14 22:51:24 +01:00
taskbar Copy SVG files with samples 2022-03-17 23:48:01 +01:00
taskbarbutton Rebake after the year change 2022-01-14 22:51:24 +01:00
text Avoid assert on text sample startup under MSW 2022-01-20 00:13:16 +01:00
thread Rebake after the year change 2022-01-14 22:51:24 +01:00
toolbar Add wxBitmapBundle::GetPreferredLogicalSizeFor() 2022-01-27 14:29:25 +01:00
treectrl Add wxBitmapBundle::GetPreferredLogicalSizeFor() 2022-01-27 14:29:25 +01:00
treelist Rebake after the year change 2022-01-14 22:51:24 +01:00
typetest Rebake after the year change 2022-01-14 22:51:24 +01:00
uiaction Rebake after the year change 2022-01-14 22:51:24 +01:00
validate Rebake after the year change 2022-01-14 22:51:24 +01:00
vscroll Rebake after the year change 2022-01-14 22:51:24 +01:00
webrequest Rebake after the year change 2022-01-14 22:51:24 +01:00
webview Rebake for static web view edge 2022-02-07 22:49:33 +01:00
widgets Use wxBitmapBundle in wxHeaderColumn in samples 2022-03-04 03:37:20 +01:00
wizard Copy SVG files with samples 2022-03-17 23:48:01 +01:00
wrapsizer Rebake after the year change 2022-01-14 22:51:24 +01:00
xrc Add "pressed" and "current" wxBitmapButton XRC properties 2022-02-20 18:06:09 +01:00
xti Rebake after the year change 2022-01-14 22:51:24 +01:00
makefile.gcc Add treelist sample to the main samples bakefile 2022-01-14 22:53:24 +01:00
Makefile.in Build samples in parallel with "make -jN" 2017-08-15 19:16:27 +02:00
makefile.vc Add treelist sample to the main samples bakefile 2022-01-14 22:53:24 +01:00
sample.ico Update sample icon to use new logo image in more resolutions 2021-07-06 12:53:39 +01:00
sample.rc Set wxUSE_DPI_AWARE_MANIFEST=2 for all samples, not just toolbar 2021-10-20 16:19:41 +01:00
sample.xpm Update sample icon to use new logo image in more resolutions 2021-07-06 12:53:39 +01:00
samples.bkl Add treelist sample to the main samples bakefile 2022-01-14 22:53:24 +01:00