Code::Blocks  SVN r11506
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SelectTargetDlg Class Reference

#include <selecttargetdlg.h>

Inheritance diagram for SelectTargetDlg:
Collaboration diagram for SelectTargetDlg:

Public Member Functions

 SelectTargetDlg (wxWindow *parent, cbProject *project, int selected=0)
 
 ~SelectTargetDlg () override
 
void EndModal (int retCode) override
 
int GetSelection () const
 
ProjectBuildTargetGetSelectionTarget ()
 
- Public Member Functions inherited from wxScrollingDialog
 wxScrollingDialog ()
 
 wxScrollingDialog (wxWindow *parent, int id=wxID_ANY, const wxString &title=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const wxString &name=_("dialogBox"))
 
- Public Member Functions inherited from wxDialog
virtual int ShowModal ()
 

Private Member Functions

void OnListboxSelection (wxCommandEvent &event)
 
void OnListboxDClick (wxCommandEvent &event)
 
void OnHostApplicationButtonClick (wxCommandEvent &event)
 
void UpdateSelected ()
 

Private Attributes

cbProjectm_pProject
 
wxListBoxm_List
 
int m_Selected
 
int m_LastSelected
 

Detailed Description

Definition at line 15 of file selecttargetdlg.h.

Constructor & Destructor Documentation

◆ SelectTargetDlg()

SelectTargetDlg::SelectTargetDlg ( wxWindow parent,
cbProject project,
int  selected = 0 
)

◆ ~SelectTargetDlg()

SelectTargetDlg::~SelectTargetDlg ( )
override

Definition at line 108 of file selecttargetdlg.cpp.

Member Function Documentation

◆ EndModal()

void SelectTargetDlg::EndModal ( int  retCode)
override

◆ GetSelection()

int SelectTargetDlg::GetSelection ( ) const
inline

◆ GetSelectionTarget()

ProjectBuildTarget * SelectTargetDlg::GetSelectionTarget ( )

Definition at line 149 of file selecttargetdlg.cpp.

Referenced by GetSelection().

◆ OnHostApplicationButtonClick()

void SelectTargetDlg::OnHostApplicationButtonClick ( wxCommandEvent event)
private

◆ OnListboxDClick()

void SelectTargetDlg::OnListboxDClick ( wxCommandEvent event)
private

Definition at line 161 of file selecttargetdlg.cpp.

References ScriptBindings::EndModal(), and wxID_OK.

Referenced by GetSelection().

◆ OnListboxSelection()

void SelectTargetDlg::OnListboxSelection ( wxCommandEvent event)
private

Definition at line 156 of file selecttargetdlg.cpp.

Referenced by GetSelection().

◆ UpdateSelected()

void SelectTargetDlg::UpdateSelected ( )
private

Member Data Documentation

◆ m_LastSelected

int SelectTargetDlg::m_LastSelected
private

Definition at line 33 of file selecttargetdlg.h.

◆ m_List

wxListBox* SelectTargetDlg::m_List
private

Definition at line 31 of file selecttargetdlg.h.

◆ m_pProject

cbProject* SelectTargetDlg::m_pProject
private

Definition at line 30 of file selecttargetdlg.h.

◆ m_Selected

int SelectTargetDlg::m_Selected
private

Definition at line 32 of file selecttargetdlg.h.

Referenced by GetSelection().


The documentation for this class was generated from the following files: