Win32Window::~Win32Window() { setKeyboardCallback(0); setMouseMoveCallback(0); setMouseButtonCallback(0); setWheelCallback(0); setResizeCallback(0); sData = 0; delete m_data; }
void Win32Window::closeWindow() { setKeyboardCallback(0); setMouseMoveCallback(0); setMouseButtonCallback(0); setWheelCallback(0); setResizeCallback(0); setRenderCallback(0); DestroyWindow(this->m_data->m_hWnd); }