WinCE build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -447,6 +447,11 @@ bool wxPlatform::Is(int platform)
|
||||
if (platform == wxOS_WINDOWS_CE)
|
||||
return true;
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
|
||||
// FIXME: wxWinPocketPC and wxWinSmartPhone are unknown symbols
|
||||
|
||||
#if defined(__WXWINCE__) && defined(__POCKETPC__)
|
||||
if (platform == wxWinPocketPC)
|
||||
return true;
|
||||
@@ -455,6 +460,9 @@ bool wxPlatform::Is(int platform)
|
||||
if (platform == wxWinSmartPhone)
|
||||
return true;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef __WXGTK__
|
||||
if (platform == wxPORT_GTK)
|
||||
return true;
|
||||
|
@@ -293,7 +293,7 @@ class wxTreeItemParam
|
||||
{
|
||||
public:
|
||||
wxTreeItemParam()
|
||||
: m_item((long int)0),
|
||||
: m_item(NULL),
|
||||
m_data(NULL)
|
||||
{
|
||||
for ( size_t n = 0; n < WXSIZEOF(m_images); n++ )
|
||||
|
@@ -1197,8 +1197,8 @@ wxOperatingSystemId wxGetOsVersion(int *verMaj, int *verMin)
|
||||
if (verMin) *verMin = info.dwMinorVersion;
|
||||
}
|
||||
|
||||
#if defined(__WXHANDHELD__) || defined( __WXWINCE__ )
|
||||
return wxOS_WINDOWS_WINCE;
|
||||
#if defined( __WXWINCE__ )
|
||||
return wxOS_WINDOWS_CE;
|
||||
#elif defined( __WXMICROWIN__ )
|
||||
return wxOS_WINDOWS_MICRO;
|
||||
#else
|
||||
|
Reference in New Issue
Block a user