[GME-commit]
GMESRC/GME/Gme PannWinDlg.h,1.1,1.2 PannWinDlg.cpp,1.1,1.2
gme-commit at list.isis.vanderbilt.edu
gme-commit at list.isis.vanderbilt.edu
Wed May 5 14:33:44 CDT 2004
Update of /var/lib/gme/GMESRC/GME/Gme
In directory braindrain:/tmp/cvs-serv31519
Modified Files:
PannWinDlg.h PannWinDlg.cpp
Log Message:
Panning window's frame movable
CVS User: bogyom
Index: PannWinDlg.h
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/Gme/PannWinDlg.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** PannWinDlg.h 25 Mar 2004 20:06:44 -0000 1.1
--- PannWinDlg.h 5 May 2004 18:33:42 -0000 1.2
***************
*** 9,12 ****
--- 9,13 ----
#include "resource.h"
#include "PannButton.h"
+
/////////////////////////////////////////////////////////////////////////////
// CPannWinDlg dialog
***************
*** 19,22 ****
--- 20,24 ----
void SetBitmapDC(CDC *bdc, CRect &ori, CRect &rect);
void SetViewRect(CRect &vrect);
+ BOOL OnInitDialog();
***************
*** 26,31 ****
CPannButton m_pvbutton;
//}}AFX_DATA
!
// Overrides
// ClassWizard generated virtual function overrides
--- 28,34 ----
CPannButton m_pvbutton;
//}}AFX_DATA
+ private:
! public:
// Overrides
// ClassWizard generated virtual function overrides
Index: PannWinDlg.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/Gme/PannWinDlg.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** PannWinDlg.cpp 25 Mar 2004 20:06:44 -0000 1.1
--- PannWinDlg.cpp 5 May 2004 18:33:42 -0000 1.2
***************
*** 15,19 ****
// CPannWinDlg dialog
-
CPannWinDlg::CPannWinDlg(CWnd* pParent /*=NULL*/)
: CDialog(CPannWinDlg::IDD, pParent)
--- 15,18 ----
***************
*** 31,34 ****
--- 30,40 ----
DDX_Control(pDX, IDC_PREVIEW, m_pvbutton);
//}}AFX_DATA_MAP
+ }
+
+ BOOL CPannWinDlg::OnInitDialog()
+ {
+ BOOL ret = CDialog::OnInitDialog();
+ bool rett = m_pvbutton.Create(this);
+ return ret;
}
More information about the GME-commit
mailing list