Changeset 741 for trunk/src/user32/new/wingdi.cpp
- Timestamp:
- Aug 30, 1999, 2:00:12 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/wingdi.cpp
r724 r741 1 /* $Id: wingdi.cpp,v 1.1 0 1999-08-28 14:09:31sandervl Exp $ */1 /* $Id: wingdi.cpp,v 1.11 1999-08-30 11:59:54 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window graphics apis for OS/2 … … 13 13 #include <misc.h> 14 14 15 #include <win32w nd.h>15 #include <win32wbase.h> 16 16 #include <oslibwin.h> 17 17 #include <oslibgdi.h> … … 24 24 HDC WIN32API BeginPaint(HWND hwnd, PPAINTSTRUCT lps) 25 25 { 26 Win32 Window *window;26 Win32BaseWindow *window; 27 27 HDC hdc; 28 28 29 window = Win32 Window::GetWindowFromHandle(hwnd);29 window = Win32BaseWindow::GetWindowFromHandle(hwnd); 30 30 if(!window) { 31 32 31 dprintf(("GetDC, window %x not found", hwnd)); 32 return 0; 33 33 } 34 34 window->MsgEraseBackGround(hdc); … … 64 64 HDC WIN32API GetDC(HWND hwnd) 65 65 { 66 Win32 Window *window;66 Win32BaseWindow *window; 67 67 68 window = Win32 Window::GetWindowFromHandle(hwnd);68 window = Win32BaseWindow::GetWindowFromHandle(hwnd); 69 69 if(!window) { 70 70 dprintf(("GetDC, window %x not found", hwnd)); 71 71 #ifdef OPEN32_GDI 72 73 72 dprintf(("GetDC %x", hwnd)); 73 return O32_GetDC(0); 74 74 #else 75 76 77 75 //desktop window? 76 dprintf(("GetDC %x", hwnd)); 77 return OSLibWinGetPS(OSLIB_HWND_DESKTOP); 78 78 #endif 79 79 } … … 110 110 HDC WIN32API GetWindowDC(HWND hwnd) 111 111 { 112 Win32 Window *window;112 Win32BaseWindow *window; 113 113 114 window = Win32 Window::GetWindowFromHandle(hwnd);114 window = Win32BaseWindow::GetWindowFromHandle(hwnd); 115 115 if(!window) { 116 116 dprintf(("GetWindowDC, window %x not found", hwnd));
Note:
See TracChangeset
for help on using the changeset viewer.