[wxPython] Finding the Current DPI

How can I determine the Current default DPI/Screen resolution of a user's
monitor or printer.

I know in windows we could make a call to GetDeviceCaps to determine a
device's capabilities. How can we get to that information in
wxWindows/wxPython?

I have seen people mention wxGetDisplaySize() as a solution in the Newsgroup
archives but I don't see this documented anywhere.

  -Mikhael

How can I determine the Current default DPI/Screen resolution of a user's
monitor or printer.

I know in windows we could make a call to GetDeviceCaps to determine a
device's capabilities. How can we get to that information in
wxWindows/wxPython?

I have seen people mention wxGetDisplaySize() as a solution in the

Newsgroup

archives but I don't see this documented anywhere.

There are these functions:

    wxGetDisplaySize
    wxGetDisplaySizeMM

that each return a wxSize object with the size in pixels or the size in
milimeters respectivly.

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!