corrected wxKill signature, added Env methods (returning false)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -111,12 +111,25 @@ bool wxGetUserName(char *buf, int maxSize)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
int wxKill(long pid, wxSignal sig)
|
||||
int wxKill(long pid, wxSignal sig , wxKillError *rc )
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
WXDLLEXPORT bool wxGetEnv(const wxString& var, wxString *value)
|
||||
{
|
||||
// TODO : under classic there is no environement support, under X yes
|
||||
return false ;
|
||||
}
|
||||
|
||||
// set the env var name to the given value, return TRUE on success
|
||||
WXDLLEXPORT bool wxSetEnv(const wxString& var, const wxChar *value)
|
||||
{
|
||||
// TODO : under classic there is no environement support, under X yes
|
||||
return false ;
|
||||
}
|
||||
|
||||
//
|
||||
// Execute a program in an Interactive Shell
|
||||
//
|
||||
@@ -470,3 +483,8 @@ wxWindow* wxFindWindowAtPoint(const wxPoint& pt)
|
||||
{
|
||||
return wxGenericFindWindowAtPoint(pt);
|
||||
}
|
||||
|
||||
wxString wxGetOsDescription()
|
||||
{
|
||||
return "MacOS" ; //TODO:define further
|
||||
}
|
@@ -111,12 +111,25 @@ bool wxGetUserName(char *buf, int maxSize)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
int wxKill(long pid, wxSignal sig)
|
||||
int wxKill(long pid, wxSignal sig , wxKillError *rc )
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
WXDLLEXPORT bool wxGetEnv(const wxString& var, wxString *value)
|
||||
{
|
||||
// TODO : under classic there is no environement support, under X yes
|
||||
return false ;
|
||||
}
|
||||
|
||||
// set the env var name to the given value, return TRUE on success
|
||||
WXDLLEXPORT bool wxSetEnv(const wxString& var, const wxChar *value)
|
||||
{
|
||||
// TODO : under classic there is no environement support, under X yes
|
||||
return false ;
|
||||
}
|
||||
|
||||
//
|
||||
// Execute a program in an Interactive Shell
|
||||
//
|
||||
@@ -470,3 +483,8 @@ wxWindow* wxFindWindowAtPoint(const wxPoint& pt)
|
||||
{
|
||||
return wxGenericFindWindowAtPoint(pt);
|
||||
}
|
||||
|
||||
wxString wxGetOsDescription()
|
||||
{
|
||||
return "MacOS" ; //TODO:define further
|
||||
}
|
Reference in New Issue
Block a user