Committing in .
Modified Files: wxWindows/setup.h_vms wxWindows/include/wx/caret.h wxWindows/include/wx/dynlib.h wxWindows/include/wx/hash.h wxWindows/include/wx/gtk/window.h wxWindows/src/common/descrip.mms wxWindows/src/generic/descrip.mms wxWindows/src/unix/dialup.cpp -Removed some redundant ;'s from the .h files -Updated wxGTK for OpenVMS ---------------------------------------------------------------------- git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
8a46f9b187
commit
1a0d517ea4
@ -187,7 +187,7 @@ protected:
|
|||||||
int m_countVisible;
|
int m_countVisible;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
DECLARE_NO_COPY_CLASS(wxCaretBase);
|
DECLARE_NO_COPY_CLASS(wxCaretBase)
|
||||||
};
|
};
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
@ -171,7 +171,7 @@ private:
|
|||||||
|
|
||||||
// no copy ctor/assignment operators (or we'd try to unload the library
|
// no copy ctor/assignment operators (or we'd try to unload the library
|
||||||
// twice)
|
// twice)
|
||||||
DECLARE_NO_COPY_CLASS(wxDynamicLibrary);
|
DECLARE_NO_COPY_CLASS(wxDynamicLibrary)
|
||||||
};
|
};
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@ -233,7 +233,7 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
DECLARE_DYNAMIC_CLASS(wxWindowGTK)
|
DECLARE_DYNAMIC_CLASS(wxWindowGTK)
|
||||||
DECLARE_NO_COPY_CLASS(wxWindowGTK);
|
DECLARE_NO_COPY_CLASS(wxWindowGTK)
|
||||||
};
|
};
|
||||||
|
|
||||||
extern wxWindow *wxFindFocusedChild(wxWindowGTK *win);
|
extern wxWindow *wxFindFocusedChild(wxWindowGTK *win);
|
||||||
|
@ -233,7 +233,7 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
DECLARE_DYNAMIC_CLASS(wxWindowGTK)
|
DECLARE_DYNAMIC_CLASS(wxWindowGTK)
|
||||||
DECLARE_NO_COPY_CLASS(wxWindowGTK);
|
DECLARE_NO_COPY_CLASS(wxWindowGTK)
|
||||||
};
|
};
|
||||||
|
|
||||||
extern wxWindow *wxFindFocusedChild(wxWindowGTK *win);
|
extern wxWindow *wxFindFocusedChild(wxWindowGTK *win);
|
||||||
|
@ -69,7 +69,7 @@ protected:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
// no copy ctor/assignment operator (yet)
|
// no copy ctor/assignment operator (yet)
|
||||||
DECLARE_NO_COPY_CLASS(wxHashTableBase);
|
DECLARE_NO_COPY_CLASS(wxHashTableBase)
|
||||||
};
|
};
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
@ -106,7 +106,7 @@ private:
|
|||||||
size_t m_count;
|
size_t m_count;
|
||||||
|
|
||||||
// not implemented yet
|
// not implemented yet
|
||||||
DECLARE_NO_COPY_CLASS(wxHashTableLong);
|
DECLARE_NO_COPY_CLASS(wxHashTableLong)
|
||||||
};
|
};
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
@ -136,7 +136,7 @@ private:
|
|||||||
// the size of array above
|
// the size of array above
|
||||||
size_t m_hashSize;
|
size_t m_hashSize;
|
||||||
|
|
||||||
DECLARE_NO_COPY_CLASS(wxStringHashTable);
|
DECLARE_NO_COPY_CLASS(wxStringHashTable)
|
||||||
};
|
};
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
152
setup.h_vms
152
setup.h_vms
@ -198,11 +198,51 @@
|
|||||||
*/
|
*/
|
||||||
#define wxUSE_VALIDATORS 1
|
#define wxUSE_VALIDATORS 1
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Use wxControl
|
||||||
|
*/
|
||||||
|
#define wxUSE_CONTROLS 1
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Use wxPopupWindow (useful in wxUniv only for now)
|
||||||
|
*/
|
||||||
|
#define wxUSE_POPUPWIN 1
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Use accelerators
|
* Use accelerators
|
||||||
*/
|
*/
|
||||||
#define wxUSE_ACCEL 1
|
#define wxUSE_ACCEL 1
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Use wxCalendarCtrl
|
||||||
|
*/
|
||||||
|
#define wxUSE_CALENDARCTRL 1
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Use wxFileDialog
|
||||||
|
*/
|
||||||
|
#define wxUSE_FILEDLG 1
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Use wxFontDialog
|
||||||
|
*/
|
||||||
|
#define wxUSE_FONTDLG 1
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Use wxMimeTypesManager and related classes
|
||||||
|
*/
|
||||||
|
#define wxUSE_MIMETYPE 1
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Use wxMessageDialog (and wxMessageBox)
|
||||||
|
*/
|
||||||
|
#define wxUSE_MSGDLG 1
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Use wxNumberEntryDialog
|
||||||
|
*/
|
||||||
|
#define wxUSE_NUMBERDLG 1
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Use wxTextEntryDialog
|
* Use wxTextEntryDialog
|
||||||
*/
|
*/
|
||||||
@ -218,11 +258,41 @@
|
|||||||
*/
|
*/
|
||||||
#define wxUSE_PROGRESSDLG 1
|
#define wxUSE_PROGRESSDLG 1
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Use chooser dialog
|
||||||
|
*/
|
||||||
|
#define wxUSE_CHOICEDLG 1
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Use colour picker dialog
|
||||||
|
*/
|
||||||
|
#define wxUSE_COLOURDLG 1
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Use directory chooser dialog
|
* Use directory chooser dialog
|
||||||
*/
|
*/
|
||||||
#define wxUSE_DIRDLG 1
|
#define wxUSE_DIRDLG 1
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Use wxDragImage class
|
||||||
|
*/
|
||||||
|
#define wxUSE_DRAGIMAGE 1
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Use property sheet classes
|
||||||
|
*/
|
||||||
|
#define wxUSE_PROPSHEET 1
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Use wxWizard
|
||||||
|
*/
|
||||||
|
#define wxUSE_WIZARDDLG 1
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Use splash screen
|
||||||
|
*/
|
||||||
|
#define wxUSE_SPLASH 1
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Joystick support (Linux/GTK only)
|
* Joystick support (Linux/GTK only)
|
||||||
*/
|
*/
|
||||||
@ -232,6 +302,10 @@
|
|||||||
* Use this control
|
* Use this control
|
||||||
*/
|
*/
|
||||||
#define wxUSE_CARET 1
|
#define wxUSE_CARET 1
|
||||||
|
/*
|
||||||
|
* Use this control
|
||||||
|
*/
|
||||||
|
#define wxUSE_BUTTON 1
|
||||||
/*
|
/*
|
||||||
* Use this control
|
* Use this control
|
||||||
*/
|
*/
|
||||||
@ -281,6 +355,10 @@
|
|||||||
* Use wxPlot class
|
* Use wxPlot class
|
||||||
*/
|
*/
|
||||||
#define wxUSE_PLOT 1
|
#define wxUSE_PLOT 1
|
||||||
|
/*
|
||||||
|
* Use wxMenuBar, wxMenuItem and wxMenu
|
||||||
|
*/
|
||||||
|
#define wxUSE_MENUS 1
|
||||||
/*
|
/*
|
||||||
* Use this control
|
* Use this control
|
||||||
*/
|
*/
|
||||||
@ -329,6 +407,10 @@
|
|||||||
* Use this control
|
* Use this control
|
||||||
*/
|
*/
|
||||||
#define wxUSE_STATLINE 1
|
#define wxUSE_STATLINE 1
|
||||||
|
/*
|
||||||
|
* Use this control
|
||||||
|
*/
|
||||||
|
#define wxUSE_STATTEXT 1
|
||||||
/*
|
/*
|
||||||
* Use this control
|
* Use this control
|
||||||
*/
|
*/
|
||||||
@ -344,7 +426,12 @@
|
|||||||
/* compatibility */
|
/* compatibility */
|
||||||
#define wxUSE_TABDIALOG wxUSE_TAB_DIALOG
|
#define wxUSE_TABDIALOG wxUSE_TAB_DIALOG
|
||||||
/*
|
/*
|
||||||
* Use this control
|
* Use wxTextCtrl
|
||||||
|
*/
|
||||||
|
#define wxUSE_TEXTCTRL 1
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Use wxToollBar
|
||||||
*/
|
*/
|
||||||
#define wxUSE_TOOLBAR 1
|
#define wxUSE_TOOLBAR 1
|
||||||
|
|
||||||
@ -380,6 +467,19 @@
|
|||||||
*/
|
*/
|
||||||
#define wxUSE_GEOMETRY 1
|
#define wxUSE_GEOMETRY 1
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Use wxFFile class
|
||||||
|
*/
|
||||||
|
#define wxUSE_FFILE 1
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Use wxCmdLineParser class
|
||||||
|
*/
|
||||||
|
#define wxUSE_CMDLINE_PARSER 1
|
||||||
|
/*
|
||||||
|
* Use wxDateTime
|
||||||
|
*/
|
||||||
|
#define wxUSE_DATETIME 1
|
||||||
/*
|
/*
|
||||||
* Use wxFile class
|
* Use wxFile class
|
||||||
*/
|
*/
|
||||||
@ -392,6 +492,18 @@
|
|||||||
* Use log classes and logging functions
|
* Use log classes and logging functions
|
||||||
*/
|
*/
|
||||||
#define wxUSE_LOG 1
|
#define wxUSE_LOG 1
|
||||||
|
/*
|
||||||
|
* Use log window
|
||||||
|
*/
|
||||||
|
#define wxUSE_LOGWINDOW 1
|
||||||
|
/*
|
||||||
|
* Use standard GUI logger
|
||||||
|
*/
|
||||||
|
#define wxUSE_LOGGUI 1
|
||||||
|
/*
|
||||||
|
* Use wxStopWatch
|
||||||
|
*/
|
||||||
|
#define wxUSE_STOPWATCH 1
|
||||||
/*
|
/*
|
||||||
* Use time and date classes
|
* Use time and date classes
|
||||||
*/
|
*/
|
||||||
@ -404,6 +516,10 @@
|
|||||||
* Use config system
|
* Use config system
|
||||||
*/
|
*/
|
||||||
#define wxUSE_CONFIG 1
|
#define wxUSE_CONFIG 1
|
||||||
|
/*
|
||||||
|
* Use font mapping/conversion classes
|
||||||
|
*/
|
||||||
|
#define wxUSE_FONTMAP 1
|
||||||
/*
|
/*
|
||||||
* Use intl system
|
* Use intl system
|
||||||
*/
|
*/
|
||||||
@ -423,7 +539,7 @@
|
|||||||
/*
|
/*
|
||||||
* Use dialup manager
|
* Use dialup manager
|
||||||
*/
|
*/
|
||||||
#define wxUSE_DIALUP_MANAGER 0
|
#define wxUSE_DIALUP_MANAGER 1
|
||||||
/*
|
/*
|
||||||
* Use standard C++ streams if 1. If 0, use wxWin
|
* Use standard C++ streams if 1. If 0, use wxWin
|
||||||
* streams implementation.
|
* streams implementation.
|
||||||
@ -434,6 +550,11 @@
|
|||||||
*/
|
*/
|
||||||
#define wxUSE_DYNLIB_CLASS 1
|
#define wxUSE_DYNLIB_CLASS 1
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Use wxTimer
|
||||||
|
*/
|
||||||
|
#define wxUSE_TIMER 1
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Use font metric files in GetTextExtent for wxPostScriptDC
|
* Use font metric files in GetTextExtent for wxPostScriptDC
|
||||||
* Use consistent PostScript fonts for AFM and printing (!)
|
* Use consistent PostScript fonts for AFM and printing (!)
|
||||||
@ -487,10 +608,14 @@
|
|||||||
* Use clipboard
|
* Use clipboard
|
||||||
*/
|
*/
|
||||||
#define wxUSE_CLIPBOARD 1
|
#define wxUSE_CLIPBOARD 1
|
||||||
|
/*
|
||||||
|
* Use wxDataObject
|
||||||
|
*/
|
||||||
|
#define wxUSE_DATAOBJ 1
|
||||||
/*
|
/*
|
||||||
* Use tooltips
|
* Use tooltips
|
||||||
*/
|
*/
|
||||||
#define wxUSE_TOOLTIPS 0
|
#define wxUSE_TOOLTIPS 1
|
||||||
/*
|
/*
|
||||||
* Use dnd
|
* Use dnd
|
||||||
*/
|
*/
|
||||||
@ -537,6 +662,11 @@
|
|||||||
* Use wxWindows help facility (needs wxUSE_IPC 1)
|
* Use wxWindows help facility (needs wxUSE_IPC 1)
|
||||||
*/
|
*/
|
||||||
#define wxUSE_HELP 1
|
#define wxUSE_HELP 1
|
||||||
|
/*
|
||||||
|
* Use built-in HTML-based help controller
|
||||||
|
*/
|
||||||
|
#define wxUSE_WXHTML_HELP 1
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Use iostream.h rather than iostream
|
* Use iostream.h rather than iostream
|
||||||
*/
|
*/
|
||||||
@ -545,10 +675,15 @@
|
|||||||
* Use Apple Ieee-double converter
|
* Use Apple Ieee-double converter
|
||||||
*/
|
*/
|
||||||
#define wxUSE_APPLE_IEEE 0
|
#define wxUSE_APPLE_IEEE 0
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compatibility with 2.0 API.
|
* Compatibility with 2.0 API.
|
||||||
*/
|
*/
|
||||||
#define WXWIN_COMPATIBILITY_2 1
|
#define WXWIN_COMPATIBILITY_2 0
|
||||||
|
/*
|
||||||
|
* Compatibility with 2.2 API
|
||||||
|
*/
|
||||||
|
#define WXWIN_COMPATIBILITY_2_2 1
|
||||||
/*
|
/*
|
||||||
* Enables debugging: memory tracing, assert, etc., contains debug level
|
* Enables debugging: memory tracing, assert, etc., contains debug level
|
||||||
*/
|
*/
|
||||||
@ -762,6 +897,12 @@
|
|||||||
/* The number of bytes in a short. */
|
/* The number of bytes in a short. */
|
||||||
#define SIZEOF_SHORT 2
|
#define SIZEOF_SHORT 2
|
||||||
|
|
||||||
|
/* Define if size_t on your machine is the same type as unsigned int. */
|
||||||
|
#define wxSIZE_T_IS_UINT 1
|
||||||
|
|
||||||
|
/* Define if size_t on your machine is the same type as unsigned long. */
|
||||||
|
#undef wxSIZE_T_IS_ULONG
|
||||||
|
|
||||||
/* Define if you have the dlopen function. */
|
/* Define if you have the dlopen function. */
|
||||||
#define HAVE_DLOPEN 1
|
#define HAVE_DLOPEN 1
|
||||||
|
|
||||||
@ -834,4 +975,7 @@
|
|||||||
/* Define this if you are using gtk and gdk contains support for X11R6 XIM */
|
/* Define this if you are using gtk and gdk contains support for X11R6 XIM */
|
||||||
#undef HAVE_XIM
|
#undef HAVE_XIM
|
||||||
|
|
||||||
|
/* now check the settings self consistency */
|
||||||
|
#include "wx/chkconf.h"
|
||||||
|
|
||||||
#endif /* __WX_SETUP_H__ */
|
#endif /* __WX_SETUP_H__ */
|
||||||
|
@ -102,6 +102,7 @@ OBJECTS1=framecmn.obj,\
|
|||||||
mimecmn.obj,\
|
mimecmn.obj,\
|
||||||
module.obj,\
|
module.obj,\
|
||||||
mstream.obj,\
|
mstream.obj,\
|
||||||
|
nbkbase.obj,\
|
||||||
object.obj,\
|
object.obj,\
|
||||||
objstrm.obj,\
|
objstrm.obj,\
|
||||||
paper.obj,\
|
paper.obj,\
|
||||||
@ -205,6 +206,7 @@ SOURCES = \
|
|||||||
mimecmn.cpp,\
|
mimecmn.cpp,\
|
||||||
module.cpp,\
|
module.cpp,\
|
||||||
mstream.cpp,\
|
mstream.cpp,\
|
||||||
|
nbkbase.cpp,\
|
||||||
object.cpp,\
|
object.cpp,\
|
||||||
objstrm.cpp,\
|
objstrm.cpp,\
|
||||||
paper.cpp,\
|
paper.cpp,\
|
||||||
@ -338,6 +340,7 @@ menucmn.obj : menucmn.cpp
|
|||||||
mimecmn.obj : mimecmn.cpp
|
mimecmn.obj : mimecmn.cpp
|
||||||
module.obj : module.cpp
|
module.obj : module.cpp
|
||||||
mstream.obj : mstream.cpp
|
mstream.obj : mstream.cpp
|
||||||
|
nbkbase.obj : nbkbase.cpp
|
||||||
object.obj : object.cpp
|
object.obj : object.cpp
|
||||||
objstrm.obj : objstrm.cpp
|
objstrm.obj : objstrm.cpp
|
||||||
paper.obj : paper.cpp
|
paper.obj : paper.cpp
|
||||||
|
@ -31,6 +31,7 @@ CC_DEFINE =
|
|||||||
cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c
|
cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c
|
||||||
|
|
||||||
OBJECTS = \
|
OBJECTS = \
|
||||||
|
accel.obj,\
|
||||||
busyinfo.obj,\
|
busyinfo.obj,\
|
||||||
calctrl.obj,\
|
calctrl.obj,\
|
||||||
caret.obj,\
|
caret.obj,\
|
||||||
@ -59,7 +60,6 @@ OBJECTS = \
|
|||||||
propform.obj,\
|
propform.obj,\
|
||||||
proplist.obj,\
|
proplist.obj,\
|
||||||
sashwin.obj,\
|
sashwin.obj,\
|
||||||
scrolwin.obj,\
|
|
||||||
splitter.obj,\
|
splitter.obj,\
|
||||||
statusbr.obj,\
|
statusbr.obj,\
|
||||||
tbarsmpl.obj,\
|
tbarsmpl.obj,\
|
||||||
@ -71,6 +71,7 @@ OBJECTS = \
|
|||||||
wizard.obj
|
wizard.obj
|
||||||
|
|
||||||
SOURCES = \
|
SOURCES = \
|
||||||
|
accel.cpp,\
|
||||||
busyinfo.cpp,\
|
busyinfo.cpp,\
|
||||||
calctrl.cpp,\
|
calctrl.cpp,\
|
||||||
caret.cpp,\
|
caret.cpp,\
|
||||||
@ -102,7 +103,6 @@ SOURCES = \
|
|||||||
propform.cpp,\
|
propform.cpp,\
|
||||||
proplist.cpp,\
|
proplist.cpp,\
|
||||||
sashwin.cpp,\
|
sashwin.cpp,\
|
||||||
scrolwin.cpp,\
|
|
||||||
splitter.cpp,\
|
splitter.cpp,\
|
||||||
statline.cpp,\
|
statline.cpp,\
|
||||||
statusbr.cpp,\
|
statusbr.cpp,\
|
||||||
@ -131,6 +131,7 @@ all : $(SOURCES)
|
|||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
accel.obj : accel.cpp
|
||||||
busyinfo.obj : busyinfo.cpp
|
busyinfo.obj : busyinfo.cpp
|
||||||
calctrl.obj : calctrl.cpp
|
calctrl.obj : calctrl.cpp
|
||||||
caret.obj : caret.cpp
|
caret.obj : caret.cpp
|
||||||
@ -162,7 +163,6 @@ prop.obj : prop.cpp
|
|||||||
propform.obj : propform.cpp
|
propform.obj : propform.cpp
|
||||||
proplist.obj : proplist.cpp
|
proplist.obj : proplist.cpp
|
||||||
sashwin.obj : sashwin.cpp
|
sashwin.obj : sashwin.cpp
|
||||||
scrolwin.obj : scrolwin.cpp
|
|
||||||
splitter.obj : splitter.cpp
|
splitter.obj : splitter.cpp
|
||||||
statline.obj : statline.cpp
|
statline.obj : statline.cpp
|
||||||
statusbr.obj : statusbr.cpp
|
statusbr.obj : statusbr.cpp
|
||||||
|
@ -639,6 +639,10 @@ wxDialUpManagerImpl::CheckProcNet()
|
|||||||
int
|
int
|
||||||
wxDialUpManagerImpl::CheckIfconfig()
|
wxDialUpManagerImpl::CheckIfconfig()
|
||||||
{
|
{
|
||||||
|
#ifdef __VMS
|
||||||
|
m_CanUseIfconfig = 0;
|
||||||
|
return -1;
|
||||||
|
#else
|
||||||
// assume that the test doesn't work
|
// assume that the test doesn't work
|
||||||
int netDevice = NetDevice_Unknown;
|
int netDevice = NetDevice_Unknown;
|
||||||
|
|
||||||
@ -745,6 +749,7 @@ wxDialUpManagerImpl::CheckIfconfig()
|
|||||||
}
|
}
|
||||||
|
|
||||||
return netDevice;
|
return netDevice;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
wxDialUpManagerImpl::NetConnection wxDialUpManagerImpl::CheckPing()
|
wxDialUpManagerImpl::NetConnection wxDialUpManagerImpl::CheckPing()
|
||||||
@ -753,10 +758,15 @@ wxDialUpManagerImpl::NetConnection wxDialUpManagerImpl::CheckPing()
|
|||||||
// which does not take arguments, a la GNU.
|
// which does not take arguments, a la GNU.
|
||||||
if(m_CanUsePing == -1) // unknown
|
if(m_CanUsePing == -1) // unknown
|
||||||
{
|
{
|
||||||
|
#ifdef __VMS
|
||||||
|
if(wxFileExists("SYS$SYSTEM:TCPIP$PING.EXE"))
|
||||||
|
m_PingPath = "$SYS$SYSTEM:TCPIP$PING";
|
||||||
|
#else
|
||||||
if(wxFileExists("/bin/ping"))
|
if(wxFileExists("/bin/ping"))
|
||||||
m_PingPath = "/bin/ping";
|
m_PingPath = "/bin/ping";
|
||||||
else if(wxFileExists("/usr/sbin/ping"))
|
else if(wxFileExists("/usr/sbin/ping"))
|
||||||
m_PingPath = "/usr/sbin/ping";
|
m_PingPath = "/usr/sbin/ping";
|
||||||
|
#endif
|
||||||
if(! m_PingPath)
|
if(! m_PingPath)
|
||||||
{
|
{
|
||||||
m_CanUsePing = 0;
|
m_CanUsePing = 0;
|
||||||
@ -775,7 +785,7 @@ wxDialUpManagerImpl::NetConnection wxDialUpManagerImpl::CheckPing()
|
|||||||
cmd << m_PingPath << ' ';
|
cmd << m_PingPath << ' ';
|
||||||
#if defined(__SOLARIS__) || defined (__SUNOS__)
|
#if defined(__SOLARIS__) || defined (__SUNOS__)
|
||||||
// nothing to add to ping command
|
// nothing to add to ping command
|
||||||
#elif defined(__LINUX__) || defined ( __FREEBSD__) || defined(__WXMAC__)
|
#elif defined(__LINUX__) || defined ( __FREEBSD__) || defined(__WXMAC__) || defined( __VMS )
|
||||||
cmd << "-c 1 "; // only ping once
|
cmd << "-c 1 "; // only ping once
|
||||||
#elif defined(__HPUX__)
|
#elif defined(__HPUX__)
|
||||||
cmd << "64 1 "; // only ping once (need also specify the packet size)
|
cmd << "64 1 "; // only ping once (need also specify the packet size)
|
||||||
|
Loading…
Reference in New Issue
Block a user