diff options
author | Povilas Kanapickas <povilas.kanapickas@gmail.com> | 2010-10-18 16:52:05 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2010-10-18 16:52:27 +0100 |
commit | 849a713ffd29a58ae79e48f80835c28bbd9d5a72 (patch) | |
tree | 7d2c662f43a00f3bc04a0d51c685544074538a5c /dtrans/source/os2 | |
parent | f7cbde525450a1a9427873c264791c65056c4f2a (diff) |
remove non-compiled code
Diffstat (limited to 'dtrans/source/os2')
-rw-r--r-- | dtrans/source/os2/clipb/Os2Clipboard.cxx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/dtrans/source/os2/clipb/Os2Clipboard.cxx b/dtrans/source/os2/clipb/Os2Clipboard.cxx index e32eb1fd2d82..8ac20f9db56e 100644 --- a/dtrans/source/os2/clipb/Os2Clipboard.cxx +++ b/dtrans/source/os2/clipb/Os2Clipboard.cxx @@ -110,26 +110,6 @@ Os2Clipboard::Os2Clipboard() : hText = 0; hBitmap = 0; -#if 0 - // register object class - if ( WinRegisterClass( hAB, (PSZ)DTRANS_OBJ_CLASSNAME, - (PFNWP)DtransObjWndProc, 0, sizeof(ULONG) )) - { - APIRET rc; - // create object window to get clip viewer messages - hObjWnd = WinCreateWindow( HWND_OBJECT, (PCSZ)DTRANS_OBJ_CLASSNAME, - (PCSZ)"", 0, 0, 0, 0, 0, - HWND_OBJECT, HWND_TOP, - 222, NULL, NULL); - // store pointer - SetWindowPtr( hObjWnd, this); - // register the viewer window - rc = WinOpenClipbrd(hAB); - rc = WinSetClipbrdViewer(hAB, hObjWnd); - rc = WinCloseClipbrd(hAB); - } -#endif - } Os2Clipboard::~Os2Clipboard() |