summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
9393136)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37355
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#define VK_OEM_PERIOD 0xBE
#endif
#define VK_OEM_PERIOD 0xBE
#endif
+#ifndef SM_TABLETPC
+ #define SM_TABLETPC 86
+#endif
+
+#ifndef INKEDIT_CLASS
+# define INKEDIT_CLASSW L"INKEDIT"
+# ifdef UNICODE
+# define INKEDIT_CLASS INKEDIT_CLASSW
+# else
+# define INKEDIT_CLASS "INKEDIT"
+# endif
+#endif
+
+#ifndef EM_SETINKINSERTMODE
+# define EM_SETINKINSERTMODE (WM_USER + 0x0204)
+#endif
+
+#ifndef EM_SETUSEMOUSEFORINPUT
+#define EM_SETUSEMOUSEFORINPUT (WM_USER + 0x224)
+#endif
+
// ----------------------------------------------------------------------------
// ListView common control
// Needed by listctrl.cpp
// ----------------------------------------------------------------------------
// ListView common control
// Needed by listctrl.cpp
enum wxSystemFeature
{
wxSYS_CAN_DRAW_FRAME_DECORATIONS = 1,
enum wxSystemFeature
{
wxSYS_CAN_DRAW_FRAME_DECORATIONS = 1,
- wxSYS_CAN_ICONIZE_FRAME
+ wxSYS_CAN_ICONIZE_FRAME,
+ wxSYS_TABLET_PRESENT
};
// values for different screen designs
};
// values for different screen designs
#include "wx/module.h"
#include "wx/fontutil.h"
#include "wx/module.h"
#include "wx/fontutil.h"
-#ifdef __WXWINCE__ // for SM_CXCURSOR and SM_CYCURSOR
-#include "wx/msw/wince/missing.h"
-#endif // __WXWINCE__
+// for SM_CXCURSOR, SM_CYCURSOR, SM_TABLETPC
+#include "wx/msw/missing.h"
// ----------------------------------------------------------------------------
// private classes
// ----------------------------------------------------------------------------
// private classes
case wxSYS_CAN_DRAW_FRAME_DECORATIONS:
return true;
case wxSYS_CAN_DRAW_FRAME_DECORATIONS:
return true;
+ case wxSYS_TABLET_PRESENT:
+ return ::GetSystemMetrics(SM_TABLETPC) != 0;
+
default:
wxFAIL_MSG( _T("unknown system feature") );
default:
wxFAIL_MSG( _T("unknown system feature") );