aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <unknown>2001-11-19 23:50:32 +0000
committernyamatongwe <unknown>2001-11-19 23:50:32 +0000
commit824cf841dc8c3372666bdc350a20dc1f3bc7492a (patch)
tree743495ff4d07a8ff0c9177f773d2eec5dcabe738 /src
parent1c44c10848195b34f569ed1281b087a7d22cb174 (diff)
downloadscintilla-mirror-824cf841dc8c3372666bdc350a20dc1f3bc7492a.tar.gz
Added virtual GetCtrlID method so that the ID can change dynamically
on Windoes when caused by SetWindowLong.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Editor.h b/src/Editor.h
index 3561cee78..2e419d9b2 100644
--- a/src/Editor.h
+++ b/src/Editor.h
@@ -263,6 +263,7 @@ protected: // ScintillaBase subclass needs access to much of Editor
virtual void NotifyChange() = 0;
virtual void NotifyFocus(bool focus);
+ virtual int GetCtrlID() { return ctrlID; }
virtual void NotifyParent(SCNotification scn) = 0;
virtual void NotifyStyleToNeeded(int endStyleNeeded);
void NotifyChar(int ch);
@@ -342,7 +343,7 @@ public:
// 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
- int ctrlID;
+ int ctrlID;
};
#endif