| 22 | HINSTANCE Window::_hDefaultInst = NULL; |
| 23 | |
| 24 | Window::Window(HINSTANCE hInst, LPCTSTR classname) : |
| 25 | //m_hInstance(hInst), |
| 26 | m_hwnd(NULL), |
| 27 | m_hParent(NULL), |
| 28 | m_className(classname), |
| 29 | m_created(false), |
| 30 | m_exStyle(0), |
| 31 | m_style(0) |
| 32 | { |
| 33 | if (hInst == 0) |
| 34 | m_hInstance = _hDefaultInst; |
| 35 | else |
| 36 | m_hInstance = hInst; |
| 37 | } |
| 38 | |
| 39 | int Window::Create(HWND hParent) { |
| 40 | if (m_created) |
nothing calls this directly
no outgoing calls
no test coverage detected