diff options
Diffstat (limited to 'TAO/utils/NamingViewer/BindDialog.cpp')
-rw-r--r-- | TAO/utils/NamingViewer/BindDialog.cpp | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/TAO/utils/NamingViewer/BindDialog.cpp b/TAO/utils/NamingViewer/BindDialog.cpp index a7a0c2b7cdb..701e718da7d 100644 --- a/TAO/utils/NamingViewer/BindDialog.cpp +++ b/TAO/utils/NamingViewer/BindDialog.cpp @@ -16,13 +16,13 @@ static char THIS_FILE[] = __FILE__; CBindDialog::CBindDialog(bool Context, CORBA::ORB_ptr pORB, CWnd* pParent /*=NULL*/) - : CDialog(CBindDialog::IDD, pParent) + : CDialog(CBindDialog::IDD, pParent) { - //{{AFX_DATA_INIT(CBindDialog) - m_IOR = _T(""); - m_ID = _T(""); - m_Kind = _T(""); - //}}AFX_DATA_INIT + //{{AFX_DATA_INIT(CBindDialog) + m_IOR = _T(""); + m_ID = _T(""); + m_Kind = _T(""); + //}}AFX_DATA_INIT m_pORB = pORB; m_Context = Context; } @@ -30,19 +30,19 @@ CBindDialog::CBindDialog(bool Context, CORBA::ORB_ptr pORB, CWnd* pParent /*=NUL void CBindDialog::DoDataExchange(CDataExchange* pDX) { - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CBindDialog) - DDX_Text(pDX, IDC_IOR, m_IOR); - DDX_Text(pDX, IDC_ID, m_ID); - DDX_Text(pDX, IDC_KIND, m_Kind); - //}}AFX_DATA_MAP + CDialog::DoDataExchange(pDX); + //{{AFX_DATA_MAP(CBindDialog) + DDX_Text(pDX, IDC_IOR, m_IOR); + DDX_Text(pDX, IDC_ID, m_ID); + DDX_Text(pDX, IDC_KIND, m_Kind); + //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CBindDialog, CDialog) - //{{AFX_MSG_MAP(CBindDialog) - ON_BN_CLICKED(IDC_VIEWIOR, OnViewior) - //}}AFX_MSG_MAP + //{{AFX_MSG_MAP(CBindDialog) + ON_BN_CLICKED(IDC_VIEWIOR, OnViewior) + //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// @@ -50,7 +50,7 @@ END_MESSAGE_MAP() void CBindDialog::OnViewior() { - // TODO: Add your control notification handler code here + // TODO: Add your control notification handler code here try { UpdateData(); @@ -67,10 +67,10 @@ void CBindDialog::OnViewior() BOOL CBindDialog::OnInitDialog() { - CDialog::OnInitDialog(); - - // TODO: Add extra initialization here - if(m_Context) + CDialog::OnInitDialog(); + + // TODO: Add extra initialization here + if(m_Context) { SetWindowText(ACE_TEXT ("Bind Context")); } @@ -78,14 +78,14 @@ BOOL CBindDialog::OnInitDialog() { SetWindowText(ACE_TEXT ("Bind Object")); } - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE + return TRUE; // return TRUE unless you set the focus to a control + // EXCEPTION: OCX Property Pages should return FALSE } void CBindDialog::OnOK() { - // TODO: Add extra validation here - UpdateData(); + // TODO: Add extra validation here + UpdateData(); m_Name.length(1); m_Name[0].id = CORBA::string_dup(ACE_TEXT_ALWAYS_CHAR (m_ID)); m_Name[0].kind = CORBA::string_dup(ACE_TEXT_ALWAYS_CHAR (m_Kind)); |