summaryrefslogtreecommitdiff
path: root/dtrans/source/os2/clipb
diff options
context:
space:
mode:
authorPovilas Kanapickas <povilas.kanapickas@gmail.com>2010-10-18 16:52:05 +0100
committerMichael Meeks <michael.meeks@novell.com>2010-10-18 16:52:27 +0100
commit849a713ffd29a58ae79e48f80835c28bbd9d5a72 (patch)
tree7d2c662f43a00f3bc04a0d51c685544074538a5c /dtrans/source/os2/clipb
parentf7cbde525450a1a9427873c264791c65056c4f2a (diff)
remove non-compiled code
Diffstat (limited to 'dtrans/source/os2/clipb')
-rw-r--r--dtrans/source/os2/clipb/Os2Clipboard.cxx20
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()