diff options
author | Tino Rachui <tra@openoffice.org> | 2002-11-20 14:43:55 +0000 |
---|---|---|
committer | Tino Rachui <tra@openoffice.org> | 2002-11-20 14:43:55 +0000 |
commit | f8d398d2b922722eda9ac2a657191018ce52b3c7 (patch) | |
tree | 9118e9474bb769ea48900a40f19ab0221e6db87a /vcl/win | |
parent | 329f25cb5a051612cbafd630e03aef39822d240e (diff) |
#104055#removed obsolate ImplShowNativeDialog function
Diffstat (limited to 'vcl/win')
-rw-r--r-- | vcl/win/source/window/salframe.cxx | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx index d86bd1dfaaf0..88c3898613fc 100644 --- a/vcl/win/source/window/salframe.cxx +++ b/vcl/win/source/window/salframe.cxx @@ -2,9 +2,9 @@ * * $RCSfile: salframe.cxx,v $ * - * $Revision: 1.78 $ + * $Revision: 1.79 $ * - * last change: $Author: ssa $ $Date: 2002-11-18 17:04:55 $ + * last change: $Author: tra $ $Date: 2002-11-20 15:43:55 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -4645,6 +4645,10 @@ LRESULT CALLBACK SalFrameWndProc( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lP static int bInWheelMsg = FALSE; static int bInQueryEnd = FALSE; + char buff[256]; + wsprintf(buff, "Msg: %d WPARAM: %d LPARAM %d\n", nMsg, wParam, lParam); + OutputDebugStringA(buff); + // By WM_CRETAE we connect the frame with the window handle if ( nMsg == WM_CREATE ) { @@ -5015,22 +5019,6 @@ bool GetSalSystemDisplayInfo( System::DisplayInfo& rInfo ) } // ----------------------------------------------------------------------- - -/* !!! Parameter rButtons and nDefButton will be ignored currently, the - message box has always only an "OK" button !!! -*/ -int ImplShowNativeDialog( const String& rTitle, const String& rMessage, const std::list< String >& rButtons, int nDefButton ) -{ - // Remeber: The MessageBox function exist as ANSI and UNICODE - // version even under Win9x! - MessageBoxW(0, rMessage.GetBuffer(), rTitle.GetBuffer(), MB_OK | MB_TASKMODAL | MB_SETFOREGROUND); - - // always return 0 because there is only - // an "OK" button - return 0; -} - -// ----------------------------------------------------------------------- /* We have to map the button identifier to the identifier used by the Win32 Platform SDK to specify the default button for the MessageBox API. The first dimension is the button combination, the second dimension |