Commit Graph

7694 Commits

Author SHA1 Message Date
Robin Dunn
22faef6ced Allow wxCharBuffer to be constructed without parameters (making a zero
length string by default) so it can be used in SWIG typemaps.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 04:08:35 +00:00
Robin Dunn
a48cb41599 Patch #1183952, Create to return bool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-15 19:41:32 +00:00
Robin Dunn
414f2513fc For wxMSW capture and release the mouse as the cursor moves out or
back in to the transient popup window to enable the transient to be
automatically dismissed when a click happens outside of it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-15 03:04:30 +00:00
Włodzimierz Skiba
e755eb67b6 Correction in comment in closing #endif.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-14 15:11:20 +00:00
Vadim Zeitlin
338d1deba9 made wxGridCellAttr dtor protected instead of private
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 23:55:52 +00:00
Michael Wetherell
845905d588 Move G_FILENAME_ENCODING to wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 20:05:57 +00:00
Julian Smart
5fae57de3a wxBestHelpController now used as default on Windows
Change log updates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 18:52:43 +00:00
Włodzimierz Skiba
15cdc34149 wxStreamToTextRedirector fixes, define wxHAS_TEXT_WINDOW_STREAM.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 17:51:16 +00:00
Kevin Ollivier
b4fd164d9c Adding accessor methods for URL and Title, and another revision of the window sizing hack. Tested this one with wxWidgets sample, a notebook/splitter sample, and Documancer, a wxPython app, all with correct results.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 05:12:41 +00:00
Stefan Csomor
85f7030424 fixing compilo on carbon cfm with CW 9
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 05:07:39 +00:00
Włodzimierz Skiba
16549a8723 std streams usage build fix under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 21:06:03 +00:00
Włodzimierz Skiba
72093cd889 WinCE build fix (missing style).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 08:13:21 +00:00
Włodzimierz Skiba
a5de8d419f Misplaced #endif (WinCE build fix).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 08:08:36 +00:00
Robin Dunn
276612f7e4 checked in just John's patch, will keep working my fixes...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 05:18:20 +00:00
Robin Dunn
68406a9b43 GRR! Reverting last change. I broke some things that I thought I had tested before...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 04:53:26 +00:00
Robin Dunn
82ceade76a Fixes for wxPopupTransientWindow for wxMSW. Includes Patch #1181190,
and also fixes for automatically dismissing the popup whenever the
mouse is clicked outside of the popup window.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 04:28:40 +00:00
Michael Wetherell
fe47da7b04 A better workaround for the link problem with mingw versions before 3.4.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 23:26:44 +00:00
Michael Wetherell
eedf3bcbb3 Add a comment about covariant returns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 23:24:30 +00:00
Julian Smart
4818141bb2 Changed version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 15:50:13 +00:00
Vadim Zeitlin
1a784dfc80 after latest changes background of radio buttons _not_ inside the notebook wasn't redrawn at all, fixed this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 14:41:36 +00:00
Vadim Zeitlin
fdc1aa5209 modified AddFile() to copy file to the debug report directory if its path is absolute
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 22:37:43 +00:00
Vadim Zeitlin
2bae4332e7 extended wxWindow::MSWGetBgBrush() and wxControl::MSWControlColor() to work for arbitrary HWNDs and not just wxWindows: this allows us to draw proper background for slider labels and other subcontrols
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 21:55:12 +00:00
Vadim Zeitlin
b808efdb88 mark slider as being transparent, otherwise it has ugly solid grey background when placed on a themed notebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 18:33:03 +00:00
Kevin Hock
dc9abdf656 th4ese -> these in comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 18:05:48 +00:00
Vadim Zeitlin
916f434d88 undid flags values change, it's not as backwards compatible as I thought
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 17:51:36 +00:00
Vadim Zeitlin
86745a19d0 moved wxSL_XXX styles to wx/slider.h; made wxSL_LEFT/RIGHT == wxSL_TOP/BOTTOM | wxSL_VERTICAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 17:06:49 +00:00
Vadim Zeitlin
c3732409ac simplifications and corrections to background drawing:
1. removed ApplyParentThemeBackground() not used any longer
2. removed ProvidesBackground() which is synonymous with
   !HasTransparentBackground()
3. removed a whole bunch of unused MSWXXX() methods
4. moved MSWControlColor() from wxWindow up to wxControl

results:

1. the gradient is still shown properly for static/radio boxes in notebooks
2. correct background colour is used for the static boxes
3. code is shorter and better commented


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 15:23:08 +00:00
Mattia Barbon
47561b0dc5 Check for wxUSE_STD_STRING with #if not with #ifdef,
because it is always defined.
  Do not unconditionally #define HAVE_STD_STRING_COMPARE if
it is not defined, because this nullifies the configure test.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 14:57:09 +00:00
Mattia Barbon
fa6416df7f Correct harmless typos.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 14:49:02 +00:00
Vadim Zeitlin
8704b36653 added wxCopyRectToRECT()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 11:31:55 +00:00
Vadim Zeitlin
a1372ae2fa added HDCClipper() class which automatically unselects clipping region in its dtor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 11:30:37 +00:00
Ryan Norton
04d8f1ba40 Don't include sys/socket.h on cygwin in windows mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 06:44:50 +00:00
Ryan Norton
8c02a70d4f ...and msw only of course
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 06:37:19 +00:00
Ryan Norton
1446dfdbfe cygwin only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 06:35:53 +00:00
Ryan Norton
9e07d39919 Fixes & Hacks to make sockets compile on CYGWIN with windows enabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 06:33:26 +00:00
Vadim Zeitlin
1a3c509512 added WM_PRINTCLIENT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 00:19:11 +00:00
Vadim Zeitlin
e18c3e0207 added AddText() function (trivial wrapper around AddFile()), use it in debug rpt preview
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-09 16:04:22 +00:00
Michael Wetherell
43e8916ff3 Documentation fixes, patch 1179223 by Andreas Mohr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 14:34:30 +00:00
Ryan Norton
c57e3bd53e Version of [ 1177956 ] fix for wxString::operator=(wxChar *) for STL builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 14:06:25 +00:00
Robin Dunn
94e3a8938b bumped subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 03:06:52 +00:00
Robert Roebling
a5040b80be Implemented text wrapping for GTK (1.2 and 2.X).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-07 22:52:32 +00:00
Kevin Hock
2c7219fea0 Declare CFRunLoopSourceRef rather than including the CFRunLoop.h header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-07 14:36:24 +00:00
Włodzimierz Skiba
5a8231ef46 VC++ 1.5 no more supported.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-07 12:36:39 +00:00
David Webster
6b82ff6f9f New classes for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-07 04:04:37 +00:00
David Webster
e8344916f8 Add OS/2 to supported instances
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-07 04:01:45 +00:00
Julian Smart
c9ab63f44f As yet unsuccessful attempt to set the focus to the choice control.
Also removed unnecessary border style setting code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 21:13:28 +00:00
Michael Wetherell
08335000c5 Use wxFileSystem for left hand side. Patches 1169934 and 1173497 from Stas
Sergeev and Artur Kornacki.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 20:35:54 +00:00
Michael Wetherell
d13a08ab40 Add m_allowSeeking for updated filesystem handler to use. Also switch to
using 'wx__' prefix for private symbols, and add some comments.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 20:32:28 +00:00
Vadim Zeitlin
5c7c67fdec fixed wx/motif/chkconf.h include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 17:56:45 +00:00
Ryan Norton
19ab5b3a6a Get rid of inline for methods not implemented in the header - some compilers choke on it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 11:09:23 +00:00