Commit Graph

7707 Commits

Author SHA1 Message Date
Julian Smart
2f0e16e186 wxHelpController now wxCHMHelpController on Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-17 10:54:56 +00:00
Ryan Norton
1e96e5030c fix 10.2 shared unicode builds for mbstowcs and vice versa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-17 05:19:03 +00:00
Ryan Norton
204d3530fd fixed for w/o expat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 21:42:17 +00:00
Robin Dunn
1ce1bd84ea Added Python methods to wxStyledTextCtrl that allow to get/set text in
UTF8 in either unicode or ansi builds


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 19:41:33 +00:00
Stefan Neis
76e58831fe Fixed wxSTD for old gcc versions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 14:49:39 +00:00
Vadim Zeitlin
1d39019c67 compilation fix: use wxSB_HORIZONTAL/VERTICAL instead of wxSL_XXX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 14:10:24 +00:00
Vadim Zeitlin
17fce800d5 replaced C++ comments with C ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 12:12:16 +00:00
Ryan Norton
c9e227f432 Implement wxMimeTypesManager on mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 11:40:25 +00:00
Julian Smart
a9d13e1564 Added destructor to fix crash on Mac due to focus event causing
text control to be accessed while being deleted


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 11:07:30 +00:00
Julian Smart
18fefee7d1 Applied patch [ 1178610 ] datectlg.cpp: wxDropdownButton + bug fixes
Jaakko Salli

This patch modifies datectlg.cpp's wxDropdownButton in
such manner that it should be much easier to convert it
into a generic drop button class. Also, it is now more
universal in the respect that it should work on
platforms other than wxMSW and wxGTK (wxBitmapButton
being prime prerequisite).

Plus there are some bug fixes for wxDatePickerCtrlGeneric.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 10:32:36 +00:00
Julian Smart
e0608d9fc2 SQLINTEGER typedef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 10:03:30 +00:00
Julian Smart
c497d0b212 Applied patch [ 1183157 ] Compilation with GCC 4.0
by Michal Cihar. Also added typedef for SQLINTEGER in built-in
iODBC.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 09:45:32 +00:00
Robin Dunn
41a499cd92 Add several "Raw" functions for setting/getting text from the document
buffer. They behave similarly to the same methods without the "Raw" in
the name, except they don't use wxStrings.  This can save some
conversions to/from unicode and utf-8 in a Unicode build.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 04:53:01 +00:00
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