Commit Graph

27992 Commits

Author SHA1 Message Date
Vadim Zeitlin
407020995e 1. undid the "simplification" of patch 1096066 which resulted in a crash
(see this patch discussion)
2. check that all views agree to close before starting to delete them
3. commented the code so that the next poor soul looking at it will know
   that deleting a view can delete the document which deletes -- surely
   wasn't obvious to me...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 13:45:31 +00:00
Vadim Zeitlin
bd2d8bfde1 update (recoded to UTF-8) from liouxiao@hotmail.com
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 13:17:26 +00:00
David Elliott
6177576129 include wx/setup.h and check to make sure it's not the configure created
setup.h before doing anything specific for Metrowerks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 08:27:01 +00:00
David Elliott
9273ffba9b Check for xlC and add -qunique to CXXFLAGS if we're using it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 08:16:00 +00:00
David Elliott
480ccd2194 Check to see if -ext o option is required to get compiler to write
foo.o instead of foo.c.o or foo.cc.o.  (MetroWerks)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 07:14:14 +00:00
David Elliott
4d7ec9f1e7 When host is OS X (PowerPC Darwin) check if compiler defines __POWERPC__
before defining it in setup.h and if -D__CF_USE_FRAMEWORK_INCLUDES__ is
required for CoreFoundation headers (MW).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 06:58:25 +00:00
Kevin Hock
e327fddf5f ENTER and LEAVE mouse events for multi-line text controls on GTK2, from Mart R. - Closes bug 1015324.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 06:10:55 +00:00
Stefan Csomor
53e8c532c6 corrected bitmap mask -> Image conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 05:29:05 +00:00
David Elliott
1cbf5bc6df Use plain extern instead of extern "C" for vsnprintf declaration when not
compiling as C++.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 04:22:27 +00:00
Kevin Hock
8b939bc081 Added newline at the end, eliminates gcc warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 04:04:08 +00:00
David Elliott
94acd38ec2 Rebaked with Bakefile 0.1.7.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 03:56:12 +00:00
Kevin Hock
22095a6e1a Sample update - wxTE_AUTO_URL from Mart R. [patch 1126182]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 02:57:46 +00:00
Kevin Hock
d69b094f36 Documentation - wxTE_AUTO_URL for wxGTK2 from Mart R. [patch 1126182]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 02:56:40 +00:00
Kevin Hock
9440c3d0e9 wxTE_AUTO_URL for wxGTK2 from Mart R. [patch 1126182]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 02:55:32 +00:00
Vadim Zeitlin
f131c6bc04 another update from Martin Srebotnjak <miles@filmsi.net>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 23:26:35 +00:00
Kevin Ollivier
764e66945a Adding GetPartialTextExtents implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 23:21:27 +00:00
Włodzimierz Skiba
0dacfb8ad6 Most important polish translations.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 20:55:46 +00:00
Robin Dunn
6f016d5401 Patch #1143556: mods to SashWindow demo: auto-generate IDs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 20:25:05 +00:00
Stefan Csomor
fec8346a04 using correct theme heights for header on mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 20:23:02 +00:00
Stefan Csomor
5a904a32e6 new layout was messing with separator positions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 20:21:35 +00:00
Stefan Csomor
30f1ed9e44 guard quartz specific code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 20:20:18 +00:00
Robin Dunn
53aa7709e0 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 19:33:00 +00:00
Robin Dunn
ac03a19f93 wxPyCallback needs to derive from wxEvtHandler now since the
wxObjectEventFunction typedef changed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 19:28:16 +00:00
Robin Dunn
ec17cfa927 Don't know if this is right but it fixes a compile error...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 19:24:09 +00:00
Robin Dunn
51c5e1f21e Added wx.lib.gestures module from Daniel Pozmanter which supports
using Mouse Gestures in an application.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 18:02:19 +00:00
Robin Dunn
d8b49350e6 Fix the use of Today() for when invalid date is passed to ctor. Also
set best/min size using size passed to ctor.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 17:58:25 +00:00
Robin Dunn
718903fe64 wxStdButtonSizer Finalise --> Realize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 17:49:03 +00:00
Stefan Csomor
1181ee3f2d setting up correct port origin as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 16:52:32 +00:00
Stefan Csomor
9f391ae154 reintroducing direct access, clipping to client area in dc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 16:48:22 +00:00
Stefan Csomor
880f536912 reintroducing direct access, cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 16:47:07 +00:00
Włodzimierz Skiba
df57c15cce Typo fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 10:23:07 +00:00
Dimitri Schoolwerth
8d75fba6c9 use prefix file; (auto-)removed some of the unused ftp/java/x86 settings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 09:57:57 +00:00
Dimitri Schoolwerth
d0c5744137 don't redefine __WXMAC__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 09:53:47 +00:00
Stefan Csomor
73fd9428ef correcting support for more tool sizes, support for Toggle Appearance under OSX, layout tools more nicely, hittesting for entire area of control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 07:28:08 +00:00
Stefan Csomor
410a8eafab having fixed size icons, scaling from other common formats, otherwise the icons don't get scaled correctly by the OS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 07:19:14 +00:00
Stefan Csomor
8d3b6b8aa1 alpha support for Scale added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 07:14:07 +00:00
Robin Dunn
71699da48d typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 05:21:49 +00:00
Robin Dunn
91334b48e2 Added wx.DatePickerCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 04:52:13 +00:00
Robin Dunn
006f35560e Avoid doing a str(object) since in some cases it can result in very
large strings


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 04:50:41 +00:00
Robin Dunn
6f25918850 Don't override methods that are in wxControlWithItems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 04:48:26 +00:00
Robin Dunn
7c1f6b54a5 docstring fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 04:46:57 +00:00
Robin Dunn
24054d48e9 can't have a zero sized font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 04:46:40 +00:00
Robin Dunn
4d2d4dde45 Removed Loop and IsLooped methods, other cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 04:44:43 +00:00
Ryan Norton
179e085f05 wxUSE_XXX related fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 04:43:47 +00:00
Robin Dunn
3136b08220 Add SetBackgroundImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 04:42:04 +00:00
Robin Dunn
b3b61cdaa0 Added wx.DatePickerCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 04:38:30 +00:00
Robin Dunn
eba2f031e7 Select an item using the value passed to the ctor/Create
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 04:07:11 +00:00
Robin Dunn
d64396087f Avoid wxTaskBarIconAreaBase::DoPopupMenu unresolved symbol in GTK < 2.1 builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 04:06:08 +00:00
Ryan Norton
83efadb7f3 [ 1123124 ] wxStringBase::Alloc can change string length
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 03:53:56 +00:00
Vadim Zeitlin
518ba66331 revert to the old flicker-less version when background bitmap is not used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-17 23:55:53 +00:00