I can get the screen resolution in with
wx.DisplaySize()
but I don't see a method which gives me the DPI.
I can get the screen resolution in with
wx.DisplaySize()
but I don't see a method which gives me the DPI.
I don't think there is any such function in wxPython, what you can do instead is, by using ctypes call win32api function GetDeviceCaps and get LOGPIXELSX/LOGPIXELSY