diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2011-09-30 16:25:18 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-09-30 16:25:18 +0300 |
commit | 62892c5cacd0b26f35e567f5a95867a15c807584 (patch) | |
tree | f23746d44e32e2536169abf5e7aa1fd66738bfee /vcl/win | |
parent | d91a698637a53e20805f14b0aaa46e9fb2059bf4 (diff) |
Kill unused SalFrameWndProcA() function
Diffstat (limited to 'vcl/win')
-rw-r--r-- | vcl/win/source/window/salframe.cxx | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx index 162f8dd345dc..cfe05d7735e2 100644 --- a/vcl/win/source/window/salframe.cxx +++ b/vcl/win/source/window/salframe.cxx @@ -6141,34 +6141,6 @@ LRESULT CALLBACK SalFrameWndProc( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lP return nRet; } -LRESULT CALLBACK SalFrameWndProcA( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam ) -{ - int bDef = TRUE; - LRESULT nRet = 0; -#ifdef __MINGW32__ - jmp_buf jmpbuf; - __SEHandler han; - if (__builtin_setjmp(jmpbuf) == 0) - { - han.Set(jmpbuf, NULL, (__SEHandler::PF)EXCEPTION_EXECUTE_HANDLER); -#else - __try - { -#endif - nRet = SalFrameWndProc( hWnd, nMsg, wParam, lParam, bDef ); - } -#ifdef __MINGW32__ - han.Reset(); -#else - __except(WinSalInstance::WorkaroundExceptionHandlingInUSER32Lib(GetExceptionCode(), GetExceptionInformation())) - { - } -#endif - if ( bDef ) - nRet = DefWindowProcA( hWnd, nMsg, wParam, lParam ); - return nRet; -} - LRESULT CALLBACK SalFrameWndProcW( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam ) { int bDef = TRUE; |