aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2001-11-19 23:50:32 +0000
committernyamatongwe <devnull@localhost>2001-11-19 23:50:32 +0000
commit1b5aa5d55b88286adfdacd340531799c1da98066 (patch)
tree743495ff4d07a8ff0c9177f773d2eec5dcabe738 /src
parent4ef16ca85bcf0ba44d85c4b35fbf4206b392ef8c (diff)
downloadscintilla-mirror-1b5aa5d55b88286adfdacd340531799c1da98066.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