Commit Graph

15949 Commits

Author SHA1 Message Date
Stefan Csomor
dc7ccb9c5d moving wxMac to new printing architecture
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 16:36:36 +00:00
Julian Smart
54c5498d0f Now calculates clipping region from actual child HWNDs and not
wxWidgets windows, which helps with composite controls


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 15:57:19 +00:00
Stefan Csomor
b343fb9fb9 fix for #1106519
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 11:55:56 +00:00
Dimitri Schoolwerth
61c747cda0 fixed Carbon compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 09:39:52 +00:00
Stefan Csomor
ba75e603f6 adding correct handling of uncovering or covering controls via tlw-resizes (in which case the txnBounds would not change)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 07:28:31 +00:00
Stefan Csomor
e905b636b6 adding protected inquiry function whether a child window belongs to the 'client' or the 'non-client' area, examples for the latter are toolbar, scrollbars etc
adding another cached clip rect for the real client area


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 07:17:24 +00:00
Michael Wetherell
914955aaa0 Use wxMBConvUTF8 when G_FILENAME_ENCODING is UTF-8, and set
G_FILENAME_ENCODING to match the locale encoding when necessary


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 00:00:08 +00:00
Julian Smart
f8bc53eb53 Applied patch 1173802: Reimplementation of GtkFileChooser wxFileDialog
by Mart Raudsepp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 21:20:58 +00:00
Robert Roebling
ce17501854 Fix the fix for not sending two end label edit events
because that fix prevented anyone from finishing the
    edit by keys.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 21:00:29 +00:00
Julian Smart
c06dde42fe Applied patch [ 1174270 ] small fixes to wxGenericDirCtrl
Stas Sergeev:

1. CollapseDir() was forgetting to... hrmm, to collapse
the dir...
It was only removing the child elements, leaving the dir
expanded. Missing code added.

2. ReCreateTree(), which, according to the comments, must
collapse and re-open the tree, was not re-opening it.
Fixed.

3. For those who used the bogus ReCreateTree() behaviour
to collapse the tree, I added CollapseTree(). This does
visually what the ReCreateTree() wrongly did before the
patch.

4. Documentation is updated accordingly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 19:04:03 +00:00
Stefan Csomor
c447d5a937 setting the view rectangle explicitely to allow for partial visibility of a control (scrollsub)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 17:27:57 +00:00
Stefan Csomor
5c840e5ba4 calculating vis regions as rects (faster for Quartz) and caching the results for all implementations
fixing the background erase event always to have a wxWindowDC (had a wxClientDC in non-toplevel cases before, leading to a off-by-border error when erasing)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 17:25:53 +00:00
Julian Smart
2c9b313119 Frames to skip now honoured for Unix stackwalking
Limited depth to 10 for assert dialog


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 16:26:49 +00:00
Julian Smart
2f059e30a1 Fixed MSWClipBoxRegion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 15:19:14 +00:00
Chris Elliott
a4c46c19c2 missing include for memoryDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 10:37:34 +00:00
Julian Smart
16d652a54c Use InvalidateRect for Smartphone.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 08:33:10 +00:00
Włodzimierz Skiba
480e9098a2 Smartphone fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 08:09:28 +00:00
Stefan Csomor
4611a719d4 cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 05:14:35 +00:00
Stefan Csomor
8adc196b0e content clipping becomes a runtime attribute
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 05:12:46 +00:00
Michael Wetherell
cdb14ecbe7 Fix for decoding of utf-16 surrogates. Also remove #include that's not needed
after all.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 22:00:19 +00:00
Robert Roebling
dd0138d9a4 Fix bug [ 1170089 ] wxGenericDirCtrl doesn't show files
by giving the control a sensible default filter "*"
   or "*.*".


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 19:45:32 +00:00
Stefan Neis
3bcf4cce07 Backed out a fix which seems to cause more trouble than it's doing good. :-(
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 19:19:06 +00:00
Stefan Csomor
55d0b18027 turning off carbon events for testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 19:05:51 +00:00
Robin Dunn
f9ee2e2742 rearrainge the #includes and etc. to avoid a name conflict with some
CoreFoundation headers


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 18:39:54 +00:00
Stefan Csomor
f474cc8ca4 allowing 10.2 based compiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 18:33:48 +00:00
Julian Smart
2a1f999faf Applied patch [ 1171542 ] access static class members via scoping operator
Paul Cornett: A static class member can be accessed as X::member,
there is no need for an object or pointer (s.member or
p->member). There are also a few bugs with incorrect
usage of wxString::Format and wxString::FromAscii.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 16:49:41 +00:00
Julian Smart
f5729a6bca Applied patch [ 1171467 ] Fix for DocManager not checking OnNewDocument's return value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 16:40:41 +00:00
Julian Smart
6489e7ee02 Applied patch [ 1163322 ] Patch to prevent MDI app from opening the same file twice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 16:35:07 +00:00
Stefan Csomor
8e15e610d1 avoiding caret in all textctrls in 10.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 16:33:37 +00:00
Julian Smart
4b524c27cc Applied patch [ 1161769 ] reference to temp object in carbon/palette.cpp
Potentially unsafe (and obsolete) constructor removed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 15:47:29 +00:00
Julian Smart
eba99da4c0 Applied patch [ 1166587 ] [wxMSW] Removes all flicker from wxStaticBox
By Jamie Gadd


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 15:30:06 +00:00
Julian Smart
848c589312 Eliminate warning on WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 15:14:43 +00:00
Stefan Csomor
bd2213c20d propagating visibility states into MLTE (otherwise it is 'stealing' events at the top window level)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 15:08:41 +00:00
Dimitri Schoolwerth
3ec5bb8667 minor cleanup (don't use magic numbers)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 11:45:37 +00:00
Stefan Csomor
d60f41f2b4 giving correct 'pressed' visual feedback
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 08:29:33 +00:00
Stefan Csomor
8f2ee25db4 applying OSAF patch for "toolbar selection not correct on Mac after calling Realize a 2nd time"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 07:53:48 +00:00
Stefan Csomor
be5fe3aafb making removal and re-inserting possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 07:33:28 +00:00
Stefan Csomor
9234615181 unifying redraw and scrolling calls between compositing and non-compositing modes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 05:42:49 +00:00
Stefan Csomor
9942b0b587 guarding against calls in the destruction sequence of a window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 04:52:01 +00:00
Robert Roebling
66bf009984 Made wxConvBrokenFileNames public.
Made use of it from GTK+'s wxApp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 23:15:54 +00:00
Julian Smart
be108f9665 Reduce flicker in some circumstances by setting custom bg style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 18:45:18 +00:00
Vadim Zeitlin
de085fccce removed extra dot from msg catalog names (fix for the fix for the patch 1169837)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 18:12:26 +00:00
Włodzimierz Skiba
b2c13097de Warning fixes after recent library changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 17:36:00 +00:00
Włodzimierz Skiba
759f727261 Warning fix about assigning unused value + little source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 17:28:58 +00:00
Stefan Csomor
66b80661e4 fixing small scrollbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 15:49:44 +00:00
Stefan Csomor
17dfb61189 going back to 16x16 standard size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 15:41:02 +00:00
Stefan Csomor
4e6b6f210d handling mac as gtk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 14:05:12 +00:00
Stefan Csomor
488b2c29c0 destroying native and wx controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 13:09:31 +00:00
Julian Smart
5755c2b2a5 Allow Initialize(NULL)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 12:22:43 +00:00
Stefan Csomor
7aabb2acd3 that was a memory leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 11:45:38 +00:00