wxWidgets/interface/wx
tm f6cc8ff52c Add GetOpenGLScaleFactor() to abstract OpenGL coordinates scaling
The fix for OpenGL coordinates when using high DPI in b134589cbb (Fix
OpenGL samples when using HiDPI displays, 2019-08-06) did fix it for GTK
3 and macOS, but broke it for MSW and other platforms not using pixel
scaling, as window coordinates are the same as OpenGL ones there, while
GetContentScaleFactor() can still return values > 1 even on these
platforms.

Provide new GetOpenGLScaleFactor() function abstracting this platform
difference and use it in all OpenGL samples to make them work correctly
in high DPI under all platforms.

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

Closes #17391.
2020-07-12 22:28:29 +02:00
..
aui Fix spelling in comments and documentation using codespell 2020-06-27 22:56:22 +02:00
generic Fix spelling in comments and documentation using codespell 2020-06-27 22:56:22 +02:00
html Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
msw Improve wxRegKey documentation 2020-01-07 02:39:33 +01:00
persist
propgrid Fix spelling in comments and documentation using codespell 2020-06-27 22:56:22 +02:00
protocol
ribbon Fix spelling in comments and documentation using codespell 2020-06-27 22:56:22 +02:00
richtext Add missing wxRICHTEXT_HANDLER_USE_CSS 2020-07-08 16:38:02 -07:00
stc Fix spelling in comments and documentation using codespell 2020-06-27 22:56:22 +02:00
xml Fix various doxygen issues in the documentation 2019-10-20 11:53:49 +02:00
xrc Use GetAnimation() in wxAnimationCtrlXmlHandler again 2020-06-09 18:07:10 +02:00
aboutdlg.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
accel.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
access.h
activityindicator.h
addremovectrl.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
affinematrix2d.h
affinematrix2dbase.h
anidecod.h Split decoder interface to match the actual header files 2020-03-24 17:32:12 -07:00
animate.h Restore wxAnimation::GetFrame() constness 2020-04-12 16:36:34 +02:00
animdecod.h Split decoder interface to match the actual header files 2020-03-24 17:32:12 -07:00
any.h
anybutton.h
app.h Merge branch 'master' into osx-10_10-min-10_11-SDK 2020-07-04 23:03:55 +02:00
appprogress.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
apptrait.h
archive.h
arrstr.h Refactor the natural string compare and sort algorithm 2020-07-07 23:10:18 +02:00
artprov.h
atomic.h
bannerwindow.h
base64.h
bitmap.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
bmpbuttn.h
bmpcbox.h
bookctrl.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
brush.h
buffer.h
busyinfo.h Allow updating wxBusyInfo text while it's shown 2019-09-08 23:13:00 +02:00
button.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
calctrl.h
caret.h
chartype.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
checkbox.h
checklst.h
choicdlg.h
choice.h
choicebk.h
clipbrd.h Implement wxClipboard::Flush() in wxGTK 2019-05-10 01:46:54 +02:00
clntdata.h
clrpicker.h Add missing and fix broken interface items for wxPython 2019-05-23 21:26:14 -07:00
cmdline.h Fix various doxygen issues in the documentation 2019-10-20 11:53:49 +02:00
cmdproc.h
cmndata.h
collheaderctrl.h Fix various doxygen issues in the documentation 2019-10-20 11:53:49 +02:00
collpane.h
colordlg.h Make wxColourData parameter of wxColourDialog ctor const 2019-07-16 20:19:33 +02:00
colour.h Fix wxColour::GetAsString called for non-solid colour 2019-11-24 19:49:59 +01:00
colourdata.h
combo.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
combobox.h Implement support for wxCB_SORT in wxOSX wxComboBox 2019-07-26 18:19:47 +02:00
commandlinkbutton.h
config.h Fix spelling in comments and documentation using codespell 2020-06-27 22:56:22 +02:00
containr.h
control.h Add wxControl::GetSizeFromText() helper function 2019-10-09 01:43:50 +02:00
convauto.h
cpp.h
cshelp.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
ctrlsub.h
cursor.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
custombgwin.h
dataobj.h Remove obsolete note about limited wxFileDataObject support 2019-07-09 22:36:20 +02:00
dataview.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
datectrl.h
dateevt.h
datetime.h Fix spelling in comments and documentation using codespell 2020-06-27 22:56:22 +02:00
datstrm.h
dc.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
dcbuffer.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
dcclient.h Document that using wxClientDC for drawing is not portable 2020-06-27 16:37:48 +02:00
dcgraph.h Document wxGCDC::SetGraphicsContext() difference from ctor 2019-07-07 03:18:18 +02:00
dcmemory.h Add missing wxMemoryDC::GetSelectedBitmap 2020-03-23 20:17:22 -07:00
dcmirror.h
dcprint.h
dcps.h
dcscreen.h
dcsvg.h Allow to set wxSVGFileDC shape rendering mode 2019-08-20 20:21:05 +02:00
dde.h
debug.h
debugrpt.h
defs.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
dialog.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
dialup.h
dir.h Fix parameter name in wxDir::HasSubDirs() documentation 2019-11-13 19:18:06 +01:00
dirctrl.h Fix various doxygen issues in the documentation 2019-10-20 11:53:49 +02:00
dirdlg.h Warn on incompatible wxDirDialog styles 2020-07-10 03:32:49 +02:00
display.h Create primary monitor when using wxDisplay default ctor 2019-11-08 00:26:20 +01:00
dnd.h Fix spelling in comments and documentation using codespell 2020-06-27 22:56:22 +02:00
docmdi.h
docview.h
dragimag.h
dynarray.h
dynlib.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
editlbox.h
encconv.h
event.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
eventfilter.h
evtloop.h Remove 'virtual' from some items that are not virtual in the real code 2019-05-24 13:33:41 -07:00
fdrepdlg.h
ffile.h Document wxTemp[F]File default ctors 2020-02-21 14:57:28 +01:00
file.h Document wxTemp[F]File default ctors 2020-02-21 14:57:28 +01:00
fileconf.h Allow disabling saving wxFileConfig data when it is destroyed 2019-08-04 19:15:39 +02:00
filectrl.h
filedlg.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
filefn.h
filehistory.h
filename.h Move URL<->filename conversion functions to wxFileName 2019-08-25 00:48:39 +02:00
filepicker.h
filesys.h
font.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
fontdata.h Add wxFontDialog::RestrictSelection() to disallow raster fonts 2020-07-04 13:14:38 +02:00
fontdlg.h
fontenum.h
fontmap.h
fontpicker.h
fontutil.h
frame.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
fs_arc.h
fs_filter.h
fs_inet.h
fs_mem.h
fswatcher.h Merge branch 'master' into osx-10_10-min-10_11-SDK 2020-07-04 23:03:55 +02:00
gauge.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
gbsizer.h Add missing and fix broken interface items for wxPython 2019-05-23 21:26:14 -07:00
gdicmn.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
gdiobj.h
geometry.h
gifdecod.h Split decoder interface to match the actual header files 2020-03-24 17:32:12 -07:00
glcanvas.h Add GetOpenGLScaleFactor() to abstract OpenGL coordinates scaling 2020-07-12 22:28:29 +02:00
graphics.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
grid.h Add wxGridCellActivatableEditor and show it in the grid sample 2020-06-30 02:30:36 +02:00
hash.h
hashmap.h
hashset.h
headercol.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
headerctrl.h Add wxHeaderCtrl::GetColumnTitleWidth() overload taking index 2019-09-18 01:21:36 +02:00
help.h Allow opening ToC and index in wxCHMHelpController 2019-07-24 11:29:06 +02:00
htmllbox.h
hyperlink.h
icon.h
iconbndl.h
iconloc.h
image.h Fix various doxygen issues in the documentation 2019-10-20 11:53:49 +02:00
imaggif.h
imagiff.h
imagjpeg.h
imaglist.h
imagpcx.h
imagpng.h
imagpnm.h
imagtga.h
imagtiff.h
imagxpm.h
infobar.h
init.h
intl.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
ipc.h
ipcbase.h
itemattr.h
joystick.h
kbdstate.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
language.h
layout.h
laywin.h
link.h
list.h
listbook.h
listbox.h Improve support for TABs in wxListBox under MSW 2020-05-02 18:07:50 +02:00
listctrl.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
log.h Fix spelling in comments and documentation using codespell 2020-06-27 22:56:22 +02:00
longlong.h
lzmastream.h
math.h
mdi.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
mediactrl.h Remove the mention of MCI-based backend from wxMediaCtrl docs 2020-05-21 01:55:59 +02:00
memory.h
menu.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
menuitem.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
metafile.h
mimetype.h
minifram.h
modalhook.h
module.h
mousemanager.h
mousestate.h
msgdlg.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
msgout.h
msgqueue.h
mstream.h
nativewin.h Add reference to the widgets sample in the documentation 2019-10-20 21:37:44 +02:00
nonownedwnd.h Document that size of shaped windows can't be changed 2019-10-22 19:37:32 +02:00
notebook.h
notifmsg.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
numdlg.h
numformatter.h
object.h Fix spelling in comments and documentation using codespell 2020-06-27 22:56:22 +02:00
odcombo.h
overlay.h
palette.h
panel.h
pen.h Add the rest of the accessors in wxPenInfo and wxGraphicsPenInfo, 2019-09-04 14:19:23 -07:00
persist.h
pickerbase.h
platform.h
platinfo.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
popupwin.h Add missing and fix broken interface items for wxPython 2019-05-23 21:26:14 -07:00
position.h
power.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
preferences.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
print.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
printdlg.h
process.h
progdlg.h Fix various doxygen issues in the documentation 2019-10-20 11:53:49 +02:00
propdlg.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
quantize.h
radiobox.h
radiobut.h Document wxRadioButton relationship with focus in wxMSW 2020-01-20 13:21:44 +01:00
rawbmp.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
rearrangectrl.h
recguard.h
regex.h Add wxRegEx::QuoteMeta() helper 2019-08-25 12:32:51 +02:00
region.h
renderer.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
richmsgdlg.h
richtooltip.h
sashwin.h
sckipc.h
sckstrm.h
scopedarray.h
scopedptr.h
scopeguard.h
scrolbar.h Add reference to the widgets sample in the documentation 2019-10-20 21:37:44 +02:00
scrolwin.h Various interface corrections 2019-07-31 12:18:55 -07:00
secretstore.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
settings.h updating docs for min system 2020-07-04 21:28:13 +02:00
sharedptr.h
simplebook.h
sizer.h Merge branch 'safer-sizers' 2020-07-06 17:54:46 +02:00
slider.h Add reference to the widgets sample in the documentation 2019-10-20 21:37:44 +02:00
snglinst.h
socket.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
sound.h
spinbutt.h
spinctrl.h Don't allow wxSpinCtrl range to include negative values if base != 10 (wxOSX) 2020-07-12 19:58:30 +02:00
splash.h
splitter.h
srchctrl.h Mention GTK native version in wxSearchCtrl documentation 2020-01-07 03:15:39 +01:00
sstream.h
stack.h
stackwalk.h Fix spelling in comments and documentation using codespell 2020-06-27 22:56:22 +02:00
statbmp.h
statbox.h Fix typos in wxStaticBox docs 2019-10-25 19:39:47 +02:00
statline.h
stattext.h
statusbr.h
stdpaths.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
stdstream.h Fix various doxygen issues in the documentation 2019-10-20 11:53:49 +02:00
stockitem.h
stopwatch.h
strconv.h Fix various doxygen issues in the documentation 2019-10-20 11:53:49 +02:00
stream.h
string.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
sysopt.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
systhemectrl.h Allow calling EnableSystemTheme(false) before creating the window 2019-05-26 23:20:21 +02:00
tarstrm.h
taskbar.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
taskbarbutton.h
textcompleter.h Globally replace vadim@wxwindows.org with vadim@wxwidgets.org 2019-04-22 14:12:05 +02:00
textctrl.h Fix various doxygen issues in the documentation 2019-10-20 11:53:49 +02:00
textdlg.h
textentry.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
textfile.h
textwrapper.h
tglbtn.h Fix various doxygen issues in the documentation 2019-10-20 11:53:49 +02:00
thread.h Add notes about standard threading classes to the documentation 2020-06-01 15:10:24 +02:00
time.h
timectrl.h
timer.h Various interface corrections 2019-07-31 12:18:55 -07:00
tipdlg.h
tipwin.h
tls.h
tokenzr.h
toolbar.h Fix various doxygen issues in the documentation 2019-10-20 11:53:49 +02:00
toolbook.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
tooltip.h
toplevel.h Merge branch 'master' into osx-10_10-min-10_11-SDK 2020-07-04 23:03:55 +02:00
tracker.h
translation.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
treebase.h
treebook.h
treectrl.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
treelist.h Fix spelling in comments and documentation using codespell 2020-06-27 22:56:22 +02:00
txtstrm.h Fix various doxygen issues in the documentation 2019-10-20 11:53:49 +02:00
uiaction.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
unichar.h
uri.h
url.h
ustring.h Fix spelling in comments and documentation using codespell 2020-06-27 22:56:22 +02:00
utils.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
valgen.h
validate.h
valnum.h
valtext.h Fix spelling in comments and documentation using codespell 2020-06-27 22:56:22 +02:00
variant.h
vector.h
version.h
versioninfo.h
vidmode.h
vlbox.h
volume.h
vscroll.h
weakref.h
webview.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
webviewarchivehandler.h
webviewfshandler.h
wfstream.h Add wxTempFFile, similar to wxTempFile but using buffered I/O 2020-02-21 14:52:40 +01:00
window.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
windowid.h
windowptr.h
withimages.h
wizard.h
wrapsizer.h Add missing and fix broken interface items for wxPython 2019-05-23 21:26:14 -07:00
wupdlock.h Allow using wxWindowUpdateLocker conditionally 2020-05-25 17:52:08 +02:00
wxcrt.h
xlocale.h Change documentation references from OS X to macOS (#1927) 2020-07-04 22:08:24 +02:00
zipstrm.h Fix generated documentation for wxZipEntry::GetInternalName() 2020-05-27 01:46:59 +02:00
zstream.h