]> git.saurik.com Git - wxWidgets.git/commitdiff
Corrected some casting errors -> XtPointer
authorJulian Smart <julian@anthemion.co.uk>
Tue, 15 May 2001 14:51:00 +0000 (14:51 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 15 May 2001 14:51:00 +0000 (14:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

distrib/msw/makefile.rsp
distrib/msw/tardist
samples/text/text.cpp
src/motif/radiobox.cpp
src/motif/radiobut.cpp
src/motif/xmcombo/xmcombo.h

index c40ac45f26814a2cbc9346623f0e9dab4abac11c..c7a911c01178c8374dd9afcbfde8d5668ae0923a 100644 (file)
@@ -77,6 +77,8 @@ demos/life/Makefile.in
 demos/dbbrowse/Makefile.in
 utils/dialoged/Makefile.in
 utils/dialoged/src/Makefile.in
+utils/tex2rtf/Makefile.in
+utils/tex2rtf/src/Makefile.in
 utils/makegen/Makefile.in
 utils/HelpGen/Makefile.in
 utils/HelpGen/src/Makefile.in
index ab306a83f70e06a281167bafaaa91fd571477af1..9a99266157b6fcb3311349e9a3c5a813b022c3ca 100644 (file)
@@ -54,11 +54,16 @@ cd $1
 echo Removing backup files...
 rm *~ */*~ */*/*~ */*/*/*~ */*/*/*/*~
 
-rm -f $2/wxWindows-${WXVER}*.tgz
-rm -f $2/tex2rtf2.tgz
-rm -f $2/ogl3.tgz
-rm -f $2/jpeg.tgz
-rm -f $2/tiff.tgz
+rm -f $2/wx*-${WXVER}*.tgz
+rm -f $2/tex2rtf2-*.tgz
+rm -f $2/dialoged-*.tgz
+rm -f $2/ogl3-*.tgz
+rm -f $2/jpeg-*.tgz
+rm -f $2/tiff-*.tgz
+rm -f $2/stc-*.tgz
+rm -f $2/canvas-*.tgz
+rm -f $2/contrib-*.tgz
+rm -f $2/applet-*.tgz
 
 echo Tarring...
 
@@ -69,22 +74,22 @@ gzip $2/wxWindows-${WXVER}-gen.tar
 mv $2/wxWindows-${WXVER}-gen.tar.gz $2/wxWindows-${WXVER}-gen.tgz
 
 ### wxGTK
-ls `cat $1/distrib/msw/generic.rsp $1/distrib/msw/contrib.rsp $1/distrib/msw/xml.rsp $1/distrib/msw/gtk.rsp $1/distrib/msw/makefile.rsp` > /tmp/wxgtk.txt
-tar cvf $2/wxWindows-${WXVER}-gtk.tar -T /tmp/wxgtk.txt
-gzip $2/wxWindows-${WXVER}-gtk.tar
-mv $2/wxWindows-${WXVER}-gtk.tar.gz $2/wxWindows-${WXVER}-gtk.tgz
+ls `cat $1/distrib/msw/generic.rsp $1/distrib/msw/contrib.rsp $1/distrib/msw/xml.rsp $1/distrib/msw/gtk.rsp $1/distrib/msw/makefile.rsp $1/distrib/msw/tiff.rsp $1/distrib/msw/jpeg.rsp` > /tmp/wxgtk.txt
+tar cvf $2/wxGTK-${WXVER}.tar -T /tmp/wxgtk.txt
+gzip $2/wxGTK-${WXVER}.tar
+mv $2/wxGTK-${WXVER}.tar.gz $2/wxGTK-${WXVER}.tgz
 
 ### wxMotif
-ls `cat $1/distrib/msw/generic.rsp $1/distrib/msw/motif.rsp $1/distrib/msw/contrib.rsp $1/distrib/msw/xml.rsp $1/distrib/msw/makefile.rsp` > /tmp/wxmotif.txt
+ls `cat $1/distrib/msw/generic.rsp $1/distrib/msw/motif.rsp $1/distrib/msw/contrib.rsp $1/distrib/msw/xml.rsp $1/distrib/msw/makefile.rsp $1/distrib/msw/tiff.rsp $1/distrib/msw/jpeg.rsp` > /tmp/wxmotif.txt
 tar cvf $2/wxWindows-${WXVER}-mot.tar -T /tmp/wxmotif.txt
-gzip $2/wxWindows-${WXVER}-mot.tar
-mv $2/wxWindows-${WXVER}-mot.tar.gz $2/wxWindows-${WXVER}-mot.tgz
+gzip $2/wxMotif-${WXVER}.tar
+mv $2/wxMotif-${WXVER}.tar.gz $2/wxMotif-${WXVER}.tgz
 
 ### wxMSW
-ls `cat $1/distrib/msw/msw.rsp $1/distrib/msw/vc.rsp` > /tmp/wxmsw.txt
-tar cvf $2/wxWindows-${WXVER}-msw.tar -T /tmp/wxmsw.txt
-gzip $2/wxWindows-${WXVER}-msw.tar
-mv $2/wxWindows-${WXVER}-msw.tar.gz $2/wxWindows-${WXVER}-msw.tgz
+ls `cat $1/distrib/msw/msw.rsp $1/distrib/msw/vc.rsp $1/distrib/msw/bc.rsp $1/distrib/msw/contrib.rsp $1/distrib/msw/xml.rsp $1/distrib/msw/makefile.rsp $1/distrib/msw/tiff.rsp $1/distrib/msw/jpeg.rsp` > /tmp/wxmsw.txt
+tar cvf $2/wxMSW-${WXVER}.tar -T /tmp/wxmsw.txt
+gzip $2/wxMSW-${WXVER}.tar
+mv $2/wxMSW-${WXVER}.tar.gz $2/wxMSW-${WXVER}.tgz
 
 ### Doc sources
 ls `cat $1/distrib/msw/docsrc.rsp` > /tmp/docsrc.txt
@@ -105,33 +110,33 @@ gzip $2/wxWindows-${WXVER}-pdf.tar
 mv $2/wxWindows-${WXVER}-pdf.tar.gz $2/wxWindows-${WXVER}-pdf.tgz
 
 ### Stubs files
-ls `cat $1/distrib/msw/stubs.rsp` > /tmp/stubs.txt
-tar cvf $2/wxWindows-${WXVER}-stubs.tar -T /tmp/stubs.txt
-gzip $2/wxWindows-${WXVER}-stubs.tar
-mv $2/wxWindows-${WXVER}-stubs.tar.gz $2/wxWindows-${WXVER}-stubs.tgz
+#ls `cat $1/distrib/msw/stubs.rsp` > /tmp/stubs.txt
+#tar cvf $2/wxWindows-${WXVER}-stubs.tar -T /tmp/stubs.txt
+#gzip $2/wxWindows-${WXVER}-stubs.tar
+#mv $2/wxWindows-${WXVER}-stubs.tar.gz $2/wxWindows-${WXVER}-stubs.tgz
 
 ### Tex2RTF
 ls `cat $1/distrib/msw/tex2rtf.rsp` > /tmp/tex2rtf.txt
-tar cvf $2/tex2rtf2.tar -T /tmp/tex2rtf.txt
-gzip $2/tex2rtf2.tar
-mv $2/tex2rtf2.tar.gz $2/tex2rtf2.tgz
+tar cvf $2/tex2rtf2-${WXVER}.tar -T /tmp/tex2rtf.txt
+gzip $2/tex2rtf2-${WXVER}.tar
+mv $2/tex2rtf2-${WXVER}.tar.gz $2/tex2rtf2-${WXVER}.tgz
 
 ### OGL
 ls `cat $1/distrib/msw/ogl.rsp` > /tmp/ogl.txt
-tar cvf $2/ogl3.tar -T /tmp/ogl.txt
-gzip $2/ogl3.tar
-mv $2/ogl3.tar.gz $2/ogl3.tgz
+tar cvf $2/ogl3-${WXVER}.tar -T /tmp/ogl.txt
+gzip $2/ogl3-${WXVER}.tar
+mv $2/ogl3-${WXVER}.tar.gz $2/ogl3-${WXVER}.tgz
 
 ### JPEG
 ls `cat $1/distrib/msw/jpeg.rsp` > /tmp/jpeg.txt
-tar cvf $2/jpeg.tar -T /tmp/jpeg.txt
-gzip $2/jpeg.tar
-mv $2/jpeg.tar.gz $2/jpeg.tgz
+tar cvf $2/jpeg-${WXVER}.tar -T /tmp/jpeg.txt
+gzip $2/jpeg-${WXVER}.tar
+mv $2/jpeg-${WXVER}.tar.gz $2/jpeg-${WXVER}.tgz
 
 ### TIFF
 ls `cat $1/distrib/msw/tiff.rsp` > /tmp/tiff.txt
-tar cvf $2/tiff.tar -T /tmp/tiff.txt
-gzip $2/tiff.tar
-mv $2/tiff.tar.gz $2/tiff.tgz
+tar cvf $2/tiff-${WXVER}.tar -T /tmp/tiff.txt
+gzip $2/tiff-${WXVER}.tar
+mv $2/tiff-${WXVER}.tar.gz $2/tiff-${WXVER}.tgz
 
 echo Done!
index 03895e1d11359a95d9a499391227bdd99bba2e99..a0472525f544235a1c6dbd031f9dd0712b45f90f 100644 (file)
@@ -9,7 +9,6 @@
 /////////////////////////////////////////////////////////////////////////////
 
 #ifdef __GNUG__
-    #pragma interface "text.cpp"
     #pragma implementation "text.cpp"
 #endif
 
index 3f2f7b5fd6915e0950fbe2fa118243517d456d96..6d4d088da2612c83cc5c8984234fa254568f1dd7 100644 (file)
@@ -175,18 +175,8 @@ bool wxRadioBox::Create(wxWindow *parent, wxWindowID id, const wxString& title,
 #endif
                                     XmNfontList, fontList,
                                                  NULL);
-#ifdef __VMS__
-#pragma message disable voiincconext
-       // VMS gives here the compiler warning:
-       // conversion from pointer to function to void* permitted
-       // as an extension
-#endif
         XtAddCallback ((Widget) m_radioButtons[i], XmNvalueChangedCallback, (XtCallbackProc) wxRadioBoxCallback,
-                     (XtCallbackProc) this);
-#ifdef __VMS__
-#pragma message enable voiincconext
-#endif
-
+                     (XtPointer) this);
     }
     SetSelection (0);
 
index 51b1241ba5792a0c27ae5c8bf880d9e9d52e30a0..2668796a3e04056631e4a07536e63935d5a2634a 100644 (file)
@@ -87,17 +87,8 @@ bool wxRadioButton::Create(wxWindow *parent, wxWindowID id,
         NULL);
     XmStringFree (text);
 
-#ifdef __VMS__
-#pragma message disable voiincconext
-       // VMS gives here the compiler warning:
-       // conversion from pointer to function to void* permitted
-       // as an extension
-#endif
     XtAddCallback (radioButtonWidget, XmNvalueChangedCallback, (XtCallbackProc) wxRadioButtonCallback,
-        (XtCallbackProc) this);
-#ifdef __VMS__
-#pragma message enable voiincconext
-#endif
+        (XtPointer) this);
 
     m_mainWidget = (WXWidget) radioButtonWidget;
 
index 3a7a10a44792f2dddd7ce255bb7d904af069c041..38540d7744f2fb6a3c6d01d1c7a94fbf7dcf5cec 100644 (file)
 extern "C" {
 #endif
 
+#ifdef XmNselectionCallback
+#undef XmNselectionCallback
+#endif
+    
 #define XmNselectionCallback           "selectionCallback"
 #define XmCSelectionCallback           "SelectionCallback"
 #define XmNunselectionCallback         "unselectionCallback"