Update OpenVMS compile support
Modified Files:
wxWindows/setup.h_vms wxWindows/src/common/descrip.mms
wxWindows/src/generic/descrip.mms
wxWindows/src/generic/notebook.cpp
wxWindows/src/gtk/notebook.cpp wxWindows/src/univ/descrip.mms
wxWindows/src/univ/notebook.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23344
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
* Use iODBC
*/
#define wxUSE_ODBC 1
+#define wxUSE_BUILTIN_IODBC 0
#define wxODBC_FWD_ONLY_CURSORS 1
#define wxODBC_BACKWARD_COMPATABILITY 0
/*
*/
#define wxUSE_TOOLBAR_NATIVE 1
-/*
- * Use generic wxToolBar instead of/together with the native one?
- */
-#define wxUSE_TOOLBAR_SIMPLE 1
-
-#if defined(__WXWINE__) || defined(__GNUWIN32__) || defined(__WXPM__)
- #if wxUSE_TOOLBAR
- #define wxUSE_BUTTONBAR 1
- #endif
-#endif
-
/*
* Use wxTreeLayout class
*/
*/
#define wxUSE_APPLE_IEEE 0
-/*
- * Compatibility with 2.0 API.
- */
-#define WXWIN_COMPATIBILITY_2 1
/*
* Compatibility with 2.2 API
*/
appcmn.obj,\
artprov.obj,\
artstd.obj,\
+ bookctrl.obj,\
choiccmn.obj,\
clipcmn.obj,\
clntdata.obj,\
artprov.cpp,\
artstd.cpp,\
bmpbase.cpp,\
+ bookctrl.cpp,\
choiccmn.cpp,\
clipcmn.cpp,\
clntdata.cpp,\
artprov.obj : artprov.cpp
artstd.obj : artstd.cpp
bmpbase.obj : bmpbase.cpp
+bookctrl.obj : bookctrl.cpp
choiccmn.obj : choiccmn.cpp
clipcmn.obj : clipcmn.cpp
clntdata.obj : clntdata.cpp
sashwin.obj,\
selstore.obj,\
splitter.obj,\
- tbarsmpl.obj,\
tabg.obj,\
textdlgg.obj,\
tipdlg.obj,\
splitter.cpp,\
statline.cpp,\
statusbr.cpp,\
- tbarsmpl.cpp,\
tabg.cpp,\
textdlgg.cpp,\
tipdlg.cpp,\
splitter.obj : splitter.cpp
statline.obj : statline.cpp
statusbr.obj : statusbr.cpp
-tbarsmpl.obj : tbarsmpl.cpp
tabg.obj : tabg.cpp
textdlgg.obj : textdlgg.cpp
tipdlg.obj : tipdlg.cpp
#pragma implementation "notebook.h"
#endif
+#ifdef __VMS
+#pragma message disable unscomzer
+#endif
+
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
gtk_signal_connect( GTK_OBJECT(win->m_widget), "size_allocate",
GTK_SIGNAL_FUNC(gtk_page_size_callback), (gpointer)win );
- if (position < 0)
+#ifndef __VMS
+ // On VMS position is unsigned and thus always positive
+ if (position < 0)
gtk_notebook_append_page( notebook, win->m_widget, nb_page->m_box );
else
- gtk_notebook_insert_page( notebook, win->m_widget, nb_page->m_box, position );
+#endif
+ gtk_notebook_insert_page( notebook, win->m_widget, nb_page->m_box, position );
nb_page->m_page = (GtkNotebookPage*) g_list_last(notebook->children)->data;
gtk_widget_show( GTK_WIDGET(nb_page->m_label) );
if (select && (m_pagesData.GetCount() > 1))
{
+#ifndef __VMS
+ // On VMS position is unsigned and thus always positive
if (position < 0)
SetSelection( GetPageCount()-1 );
else
- SetSelection( position );
+#endif
+ SetSelection( position );
}
gtk_signal_connect( GTK_OBJECT(m_widget), "switch_page",
gtk_signal_connect( GTK_OBJECT(win->m_widget), "size_allocate",
GTK_SIGNAL_FUNC(gtk_page_size_callback), (gpointer)win );
- if (position < 0)
+#ifndef __VMS
+ // On VMS position is unsigned and thus always positive
+ if (position < 0)
gtk_notebook_append_page( notebook, win->m_widget, nb_page->m_box );
else
- gtk_notebook_insert_page( notebook, win->m_widget, nb_page->m_box, position );
+#endif
+ gtk_notebook_insert_page( notebook, win->m_widget, nb_page->m_box, position );
nb_page->m_page = (GtkNotebookPage*) g_list_last(notebook->children)->data;
gtk_widget_show( GTK_WIDGET(nb_page->m_label) );
if (select && (m_pagesData.GetCount() > 1))
{
+#ifndef __VMS
+ // On VMS position is unsigned and thus always positive
if (position < 0)
SetSelection( GetPageCount()-1 );
else
- SetSelection( position );
+#endif
+ SetSelection( position );
}
gtk_signal_connect( GTK_OBJECT(m_widget), "switch_page",
notebook.obj,\
radiobox.obj,\
radiobut.obj,\
- renderer.obj,\
scrarrow.obj,\
scrolbar.obj,\
scrthumb.obj,\
notebook.cpp \
radiobox.cpp \
radiobut.cpp \
- renderer.cpp \
scrarrow.cpp \
scrolbar.cpp \
scrthumb.cpp \
notebook.obj : notebook.cpp
radiobox.obj : radiobox.cpp
radiobut.obj : radiobut.cpp
-renderer.obj : renderer.cpp
scrarrow.obj : scrarrow.cpp
scrolbar.obj : scrolbar.cpp
scrthumb.obj : scrthumb.cpp
#pragma implementation "univnotebook.h"
#endif
+#ifdef __VMS
+#pragma message disable unscomzer
+#endif
+
#include "wx/wxprec.h"
#ifdef __BORLANDC__