///////////////////////////////////////////////////////////////////////////////
// Name: src/msw/wince/choicece.cpp
-// Purpose: wxChoice implementation for Smartphones
+// Purpose: wxChoice implementation for smart phones driven by WinCE
// Author: Wlodzimierz ABX Skiba
// Modified by:
// Created: 29.07.2004
#include "wx/msw/missing.h"
#include "wx/msw/winundef.h"
-#if wxUSE_CHOICE && defined(__SMARTPHONE__)
+#if wxUSE_CHOICE && defined(__SMARTPHONE__) && defined(__WXWINCE__)
#if wxUSE_EXTENDED_RTTI
// TODO
wxConstCast(this, wxChoice)->m_hWnd = hWnd;
}
-#endif // wxUSE_CHOICE && __SMARTPHONE__
+#endif // wxUSE_CHOICE && __SMARTPHONE__ && __WXWINCE__
/////////////////////////////////////////////////////////////////////////////
// Name: src/msw/wince/filedlgwce.cpp
-// Purpose: wxFileDialog for WinCE (SmartPhone)
+// Purpose: wxFileDialog implementation for smart phones driven by WinCE
// Author: Julian Smart
// Modified by:
// Created: 01/02/97
// Only use this for MS SmartPhone. Use standard file dialog
// for Pocket PC.
-#if wxUSE_FILEDLG && defined(__SMARTPHONE__)
+#if wxUSE_FILEDLG && defined(__SMARTPHONE__) && defined(__WXWINCE__)
#ifndef WX_PRECOMP
#include "wx/utils.h"
files = m_fileNames;
}
-#endif // wxUSE_FILEDLG
-
+#endif // wxUSE_FILEDLG && __SMARTPHONE__ && __WXWINCE__
#include "wx/menu.h"
#endif //WX_PRECOMP
-#ifdef __SMARTPHONE__
+#if defined(__SMARTPHONE__) && defined(__WXWINCE__)
#include <windows.h>
#include <ole2.h>
return false;
}
-#endif // __SMARTPHONE__
+#endif // __SMARTPHONE__ && __WXWINCE__
///////////////////////////////////////////////////////////////////////////////
// Name: src/msw/wince/textctrlce.cpp
-// Purpose: wxTextCtrl implementation for Smartphones
+// Purpose: wxTextCtrl implementation for smart phones driven by WinCE
// Author: Wlodzimierz ABX Skiba
// Modified by:
// Created: 30.08.2004
#include "wx/msw/missing.h"
#include "wx/msw/winundef.h"
-#if wxUSE_TEXTCTRL && defined(__SMARTPHONE__)
+#if wxUSE_TEXTCTRL && defined(__SMARTPHONE__) && defined(__WXWINCE__)
#define GetBuddyHwnd() (HWND)(m_hwndBuddy)
}
}
-#endif // wxUSE_TEXTCTRL && __SMARTPHONE__
+#endif // wxUSE_TEXTCTRL && __SMARTPHONE__ && __WXWINCE__