You've already forked lazarus-ccr
fix AV if close button not set in TRxMDIanel
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2547 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -37,7 +37,7 @@ type
|
||||
FNavForm: TForm;
|
||||
FNavPanel:TRxMDITasks;
|
||||
FSaveClose:TCloseEvent;
|
||||
procedure SeTRxMDIForm(AValue: TForm);
|
||||
procedure SetRxMDIForm(AValue: TForm);
|
||||
procedure DoCreateMenuItems;
|
||||
|
||||
procedure DoCloseMenu(Sender: TObject);
|
||||
@ -539,7 +539,7 @@ end;
|
||||
|
||||
{ TRxMDIButton }
|
||||
|
||||
procedure TRxMDIButton.SeTRxMDIForm(AValue: TForm);
|
||||
procedure TRxMDIButton.SetRxMDIForm(AValue: TForm);
|
||||
var
|
||||
FImageIndex:integer;
|
||||
B:TBitmap;
|
||||
@ -553,7 +553,7 @@ begin
|
||||
Caption:=' '+FNavForm.Caption+' ';
|
||||
DoCreateButtonImage;
|
||||
|
||||
|
||||
if Assigned(FNavPanel) then
|
||||
FNavPanel.FMainPanel.CurrentChildWindow:=NavForm;
|
||||
end;
|
||||
|
||||
|
Reference in New Issue
Block a user