]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/wxCDMPackageManagerPanel.h
Feature #1711 CreaDevManager application implementation
[crea.git] / lib / creaDevManagerLib / wxCDMPackageManagerPanel.h
index 66a1d1c54228d390ed5420b5ec2a9fec1fd4f8fd..245ebf9640a774a2dd1a3e5c323d38935f505467 100644 (file)
@@ -36,7 +36,6 @@
 #define WXCDMPACKAGEMANAGERPANEL_H_
 
 #include <creaWx.h>
-#include <wx/panel.h>
 #include <wx/hyperlink.h>
 #include <wx/event.h>
 
@@ -45,7 +44,7 @@
 /**
  * Package manager description panel. Shows the available packages in the project and the actions corresponding to package management.
  */
-class wxCDMPackageManagerPanel : public wxPanel
+class wxCDMPackageManagerPanel : public wxScrolledWindow
 {
   DECLARE_EVENT_TABLE()
 public:
@@ -119,6 +118,11 @@ protected:
    * @param event Has the link reference to know where to return
    */
   void OnBtnReturn(wxHyperlinkEvent& event);
+  /**
+   * Handles when a package checkbox is (un)checked.
+   * @param event Has the link reference to know which package was selected.
+   */
+  void OnChBPackageChange(wxCommandEvent& event);
   /**
    * Handles when a packages link is pressed.
    * @param event Has the link reference to know which package was selected.