aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <nyamatongwe@gmail.com>2013-09-16 12:00:50 +1000
committernyamatongwe <nyamatongwe@gmail.com>2013-09-16 12:00:50 +1000
commit2e73798f76a1e511b834dce81f2349212ac8d581 (patch)
treef2f8abbbb0b73529ef75455ed97fcc02a077e310
parenta221edf0438c1c5a1e0f83b2662b15542de4de50 (diff)
downloadscintilla-mirror-2e73798f76a1e511b834dce81f2349212ac8d581.tar.gz
Remove dead code that was a remnant of Carbon support.
-rw-r--r--include/Platform.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/Platform.h b/include/Platform.h
index 7f2f37542..3920f7321 100644
--- a/include/Platform.h
+++ b/include/Platform.h
@@ -345,22 +345,10 @@ typedef void (*CallBackAction)(void*);
class Window {
protected:
WindowID wid;
-#if PLAT_MACOSX
- void *windowRef;
- void *control;
-#endif
public:
Window() : wid(0), cursorLast(cursorInvalid) {
-#if PLAT_MACOSX
- windowRef = 0;
- control = 0;
-#endif
}
Window(const Window &source) : wid(source.wid), cursorLast(cursorInvalid) {
-#if PLAT_MACOSX
- windowRef = 0;
- control = 0;
-#endif
}
virtual ~Window();
Window &operator=(WindowID wid_) {
@@ -383,10 +371,6 @@ public:
void SetCursor(Cursor curs);
void SetTitle(const char *s);
PRectangle GetMonitorRect(Point pt);
-#if PLAT_MACOSX
- void SetWindow(void *ref) { windowRef = ref; }
- void SetControl(void *_control) { control = _control; }
-#endif
private:
Cursor cursorLast;
};