Commit Graph

7634 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
Robert Roebling
7af29d2ff6 Compilo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 16:47:48 +00:00
Robert Roebling
5576edf8d8 Forgot to commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 16:29:40 +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
d51305e81e Sorry, should be a __UNIX__ test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 08:07:51 +00:00
Julian Smart
c3c1a9a9cc Attempted compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 08:00:45 +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
ca13514849 using separate imaglist on mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 04:24:20 +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
Włodzimierz Skiba
00049da82a Missing DMC value after recent changes in tbar95.cpp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 17:24:02 +00:00
Julian Smart
cf0cf17b00 Compile with builtin ODBC in GTK+ ANSI mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 14:32:07 +00:00
Stefan Csomor
32c19f25fc we need our own imaglist implementation because in wxmac wxIcon does not inherit from wxBitmap anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 11:39:46 +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
Kevin Hock
413baa20a1 Separate includes needed for Darwin and classic [ followup on Patch 1160346 ]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 23:00:05 +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
Vadim Zeitlin
f6840be66e added GetHimagelist()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 12:22:45 +00:00
Václav Slavík
0c00c86faf fixed dialog units in toplevel windows (bug #1170234)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 09:28:44 +00:00
Václav Slavík
172541f64b added XRC handler for wxStdDialogButtonSizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 21:28:27 +00:00
Vadim Zeitlin
34a34b020f applied patch fixing problems with X server crash when using wxGLCanvas with nVidia cards (patch 1155132)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 18:06:43 +00:00
Vadim Zeitlin
8d0a7b563a applied heavily modified patch 1116702: support for specifying disabled toolbar images and modified the sample to show how it works (badly, background of tools for which disabled bitmap is not specified is wrong)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 18:03:57 +00:00
Vadim Zeitlin
ec023a6e0b added wxBitmap::GetMaskBitmap()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 17:47:39 +00:00
Robert Roebling
ea8ce907e1 Submit patch based on Michael W.'s invalid UTF8
to PUA patch. I added UTF8_TO_OCTAL and made
    that the default for filename conversion uner
    GTK2. More adapation, e.g. to G_FILENAME_ENCODING
    need to be done.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 17:23:15 +00:00
Vadim Zeitlin
fb4888a650 added wxTE_BESTWRAP style (which is the default now); renamed wxTE_LINEWRAP to wxTE_CHARWRAP as this corresponds better to what it does; added tests for wxTE_*WRAP to the widgets sample (replaces patch 1156507)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 15:25:21 +00:00
David Elliott
97ae9d4cc7 Declare strptime when using MSL headers on OS X.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 08:48:30 +00:00
David Elliott
707c441892 Added #if wxUSE_STACKWALKER. Fixes compilation of OS X shared libraries.
TODO: What does it take to get wxStackWalker on OS X?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 01:59:17 +00:00
David Elliott
2a12cc65c8 Improve type safety by doing a runtime check to make sure the
wxFontMapper really is a wxFontMapper when GUI code asks for it.
Remove some incorrect comments and add some new ones.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 21:47:54 +00:00
Julian Smart
d44d0cbd73 Added C/wxString array constructors to wxArrayString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 14:18:56 +00:00
Julian Smart
e74d06a33b Fix for link error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 08:34:51 +00:00
David Elliott
73302af6dd Get rid of wxFontMapper in wxBase library.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 07:10:52 +00:00
Włodzimierz Skiba
7c11806499 winundef.h serves for other compilators too with STL turned on.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-24 17:51:57 +00:00
Vadim Zeitlin
f5a1953b34 added wxConvFileName which is a variable, not define as wxConvFile; added comments explaining what different wxConvXXXs are for
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-24 00:59:08 +00:00
Vadim Zeitlin
4c85ab7569 added wxRendererNative::DrawDropArrow (patch 1166596)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-24 00:22:04 +00:00
Vadim Zeitlin
de359565ae adjust the rectangle before calling DrawThemeBackground() (patch 1158282)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-23 20:59:00 +00:00
Vadim Zeitlin
8de6b9bbb8 added IsFalse() to simplify code doing HasOption(very-long-option-name) && !GetOptionInt(the-same-very-long-option-name) elsewhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-23 20:48:50 +00:00
Julian Smart
8c9f8f91cd Updated version to 2.5.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-23 13:05:13 +00:00
David Elliott
4508c2b01b GCC 4.0 (Apple 4059) is a little bit pickier than 3.3.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-23 05:51:15 +00:00
David Elliott
3a5910cbe9 Blind bug fix to bug reported by Angel Kry.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-23 05:12:12 +00:00
Vadim Zeitlin
8397cab4da clear m_aTypes array in Clear() as well (patch 1165866)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-23 00:17:49 +00:00
Julian Smart
05d344d2ef We need wxUSE_COMMON_DIALOGS for PPC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-22 21:02:42 +00:00