From be0eaad1e7db0997b20f61c6af7aec2a92dc7560 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 3 Jul 2007 23:32:06 +0000 Subject: Changed #ifdef PLAT_MACOSX to #if PLAT_MACOSX as PLAT_MACOSX is always defined but is 0 on other platforms. --- include/Platform.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/Platform.h') diff --git a/include/Platform.h b/include/Platform.h index fd1c864ad..08d71e975 100644 --- a/include/Platform.h +++ b/include/Platform.h @@ -368,19 +368,19 @@ typedef void (*CallBackAction)(void*); class Window { protected: WindowID id; -#ifdef PLAT_MACOSX +#if PLAT_MACOSX void *windowRef; void *control; #endif public: Window() : id(0), cursorLast(cursorInvalid) { -#ifdef PLAT_MACOSX +#if PLAT_MACOSX windowRef = 0; control = 0; #endif } Window(const Window &source) : id(source.id), cursorLast(cursorInvalid) { -#ifdef PLAT_MACOSX +#if PLAT_MACOSX windowRef = 0; control = 0; #endif @@ -405,7 +405,7 @@ public: enum Cursor { cursorInvalid, cursorText, cursorArrow, cursorUp, cursorWait, cursorHoriz, cursorVert, cursorReverseArrow, cursorHand }; void SetCursor(Cursor curs); void SetTitle(const char *s); -#ifdef PLAT_MACOSX +#if PLAT_MACOSX void SetWindow(void *ref) { windowRef = ref; }; void SetControl(void *_control) { control = _control; }; #endif -- cgit v1.2.3