child window created using a winapi::HWND instead of a WindowProxy

This commit is contained in:
k-brac 2016-11-29 13:02:42 +01:00
parent 2b25bf1480
commit 3e2154a922
5 changed files with 54 additions and 59 deletions

View file

@ -372,19 +372,8 @@ impl WindowProxy {
pub fn wakeup_event_loop(&self) {
self.proxy.wakeup_event_loop();
}
/// Returns the platform specific proxy data
#[inline]
pub fn get_proxy_data(&self) -> &platform::WindowProxy {
&self.proxy
}
/// Create a WindowProxy by directly setting its platform specific data
#[inline]
pub fn create_proxy(data: platform::WindowProxy) -> WindowProxy {
WindowProxy {proxy: data}
}
}
/// An iterator for the `poll_events` function.
pub struct PollEventsIterator<'a>(platform::PollEventsIterator<'a>);