Commit Graph

29039 Commits

Author SHA1 Message Date
Julian Smart
75a2645e11 Hack to make wxStaticBox be repainted when inside a scrolling window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 17:14:58 +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
fe1bc2853c unused param warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 16:45:12 +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
0a08f02aef Check that std::basic_string<wchar_t> actually works before
trying to use it.
  Fail at configure time when trying to compile wxMotif with Unicode.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 14:54:34 +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
Mattia Barbon
23e42d9d07 Add some missing headers to wxMSW "make install".
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 14:47:39 +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
Stefan Csomor
c277569a74 changing the defaults to the app font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 07:02:07 +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
Kevin Hock
b7e28620c2 kTXNDoFontSubstitutionMask requires OS X 10.3 (undefined symbol on < 10.3)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 04:36:47 +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
a625f45442 show 20 lines of stack in assert, this should still hold on any reasonable screen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-09 23:25:10 +00:00
Robin Dunn
3366115620 Oops, added the wrong new methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-09 20:16:16 +00:00
Robin Dunn
c5d11c71d7 Don't depend on the default formatting of wx.DateTime objects for
extracting a date and time string.  The format depends on locale and
platform defaults.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-09 20:08:49 +00:00
Robin Dunn
88609ec9a8 New methods added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-09 20:07:46 +00:00
Robin Dunn
bbdcf8c200 Ensure that the results of __str__ and __repr__ are strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-09 20:07:25 +00:00
Robin Dunn
bbf07386b3 Check for TypeError too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-09 20:06:58 +00:00
Robin Dunn
485f878c54 Docstring corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-09 20:06:00 +00:00
Robin Dunn
3d70763cd8 PythonNote corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-09 20:04:48 +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
Vadim Zeitlin
7227f7b857 added qa library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-09 14:56:14 +00:00
Julian Smart
0f88451561 Lay buttons out on Windows according to conventions. Button spacing is
also reduced to a more reasonable size.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-09 11:43:28 +00:00
Stefan Neis
fbe2ca438b Added support for toggle button on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-09 11:07:00 +00:00
Vadim Zeitlin
2a7eaf1243 forgot to check in OnItemRClick() declaration (bug 1179552)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-09 11:04:00 +00:00
Robert Roebling
060e10d981 Added switch for mousewheel.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-09 10:35:04 +00:00
Ryan Norton
92413909e8 Get rid of superflous if statement - taken care of by the following for loop
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-09 06:42:42 +00:00
Michael Wetherell
ba75c6bb8c Patch 1173507 by Stas Sergeev. Allow FindFirst to work with patterns
such as 'file:abc.zip#zip:/xyz/*' that have a '/' after the 'zip:' since
it is possible to open paths such as 'file:abc.zip#zip:/xyz/123.txt'. Also
allow 'abc.zip#zip:' and 'abc.zip#zip:/' to match the zip's root. And
create a new instance of wxFileSystem within OpenFile to avoid infinite
recursion.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-09 03:06:19 +00:00
Ryan Norton
7634e443c0 yet more wxString tests for null chars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 23:44:59 +00:00
Robin Dunn
cae922234a updated ReST docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 22:56:32 +00:00
Robin Dunn
07919b3e23 get rid of the old namespace version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 22:54:20 +00:00
Robin Dunn
1f780e48af Added the ActiveGrid IDE as a sample application
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 22:54:02 +00:00
Ryan Norton
510bb7480c REWRITE wxStringBase::append and wxString::Replace.
This had to be done because they did not take into account null characters.
([ 1179490 ] wxString::Replace() truncates strings containing null bytes) notified me of this.
Please test and let me know of any problems!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 22:53:27 +00:00
Robin Dunn
e47b49b2a0 typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 21:47:16 +00:00
Robin Dunn
74d0522541 Add a small delay after the build before the Job moves on to the next item.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 21:46:07 +00:00
Robin Dunn
281c105455 Patch from Will Sadkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 21:31:25 +00:00
Ryan Norton
40ca944974 Various underscore doc fixes and some wxXCharBuffer documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 19:11:58 +00:00
Robin Dunn
3fa8f7227b Updated docview library modules and sample apps from the ActiveGrid
folks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 19:04:58 +00:00
Robin Dunn
29ea653e5c Ignore kill focus events when being destroyed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 18:05:15 +00:00
Robin Dunn
046d682f0f Don't call StartingKey if the key was F2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 17:32:41 +00:00
Kevin Hock
ded0671616 The manual has grown, change to a 2,000 page manual and avoid the grammatical ambiguity altogether.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 15:17:15 +00:00
Michael Wetherell
107cc3fa38 'An 1800-page' is correct if read 'eighteen hundred', so change to numbers to words.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 14:52:21 +00:00
Kevin Hock
d41d324213 Revert change to wording *AGAIN*... it is correct to have "aN 1800-page" because the full wording is "an eighteen hundred-page," where the an is clearly correct (say it out loud and it is clear than you would not say "a eighteen hundred-page")
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 14:45:24 +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