git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39970
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if (!pSetLayeredWindowAttributes)
{
pSetLayeredWindowAttributes =
if (!pSetLayeredWindowAttributes)
{
pSetLayeredWindowAttributes =
- (PSETLAYEREDWINDOWATTR)GetProcAddress(h,"SetLayeredWindowAttributes");
+ (PSETLAYEREDWINDOWATTR)GetProcAddress(h,
+#ifdef __WXWINCE__
+ wxT("SetLayeredWindowAttributes")
+#else
+ "SetLayeredWindowAttributes"
+#endif
+ );
}
if (pSetLayeredWindowAttributes == NULL)
}
if (pSetLayeredWindowAttributes == NULL)
pinfo.name.Printf(wxT("%08lx%08x%08x%08lx"),
((unsigned long)pinfo.window) & 0xffffffff,
(unsigned int)time(NULL),
pinfo.name.Printf(wxT("%08lx%08x%08x%08lx"),
((unsigned long)pinfo.window) & 0xffffffff,
(unsigned int)time(NULL),
+#ifdef __WXWINCE__
+ (unsigned int)GetTickCount(),
+#else
(unsigned long)m_panes.GetCount());
}
(unsigned long)m_panes.GetCount());
}
// we get better font quality if we use this instead of DEFAULT_QUALITY
// apparently without any drawbacks
// we get better font quality if we use this instead of DEFAULT_QUALITY
// apparently without any drawbacks
+#ifdef __WXWINCE__
+ lf.lfQuality = CLEARTYPE_QUALITY;
+#else
lf.lfQuality = PROOF_QUALITY;
lf.lfQuality = PROOF_QUALITY;
}
int wxNativeFontInfo::GetPointSize() const
}
int wxNativeFontInfo::GetPointSize() const