diff options
Diffstat (limited to 'src/osx/gui/WindowPrivate.h')
-rw-r--r-- | src/osx/gui/WindowPrivate.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/osx/gui/WindowPrivate.h b/src/osx/gui/WindowPrivate.h index d8deaa0c..674ba70f 100644 --- a/src/osx/gui/WindowPrivate.h +++ b/src/osx/gui/WindowPrivate.h @@ -35,12 +35,12 @@ class OsxWindowPrivate { friend OsxInputMethodContextPrivate; public: - explicit OsxWindowPrivate(OsxWindow* osx_window) : osx_window_(osx_window) {} + explicit OsxWindowPrivate(OsxWindow* osx_window); CRU_DELETE_COPY(OsxWindowPrivate) CRU_DELETE_MOVE(OsxWindowPrivate) - ~OsxWindowPrivate() = default; + ~OsxWindowPrivate(); public: void OnMouseEnterLeave(MouseEnterLeaveType type); @@ -80,15 +80,15 @@ class OsxWindowPrivate { private: OsxWindow* osx_window_; - INativeWindow* parent_; - WindowStyleFlag style_flag_; + INativeWindow* parent_ = nullptr; + WindowStyleFlag style_flag_ = WindowStyleFlag{}; Rect content_rect_; NSWindow* window_ = nil; CruWindowDelegate* window_delegate_ = nil; - CGLayerRef draw_layer_; + CGLayerRef draw_layer_ = nullptr; bool mouse_in_ = false; |