+void wxSetProcessDPIAware()
+{
+#if wxUSE_DYNLIB_CLASS
+ typedef BOOL (WINAPI *SetProcessDPIAware_t)(void);
+ wxDynamicLibrary dllUser32(wxT("user32.dll"));
+ SetProcessDPIAware_t pfnSetProcessDPIAware =
+ (SetProcessDPIAware_t)dllUser32.RawGetSymbol(wxT("SetProcessDPIAware"));
+
+ if ( pfnSetProcessDPIAware )
+ pfnSetProcessDPIAware();
+#endif // wxUSE_DYNLIB_CLASS
+}
+
+} //anonymous namespace
+