]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/dbbrowse/pgmctrl.cpp
Added wxDbTable::SetOrderByColNums() function
[wxWidgets.git] / demos / dbbrowse / pgmctrl.cpp
index 6e479b587a64296177dd8ee01cad20bc53e6d18e..6006503a5afd1771d788f6fc4d6759da993eed2e 100644 (file)
@@ -88,6 +88,7 @@ PgmCtrl::PgmCtrl(wxWindow *parent, const wxWindowID id,const wxPoint& pos, const
 PgmCtrl::~PgmCtrl()
 {
  delete p_imageListNormal;
+ delete popupMenu1;  
 }
 //----------------------------------------------------------------------------------------
 #undef TREE_EVENT_HANDLER
@@ -129,7 +130,7 @@ int  PgmCtrl::OnPopulate()
   return 0;
 }
 //----------------------------------------------------------------------------------------
-void PgmCtrl::OnSelChanged(wxTreeEvent& WXUNUSED(event))
+void PgmCtrl::OnSelChanged(wxMouseEvent& WXUNUSED(event))
 {
  int i;
  Temp0.Empty();   Temp1.Empty();
@@ -242,14 +243,14 @@ void PgmCtrl::OnRightSelect(wxTreeEvent& WXUNUSED(event))
   }
   //--------------------------------------------------------------------------------------
  }
-}
+} // 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;