Attempt at using inkedit control for wxTextCtrl, when PC is tablet enabled. Currently

doesn't behave properly but is a first step.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2006-02-06 17:56:44 +00:00
parent da817fa6eb
commit 8ef51d6704
3 changed files with 138 additions and 38 deletions

View File

@@ -158,6 +158,12 @@ public:
virtual bool SetForegroundColour(const wxColour& colour);
#endif // wxUSE_RICHEDIT
#if wxUSE_INKEDIT && wxUSE_RICHEDIT
bool IsInkEdit() const { return m_isInkEdit != 0; }
#else
bool IsInkEdit() const { return false; }
#endif
virtual void AdoptAttributesFromHWND();
virtual bool AcceptsFocus() const;
@@ -260,6 +266,11 @@ private:
wxMenu* m_privateContextMenu;
bool m_isNativeCaretShown;
#if wxUSE_INKEDIT && wxUSE_RICHEDIT
int m_isInkEdit;
#endif
};
#endif