]> git.saurik.com Git - wxWidgets.git/commitdiff
WinCE build fixes.
authorWłodzimierz Skiba <abx@abx.art.pl>
Tue, 4 Jul 2006 10:33:06 +0000 (10:33 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Tue, 4 Jul 2006 10:33:06 +0000 (10:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/aui/framemanager.cpp
src/msw/font.cpp

index d935c9304bccb53f2544ddec5b21f1ceaac9dfd9..ec8eeded93ad72e0f168b614dde8972c5462737c 100644 (file)
@@ -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());
     }
 
index 220d37e1b7bdd3891f1c8acece2ebd5f67d0e19b..ea21ef386a46ee3693c06ac9a84d2e01b74d5bcb 100644 (file)
@@ -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