title: How to fix blurry text in WxPython controls on Windows?
body: <p>We have a Python-based application written with WxPython 4 that we build for multiple operating systems, including Windows. In Windows 10, at least in my environment (inside a VM on a high resolution monitor), the text elements in the interface are blurry:</p>
  
  <p><a href="https://i.stack.imgur.com/Q3ODo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Q3ODo.png" alt="enter image description here"></a></p>
  
  <p>I can improve the situation somewhat by <a href="https://stackoverflow.com/questions/50884217/how-can-i-set-windows-dpi-scaling-overrides-via-a-script">setting the Windows DPI-scaling override</a> on the application.  This is indirect and suboptimal, and it seems like there should be a way to do it from WxPython more directly.  However, I have not found a way to do it.</p>
  
  <p>Is there any way to set DPI scaling from WxPython, or otherwise fix blurry text on Windows in WxPython 4 directly from within the application?</p>