WinCE build fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-07-04 10:33:06 +00:00
parent d43d9ee796
commit 99ae6124dd
2 changed files with 15 additions and 1 deletions

View 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());
}