55 const wxString DEFAULT_WORKSPACE =
_T(
"default.workspace");
59 const wxString DEFAULT_CONSOLE_TERM =
_T(
"xterm -T $TITLE -e");
61 const wxString DEFAULT_CONSOLE_TERM =
_T(
"osascript -e 'tell app \"Terminal\"' -e 'activate' -e 'do script quoted form of \"$SCRIPT\"' -e 'end tell'");
66 const wxString cbDEFAULT_OPEN_FOLDER_CMD =
_T(
"explorer.exe /select,");
67 #elif defined __WXMAC__ 68 const wxString cbDEFAULT_OPEN_FOLDER_CMD =
_T(
"open -R");
70 const wxString cbDEFAULT_OPEN_FOLDER_CMD =
_T(
"xdg-open");
75 bool pW = platforms.
Contains(
_(
"Windows"));
80 if (pA || (pW && pU && pM))
97 if (((platforms & tmpAll) == tmpAll) || ((platforms &
spAll) == spAll))
102 ret <<
_(
"Windows;");
105 if (platforms &
spMac)
125 for (
unsigned int i = 0; i < array.
GetCount(); ++i)
128 if (i < array.GetCount() - 1 || SeparatorAtEnd)
138 int seplen = separator.
Length();
141 int idx = search.
Find(separator);
154 search.
Remove(0, idx + seplen);
170 int seplen = separator.
Length();
173 int idx = search.
Find(separator);
182 out.push_back(search);
186 search.
Remove(0, idx + seplen);
201 for (
size_t i = 0; i < array.
GetCount(); ++i)
211 out.
Add(array[i].Lower());
224 for (
size_t i = 0; i < from.
GetCount(); ++i)
234 if (platform::windows)
268 bool hasSpace = str.
Find(
_T(
' ')) != -1;
269 bool hasParen = !platform::windows && (str.
Find(
_T(
'(')) != -1 || str.
Find(
_T(
')')) != -1);
270 return !str.
IsEmpty() && str.
GetChar(0) !=
_T(
'"') && (hasSpace || hasParen);
276 if (!ret.
IsEmpty() && ret[0] !=
_T(
'"') && ret[0] !=
_T(
'\''))
424 if (pathValues.
empty())
430 for (
size_t i = 0; i < pathArray.
GetCount(); ++i)
434 if (pathArray[i].AfterLast(pathSep).IsSameAs(_T(
"bin")))
443 wxArrayTreeItemIds items;
448 for (
size_t i=0; i < items.GetCount(); ++i)
458 selectedItemPaths.
Add(path);
464 if (tree && !selectedItemPath.
IsEmpty())
468 tmpPath = selectedItemPath;
469 int pos = tmpPath.
Find(
_T(
'/'));
472 tmpPath = tmpPath.
Right(tmpPath.
Length() - pos - 1);
473 pos = tmpPath.
Find(
_T(
'/'));
476 folder = tmpPath.
Left(pos);
477 tmpPath = tmpPath.
Right(tmpPath.
Length() - pos - 1);
479 wxTreeItemIdValue cookie =
nullptr;
506 if (!tree || !parent.
IsOk())
512 wxTreeItemIdValue cookie =
nullptr;
538 int pos = tmpPath.
Find(
_T(
'/'));
541 tmpPath = tmpPath.
Right(tmpPath.
Length() - pos - 1);
542 pos = tmpPath.
Find(
_T(
'/'));
552 folder = tmpPath.
Left(pos);
553 tmpPath = tmpPath.
Right(tmpPath.
Length() - pos - 1);
558 wxTreeItemIdValue cookie =
nullptr;
585 selectedItemPaths.
Clear();
591 if (!parent.
IsOk() || !tree)
600 for (
unsigned int i = 0; i < nodePaths.
GetCount(); ++i)
604 for (
unsigned int i = 0; i < selectedItemPaths.
GetCount(); ++i)
607 selectedItemPaths.
Clear();
621 for (
size_t i = 0; i < dirs.
GetCount(); ++i)
626 currdir << wxFILE_SEP_PATH;
643 bool askToMakeRelative,
644 bool showCreateDirButton)
654 if (askToMakeRelative && !basePath.
IsEmpty())
664 return path.GetFullPath();
681 char* buff =
new char[len+1];
687 file.
Read((
void*)buff, len);
700 cbRead(file, st, encoding);
711 result = file.
Write(buff,conv);
745 if (platform::unicode)
746 return str.
mb_str(wxConvUTF8);
759 if (platform::unicode)
781 strOut =
wxString(strIn, wxConvUTF8);
790 if (encoding == possibleEncoding)
802 strOut = (
const wxChar*) strIn;
807 strOut = (
const wxChar*) strIn;
836 for (
unsigned int i = 0; i < str.
length(); ++i)
839 if ( (c >=
_T(
'A') && c <=
_T(
'Z'))
840 || (c >=
_T(
'a') && c <=
_T(
'z'))
841 || (c >=
_T(
'0') && c <=
_T(
'9'))
847 else if (c ==
_T(
' '))
851 t.sprintf(
_T(
"%%%02X"), (
unsigned int) c);
868 size_t start = str.
find(
_T(
'`'));
871 size_t end = str.
find(
_T(
'`'), start + 1);
900 ret << bt <<
_T(
' ');
904 start = str.
find(_T(
'`'));
905 end = str.
find(_T(
'`'), start + 1);
933 while (win && win->IsShown())
935 win = win->GetParent();
972 int j = pathDirArray.
GetCount() - 1;
973 for (
int i = suffixDirArray.
GetCount() - 1; i >= 0; i--)
976 if (suffixDirArray[i] ==
_T(
".") || suffixDirArray[i] ==
_T(
""))
985 if (suffixDirArray[i] ==
_T(
".."))
988 else if (suffixDirArray[i] != pathDirArray[j])
1006 if (dirpath.
empty())
1008 if (dirpath.
Last() == wxFILE_SEP_PATH)
1011 struct stat fileStats;
1012 if (lstat(dirpath.
mb_str(wxConvUTF8), &fileStats) != 0)
1017 if (S_ISLNK(fileStats.st_mode))
1020 int result = readlink(dirpath.
mb_str(wxConvUTF8), buffer, WXSIZEOF(buffer) - 1);
1023 buffer[result] =
'\0';
1024 wxString pathStr(buffer, wxConvUTF8);
1031 if (dirpath.
Last() == wxFILE_SEP_PATH)
1043 if (fullPath.
length() > 1 && fullPath.
Last() == wxFILE_SEP_PATH)
1063 #include <windows.h> 1064 #include <shlwapi.h> 1067 bool result =
false;
1072 DLLGETVERSIONPROC pDllGetVersion;
1073 pDllGetVersion = (DLLGETVERSIONPROC)GetProcAddress(hinstDll,
"DllGetVersion");
1080 ZeroMemory(&dvi,
sizeof(dvi));
1081 dvi.cbSize =
sizeof(dvi);
1083 hr = (*pDllGetVersion)(&dvi);
1086 result = dvi.dwMajorVersion == 6;
1089 FreeLibrary(hinstDll);
1117 if (oldCommonControls && im.
HasAlpha())
1127 long flags = lc->GetWindowStyleFlag();
1130 #if wxCHECK_VERSION(3, 0, 0) 1172 monitorRect =
wxRect(0, 0, width, height);
1180 cbThrow(
_T(
"Passed NULL pointer to PlaceWindow."));
1183 if (!enforce && cfg->
ReadBool(
_T(
"/dialog_placement/do_place")) ==
false)
1187 if (!referenceWindow)
1188 referenceWindow = w;
1194 the_mode = (int) mode;
1197 wxRect windowRect = w->GetRect();
1203 windowRect.
x = monitorRect.
x + (monitorRect.
width - windowRect.
width)/2;
1204 windowRect.
y = monitorRect.
y + (monitorRect.
height - windowRect.
height)/2;
1211 windowRect.
x = monitorRect.
x + (monitorRect.
width - windowRect.
width)/2;
1212 windowRect.
y = monitorRect.
y + (monitorRect.
height - windowRect.
height)/3;
1219 int x1 = windowRect.
x;
1220 int x2 = windowRect.
x + windowRect.
width;
1221 int y1 = windowRect.
y;
1222 int y2 = windowRect.
y + windowRect.
height;
1226 x1 = monitorRect.
x + (monitorRect.
width - windowRect.
width)/2;
1227 x2 = x1 + windowRect.
width;
1232 x1 = std::max(x2 - windowRect.
width, monitorRect.
x);
1233 x2 = x1 + windowRect.
width;
1237 y1 = monitorRect.
y + (monitorRect.
height - windowRect.
height)/2;
1238 y2 = y1 + windowRect.
height;
1243 y1 = std::max(y2 - windowRect.
height, monitorRect.
y);
1244 y2 = y1 + windowRect.
height;
1246 windowRect =
wxRect(x1, y1, x2-x1, y2-y1);
1253 int x1 = windowRect.
x;
1254 int x2 = windowRect.
x + windowRect.
width;
1255 int y1 = windowRect.
y;
1256 int y2 = windowRect.
y + windowRect.
height;
1258 x1 = std::max(x1, monitorRect.
x);
1259 x2 = std::min(x2, monitorRect.
GetRight());
1260 y1 = std::max(y1, monitorRect.
y);
1261 y2 = std::min(y2, monitorRect.
GetBottom());
1263 windowRect =
wxRect(x1, y1, x2-x1, y2-y1);
1275 if (actualDir.
Last() !=
_T(
'/') && actualDir.
Last() !=
_T(
'\\'))
1276 actualDir << wxFILE_SEP_PATH;
1299 if (!platform::windows)
1313 if (family == famWin95)
1316 if (family == famWinNT)
1318 if (Major == 5 && Minor == 0)
1321 if (Major == 5 && Minor == 1)
1324 if (Major == 5 && Minor == 2)
1327 if (Major == 6 && Minor == 0)
1330 if (Major == 6 && Minor == 1)
1354 char buf[2048] = {};
1356 std::string ret = (
const char*)
cbU2C(path);
1358 size_t slashPos = ret.find(
'/', lastPos);
1359 while (slashPos != std::string::npos)
1361 if (lstat(ret.substr(0, slashPos).c_str(), &buffer) == 0)
1363 if (S_ISLNK(buffer.st_mode))
1365 int s = readlink(ret.substr(0, slashPos).c_str(), buf,
sizeof(buf));
1367 if (s > 0 && buf[0] !=
'/' && buf[0] !=
'~')
1370 ret = ret.substr(0, lastPos) + buf + ret.substr(slashPos, ret.size() - slashPos);
1375 ret = buf + ret.substr(slashPos, ret.size() - slashPos);
1386 while (ret[++slashPos] ==
'/')
1389 slashPos = ret.find(
'/', slashPos);
1391 return cbC2U(ret.c_str());
1404 int answer =
wxMessageBox(message, caption, style, parent, x, y);
1429 const wxSize &size,
int initialSelection)
1436 dialog.SetSize(size);
1450 dialog.SetSize(size);
1459 #if wxCHECK_VERSION(3, 0, 0) 1463 #endif // wxCHECK_VERSION 1481 str = dialog.GetValue();
1494 _T(
"file-missing.png"),
1495 _T(
"file-modified.png"),
1496 _T(
"file-readonly.png"),
1499 _T(
"rc-file-added.png"),
1500 _T(
"rc-file-conflict.png"),
1501 _T(
"rc-file-missing.png"),
1502 _T(
"rc-file-modified.png"),
1503 _T(
"rc-file-outofdate.png"),
1504 _T(
"rc-file-uptodate.png"),
1505 _T(
"rc-file-requireslock.png"),
1506 _T(
"rc-file-external.png"),
1507 _T(
"rc-file-gotlock.png"),
1508 _T(
"rc-file-lockstolen.png"),
1509 _T(
"rc-file-mismatch.png"),
1510 _T(
"rc-file-noncontrolled.png"),
1513 _T(
"workspace.png"),
1514 _T(
"workspace-readonly.png"),
1516 _T(
"project-readonly.png"),
1517 _T(
"folder_open.png"),
1518 _T(
"vfolder_open.png"),
1526 for (
int i = 0; !imgs[i].
IsEmpty(); ++i)
virtual wxTreeItemId GetNextChild(const wxTreeItemId &item, wxTreeItemIdValue &cookie) const
wxString AfterLast(wxUniChar ch) const
DLLIMPORT wxArrayInt cbGetMultiChoiceDialog(const wxString &message, const wxString &caption, const wxArrayString &choices, wxWindow *parent, const wxSize &size, const wxArrayInt &initialSelection)
wxMultiChoiceDialog wrapper.
wxString F(const wxChar *msg,...)
sprintf-like function
wxFontEncoding DetectEncodingAndConvert(const char *strIn, wxString &strOut, wxFontEncoding possibleEncoding)
Try converting a C-string from different encodings until a possible match is found.
static int WorkspaceIconIndex(bool read_only=false)
#define wxTextEntryDialogStyle
bool wxGetEnv(const wxString &var, wxString *value)
wxString realpath(const wxString &path)
bool Matches(const wxString &mask) const
bool wxRemoveFile(const wxString &file)
const DLLIMPORT wxString TCC_EXT
static int ProjectIconIndex(bool read_only=false)
static unsigned int GetCount()
const DLLIMPORT wxString FPP_EXT
const DLLIMPORT wxString CODEBLOCKS_EXT
virtual wxTreeItemId GetItemParent(const wxTreeItemId &item) const
const DLLIMPORT wxString F95_EXT
const DLLIMPORT wxString SCRIPT_EXT
bool cbResolveSymLinkedDirPath(wxString &dirpath)
If path is pointing to a symlink then the function will set dirpath parameter to the path the symlink...
ConfigManager * GetConfigManager(const wxString &name_space) const
Current user has read-write access to the directory.
int ReadInt(const wxString &name, int defaultVal=0)
static Manager * Get()
Use Manager::Get() to get a pointer to its instance Manager::Get() is guaranteed to never return an i...
SettingsIconsStyle
Icons styles for settings dialogs.
wxString substr(size_t nStart=0, size_t nLen=npos) const
void QuoteStringIfNeeded(wxString &str)
void DoRememberSelectedNodes(wxTreeCtrl *tree, wxArrayString &selectedItemPaths)
wxArrayString MakeUniqueArray(const wxArrayString &array, bool caseSens)
const DLLIMPORT wxString MSVC10_EXT
wxFileOffset Length() const
wxArrayInt GetSelections() const
std::map< wxString, wxString > BackticksMap
Adds support for backtick'd expressions under Windows.
const DLLIMPORT wxString H_EXT
Invalid directory (does not exist).
const DLLIMPORT wxString INL_EXT
static wxString GetVolumeSeparator(wxPathFormat format=wxPATH_NATIVE)
bool CreateDir(const wxString &full_path, int perms)
bool ConvertAlphaToMask(unsigned char threshold=wxIMAGE_ALPHA_THRESHOLD)
const DLLIMPORT wxString XCODE1_EXT
bool wxFileExists(const wxString &filename)
static int VirtualFolderIconIndex()
const DLLIMPORT wxString DEVCPP_EXT
bool NormalizePath(wxFileName &f, const wxString &base)
void AppendArray(const wxArrayString &from, wxArrayString &to)
bool ReadBool(const wxString &name, bool defaultVal=false)
int Index(const wxString &sz, bool bCase=true, bool bFromEnd=false) const
static wxImageList * MakeImageList()
SettingsIconsStyle GetSettingsIconsStyle(cb_unused wxListCtrl *lc)
virtual wxString GetPath() const
FileManager * GetFileManager() const
const DLLIMPORT wxString HPP_EXT
const DLLIMPORT wxString JAVA_EXT
virtual void SetPath(const wxString &path)
bool wxDirExists(const wxString &dirname)
wxString ExpandBackticks(wxString &str)
wxRect GetClientArea() const
FileType
Known file types.
virtual size_t GetSelections(wxArrayTreeItemIds &selection) const
const DLLIMPORT wxString S62_EXT
const wxWX2MBbuf cbU2C(const wxString &str)
Return multibyte (C string) representation of the string.
const DLLIMPORT wxString RESOURCEBIN_EXT
const DLLIMPORT wxString HXX_EXT
const DLLIMPORT wxString C_EXT
const DLLIMPORT wxString MSVC6_EXT
const wxCharBuffer mb_str(const wxMBConv &conv=wxConvLibc) const
void PlaceWindow(wxTopLevelWindow *w, cbPlaceDialogMode mode, bool enforce)
bool IsAbsolute(wxPathFormat format=wxPATH_NATIVE) const
const DLLIMPORT wxString F77_EXT
const DLLIMPORT wxString TPP_EXT
std::vector< wxString > wxStringVec
virtual wxString GetItemText(const wxTreeItemId &item) const
wxString & Remove(size_t pos)
bool IsSuffixOfPath(wxFileName const &suffix, wxFileName const &path)
virtual bool IsExpanded(const wxTreeItemId &item) const
bool Save(const wxString &file, const wxString &data, wxFontEncoding encoding, bool bom)
DLLIMPORT int cbGetSingleChoiceIndex(const wxString &message, const wxString &caption, const wxArrayString &choices, wxWindow *parent, const wxSize &size, int initialSelection)
wxDynamicLibrary * LoadLibrary(const wxString &filename)
bool wxMkdir(const wxString &dir, int perm=wxS_DIR_DEFAULT)
wxString cbResolveSymLinkedDirPathRecursive(wxString dirpath)
Call cbResolveSymLinkedPath until the path is not a symlink.
void DoSelectRememberedNode(wxTreeCtrl *tree, const wxTreeItemId &parent, wxString &selectedItemPath)
size_t find(const wxString &str, size_t nStart=0) const
wxOperatingSystemId wxGetOsVersion(int *major=NULL, int *minor=NULL)
const DLLIMPORT wxString CPLPL_EXT
wxWindow * GetAppWindow() const
const DLLIMPORT wxString F_EXT
virtual bool LoadFile(wxInputStream &stream, wxBitmapType type=wxBITMAP_TYPE_ANY, int index=-1)
const DLLIMPORT wxString DYNAMICLIB_EXT
wxFSFile * OpenFile(const wxString &location, int flags=wxFS_READ)
wxRect cbGetMonitorRectForWindow(wxWindow *window)
wxStringVec GetVectorFromString(const wxString &text, const wxString &separator, bool trimSpaces)
#define wxSIZE_ALLOW_MINUS_ONE
bool IsWindowReallyShown(wxWindow *win)
Finds out if a window is really shown.
wxUSE_UNICODE_dependent wxChar
const wxArrayString & GetDirs() const
void SetSelection(int selection)
const DLLIMPORT wxString D_EXT
const char wxGetTextFromUserPromptStr[]
bool MakeRelativeTo(const wxString &pathBase=wxEmptyString, wxPathFormat format=wxPATH_NATIVE)
virtual wxTreeItemId GetFirstChild(const wxTreeItemId &item, wxTreeItemIdValue &cookie) const
bool Contains(const wxString &str) const
const DLLIMPORT wxString MSVC6_WORKSPACE_EXT
const DLLIMPORT wxString SS_EXT
const DLLIMPORT wxString XML_EXT
wxString & RemoveLast(size_t n=1)
const DLLIMPORT wxString F90_EXT
wxRect GetGeometry() const
#define wxDD_NEW_DIR_BUTTON
wxString cbGetTextFromUser(const wxString &message, const wxString &caption, const wxString &defaultValue, wxWindow *parent, wxCoord x, wxCoord y, bool centre)
const DLLIMPORT wxString WORKSPACE_EXT
wxString Left(size_t count) const
wxString cbReadFileContents(wxFile &file, wxFontEncoding encoding)
Reads a wxString from a non-unicode file. File must be open. File is closed automatically.
size_t Replace(const wxString &strOld, const wxString &strNew, bool replaceAll=true)
virtual void SelectItem(const wxTreeItemId &item, bool select=true)
const DLLIMPORT wxString STATICLIB_EXT
wxString GetVolume() const
const DLLIMPORT wxString MSVC7_WORKSPACE_EXT
DirAccessCheck
Result values of cbDirAccessCheck()
DirAccessCheck cbDirAccessCheck(const wxString &dir)
Check what access the current user has in a directory.
bool IsSameAs(const wxString &s, bool caseSensitive=true) const
const DLLIMPORT wxString CC_EXT
int wxMessageBox(const wxString &message, const wxString &caption=wxMessageBoxCaptionStr, int style=wxOK|wxCENTRE, wxWindow *parent=NULL, int x=wxDefaultCoord, int y=wxDefaultCoord)
LogManager * GetLogManager() const
static wxFileName DirName(const wxString &dir, wxPathFormat format=wxPATH_NATIVE)
const DLLIMPORT wxString S_EXT
wxBitmap cbLoadBitmap(const wxString &filename, wxBitmapType bitmapType)
This function loads a bitmap from disk.
virtual void Collapse(const wxTreeItemId &item)
static wxUniChar GetPathSeparator(wxPathFormat format=wxPATH_NATIVE)
const wxStringCharType * wx_str() const
wxString URLEncode(const wxString &str)
bool cbSaveTinyXMLDocument(TiXmlDocument *doc, const wxString &filename)
Saves a TinyXML document correctly, even if the path contains unicode characters. ...
const DLLIMPORT wxString XCODE2_EXT
wxString Right(size_t count) const
wxString EscapeSpaces(const wxString &str)
Escapes spaces and tabs (NOT quoting the string)
bool cbRead(wxFile &file, wxString &st, wxFontEncoding encoding)
Reads a wxString from a non-unicode file. File must be open. File is closed automatically.
const DLLIMPORT wxString NATIVE_EXT
const wxString & _(const wxString &string)
wxString & Trim(bool fromRight=true)
const DLLIMPORT wxString F08_EXT
const DLLIMPORT wxString CXX_EXT
FileType FileTypeOf(const wxString &filename)
wxString MakeUniqueString(const wxString &text, const wxString &separator, bool caseSens)
wxArray< int > wxArrayInt
ssize_t Read(void *buffer, size_t count)
wxString UnixFilename(const wxString &filename, wxPathFormat format)
virtual void Expand(const wxTreeItemId &item)
static int GetFromWindow(const wxWindow *win)
const DLLIMPORT wxString EXECUTABLE_EXT
wxString & Append(const char *psz)
wxString GetPath(int flags=wxPATH_GET_VOLUME, wxPathFormat format=wxPATH_NATIVE) const
wxString ChooseDirectory(wxWindow *parent, const wxString &message, const wxString &initialPath, const wxString &basePath, bool askToMakeRelative, bool showCreateDirButton)
int cbMessageBox(const wxString &message, const wxString &caption, int style, wxWindow *parent, int x, int y)
wxMessageBox wrapper.
virtual wxTreeItemId GetNextSibling(const wxTreeItemId &item) const
wxString cbC2U(const char *str)
Return str as a proper unicode-compatible string.
bool DoRememberExpandedNodes(wxTreeCtrl *tree, const wxTreeItemId &parent, wxArrayString &nodePaths, wxString &path)
wxString GetFullName() const
const DLLIMPORT wxString XRCRESOURCE_EXT
const DLLIMPORT wxString HPLPL_EXT
wxString cbFindFileInPATH(const wxString &filename)
void DebugLog(const wxString &msg, Logger::level lv=Logger::info)
void SetWindowStyleFlag(long style)
wxString & Prepend(const wxString &str)
const DLLIMPORT wxString HH_EXT
wxString GetStringFromArray(const wxArrayString &array, const wxString &separator, bool SeparatorAtEnd)
bool cbWrite(wxFile &file, const wxString &buff, wxFontEncoding encoding)
Writes a wxString to a non-unicode file. File must be open. File is closed automatically.
size_t Add(const wxString &str, size_t copies=1)
const DLLIMPORT wxString F03_EXT
static wxString ReadDataPath()
bool StartsWith(const wxString &prefix, wxString *rest=NULL) const
void SaveTreeState(wxTreeCtrl *tree, const wxTreeItemId &parent, wxArrayString &nodePaths, wxArrayString &selectedItemPaths)
wxInputStream * GetStream() const
bool Normalize(int flags=wxPATH_NORM_ALL, const wxString &cwd=wxEmptyString, wxPathFormat format=wxPATH_NATIVE)
const DLLIMPORT wxString CPP_EXT
bool SaveDocument(const wxString &, TiXmlDocument *)
int Add(const wxBitmap &bitmap, const wxBitmap &mask=wxNullBitmap)
virtual wxTreeItemId GetRootItem() const
wxRect & Intersect(const wxRect &rect)
bool cbSaveToFile(const wxString &filename, const wxString &contents, wxFontEncoding encoding, bool bom)
Writes a wxString to a file.
int Find(wxUniChar ch, bool fromEnd=false) const
wxUniChar GetChar(size_t n) const
bool NeedQuotes(const wxString &str)
bool UsesCommonControls6()
Check if CommonControls version is at least 6 (XP and up)
const DLLIMPORT wxString OBJECT_EXT
void SetSettingsIconsStyle(wxListCtrl *lc, SettingsIconsStyle style)
Set the icons style for the supplied list control.
bool MakeAbsolute(const wxString &cwd=wxEmptyString, wxPathFormat format=wxPATH_NATIVE)
static wxString CreateTempFileName(const wxString &prefix, wxFile *fileTemp=NULL)
wxString GetEOLStr(int eolMode)
Reads settings if eolMode is -1 Expected input (defined in sdk/wxscintilla/include/wx/wxscintilla.h) is: wxSCI_EOL_CRLF=0, wxSCI_EOL_CR=1, or wxSCI_EOL_LF=2.
const DLLIMPORT wxString ASM_EXT
void DoExpandRememberedNode(wxTreeCtrl *tree, const wxTreeItemId &parent, const wxString &path)
wxString GetFullPath(wxPathFormat format=wxPATH_NATIVE) const
void wxDisplaySize(int *width, int *height)
bool CreateDirRecursively(const wxString &full_path, int perms)
Current user has read-only access to the directory.
const char * cbGetTextFromUserPromptStr
const DLLIMPORT wxString RESOURCE_EXT
static int FolderIconIndex()
size_t Write(const void *buffer, size_t count)
void RestoreTreeState(wxTreeCtrl *tree, const wxTreeItemId &parent, wxArrayString &nodePaths, wxArrayString &selectedItemPaths)
virtual bool ItemHasChildren(const wxTreeItemId &item) const
wxArrayString GetArrayFromString(const wxString &text, const wxString &separator, bool trimSpaces)
const DLLIMPORT wxString FOR_EXT
long wxExecute(const wxString &command, int flags=wxEXEC_ASYNC, wxProcess *callback=NULL, const wxExecuteEnv *env=NULL)
const DLLIMPORT wxString MSVC7_EXT
void SetSelections(const wxArrayInt &selections)