Update of /cvsroot/rezilla/RezillaSource/Rezilla_Src/Layouts
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv1615
Modified Files:
CAboutWindow.cp
Log Message:
Self refnum
Index: CAboutWindow.cp
===================================================================
RCS file: /cvsroot/rezilla/RezillaSource/Rezilla_Src/Layouts/CAboutWindow.cp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- CAboutWindow.cp 5 Oct 2006 17:01:52 -0000 1.6
+++ CAboutWindow.cp 25 Nov 2006 18:51:01 -0000 1.7
@@ -2,7 +2,7 @@
// CAboutWindow.cp
//
// Created: 2005-03-08 14:22:24
-// Last modification: 2006-10-03 14:39:46
+// Last modification: 2006-11-25 19:36:16
// Author: Bernard Desgraupes
// e-mail: <bde...@us...>
// www: <http://rezilla.sourceforge.net/>
@@ -15,6 +15,7 @@
#include "RezillaConstants.h"
#include "CRezillaApp.h"
#include "CStaticTextURL.h"
+#include "UResources.h"
#include <LStaticText.h>
@@ -144,8 +145,9 @@
break;
case msg_AboutLicenceButton:
- WindowPtr theWinPtr = UWindows::FindNamedWindow("\pRezilla Licence");
+ WindowPtr theWinPtr = UWindows::FindNamedWindow("\pRezilla License");
if (!theWinPtr) {
+ StRezRefSaver saver( CRezillaApp::GetSelfRefNum() );
LWindow* theWindow = LWindow::CreateWindow( PPob_LicenceWindow, this->GetSuperCommander() );
ThrowIfNil_(theWindow);
theWinPtr = theWindow->GetMacWindow();
|