From 2e73798f76a1e511b834dce81f2349212ac8d581 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 16 Sep 2013 12:00:50 +1000 Subject: Remove dead code that was a remnant of Carbon support. --- include/Platform.h | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'include') 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; }; -- cgit v1.2.3