]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/bobtoolz/dialogs/AboutDialog.cpp
Wean off #define
[xonotic/netradiant.git] / contrib / bobtoolz / dialogs / AboutDialog.cpp
index 250a231c76544d964a89f28ee7e0eb7a356fa9f5..0f5ef44fd190bc7ff7630d61410fc540d6e9fbee 100644 (file)
@@ -1,62 +1,53 @@
-/*\r
-BobToolz plugin for GtkRadiant\r
-Copyright (C) 2001 Gordon Biggans\r
-\r
-This library is free software; you can redistribute it and/or\r
-modify it under the terms of the GNU Lesser General Public\r
-License as published by the Free Software Foundation; either\r
-version 2.1 of the License, or (at your option) any later version.\r
-\r
-This library is distributed in the hope that it will be useful,\r
-but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
-Lesser General Public License for more details.\r
-\r
-You should have received a copy of the GNU Lesser General Public\r
-License along with this library; if not, write to the Free Software\r
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\r
-*/\r
-\r
-// AboutDialog.cpp : implementation file\r
-//\r
-\r
-#include "../StdAfx.h"\r
-#include "AboutDialog.h"\r
-\r
-#ifdef _DEBUG\r
-#define new DEBUG_NEW\r
-#undef THIS_FILE\r
-//static char THIS_FILE[] = __FILE__;\r
-#endif\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// CAboutDialog dialog\r
-\r
-\r
-CAboutDialog::CAboutDialog(CWnd* pParent /*=NULL*/)\r
-       : CDialog(CAboutDialog::IDD, pParent)\r
-{\r
-       //{{AFX_DATA_INIT(CAboutDialog)\r
-               // NOTE: the ClassWizard will add member initialization here\r
-       //}}AFX_DATA_INIT\r
-}\r
-\r
-\r
-void CAboutDialog::DoDataExchange(CDataExchange* pDX)\r
-{\r
-       CDialog::DoDataExchange(pDX);\r
-       //{{AFX_DATA_MAP(CAboutDialog)\r
-               // NOTE: the ClassWizard will add DDX and DDV calls here\r
-       //}}AFX_DATA_MAP\r
-}\r
-\r
-\r
-BEGIN_MESSAGE_MAP(CAboutDialog, CDialog)\r
-       //{{AFX_MSG_MAP(CAboutDialog)\r
-               // NOTE: the ClassWizard will add message map macros here\r
-       //}}AFX_MSG_MAP\r
-END_MESSAGE_MAP()\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// CAboutDialog message handlers\r
-\r
+/*
+   BobToolz plugin for GtkRadiant
+   Copyright (C) 2001 Gordon Biggans
+
+   This library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   This library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with this library; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+// AboutDialog.cpp : implementation file
+//
+
+#include "../StdAfx.h"
+#include "AboutDialog.h"
+
+/////////////////////////////////////////////////////////////////////////////
+// CAboutDialog dialog
+
+
+CAboutDialog::CAboutDialog( CWnd* pParent /*=NULL*/ )
+       : CDialog( CAboutDialog::IDD, pParent ){
+       //{{AFX_DATA_INIT(CAboutDialog)
+       // NOTE: the ClassWizard will add member initialization here
+       //}}AFX_DATA_INIT
+}
+
+
+void CAboutDialog::DoDataExchange( CDataExchange* pDX ){
+       CDialog::DoDataExchange( pDX );
+       //{{AFX_DATA_MAP(CAboutDialog)
+       // NOTE: the ClassWizard will add DDX and DDV calls here
+       //}}AFX_DATA_MAP
+}
+
+
+BEGIN_MESSAGE_MAP( CAboutDialog, CDialog )
+//{{AFX_MSG_MAP(CAboutDialog)
+// NOTE: the ClassWizard will add message map macros here
+//}}AFX_MSG_MAP
+END_MESSAGE_MAP()
+
+/////////////////////////////////////////////////////////////////////////////
+// CAboutDialog message handlers