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
Stefan Csomor
37a87c6709
using correct icon sizes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 11:45:23 +00:00
Stefan Csomor
38e605eb82
avoiding illegal window styles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 11:45:05 +00:00
Stefan Csomor
b337acd7a0
switching implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 11:44:12 +00:00
Stefan Csomor
ba1476254d
we need our own implementation because in wxmac wxIcon does not inherit from wxBitmap anymore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 09:30:39 +00:00
Stefan Csomor
6ce43ac97d
we need our own implementation because in wxmac wxIcon does not inherit from wxBitmap anymore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 08:35:15 +00:00
Kevin Hock
ec8565f3c5
Added __WXMAC_OSX__ guards around the CFRunLoop calls, CFRunLoop not available on CFM [ followup on Patch 1160346 ]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 04:08:51 +00:00
Stefan Neis
8c0f890626
Fixed compilation error on unknown type "in_addr_t".
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 19:46:01 +00:00
Stefan Neis
33cc6200a8
Compilation fix for old OS/2 compilers.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 19:21:09 +00:00
Kevin Hock
95e568ee3e
Create RunLoop that can be used to process pending events so that events will still be processed while the user is using a menu or scrollbar [ Patch 1160346 ] - this really needs to be in 2.5.5 so it can be widely tested before 2.6.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 18:47:46 +00:00