2010-04-09 13:08 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)

* contrib/hbxbp/xbpdialog.prg
    ! initialization of XbpDrawingArea() in :new() method.
This commit is contained in:
Pritpal Bedi
2010-04-09 20:04:20 +00:00
parent 1140feb5c3
commit 27f98c9483
2 changed files with 8 additions and 3 deletions

View File

@@ -17,6 +17,10 @@
past entries belonging to author(s): Viktor Szakats.
*/
2010-04-09 13:08 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbpdialog.prg
! initialization of XbpDrawingArea() in :new() method.
2010-04-09 21:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/harb_osx.icns
+ Recreated from high-res .eps file. (512x512 and smaller

View File

@@ -129,6 +129,8 @@ METHOD XbpDialog:new( oParent, oOwner, aPos, aSize, aPresParams, lVisible )
::resizeMode := 0
::mouseMode := 0
::drawingArea := XbpDrawingArea():new( self, , {0,0}, ::aSize, , .t. )
RETURN Self
/*----------------------------------------------------------------------*/
@@ -169,11 +171,10 @@ METHOD XbpDialog:create( oParent, oOwner, aPos, aSize, aPresParams, lVisible )
ENDIF
IF !empty( ::qtObject )
::drawingArea := XbpDrawingArea():new( self )
::drawingArea:qtObject := ::oWidget:centralWidget()
::drawingArea:create( self, , {0,0}, ::aSize, , .t. )
::drawingArea:create()
ELSE
::drawingArea := XbpDrawingArea():new( self, , {0,0}, ::aSize, , .t. ):create()
::drawingArea:create()
::oWidget:setCentralWidget( ::drawingArea:oWidget )
ENDIF