77 BoxSizer1->SetSizeHints(
this);
81 Connect(ID_TEXTCTRL2,wxEVT_COMMAND_TEXT_UPDATED,(wxObjectEventFunction)&ProjectPathPanel::OnFullPathChanged);
108 if (!
final.IsEmpty())
112 fname.MakeAbsolute(prjpath.GetPath(wxPATH_GET_VOLUME | wxPATH_GET_SEPARATOR) + fname.GetName());
113 final = fname.GetFullPath();
115 if (
final.IsEmpty() ||
txtPrjName->GetValue().IsEmpty())
116 final =
_(
"<invalid path>");
130 if (!
txtPrjName->GetValue().StartsWith(
_(
"<invalid path>")))
144 if (!platform::windows)
void OntxtPrjTitleText(wxCommandEvent &event)
static const long ID_TEXTCTRL2
static const long ID_STATICTEXT1
static const long ID_TEXTCTRL3
const wxValidator wxDefaultValidator
static const long ID_TEXTCTRL1
static const long ID_STATICTEXT5
static const long ID_STATICTEXT2
void OnFullPathChanged(wxCommandEvent &event)
static const long ID_TEXTCTRL4
const wxSize wxDefaultSize
const wxPoint wxDefaultPosition
bool IsSameAs(const wxString &s, bool caseSensitive=true) const
virtual ~ProjectPathPanel()
wxString Right(size_t count) const
void OntxtFinalDirText(wxCommandEvent &event)
const wxString & _(const wxString &string)
static const long ID_STATICTEXT4
wxString GetPath(int flags=wxPATH_GET_VOLUME, wxPathFormat format=wxPATH_NATIVE) const
const DLLIMPORT wxString CODEBLOCKS_DOT_EXT
static const long ID_STATICTEXT3
void UpdateFromResulting()