diff options
author | nyamatongwe <unknown> | 2007-07-03 23:32:06 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2007-07-03 23:32:06 +0000 |
commit | 87aa67fdde379b1754ab1e9f1870296ccf85a605 (patch) | |
tree | afc998caa0731372bf4ea18c96d510864663512e /include/Platform.h | |
parent | 4ab7b0b4e4ef21b23f4896ed56031405d89a1e9a (diff) | |
download | scintilla-mirror-87aa67fdde379b1754ab1e9f1870296ccf85a605.tar.gz |
Changed #ifdef PLAT_MACOSX to #if PLAT_MACOSX as PLAT_MACOSX is always
defined but is 0 on other platforms.
Diffstat (limited to 'include/Platform.h')
-rw-r--r-- | include/Platform.h | 8 |
1 files changed, 4 insertions, 4 deletions
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 |