diff --git a/src/aui/framemanager.cpp b/src/aui/framemanager.cpp index d935c9304b..ec8eeded93 100644 --- a/src/aui/framemanager.cpp +++ b/src/aui/framemanager.cpp @@ -100,7 +100,13 @@ static void MakeWindowTransparent(wxWindow* wnd, int amount) if (!pSetLayeredWindowAttributes) { pSetLayeredWindowAttributes = - (PSETLAYEREDWINDOWATTR)GetProcAddress(h,"SetLayeredWindowAttributes"); + (PSETLAYEREDWINDOWATTR)GetProcAddress(h, +#ifdef __WXWINCE__ + wxT("SetLayeredWindowAttributes") +#else + "SetLayeredWindowAttributes" +#endif + ); } if (pSetLayeredWindowAttributes == NULL) @@ -579,7 +585,11 @@ bool wxFrameManager::AddPane(wxWindow* window, const wxPaneInfo& pane_info) pinfo.name.Printf(wxT("%08lx%08x%08x%08lx"), ((unsigned long)pinfo.window) & 0xffffffff, (unsigned int)time(NULL), +#ifdef __WXWINCE__ + (unsigned int)GetTickCount(), +#else (unsigned int)clock(), +#endif (unsigned long)m_panes.GetCount()); } diff --git a/src/msw/font.cpp b/src/msw/font.cpp index 220d37e1b7..ea21ef386a 100644 --- a/src/msw/font.cpp +++ b/src/msw/font.cpp @@ -417,7 +417,11 @@ void wxNativeFontInfo::Init() // 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; +#endif } int wxNativeFontInfo::GetPointSize() const