Test for SDK in use
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -45,10 +45,8 @@
|
|||||||
#if defined(__WXWINCE__)
|
#if defined(__WXWINCE__)
|
||||||
#include <ole2.h>
|
#include <ole2.h>
|
||||||
#include <shellapi.h>
|
#include <shellapi.h>
|
||||||
// FIXME: aygshell.h is in the PocketPC 2003 SDK,
|
// Standard SDK doesn't have aygshell.dll: see include/wx/msw/wince/libraries.h
|
||||||
// so for which SDK _is_ it missing, and how do we test
|
#if _WIN32_WCE < 400 || !defined(WCE_PLATFORM_STANDARDSDK)
|
||||||
// for it?
|
|
||||||
#if 1 // _WIN32_WCE < 400
|
|
||||||
#include <aygshell.h>
|
#include <aygshell.h>
|
||||||
#endif
|
#endif
|
||||||
#include "wx/msw/wince/missing.h"
|
#include "wx/msw/wince/missing.h"
|
||||||
@@ -935,7 +933,8 @@ wxDlgProc(HWND hDlg,
|
|||||||
// for this message, returning TRUE tells system to set focus to
|
// for this message, returning TRUE tells system to set focus to
|
||||||
// the first control in the dialog box, but as we set the focus
|
// the first control in the dialog box, but as we set the focus
|
||||||
// ourselves, we return FALSE from here as well, so fall through
|
// ourselves, we return FALSE from here as well, so fall through
|
||||||
#ifdef __WXWINCE__
|
// Standard SDK doesn't have aygshell.dll: see include/wx/msw/wince/libraries.h
|
||||||
|
#if defined(__WXWINCE__) && !defined(WCE_PLATFORM_STANDARDSDK)
|
||||||
{
|
{
|
||||||
SHINITDLGINFO shidi;
|
SHINITDLGINFO shidi;
|
||||||
shidi.dwMask = SHIDIM_FLAGS;
|
shidi.dwMask = SHIDIM_FLAGS;
|
||||||
|
Reference in New Issue
Block a user