summaryrefslogtreecommitdiff
path: root/vcl/win/source/app/saldata.cxx
diff options
context:
space:
mode:
authorJesús Corrius <jesus@softcatala.org>2012-02-02 09:54:00 +0100
committerJesús Corrius <jesus@softcatala.org>2012-02-02 09:54:00 +0100
commit37c198cf098976d4b6814017f3ac1a81b53d2fb5 (patch)
treefb95dc48077703f372fd0eda315300d7f77329cf /vcl/win/source/app/saldata.cxx
parente521a240601c6a2b9f9448db73c09181fed2247d (diff)
Revert "Win32 API calls use the Unicode versions by default"
This reverts commit 157a32f0dc2eaa195ff60e8b60902554e73e999f. The patch is good but it breaks the MinGW build because the compiler is misconfigured and by default the API calls there are ANSI.
Diffstat (limited to 'vcl/win/source/app/saldata.cxx')
-rw-r--r--vcl/win/source/app/saldata.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/win/source/app/saldata.cxx b/vcl/win/source/app/saldata.cxx
index 617b03f6b5db..4445315cc5cd 100644
--- a/vcl/win/source/app/saldata.cxx
+++ b/vcl/win/source/app/saldata.cxx
@@ -93,35 +93,35 @@ int ImplSalWICompareAscii( const wchar_t* pStr1, const char* pStr2 )
BOOL ImplPostMessage( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam )
{
- return PostMessage( hWnd, nMsg, wParam, lParam );
+ return PostMessageW( hWnd, nMsg, wParam, lParam );
}
// -----------------------------------------------------------------------
BOOL ImplSendMessage( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam )
{
- return SendMessage( hWnd, nMsg, wParam, lParam );
+ return SendMessageW( hWnd, nMsg, wParam, lParam );
}
// -----------------------------------------------------------------------
BOOL ImplGetMessage( LPMSG lpMsg, HWND hWnd, UINT wMsgFilterMin, UINT wMsgFilterMax )
{
- return GetMessage( lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax );
+ return GetMessageW( lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax );
}
// -----------------------------------------------------------------------
BOOL ImplPeekMessage( LPMSG lpMsg, HWND hWnd, UINT wMsgFilterMin, UINT wMsgFilterMax, UINT wRemoveMsg )
{
- return PeekMessage( lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax, wRemoveMsg );
+ return PeekMessageW( lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax, wRemoveMsg );
}
// -----------------------------------------------------------------------
LONG ImplDispatchMessage( CONST MSG *lpMsg )
{
- return DispatchMessage( lpMsg );
+ return DispatchMessageW( lpMsg );
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */