]> git.saurik.com Git - wxWidgets.git/commitdiff
Committing in .
authorJouk Jansen <joukj@hrem.nano.tudelft.nl>
Wed, 22 Mar 2006 07:47:22 +0000 (07:47 +0000)
committerJouk Jansen <joukj@hrem.nano.tudelft.nl>
Wed, 22 Mar 2006 07:47:22 +0000 (07:47 +0000)
 Updates to make OpenVMS happy

 Modified Files:
  wxWidgets/setup.h_vms wxWidgets/include/wx/defs.h
  wxWidgets/src/gtk/choice.cpp wxWidgets/src/gtk/descrip.mms
 ----------------------------------------------------------------------

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/defs.h
setup.h_vms
src/gtk/choice.cpp
src/gtk/descrip.mms

index 183929d0f3e4882d7d2fbc706548ff770cb435c1..b29297df86e04943773eea407d113082b6d33b18 100644 (file)
@@ -2873,7 +2873,10 @@ typedef GtkWidget *WXWidget;
 #ifdef __WXGTK20__
 #define G_DISABLE_DEPRECATED
 #define PANGO_DISABLE_DEPRECATED
-#define GTK_DISABLE_DEPRECATED
+#ifndef __VMS
+/* GtkCombo is not defined on VMS if this is defined */
+# define GTK_DISABLE_DEPRECATED
+#endif
 #endif
 
 #endif /*  __WXGTK__ */
index 61b5a863f97354d039a26b1c14a5100255649d1e..af928cfdb82d8403fdf87dd50d27e1e8d632d3c6 100644 (file)
@@ -630,6 +630,10 @@ typedef pid_t GPid;
  * Use GNOME print for printing under GTK+ 2.0
  */
 #define wxUSE_LIBGNOMEPRINT 0
+/*
+ * Use GNOME VFS for MIME types
+ */
+#define wxUSE_LIBGNOMEVFS 0
 /*
  * Use the Hildon framework
  */
index 84eb8ca7f0fad9910cc9c66a8a44b9f2d83afeda..d1478144ebb6c278f762bb2bbe14e1d3e050e05e 100644 (file)
@@ -483,6 +483,10 @@ void wxChoice::DoApplyWidgetStyle(GtkRcStyle *style)
     }
 }
 
+#ifdef __VMS
+#pragma message disable unscomzer
+#endif
+
 int wxChoice::GtkAddHelper(GtkWidget *menu, size_t pos, const wxString& item)
 {
     wxCHECK_MSG((pos>=0) && (pos<=m_clientList.GetCount()), -1, wxT("invalid index"));
@@ -551,6 +555,10 @@ int wxChoice::GtkAddHelper(GtkWidget *menu, size_t pos, const wxString& item)
     return index;
 }
 
+#ifdef __VMS
+#pragma message enable unscomzer
+#endif
+
 wxSize wxChoice::DoGetBestSize() const
 {
     wxSize ret( wxControl::DoGetBestSize() );
index d11df004d075640b22ce0af5d4622112aff12710..6685e852ab6e0808fdc3c3f8f8d3982c14ebd7e5 100644 (file)
@@ -2,7 +2,7 @@
 #                                                                            *
 # Make file for VMS                                                          *
 # Author : J.Jansen (joukj@hrem.nano.tudelft.nl)                             *
-# Date : 20 February 2006                                                    *
+# Date : 20 March 2006                                                       *
 #                                                                            *
 #*****************************************************************************
 .first
@@ -101,7 +101,8 @@ OBJECTS0= \
        tbargtk.obj,\
        textctrl.obj,\
        tglbtn.obj,\
-       msgdlg.obj
+       msgdlg.obj,\
+       treeentry_gtk.obj
 
 SOURCES =\
        app.cpp,\
@@ -169,7 +170,8 @@ SOURCES =\
        utilsgtk.cpp,\
        utilsres.cpp,\
         win_gtk.c,\
-       window.cpp
+       window.cpp,\
+       treeentry_gtk.c
    
 all : $(SOURCES)
        $(MMS)$(MMSQUALIFIERS) $(OBJECTS)
@@ -256,3 +258,4 @@ utilsgtk.obj : utilsgtk.cpp
 utilsres.obj : utilsres.cpp
 win_gtk.obj : win_gtk.c
 window.obj : window.cpp
+treeentry_gtk.obj : treeentry_gtk.c