diff options
author | nyamatongwe <devnull@localhost> | 2007-07-03 23:32:06 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2007-07-03 23:32:06 +0000 |
commit | be0eaad1e7db0997b20f61c6af7aec2a92dc7560 (patch) | |
tree | afc998caa0731372bf4ea18c96d510864663512e | |
parent | dfea1c775b6f09b991b53547e1d179ddb5e2f744 (diff) | |
download | scintilla-mirror-be0eaad1e7db0997b20f61c6af7aec2a92dc7560.tar.gz |
Changed #ifdef PLAT_MACOSX to #if PLAT_MACOSX as PLAT_MACOSX is always
defined but is 0 on other platforms.
-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 |