From 2ba4b612f178e664bd32c1e1334a4ed02209ea7f Mon Sep 17 00:00:00 2001 From: Jinhao Date: Thu, 22 Feb 2018 08:53:44 +0800 Subject: [PATCH] implement bedrock::delete_platform_assoc for linux --- source/gui/detail/bedrock_posix.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/source/gui/detail/bedrock_posix.cpp b/source/gui/detail/bedrock_posix.cpp index 3e38d5ea..ac297366 100644 --- a/source/gui/detail/bedrock_posix.cpp +++ b/source/gui/detail/bedrock_posix.cpp @@ -104,6 +104,11 @@ namespace detail void window_proc_for_packet(Display *, nana::detail::msg_packet_tag&); void window_proc_for_xevent(Display*, XEvent&); + struct window_platform_assoc + { + //Wait... + }; + //class bedrock defines a static object itself to implement a static singleton //here is the definition of this object bedrock bedrock::bedrock_object; @@ -222,6 +227,11 @@ namespace detail arg.shift = (xkey.state & ShiftMask); } + void bedrock::delete_platform_assoc(window_platform_assoc* passoc) + { + delete passoc; + } + void bedrock::keyboard_accelerator(native_window_type, const accel_key&, const std::function& fn) {