win32 interfaces: added some defines to enable unicode support easily.

git-svn-id: trunk@14801 -
This commit is contained in:
vincents 2008-04-11 11:22:20 +00:00
parent ec22352fac
commit 9ed9aa3295
14 changed files with 51 additions and 9 deletions

1
.gitattributes vendored
View File

@ -3244,6 +3244,7 @@ lcl/interfaces/win32/issues.xml svneol=native#text/xml
lcl/interfaces/win32/win32callback.inc svneol=native#text/pascal
lcl/interfaces/win32/win32debug.pp svneol=native#text/pascal
lcl/interfaces/win32/win32def.pp svneol=native#text/pascal
lcl/interfaces/win32/win32defines.inc svneol=native#text/plain
lcl/interfaces/win32/win32extra.pas svneol=native#text/pascal
lcl/interfaces/win32/win32int.pp svneol=native#text/pascal
lcl/interfaces/win32/win32lclintf.inc svneol=native#text/pascal

View File

@ -0,0 +1,38 @@
{%MainUnit win32int.pp}
{ $Id: gtkdefines.inc 13666 2008-01-08 11:15:07Z paul $ }
{*****************************************************************************
Centralized includefile for common win32 defines
*****************************************************************************
*****************************************************************************
* *
* This file is part of the Lazarus Component Library (LCL) *
* *
* See the file COPYING.modifiedLGPL, included in this distribution, *
* for details about the copyright. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* *
*****************************************************************************
}
{$IFDEF Trace}
{$ASSERTIONS ON}
{$ENDIF}
// defining the following will print all messages as they are being handled
// valuable for investigation of message trees / interrelations
{ $define MSG_DEBUG}
// for now, DisableWindowsUnicodeSupport
{$DEFINE DisableWindowsUnicodeSupport}
{$IFNDEF DisableWindowsUnicodeSupport}
// Enable WindowsUnicodeSupport for fpc 2.2.1 and higher
{$IFNDEF VER2_2_0}
{$DEFINE WindowsUnicodeSupport}
{$ENDIF VER2_2_0}
{$ENDIF DisableWindowsUnicodeSupport}

View File

@ -25,17 +25,10 @@
unit Win32Int;
{$mode objfpc}{$H+}{$T-}{$message warning Fix implicit pointer conversions}
{$I win32defines.inc}
interface
{$IFDEF Trace}
{$ASSERTIONS ON}
{$ENDIF}
// defining the following will print all messages as they are being handled
// valuable for investigation of message trees / interrelations
{ $define MSG_DEBUG}
{
When editing this unit list, be sure to keep Windows listed first to ensure
successful compilation.

View File

@ -1,4 +1,4 @@
// included by win32int.pp
{%MainUnit win32int.pp}
{******************************************************************************
win32listsl.inc

View File

@ -1,3 +1,4 @@
{%MainUnit win32wsstdctrls.pp}
{$IFDEF MEMOHEADER}
type

View File

@ -23,6 +23,7 @@
unit win32proc;
{$mode objfpc}{$H+}
{$I win32defines.inc}
interface

View File

@ -23,6 +23,7 @@
unit Win32WSButtons;
{$mode objfpc}{$H+}
{$I win32defines.inc}
interface

View File

@ -23,6 +23,7 @@
unit Win32WSComCtrls;
{$mode objfpc}{$H+}
{$I win32defines.inc}
interface

View File

@ -23,6 +23,7 @@
unit Win32WSControls;
{$mode objfpc}{$H+}
{$I win32defines.inc}
interface

View File

@ -23,6 +23,7 @@
unit Win32WSDialogs;
{$mode objfpc}{$H+}
{$I win32defines.inc}
interface

View File

@ -22,6 +22,7 @@
unit Win32WSExtCtrls;
{$mode objfpc}{$H+}
{$I win32defines.inc}
interface

View File

@ -23,6 +23,7 @@
unit Win32WSMenus;
{$mode objfpc}{$H+}
{$I win32defines.inc}
interface

View File

@ -23,6 +23,7 @@
unit Win32WSSpin;
{$mode objfpc}{$H+}
{$I win32defines.inc}
interface

View File

@ -23,6 +23,7 @@
unit Win32WSStdCtrls;
{$mode objfpc}{$H+}
{$I win32defines.inc}
interface