sugestion
Posted: Sun Jan 09, 2005 10:52 pm
in a previous post it was said
couldnt the #if __WXMSW__ be replaced with RunningOnWindows() where this function was
so the wx.net.dll assembly would be the same on windows and linux
Code: Select all
public char this[long i]
{
#if __WXMSW__
get { return wxString_CharAt(wxObject, (uint)i); }
#else
get {return System.Convert.ToChar(wxString_CharAtInt(wxObject, (uint)i)); }
#endif
}
Code: Select all
bool RunningInWindows()
{
return (System.IO.Path.DirectorySeparatorChar == "\");
}