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
int m_countVisible;
private:
int m_countVisible;
private:
- DECLARE_NO_COPY_CLASS(wxCaretBase);
+ DECLARE_NO_COPY_CLASS(wxCaretBase)
};
// ---------------------------------------------------------------------------
};
// ---------------------------------------------------------------------------
// no copy ctor/assignment operators (or we'd try to unload the library
// twice)
// no copy ctor/assignment operators (or we'd try to unload the library
// twice)
- DECLARE_NO_COPY_CLASS(wxDynamicLibrary);
+ DECLARE_NO_COPY_CLASS(wxDynamicLibrary)
};
// ----------------------------------------------------------------------------
};
// ----------------------------------------------------------------------------
private:
DECLARE_DYNAMIC_CLASS(wxWindowGTK)
private:
DECLARE_DYNAMIC_CLASS(wxWindowGTK)
- DECLARE_NO_COPY_CLASS(wxWindowGTK);
+ DECLARE_NO_COPY_CLASS(wxWindowGTK)
};
extern wxWindow *wxFindFocusedChild(wxWindowGTK *win);
};
extern wxWindow *wxFindFocusedChild(wxWindowGTK *win);
private:
DECLARE_DYNAMIC_CLASS(wxWindowGTK)
private:
DECLARE_DYNAMIC_CLASS(wxWindowGTK)
- DECLARE_NO_COPY_CLASS(wxWindowGTK);
+ DECLARE_NO_COPY_CLASS(wxWindowGTK)
};
extern wxWindow *wxFindFocusedChild(wxWindowGTK *win);
};
extern wxWindow *wxFindFocusedChild(wxWindowGTK *win);
private:
// no copy ctor/assignment operator (yet)
private:
// no copy ctor/assignment operator (yet)
- DECLARE_NO_COPY_CLASS(wxHashTableBase);
+ DECLARE_NO_COPY_CLASS(wxHashTableBase)
};
// ----------------------------------------------------------------------------
};
// ----------------------------------------------------------------------------
size_t m_count;
// not implemented yet
size_t m_count;
// not implemented yet
- DECLARE_NO_COPY_CLASS(wxHashTableLong);
+ DECLARE_NO_COPY_CLASS(wxHashTableLong)
};
// ----------------------------------------------------------------------------
};
// ----------------------------------------------------------------------------
// the size of array above
size_t m_hashSize;
// the size of array above
size_t m_hashSize;
- DECLARE_NO_COPY_CLASS(wxStringHashTable);
+ DECLARE_NO_COPY_CLASS(wxStringHashTable)
};
// ----------------------------------------------------------------------------
};
// ----------------------------------------------------------------------------
*/
#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
*/
#define wxUSE_ACCEL 1
/*
* Use accelerators
*/
#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
*/
*/
#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
*/
#define wxUSE_DIRDLG 1
/*
* Use directory chooser dialog
*/
#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)
*/
* Use this control
*/
#define wxUSE_CARET 1
* Use this control
*/
#define wxUSE_CARET 1
+/*
+ * Use this control
+ */
+#define wxUSE_BUTTON 1
* Use wxPlot class
*/
#define wxUSE_PLOT 1
* Use wxPlot class
*/
#define wxUSE_PLOT 1
+/*
+ * Use wxMenuBar, wxMenuItem and wxMenu
+ */
+#define wxUSE_MENUS 1
* Use this control
*/
#define wxUSE_STATLINE 1
* Use this control
*/
#define wxUSE_STATLINE 1
+/*
+ * Use this control
+ */
+#define wxUSE_STATTEXT 1
/* compatibility */
#define wxUSE_TABDIALOG wxUSE_TAB_DIALOG
/*
/* compatibility */
#define wxUSE_TABDIALOG wxUSE_TAB_DIALOG
/*
+ * Use wxTextCtrl
+ */
+#define wxUSE_TEXTCTRL 1
+
+/*
+ * Use wxToollBar
*/
#define wxUSE_TOOLBAR 1
*/
#define wxUSE_TOOLBAR 1
*/
#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 log classes and logging functions
*/
#define wxUSE_LOG 1
* Use log classes and logging functions
*/
#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
*/
* Use config system
*/
#define wxUSE_CONFIG 1
* Use config system
*/
#define wxUSE_CONFIG 1
+/*
+ * Use font mapping/conversion classes
+ */
+#define wxUSE_FONTMAP 1
/*
* 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
* streams implementation.
/*
* Use standard C++ streams if 1. If 0, use wxWin
* streams implementation.
*/
#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 consistent PostScript fonts for AFM and printing (!)
/*
* Use font metric files in GetTextExtent for wxPostScriptDC
* Use consistent PostScript fonts for AFM and printing (!)
* Use clipboard
*/
#define wxUSE_CLIPBOARD 1
* Use clipboard
*/
#define wxUSE_CLIPBOARD 1
+/*
+ * Use wxDataObject
+*/
+#define wxUSE_DATAOBJ 1
-#define wxUSE_TOOLTIPS 0
+#define wxUSE_TOOLTIPS 1
* Use wxWindows help facility (needs wxUSE_IPC 1)
*/
#define wxUSE_HELP 1
* Use wxWindows help facility (needs wxUSE_IPC 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
*/
* Use Apple Ieee-double converter
*/
#define wxUSE_APPLE_IEEE 0
* Use Apple Ieee-double converter
*/
#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
*/
/* The number of bytes in a short. */
#define SIZEOF_SHORT 2
/* The number of bytes in a short. */
#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 HAVE_DLOPEN 1
/* Define if you have the dlopen function. */
#define HAVE_DLOPEN 1
/* Define this if you are using gtk and gdk contains support for X11R6 XIM */
#undef HAVE_XIM
/* Define this if you are using gtk and gdk contains support for X11R6 XIM */
#undef HAVE_XIM
+/* now check the settings self consistency */
+#include "wx/chkconf.h"
+
#endif /* __WX_SETUP_H__ */
#endif /* __WX_SETUP_H__ */
mimecmn.obj,\
module.obj,\
mstream.obj,\
mimecmn.obj,\
module.obj,\
mstream.obj,\
object.obj,\
objstrm.obj,\
paper.obj,\
object.obj,\
objstrm.obj,\
paper.obj,\
mimecmn.cpp,\
module.cpp,\
mstream.cpp,\
mimecmn.cpp,\
module.cpp,\
mstream.cpp,\
object.cpp,\
objstrm.cpp,\
paper.cpp,\
object.cpp,\
objstrm.cpp,\
paper.cpp,\
mimecmn.obj : mimecmn.cpp
module.obj : module.cpp
mstream.obj : mstream.cpp
mimecmn.obj : mimecmn.cpp
module.obj : module.cpp
mstream.obj : mstream.cpp
+nbkbase.obj : nbkbase.cpp
object.obj : object.cpp
objstrm.obj : objstrm.cpp
paper.obj : paper.cpp
object.obj : object.cpp
objstrm.obj : objstrm.cpp
paper.obj : paper.cpp
cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c
OBJECTS = \
cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c
OBJECTS = \
busyinfo.obj,\
calctrl.obj,\
caret.obj,\
busyinfo.obj,\
calctrl.obj,\
caret.obj,\
propform.obj,\
proplist.obj,\
sashwin.obj,\
propform.obj,\
proplist.obj,\
sashwin.obj,\
splitter.obj,\
statusbr.obj,\
tbarsmpl.obj,\
splitter.obj,\
statusbr.obj,\
tbarsmpl.obj,\
busyinfo.cpp,\
calctrl.cpp,\
caret.cpp,\
busyinfo.cpp,\
calctrl.cpp,\
caret.cpp,\
propform.cpp,\
proplist.cpp,\
sashwin.cpp,\
propform.cpp,\
proplist.cpp,\
sashwin.cpp,\
splitter.cpp,\
statline.cpp,\
statusbr.cpp,\
splitter.cpp,\
statline.cpp,\
statusbr.cpp,\
busyinfo.obj : busyinfo.cpp
calctrl.obj : calctrl.cpp
caret.obj : caret.cpp
busyinfo.obj : busyinfo.cpp
calctrl.obj : calctrl.cpp
caret.obj : caret.cpp
propform.obj : propform.cpp
proplist.obj : proplist.cpp
sashwin.obj : sashwin.cpp
propform.obj : propform.cpp
proplist.obj : proplist.cpp
sashwin.obj : sashwin.cpp
-scrolwin.obj : scrolwin.cpp
splitter.obj : splitter.cpp
statline.obj : statline.cpp
statusbr.obj : statusbr.cpp
splitter.obj : splitter.cpp
statline.obj : statline.cpp
statusbr.obj : statusbr.cpp
int
wxDialUpManagerImpl::CheckIfconfig()
{
int
wxDialUpManagerImpl::CheckIfconfig()
{
- // assume that the test doesn't work
+#ifdef __VMS
+ m_CanUseIfconfig = 0;
+ return -1;
+#else
+ // assume that the test doesn't work
int netDevice = NetDevice_Unknown;
// first time check for ifconfig location
int netDevice = NetDevice_Unknown;
// first time check for ifconfig location
// VZ: a wild guess (but without it, ifconfig fails completely)
cmd << _T(" ppp0");
#else
// VZ: a wild guess (but without it, ifconfig fails completely)
cmd << _T(" ppp0");
#else
-# pragma warning "No ifconfig information for this OS."
- m_CanUseIfconfig = 0;
+# pragma warning "No ifconfig information for this OS."
+ m_CanUseIfconfig = 0;
- cmd << " >" << tmpfile << '\'';
+ cmd << " >" << tmpfile << '\'';
/* I tried to add an option to wxExecute() to not close stdout,
so we could let ifconfig write directly to the tmpfile, but
this does not work. That should be faster, as it doesn´t call
/* I tried to add an option to wxExecute() to not close stdout,
so we could let ifconfig write directly to the tmpfile, but
this does not work. That should be faster, as it doesn´t call
}
wxDialUpManagerImpl::NetConnection wxDialUpManagerImpl::CheckPing()
}
wxDialUpManagerImpl::NetConnection wxDialUpManagerImpl::CheckPing()
// which does not take arguments, a la GNU.
if(m_CanUsePing == -1) // unknown
{
// which does not take arguments, a la GNU.
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"))
m_PingPath = "/bin/ping";
else if(wxFileExists("/usr/sbin/ping"))
m_PingPath = "/usr/sbin/ping";
if(wxFileExists("/bin/ping"))
m_PingPath = "/bin/ping";
else if(wxFileExists("/usr/sbin/ping"))
m_PingPath = "/usr/sbin/ping";
if(! m_PingPath)
{
m_CanUsePing = 0;
if(! m_PingPath)
{
m_CanUsePing = 0;
cmd << m_PingPath << ' ';
#if defined(__SOLARIS__) || defined (__SUNOS__)
// nothing to add to ping command
cmd << m_PingPath << ' ';
#if defined(__SOLARIS__) || defined (__SUNOS__)
// 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
#elif defined(__HPUX__)
cmd << "64 1 "; // only ping once (need also specify the packet size)
cmd << "-c 1 "; // only ping once
#elif defined(__HPUX__)
cmd << "64 1 "; // only ping once (need also specify the packet size)