]> git.saurik.com Git - wxWidgets.git/commitdiff
Committing in .
authorJouk Jansen <joukj@hrem.nano.tudelft.nl>
Mon, 1 Sep 2003 14:47:00 +0000 (14:47 +0000)
committerJouk Jansen <joukj@hrem.nano.tudelft.nl>
Mon, 1 Sep 2003 14:47:00 +0000 (14:47 +0000)
 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

setup.h_vms
src/common/descrip.mms
src/generic/descrip.mms
src/generic/notebook.cpp
src/gtk/notebook.cpp
src/gtk1/notebook.cpp
src/univ/descrip.mms
src/univ/notebook.cpp

index bdeb5af7fc9e45f1bc801e3df6c8534e089b3abf..0530b8a7b40228813a7c4dc8fe1537058ebfb3de 100644 (file)
  * 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
  */
index 4d009eafbcfd8e5d370520fb91821178f01967a1..d1da2f94635c38e598cde5c9d82253cca57543e3 100644 (file)
@@ -48,6 +48,7 @@ OBJECTS = \
                appcmn.obj,\
                artprov.obj,\
                artstd.obj,\
+               bookctrl.obj,\
                choiccmn.obj,\
                clipcmn.obj,\
                clntdata.obj,\
@@ -179,6 +180,7 @@ SOURCES = \
                artprov.cpp,\
                artstd.cpp,\
                bmpbase.cpp,\
+               bookctrl.cpp,\
                choiccmn.cpp,\
                clipcmn.cpp,\
                clntdata.cpp,\
@@ -330,6 +332,7 @@ appcmn.obj : appcmn.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
index afc647b7b52e8520d94a80384715fc6371127604..03002afa2cc906ab1a010d90294bba989eef6846 100644 (file)
@@ -65,7 +65,6 @@ OBJECTS = \
                sashwin.obj,\
                selstore.obj,\
                splitter.obj,\
-               tbarsmpl.obj,\
                tabg.obj,\
                textdlgg.obj,\
                tipdlg.obj,\
@@ -107,7 +106,6 @@ SOURCES = \
                splitter.cpp,\
                statline.cpp,\
                statusbr.cpp,\
-               tbarsmpl.cpp,\
                tabg.cpp,\
                textdlgg.cpp,\
                tipdlg.cpp,\
@@ -174,7 +172,6 @@ selstore.obj : selstore.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
index efd24ca31ee3129e76c8a090ffc3dfe39b844802..1c46df356864608fe50ce116e705e2e3f8edd260 100644 (file)
 #pragma implementation "notebook.h"
 #endif
 
+#ifdef __VMS
+#pragma message disable unscomzer
+#endif
+
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
index eff299416787f1a105c8469ab9903f2d7164e847..248e2e2e050f9c5929cee99ac412af5d420d5a2b 100644 (file)
@@ -614,10 +614,13 @@ bool wxNotebook::InsertPage( size_t position,
     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;
 
@@ -654,10 +657,13 @@ bool wxNotebook::InsertPage( size_t position,
     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",
index eff299416787f1a105c8469ab9903f2d7164e847..248e2e2e050f9c5929cee99ac412af5d420d5a2b 100644 (file)
@@ -614,10 +614,13 @@ bool wxNotebook::InsertPage( size_t position,
     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;
 
@@ -654,10 +657,13 @@ bool wxNotebook::InsertPage( size_t position,
     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",
index 15c8062486539f05734ab656bfddf4f18508b7c3..d8509d6bafdcc9f54ea69a4779f5378e5e2ba1e8 100644 (file)
@@ -40,7 +40,6 @@ OBJECTS = \
                notebook.obj,\
                radiobox.obj,\
                radiobut.obj,\
-               renderer.obj,\
                scrarrow.obj,\
                scrolbar.obj,\
                scrthumb.obj,\
@@ -77,7 +76,6 @@ SOURCES =\
                notebook.cpp \
                radiobox.cpp \
                radiobut.cpp \
-               renderer.cpp \
                scrarrow.cpp \
                scrolbar.cpp \
                scrthumb.cpp \
@@ -118,7 +116,6 @@ menu.obj : menu.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
index 408034a35e25c69e02986f00841e9fc9769385fd..80763267edf1e1840e7df8b4f7138b16a5546eb5 100644 (file)
     #pragma implementation "univnotebook.h"
 #endif
 
+#ifdef __VMS
+#pragma message disable unscomzer
+#endif
+
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__