PgmCtrl::~PgmCtrl()
{
delete p_imageListNormal;
+ delete popupMenu1;
}
//----------------------------------------------------------------------------------------
#undef TREE_EVENT_HANDLER
return 0;
}
//----------------------------------------------------------------------------------------
-void PgmCtrl::OnSelChanged(wxTreeEvent& WXUNUSED(event))
+void PgmCtrl::OnSelChanged(wxMouseEvent& WXUNUSED(event))
{
int i;
Temp0.Empty(); Temp1.Empty();
}
//--------------------------------------------------------------------------------------
}
-}
+} // void PgmCtrl::OnRightSelect(wxTreeEvent& WXUNUSED(event))
//----------------------------------------------------------------------------------------
void PgmCtrl::OnMouseMove(wxMouseEvent &event)
{
TreePos = event.GetPosition();
}
//----------------------------------------------------------------------------------------
-void PgmCtrl::OnUserPassword()
+void PgmCtrl::OnUserPassword(wxCommandEvent& WXUNUSED(event))
{
// wxMessageBox(SaveDSN);
int i;