From ee5c8a4d1d308df0d28a48a19ad60a9f9ebe4a28 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 19 Dec 2001 07:18:45 +0000 Subject: Hoisted IsUnicodeMode method from ScintillaWin to Editor as it is useful on all platforms. Using AutoSurface to simplify allocation of surfaces and ensure they are always deleted. --- src/Editor.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/Editor.h') diff --git a/src/Editor.h b/src/Editor.h index c58da4ea5..f43332e90 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -373,9 +373,11 @@ protected: // ScintillaBase subclass needs access to much of Editor virtual sptr_t DefWndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) = 0; public: - // Public so scintilla_send_message can use it + // Public so the COM thunks can access it. + bool IsUnicodeMode() const; + // Public so scintilla_send_message can use it. virtual sptr_t WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam); - // Public so scintilla_set_id can use it + // Public so scintilla_set_id can use it. int ctrlID; }; -- cgit v1.2.3