39     m_Parser(&np->GetParser())
    42     m_OldPaths = m_NativeParser->GetProjectSearchDirs(m_Project);
    46     for (
size_t i = 0; i < m_OldPaths.GetCount(); ++i)
    47         control->Append(m_OldPaths[i]);
    67         control->Append(path);
    74     int sel = control->GetSelection();
    79                     control->GetString(sel),
    87         control->SetString(sel, path);
    94     int sel = control->GetSelection();
   104     bool en = control->GetSelection() >= 0;
   106     XRCCTRL(*
this, 
"btnEdit", 
wxButton)->Enable(en);
   107     XRCCTRL(*
this, 
"btnDelete", 
wxButton)->Enable(en);
   114     for (
int i = 0; i < (int)control->GetCount(); ++i)
   115         newpaths.
Add(control->GetString(i));
   119         for (
size_t i = 0; i < newpaths.
GetCount(); ++i)
   128         cbMessageBox(
_(
"You have changed the C/C++ parser search paths for this project.\n"   129                        "These paths will be taken into account for next parser runs.\n"   130                        "If you want them to take effect immediately, you will have to close "   131                        "and re-open your project."),
 
void OnAdd(wxCommandEvent &event)
void OnEdit(wxCommandEvent &event)
void OnDelete(wxCommandEvent &event)
void OnUpdateUI(wxUpdateUIEvent &event)
#define wxICON_INFORMATION
virtual ~CCOptionsProjectDlg()
wxPanel * LoadPanel(wxWindow *parent, const wxString &name)
Represents a Code::Blocks project. 
virtual wxString GetBasePath() const
Read the target's base path, e.g. if GetFilename() returns "/usr/local/bin/xxx", base path will retur...
void AddIncludeDir(const wxString &dir)
add a directory to the Parser's include path database 
const wxString & _(const wxString &string)
int cbMessageBox(const wxString &message, const wxString &caption=wxEmptyString, int style=wxOK, wxWindow *parent=NULL, int x=-1, int y=-1)
Call global cbMessageBox with m_parentDialog as parent window when no parent window specified...
NativeParser class is just like a manager class to control Parser objects. 
DLLIMPORT void PlaceWindow(wxTopLevelWindow *w, cbPlaceDialogMode mode=pdlBest, bool enforce=false)
size_t Add(const wxString &str, size_t copies=1)
static wxXmlResource * Get()
NativeParser * m_NativeParser
virtual void OnApply()
Called when the user chooses to apply the configuration. 
wxArrayString & GetProjectSearchDirs(cbProject *project)
project search path is used for auto completion for #include <>