Commit Graph

128 Commits

Author SHA1 Message Date
Václav Slavík
368d59f0d8 don't use deprecated wxImage methods inside wxWin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:22:15 +00:00
Vadim Zeitlin
2f6c54eb07 patch from Dimitri fixing a few memory leaks and unTABbing the sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 14:16:03 +00:00
Václav Slavík
45647dcf10 Chris' wxImage::SaveFile(filename_only) patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 11:35:32 +00:00
Václav Slavík
fd94e8aa45 A couple of changes to wxImage:
1. changed wxBMP_foo, wxCUR_foo to wxIMAGE_OPTION_{BMP,CUR}_foo
   (with backward compatiblity macros, of course)
2. applied Chris' patch to update hotspot when scaling an image
3. applied Chris' patch to write a filename in XPM and generalized it
   to pass wxIMAGE_OPTION_FILENAME to all saving handlers


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 01:45:30 +00:00
Václav Slavík
bf504f980a added cur and ico formats to the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-02 23:16:09 +00:00
Vadim Zeitlin
27fd024644 inserted @IF_GNU_MAKE@ to allow building with other make versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 11:31:21 +00:00
Julian Smart
847341dbeb Updated VC++ files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 14:33:01 +00:00
Gilles Depeyrot
9869abf7c1 changed PPC struct alignement setting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-10 21:09:23 +00:00
Gilles Depeyrot
afcca39be9 store CodeWarrior 5.3 projects as xml instead of binary projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 18:11:49 +00:00
Vadim Zeitlin
a6f762a646 replaced "CC = gcc" and even stranger "CPP = gcc -g" (huh?) with
"CXX = $(shell wx-config --cxx)" in all makefile.unx


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 18:10:15 +00:00
Vadim Zeitlin
f6656ccb14 replaced wx-config --cflags with wx-config --cxxflags and mentioned that
it must be done in user makefiles too in changes.txt


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 12:30:26 +00:00
Mattia Barbon
a60b1f5d57 Unicode compilation fixed for almost all samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 09:11:33 +00:00
Vadim Zeitlin
18134a1cd0 fix for BC++ internal compiler error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 17:01:17 +00:00
Vadim Zeitlin
56f23a5855 added new project files for all samples and demos; removed the old ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 22:30:29 +00:00
Mattia Barbon
4693b20c75 Unicode compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-21 20:21:44 +00:00
Gilles Depeyrot
a0bb22c231 renamed CodeWarrior 5 projects (added new ones as well)
added CarbonAccessors.o to Classic targets
corrected link warnings/errors in Carbon targets


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-09 17:38:00 +00:00
Vadim Zeitlin
1971d23c57 applied patch 432814: saving BMP in 1, 4 and 8 bpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 15:30:49 +00:00
Gilles Depeyrot
94e2ed3b8d corrected CodeWarrior project target names and generated application names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-12 15:29:21 +00:00
Julian Smart
e9799102dd Fixed project files for regex.lib, taking the regex C files out of the main wxvc.dsp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-10 17:03:02 +00:00
Stefan Csomor
c1fb8167e9 corrected mac src due to new api changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 15:57:14 +00:00
Gilles Depeyrot
721a4a08bc added dependency handling to Makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 15:05:53 +00:00
Julian Smart
9806a0e71e Updated version to 2.3.2 so apps can test for differences in new merged source
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 20:36:30 +00:00
Gilles Depeyrot
c00200b862 added dead-strip static initialization code option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 20:03:18 +00:00
Julian Smart
0ddef74db4 Updates for version change to 2.3.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-07 10:57:58 +00:00
Julian Smart
c60f5c6517 Removed references to xpm[d].lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 14:31:41 +00:00
Václav Slavík
9d8bdf2dbc added XPM demo to samples/image
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-28 23:30:11 +00:00
Václav Slavík
a8d4e3ac60 added test for XPM writing; ConvertToBitmap, ConvertToImage changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-22 22:25:18 +00:00
Gilles Depeyrot
4c21b76f8f added CodeWarrior project for example working under Mac OS 9
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-31 13:56:37 +00:00
Gilles Depeyrot
c9101ef2f5 ignore CodeWarrior build directory and output files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-31 13:47:57 +00:00
Julian Smart
1ddfb726b2 Updated VC++ project files for making DLL-based samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-06 17:50:06 +00:00
Gilles Depeyrot
1811a0927b ignore CodeWarrior build directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-02 21:25:08 +00:00
Julian Smart
f485492a1e Added VC++ project files (seems logical)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-10 16:59:34 +00:00
Jouk Jansen
4dff340069 Committing in .
Modified Files:
 	wxWindows/setup.h_vms wxWindows/demos/bombs/descrip.mms
 	wxWindows/lib/vms.opt wxWindows/samples/caret/descrip.mms
 	wxWindows/samples/checklst/descrip.mms
 	wxWindows/samples/config/descrip.mms
 	wxWindows/samples/controls/descrip.mms
 	wxWindows/samples/dialogs/descrip.mms
 	wxWindows/samples/drawing/descrip.mms
 	wxWindows/samples/image/descrip.mms
 	wxWindows/samples/mdi/descrip.mms
 	wxWindows/samples/menu/descrip.mms
 	wxWindows/samples/minimal/descrip.mms
 	wxWindows/samples/resource/descrip.mms
 	wxWindows/src/common/descrip.mms
 	wxWindows/src/common/gdicmn.cpp
 	wxWindows/src/generic/descrip.mms
 	wxWindows/src/motif/choice.cpp wxWindows/src/motif/descrip.mms
 	wxWindows/src/motif/font.cpp wxWindows/src/motif/frame.cpp
 	wxWindows/src/motif/gauge.cpp wxWindows/src/motif/listbox.cpp
 	wxWindows/src/motif/menu.cpp wxWindows/src/motif/msgdlg.cpp
 	wxWindows/src/motif/toolbar.cpp wxWindows/src/motif/window.cpp
 	wxWindows/src/motif/xmcombo/xmcombo.c
 	wxWindows/src/unix/descrip.mms
 	wxWindows/utils/dialoged/src/descrip.mms
 Added Files:
 	wxWindows/include/wx/vms_x_fix.h

VMS patches

----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-24 10:58:27 +00:00
Bryan Petty
f6bcfd974e merged 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 19:51:35 +00:00
Vadim Zeitlin
ab0f03868e added test for bug #38
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 17:57:19 +00:00
Guillermo Rodriguez Garcia
176fe5af12 Solved multiple memory leaks.
Added some comments (on-screen, not to the code)
Inverted the original XBM file.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-19 04:22:08 +00:00
Robert Roebling
cc977e5fde Various distrib related changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 12:56:16 +00:00
Robert Roebling
279ababf7b Whole lotta stuff for wxPlotWindow,
repaired image sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 18:43:33 +00:00
Vadim Zeitlin
81278df2b1 some minor changes in controls/image, timings added to listtest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 01:30:21 +00:00
Guillermo Rodriguez Garcia
bfef20bf7d Added a test for saving XPMs with 'automatic' mask
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 18:12:29 +00:00
Vadim Zeitlin
48fe83743a makefiles changes (@top_srcdir@ adjusted)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 18:31:18 +00:00
Vadim Zeitlin
8f80ec1acf another image used by the image sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 21:50:10 +00:00
Vadim Zeitlin
bea5687993 tests for XPM images
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 21:40:10 +00:00
Robert Roebling
41fbc84101 black now denotes 0 on mono-bitmaps.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 10:39:27 +00:00
Vadim Zeitlin
408b4168c8 inversed wxImage for the mono bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 01:52:26 +00:00
Robert Roebling
cf3da716f6 image to bitmap rewrite,
ViewStart() renamed GetViewStart()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 20:29:01 +00:00
Robert Roebling
4b05d97389 Typo in image sample (displayed PNM, not TIFF).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 15:35:40 +00:00
Robert Roebling
82ea63e6e0 Chnages to mono-bitmap code.
Added ConvertToMonoBitmap() to wxImage.
  Minor changes to forty.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 17:57:18 +00:00
Robert Roebling
be25e48093 Added mono bitmap to image conversion.
Added wxImage::Replace() (replaces one colour with another).
  Toolbar tips no longer eats ana new colour. This might prevent
    the wrong colour behaviour reported from some 8-bit visuals.
  Minor fixes and test code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-27 13:01:07 +00:00
Robert Roebling
17bec151f9 Added wxBitmap::GetSubBitmap()
Correct images in gen. dir dlg.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 18:18:43 +00:00