projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r607: *** empty log message ***
[ctsim.git]
/
src
/
graph3dview.cpp
diff --git
a/src/graph3dview.cpp
b/src/graph3dview.cpp
index 7abec424082152bfdb0607f78b13c828a199e9ae..cb9d64f559fe52e3f2b55d80098476c96f646d5d 100644
(file)
--- a/
src/graph3dview.cpp
+++ b/
src/graph3dview.cpp
@@
-9,7
+9,7
@@
** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: graph3dview.cpp,v 1.1
4 2001/02/20 22:11:27
kevin Exp $
+** $Id: graph3dview.cpp,v 1.1
7 2001/03/05 17:26:46
kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
@@
-30,13
+30,8
@@
#pragma interface
#endif
#pragma interface
#endif
-// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#include "wx/wxprec.h"
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif
-
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
@@
-197,7
+192,6
@@
bool
Graph3dFileView::OnCreate (wxDocument *doc, long WXUNUSED(flags) )
{
m_pFrame = CreateChildFrame(doc, this);
Graph3dFileView::OnCreate (wxDocument *doc, long WXUNUSED(flags) )
{
m_pFrame = CreateChildFrame(doc, this);
- (m_pFrame);
int width, height;
m_pFrame->GetClientSize (&width, &height);
int width, height;
m_pFrame->GetClientSize (&width, &height);
@@
-585,8
+579,8
@@
Graph3dFileView::OnUpdate (wxView *WXUNUSED(sender), wxObject *WXUNUSED(hint) )
if (! GetDocument())
return;
if (! GetDocument())
return;
- int nx = GetDocument()->nx();
- int ny = GetDocument()->ny();
+
unsigned
int nx = GetDocument()->nx();
+
unsigned
int ny = GetDocument()->ny();
const ImageFileArrayConst v = GetDocument()->getArray();
if (v != NULL && nx != 0 && ny != 0) {
double min = v[0][0];
const ImageFileArrayConst v = GetDocument()->getArray();
if (v != NULL && nx != 0 && ny != 0) {
double min = v[0][0];