git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38141
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
these builds cannot co-exist simultaneously.
To use Visual Studio 2005, you need to allow VS to convert the projects
these builds cannot co-exist simultaneously.
To use Visual Studio 2005, you need to allow VS to convert the projects
-first, and then you need to adjust the library settings of
-each wxWidgets and sample project.
+first (but install all the SDKs you need to _before_ converting), and then
+you need to adjust the library settings of each wxWidgets and sample project.
Edit the configuration properties for each configuration and in the Librarian,
add a relative path ..\..\lib to each library path. For example:
Edit the configuration properties for each configuration and in the Librarian,
add a relative path ..\..\lib to each library path. For example:
// including libraries in project files.
#if defined(__VISUALC__) && defined(__WXWINCE__)
// including libraries in project files.
#if defined(__VISUALC__) && defined(__WXWINCE__)
#if (_WIN32_WCE >= 400) || defined(__POCKETPC__)
#if (_WIN32_WCE >= 400) || defined(__POCKETPC__)
+ // No commdlg.lib in Mobile 5.0 Smartphone
+#if !(defined(__SMARTPHONE__) && _WIN32_WCE >= 1200)
#pragma comment(lib,"commdlg.lib")
#endif
#pragma comment(lib,"commdlg.lib")
#endif
#if (_WIN32_WCE >= 400) && !defined(wxNO_RTTI)
#pragma comment(lib,"ccrtrtti.lib")
#if (_WIN32_WCE >= 400) && !defined(wxNO_RTTI)
#pragma comment(lib,"ccrtrtti.lib")
#else
if (!m_hCursorImageList)
{
#else
if (!m_hCursorImageList)
{
+#ifndef SM_CXCURSOR
+ // Smartphone may not have these metric symbol
+ int cxCursor = 16;
+ int cyCursor = 16;
+#else
int cxCursor = ::GetSystemMetrics(SM_CXCURSOR);
int cyCursor = ::GetSystemMetrics(SM_CYCURSOR);
int cxCursor = ::GetSystemMetrics(SM_CXCURSOR);
int cyCursor = ::GetSystemMetrics(SM_CYCURSOR);
m_hCursorImageList = (WXHIMAGELIST) ImageList_Create(cxCursor, cyCursor, ILC_MASK, 1, 1);
}
m_hCursorImageList = (WXHIMAGELIST) ImageList_Create(cxCursor, cyCursor, ILC_MASK, 1, 1);
}
SM_CXBORDER,
SM_CYBORDER,
SM_CXBORDER,
SM_CYBORDER,
+#ifdef SM_CXCURSOR
+ SM_CXCURSOR,
SM_CXDOUBLECLK,
SM_CYDOUBLECLK,
#if defined(__WIN32__) && defined(SM_CXDRAG)
SM_CXDOUBLECLK,
SM_CYDOUBLECLK,
#if defined(__WIN32__) && defined(SM_CXDRAG)