Keith: Fixed some bugs

git-svn-id: trunk@619 -
This commit is contained in:
lazarus 2002-01-24 07:34:50 +00:00
parent 0df04c9229
commit 2e747471d8
3 changed files with 9 additions and 4 deletions

View File

@ -156,7 +156,8 @@ override PACKAGE_VERSION=0.7a
ifndef LCLPLATFORM ifndef LCLPLATFORM
ifeq ($(OS_TARGET), win32) ifeq ($(OS_TARGET), win32)
LCLPLATFORM=win32 LCLPLATFORM=win32
export OPT+=-dSUPPORTS_RESOURCES override FPCOPT+=-dSUPPORTS_RESOURCES
export FPCOPT
else else
LCLPLATFORM=gtk LCLPLATFORM=gtk
endif endif

View File

@ -37,7 +37,8 @@ destdir=$(BASEDIR)/dist
ifndef LCLPLATFORM ifndef LCLPLATFORM
ifeq ($(OS_TARGET), win32) ifeq ($(OS_TARGET), win32)
LCLPLATFORM=win32 LCLPLATFORM=win32
export OPT+=-dSUPPORTS_RESOURCES override FPCOPT+=-dSUPPORTS_RESOURCES
export FPCOPT
else else
LCLPLATFORM=gtk LCLPLATFORM=gtk
endif endif

View File

@ -110,8 +110,8 @@ Begin
{csComboBox, }csEdit, csMemo: {csComboBox, }csEdit, csMemo:
Begin Begin
CapLen := GetWindowTextLength((Sender As TWinControl).Handle); CapLen := GetWindowTextLength((Sender As TWinControl).Handle);
GetWindowText((Sender As TWinControl).Handle, @Caption, CapLen + 1); GetWindowText((Sender As TWinControl).Handle, Caption, CapLen + 1);
Data := StrPas(PChar(@Caption)); Data := StrPas(Caption);
End; End;
csPage: csPage:
Begin Begin
@ -2953,6 +2953,9 @@ End;
{ {
$Log$ $Log$
Revision 1.10 2002/01/24 07:34:50 lazarus
Keith: Fixed some bugs
Revision 1.9 2002/01/21 08:42:06 lazarus Revision 1.9 2002/01/21 08:42:06 lazarus
Keith: Fixed some run-time exceptions for FPC 1.1 Keith: Fixed some run-time exceptions for FPC 1.1