2012-06-04 23:24 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib\gtwvg\wvgwing.c
! fixed 64-bit warning (do not use NULL for numeric parameters)
* contrib\hbqt\gtqtc\gtqtc.cpp
* contrib\hbqt\hbmk2_qt.hb
* contrib\hbqt\qtcore\hbqt_bind.cpp
* contrib\hbqt\qtcore\hbqt_pointer.cpp
* contrib\hbqt\qtgui\hbqt_errorsys.prg
* contrib\hbqt\tests\demoqt.prg
* contrib\hbqt\tests\testbrow.prg
! killed HB_TR_ALWAYS _again_. Do not readd them.
+ added TOFIX for .qth information embedded into plugin
% minor opt in .prg code
* include\harbour.hbx
* src\rtl\hbdef.c
+ added __DEFAULTNIL() which is fully compatible with DEFAULT ... TO ...
* src\debug\dbghelp.prg
* src\debug\dbgtarr.prg
* src\debug\dbgthsh.prg
* src\debug\dbgtmitm.prg
* src\debug\dbgtobj.prg
* src\debug\dbgtwin.prg
* src\debug\debugger.prg
* src\rdd\usrrdd\rdds\arrayrdd.prg
* src\rtl\achoice.prg
* src\rtl\radiogrp.prg
* src\rtl\tbrowse.prg
* src\rtl\tclass.prg
* src\rtl\tget.prg
* src\rtl\tlabel.prg
* src\rtl\treport.prg
* using HB_DEFAULT() instead of DEFAULT ... TO ...
% deleted '#include "common.ch"' where possible
This commit is contained in:
@@ -81,7 +81,6 @@
|
||||
#include "hbmemvar.ch"
|
||||
|
||||
#include "box.ch"
|
||||
#include "common.ch"
|
||||
#include "getexit.ch"
|
||||
#include "inkey.ch"
|
||||
#include "set.ch"
|
||||
@@ -1499,7 +1498,7 @@ METHOD InputBox( cMsg, uValue, bValid, lEditable ) CLASS HBDebugger
|
||||
LOCAL lExit
|
||||
LOCAL oWndInput := HBDbWindow():New( nTop, nLeft, nBottom, nRight, cMsg,;
|
||||
::oPullDown:cClrPopup )
|
||||
DEFAULT lEditable TO .T.
|
||||
hb_default( @lEditable, .T. )
|
||||
|
||||
oWndInput:lShadow := .T.
|
||||
oWndInput:Show()
|
||||
@@ -1587,7 +1586,7 @@ METHOD IsValidStopLine( cName, nLine ) CLASS HBDebugger
|
||||
|
||||
METHOD LineNumbers( lLineNumbers ) CLASS HBDebugger
|
||||
|
||||
DEFAULT lLineNumbers TO !::lLineNumbers
|
||||
hb_default( @lLineNumbers, !::lLineNumbers )
|
||||
|
||||
::lLineNumbers := lLineNumbers
|
||||
::oPulldown:GetItemByIdent( "LINE" ):checked := ::lLineNumbers
|
||||
@@ -1798,7 +1797,7 @@ METHOD Locate( nMode, cValue ) CLASS HBDebugger
|
||||
|
||||
LOCAL lFound
|
||||
|
||||
DEFAULT nMode TO 0
|
||||
hb_default( @nMode, 0 )
|
||||
|
||||
IF Empty( cValue )
|
||||
::cSearchString := PadR( ::cSearchString, 256 )
|
||||
@@ -3290,7 +3289,7 @@ STATIC FUNCTION strip_path( cFileName )
|
||||
LOCAL cName
|
||||
LOCAL cExt
|
||||
|
||||
DEFAULT cFileName TO ""
|
||||
hb_default( @cFileName, "" )
|
||||
|
||||
hb_FNameSplit( cFileName, NIL, @cName, @cExt )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user