mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 05:02:25 +02:00
win32 interfaces: added some defines to enable unicode support easily.
git-svn-id: trunk@14801 -
This commit is contained in:
parent
ec22352fac
commit
9ed9aa3295
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -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
|
||||
|
38
lcl/interfaces/win32/win32defines.inc
Normal file
38
lcl/interfaces/win32/win32defines.inc
Normal 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}
|
||||
|
@ -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.
|
||||
|
@ -1,4 +1,4 @@
|
||||
// included by win32int.pp
|
||||
{%MainUnit win32int.pp}
|
||||
|
||||
{******************************************************************************
|
||||
win32listsl.inc
|
||||
|
@ -1,3 +1,4 @@
|
||||
{%MainUnit win32wsstdctrls.pp}
|
||||
{$IFDEF MEMOHEADER}
|
||||
type
|
||||
|
||||
|
@ -23,6 +23,7 @@
|
||||
unit win32proc;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
{$I win32defines.inc}
|
||||
|
||||
interface
|
||||
|
||||
|
@ -23,6 +23,7 @@
|
||||
unit Win32WSButtons;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
{$I win32defines.inc}
|
||||
|
||||
interface
|
||||
|
||||
|
@ -23,6 +23,7 @@
|
||||
unit Win32WSComCtrls;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
{$I win32defines.inc}
|
||||
|
||||
interface
|
||||
|
||||
|
@ -23,6 +23,7 @@
|
||||
unit Win32WSControls;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
{$I win32defines.inc}
|
||||
|
||||
interface
|
||||
|
||||
|
@ -23,6 +23,7 @@
|
||||
unit Win32WSDialogs;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
{$I win32defines.inc}
|
||||
|
||||
interface
|
||||
|
||||
|
@ -22,6 +22,7 @@
|
||||
unit Win32WSExtCtrls;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
{$I win32defines.inc}
|
||||
|
||||
interface
|
||||
|
||||
|
@ -23,6 +23,7 @@
|
||||
unit Win32WSMenus;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
{$I win32defines.inc}
|
||||
|
||||
interface
|
||||
|
||||
|
@ -23,6 +23,7 @@
|
||||
unit Win32WSSpin;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
{$I win32defines.inc}
|
||||
|
||||
interface
|
||||
|
||||
|
@ -23,6 +23,7 @@
|
||||
unit Win32WSStdCtrls;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
{$I win32defines.inc}
|
||||
|
||||
interface
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user