71 chkAddToProject->SetValue(
false);
74 FlexGridSizer1->AddGrowableCol(1);
75 FlexGridSizer1->AddGrowableRow(1);
81 clbTargets->Disable();
121 chkAddToProject->SetValue(
true);
122 ToggleVisibility(
true);
126 chkAddToProject->SetValue(
false);
127 ToggleVisibility(
false);
179 name <<
_T(
"_INCLUDED");
187 _(
"Select filename"),
193 if (dlg.ShowModal() ==
wxID_OK)
wxSize Fit(wxWindow *window)
wxCheckBox * chkAddToProject
static const long ID_TEXTCTRL1
const wxValidator wxDefaultValidator
static Manager * Get()
Use Manager::Get() to get a pointer to its instance Manager::Get() is guaranteed to never return an i...
void OntxtFilenameText(wxCommandEvent &event)
static const long ID_STATICTEXT1
bool IsChecked(unsigned int item) const
void ToggleVisibility(bool on)
ProjectManager * GetProjectManager() const
Functions returning pointers to the respective sub-manager instances.
Represents a Code::Blocks project.
const wxString & GetActiveBuildTarget() const
virtual const wxString & GetTitle() const
Read the target's title.
wxSizerItem * Add(wxWindow *window, const wxSizerFlags &flags)
size_t Replace(const wxString &strOld, const wxString &strNew, bool replaceAll=true)
void Check(unsigned int item, bool check=true)
const wxSize wxDefaultSize
const wxPoint wxDefaultPosition
cbProject * GetActiveProject()
Retrieve the active project.
static const long ID_STATICTEXT2
virtual wxString GetBasePath() const
Read the target's base path, e.g. if GetFilename() returns "/usr/local/bin/xxx", base path will retur...
static const long ID_CHECKBOX1
void OnbtnAllClick(wxCommandEvent &event)
const wxString & _(const wxString &string)
void OnbtnBrowseClick(wxCommandEvent &event)
int GetBuildTargetsCount()
static const long ID_CHECKLISTBOX2
ProjectBuildTarget * GetBuildTarget(int index)
Access a build target.
static const long ID_TEXTCTRL2
DLLIMPORT void PlaceWindow(wxTopLevelWindow *w, cbPlaceDialogMode mode=pdlBest, bool enforce=false)
void SetAddToProject(bool add)
void SetSizeHints(wxWindow *window)
static const long ID_STATICTEXT3
Represents a Code::Blocks project build target.
static const long ID_STATICTEXT4
wxCheckListBox * clbTargets
virtual void SetValue(bool state)
void OnbtnNoneClick(wxCommandEvent &event)
virtual unsigned int GetCount() const
void OnchkAddToProjectChange(wxCommandEvent &event)
wxString wxFileNameFromPath(const wxString &path)