Commit Graph

28867 Commits

Author SHA1 Message Date
Robin Dunn
f9e9ddc7b7 Be able to build with Pythons other than the System version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 03:46:18 +00:00
Robin Dunn
5cdc74321b Update year
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 03:45:36 +00:00
Robin Dunn
d8194e5dd4 Use Python's buffer interface API for all image data and alpha Set/Get
methods and the ImageFromData* constructors.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 03:43:52 +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
Robin Dunn
2809785e15 Put the Python executable pathname in wxTheApp->argv[0] so the
stackwalker won't freak out at trying to find program addresses inside
of .py files!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 01:55:41 +00:00
Robin Dunn
c451eded2c Be able to build with Pythons other than the System version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 01:52:09 +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
a27cbf44fc added AutoHRGN class; corrected GetHbrush[Of]() macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 01:15:47 +00:00
Vadim Zeitlin
cf000528d0 added wxSOLID default value for FindOrCreateBrush()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 01:00:09 +00:00
Vadim Zeitlin
1f32f58565 removed superfluous semicolons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 00:34:04 +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
Włodzimierz Skiba
1c04f04b46 Do not break checking whether dir exists for given path.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 14:46:16 +00:00
Julian Smart
0f5d8ecf34 Added wxPropertySheetDialog demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 14:27:55 +00:00
Julian Smart
8b36c71c6e Updated date
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 13:43:10 +00:00
Dimitri Schoolwerth
2284d64e70 fixed default style parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 12:35:41 +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
Stefan Csomor
78df41df75 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@33232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 07:05:52 +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
Robin Dunn
89eb18ec8b Added MultiChoiceDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 23:56:36 +00:00
Robin Dunn
6d3c4b2aee docstring fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 23:55:30 +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
Robin Dunn
6def2b5299 Change multipleChoiceDialog to use wx.MultiChoiceDialog instead of
wx.lib.dialogs.MultipleChoiceDialog


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 21:18:36 +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
Włodzimierz Skiba
cecdcad1db OGL samples again buildable after deprecated/setup.h turned off by default. Minor cleaning where applicable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 19:18:25 +00:00
Włodzimierz Skiba
694f70fa9c Wrong #pragma interface/implementation warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 19:10:26 +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
Julian Smart
5890ad78fa Applied patch [ 1117196 ] dbbrowse crashes on CFM Mac builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 18:52:50 +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
Stefan Csomor
a45ff29798 calculating vis regions as rects (faster for Quartz) and caching the results for all implementations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 17:21:43 +00:00
Włodzimierz Skiba
999b96a4f9 if(){} and while(){} sometimes is not allowed for inlining (borland warning fix).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 16:37:48 +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
Julian Smart
32aae41e68 Removed obsolete WXR file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 14:55:24 +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
Robin Dunn
4002a6cc0e reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 23:04:58 +00:00
Michael Wetherell
726c8204cd Tests for UTF-8 and PUA characters and octal escapes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 23:03:36 +00:00
Robin Dunn
42f5333f80 Added wx.lib.foldpanelbar, Andrea Gavana's port of Jorgen Bodde's C++
wxFoldPanelBar classes to Python.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 22:58:23 +00:00
Robin Dunn
d3397f6a15 default parameters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 22:56:44 +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
Robin Dunn
934b2e18c5 More WXDLLIMPEXP_GIZMOS fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 21:52:04 +00:00