Vadim Zeitlin
434c6c9fa0
changed wxCreateGreyedImage() to respect the original image mask
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 21:34:29 +00:00
Vadim Zeitlin
ba700b5c1a
fixed background colour of the automatically created disabled button bitmaps (makes patch 1116702 work)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 21:33:40 +00:00
Vadim Zeitlin
21dc4be5d2
added wxImage::IsTransparent(x, y)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 21:30:22 +00:00
Vadim Zeitlin
d2502f1471
use separate is-static flag for alpha channel and main data
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 21:19:54 +00:00
Vadim Zeitlin
5644ac4640
added XYToIndex() to avoid duplicating the checks for valid coordinates in many different places
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 21:16:04 +00:00
Julian Smart
aa66250ba4
Further WinCE adaptations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:44:12 +00:00
Julian Smart
5497e635e0
Only set background colour explicitly for PPC/Smartphone
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:41:08 +00:00
Julian Smart
3bd8a40543
Fixed bug preventing dir enumeration from working on WinCE
...
Prevented crash on WinCE by removing hidden root style
(a bug in Windows causes crash in child traversal/data retrieval)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:38:14 +00:00
Julian Smart
0906c58d05
WinCE adaptations
...
Simplified comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:35:59 +00:00
Julian Smart
03775239e2
WinCE adaptations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:34:50 +00:00
Julian Smart
454180593f
Correct flat notebook border style under WinCE in wake of
...
wxControl default border style change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:34:04 +00:00
Julian Smart
9f76970889
Default border for a static box is wxBORDER_NONE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:30:04 +00:00
Julian Smart
edea62818b
Default border style for a control on PPC/Smartphone is wxBORDER_SIMPLE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:28:37 +00:00
Julian Smart
0477a8578b
wxSYS_COLOUR_WINDOW is better for window backgrounds on PPC/Smartphone
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:24:44 +00:00
Julian Smart
0367d3391c
\ is a reasonable home directory on WinCE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:22:22 +00:00
Julian Smart
3519d94676
MF_BYCOMMAND is zero so don't try to test it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 15:16:53 +00:00
Vadim Zeitlin
2b9a7d4cc2
fixed TREE_ITEM_MENU generation from right mouse clicks: don't pass WM_RBUTTONDOWN to tree control window proc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 13:48:56 +00:00
Stefan Csomor
807c0706e6
updating positioning after embedding is set correctly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 05:36:52 +00:00
Robin Dunn
86a6ecff59
Fixed duplicate symbol link error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 04:47:10 +00:00
Robin Dunn
0c8b041f14
Use the current font for the DoGetBestSize calculation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 03:58:21 +00:00
Robin Dunn
4013de1217
Add static_data flag to SetData and SetAlpha so Python buffer objects
...
can be used in wxPython without double free()'s.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 02:04:52 +00:00
Vadim Zeitlin
3b6e5fb3f5
fixes to static box borders calculations and significant code cleanup (finalizes patch 1166587)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 01:17:51 +00:00
Vadim Zeitlin
6d94009faa
implemented GetProgramHandle() for Win32 and documented it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 20:56:00 +00:00
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