Diff of /EditDlg.cpp [ddc661] .. [292574]  Maximize  Restore

  Switch to side-by-side view

--- a/EditDlg.cpp
+++ b/EditDlg.cpp
@@ -207,8 +207,10 @@
 
 void CEditDlg::OnRandom() 
 {
+  DboxMain* pParent = (DboxMain*)GetParent();
+  ASSERT(pParent != NULL);
   UpdateData(TRUE);
-  if (FMakeRandomPassword(this, m_realpassword))
+  if (pParent->MakeRandomPassword(this, m_realpassword))
     {
       CMyString wndName;
       GetDlgItem(IDC_SHOWPASSWORD)->GetWindowText(wndName);

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks