diff options
Diffstat (limited to 'scintilla/include/Platform.h')
-rw-r--r-- | scintilla/include/Platform.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/scintilla/include/Platform.h b/scintilla/include/Platform.h index 6103301..1d0d321 100644 --- a/scintilla/include/Platform.h +++ b/scintilla/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;
};
@@ -528,9 +512,7 @@ public: #endif
#if defined(__GNUC__) && defined(SCINTILLA_QT)
-#pragma GCC diagnostic ignored "-Wmissing-braces"
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
-#pragma GCC diagnostic ignored "-Wchar-subscripts"
#endif
#endif
|