GenericWindow::WindowType_t type )
{
return new Win32Window( getIntf(), rWindow, m_hInst, m_hParentWindow,
- dragDrop, playOnDrop, (Win32Window*)pParent );
+ dragDrop, playOnDrop, (Win32Window*)pParent, type );
}
Win32Window::Win32Window( intf_thread_t *pIntf, GenericWindow &rWindow,
HINSTANCE hInst, HWND hParentWindow,
bool dragDrop, bool playOnDrop,
- Win32Window *pParentWindow ):
+ Win32Window *pParentWindow,
+ GenericWindow::WindowType_t type ):
OSWindow( pIntf ), m_dragDrop( dragDrop ), m_isLayered( false ),
- m_pParent( pParentWindow )
+ m_pParent( pParentWindow ), m_type ( type )
{
// Create the window
if( pParentWindow )
#ifndef WIN32_WINDOW_HPP
#define WIN32_WINDOW_HPP
+#include "../src/generic_window.hpp"
#include "../src/os_window.hpp"
#include <windows.h>
#include <ole2.h> // LPDROPTARGET
Win32Window( intf_thread_t *pIntf, GenericWindow &rWindow,
HINSTANCE hInst, HWND hParentWindow,
bool dragDrop, bool playOnDrop,
- Win32Window *pParentWindow );
+ Win32Window *pParentWindow, GenericWindow::WindowType_t );
virtual ~Win32Window();
// Show the window
mutable bool m_isLayered;
/// Parent window
Win32Window *m_pParent;
+ /// window type
+ GenericWindow::WindowType_t m_type;
+
};