Commit Graph

29477 Commits

Author SHA1 Message Date
Robin Dunn
69ac96fd0d Better handling of the refcount of the wx.App object, so it now
destroyed when expected and also resets the current instance pointer
returned by wx.GetApp().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 19:14:34 +00:00
Stefan Csomor
bcd882b35e setting an empty region shouldn't clear the clipping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 18:42:11 +00:00
Robert Roebling
6f6136d9ca Bumped version to 2.6.
Added static builds to -devel packages.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 17:21:20 +00:00
Ron Lee
e0d84535b9 Regenerated after version bump.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 16:08:41 +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
Julian Smart
dcb39c5330 Removed very out of date files in docs/msw
Changed version number in docs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 14:51:14 +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
Julian Smart
ed9c472e11 Script updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 13:31:12 +00:00
Julian Smart
ddc229bec1 A word about context help on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 13:30:25 +00:00
Ron Lee
eedbe99970 Remove static libs from package build.
Trim configure options to reflect new defaults.
Make i18n package conflict/replace.  Not my first choice.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 13:30:06 +00:00
Ron Lee
52ada00472 Enabled opengl and unicode by default too as discussed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 12:50:18 +00:00
Włodzimierz Skiba
24ffafd6c4 Build fixes after gizmos_xrc additions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 12:11:00 +00:00
Włodzimierz Skiba
3d74a76013 wxUniv build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 12:08:16 +00:00
Włodzimierz Skiba
08a5479d78 Do not break twice.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 12:03:10 +00:00
Robert Roebling
d74fa9eee0 Make std_string, std_iostreams and gnomeprint default.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 11:03:15 +00:00
Robert Roebling
706fab6e69 Even shorter.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 10:45:10 +00:00
Robert Roebling
e24244cc13 Remove outdated changes.txt, the common one
should be used.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 10:44:23 +00:00
Robert Roebling
84b625288d Update for install.txt.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 10:42:02 +00:00
Robert Roebling
bb955600bc Version 2.6 in the readme.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 10:38:10 +00:00
Robert Roebling
5261d5d79e Further improvements to the spec file.
It now creates and installs setup.h for both
       wxBase-devel and wxGTK-devel.
    Better descriptions.
    Added BuildRequires with zlib-devel etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 10:29:50 +00:00
Ryan Norton
4629f07ed2 Add reverse case too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 09:13:11 +00:00
Ryan Norton
2df0258e2b fix wxString::Replace when new strings are longer than old string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 09:05:40 +00:00
Robert Roebling
ea38ef4b5c Committed by attempt of a spec file to CVS.
It builds RPM for wxBase, wxGTK, wxGTK-gl
    and contrib as well as the devel packages.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 23:37:50 +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
b6afa1a38a silently ignore NULL pointers in MSWOnMeasureItem(): apparently this can happen with MDI frames under XP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 22:13:33 +00:00
Vadim Zeitlin
bcb8ba61c3 fixed MSWGetBgBrush() call, it needs a HWND and not wxWindow * now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 22:12:39 +00:00
Vadim Zeitlin
3fb3e5e595 documented AddText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 22:11:28 +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
Mattia Barbon
9a81018ee1 Updated PO files for wxWidgets 2.6.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 19:54:53 +00:00
Václav Slavík
1b53faea6e splitted gizmos library into gizmos and gizmos_xrc in order to fix broken compilation of DLLs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 19:41:03 +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
Vadim Zeitlin
cbc6af74d8 fixed slider positioning/sizing (especially when ticks are shown on both sides)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 18:28:18 +00:00
Vadim Zeitlin
7c2cb1f4bd documented wxSL_BOTTOM, clarified the others
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 18:09:24 +00:00
Vadim Zeitlin
10f80f9bd7 put some asserts to check that inconsistent slider styles are not used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 18:07:45 +00:00
Vadim Zeitlin
93103bab40 removed is_vertical check box, it was duplicating the ticks direction radiobox functionality
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 18:07:08 +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
a83b5b74c3 GetParent() was always used in test for wxHSCROLL checked in in last commit; use the parent window recursively as intended instead; slightly simplified the code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 17:55:52 +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
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