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) {