wxwidgets/include/wx/x11
Vadim Zeitlin 24fd54ed31 Add wxClientDC::CanBeUsedForDrawing()
This function can be used to check if drawing on wxClientDC actually
works. This has to be a run-time, rather than compile-time, check
because in wxGTK3 this depends on the backend being used: wxClientDC
only doesn't work with Wayland, but does work with X11 (and, less
importantly, Win32) backend(s).

Currently the wxWindow parameter of this function is not used but it
could be useful in the future and it will be simpler to allow not
specifying it (by defaulting it to nullptr) than to add it later, so it
seems better to have it.
2023-12-26 19:27:50 +01:00
..
nanox/X11 Replace tabs with spaces 2020-12-23 17:03:10 +01:00
private
app.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
bitmap.h Use "= default" for all trivial default ctors and dtors 2023-11-17 01:33:32 +01:00
brush.h Use "= default" for all trivial default ctors and dtors 2023-11-17 01:33:32 +01:00
chkconf.h
clipbrd.h Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
colour.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
cursor.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
dataform.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
dataobj.h Use "= default" for all trivial default ctors and dtors 2023-11-17 01:33:32 +01:00
dataobj2.h Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
dc.h Use "= default" for all trivial default ctors and dtors 2023-11-17 01:33:32 +01:00
dcclient.h Add wxClientDC::CanBeUsedForDrawing() 2023-12-26 19:27:50 +01:00
dcmemory.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
dcprint.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
dcscreen.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
dnd.h Use "= default" for all trivial default ctors and dtors 2023-11-17 01:33:32 +01:00
font.h Use "= default" for all trivial default ctors and dtors 2023-11-17 01:33:32 +01:00
glcanvas.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
joystick.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
minifram.h Use "= default" for all trivial default ctors and dtors 2023-11-17 01:33:32 +01:00
palette.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
pen.h Use "= default" for all trivial default ctors and dtors 2023-11-17 01:33:32 +01:00
popupwin.h Use "= default" for all trivial default ctors and dtors 2023-11-17 01:33:32 +01:00
print.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
private.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
privx.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
region.h Use "= default" for all trivial default ctors and dtors 2023-11-17 01:33:32 +01:00
reparent.h Use "= default" for all trivial default ctors and dtors 2023-11-17 01:33:32 +01:00
textctrl.h Use wxASCII_STR() on string literals 2020-07-17 17:52:16 +02:00
toplevel.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
window.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00