Commit Graph

21363 Commits

Author SHA1 Message Date
Robin Dunn
7309deeafc Added missing wxNcPaintEventFunction and used it in EVT_NC_PAINT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 00:18:21 +00:00
Vadim Zeitlin
ca7b163fc2 reversed last accidental commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 23:46:51 +00:00
Vadim Zeitlin
1562206871 use static_cast<> in event table macros for type safety (patch 843206)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 23:46:28 +00:00
Robin Dunn
864db5de61 Fixed a compliation error, event args should not be const.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 23:40:59 +00:00
Robin Dunn
b0803032d3 Update the version number, remove mentioon of the wx.py.wxd module
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 22:56:56 +00:00
Vadim Zeitlin
244e5e34c2 allow generating PS on an output stream and not only a FILE (patch 876362)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 22:46:12 +00:00
Vadim Zeitlin
0891fcb11f reverted wxStaticCast change which obviously can't work as there is already a wxStaticCast in wx/object.h...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 22:17:30 +00:00
Stefan Neis
3fe7375573 Unicode fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 22:16:55 +00:00
Vadim Zeitlin
3a818b15a1 use static_cast<> in event table macros for type safety (patch 843206)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 22:15:19 +00:00
Vadim Zeitlin
0613b80c17 added wxStaticCast, moved wxConstCast from wx/object.h to wx/defs.h for consistency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 22:11:14 +00:00
Vadim Zeitlin
ecfd48ca08 added HAVE_STATIC_CAST
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 21:49:22 +00:00
Vadim Zeitlin
1782be3169 compilation fix for wxUSE_LOG == 0 (part of patch 843206)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 21:16:58 +00:00
Vadim Zeitlin
b1f50e652c restored defaults in switchs removed in the last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 19:30:20 +00:00
Vadim Zeitlin
78f1210463 implemented SelectItem(item, bool); UnselectItem() and ToggleItemSelection()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 19:14:41 +00:00
Vadim Zeitlin
e55e94865f added base array of size_t as under Win64 size_t > long
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 19:11:31 +00:00
Vadim Zeitlin
3e9af289ed added wxTreeCtrl::UnselectItem() and ToggleItemSelection() (includes patch 832281)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 18:58:27 +00:00
Vadim Zeitlin
6bba111cc6 added auto check count as otherwise calling EnableAutoCheck() twice in a row resulted in problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 18:21:36 +00:00
Stefan Csomor
21f9e95380 because some sash code draws whether the window is visible or not, the easiest thing is to make the MacGetVisibleRegion return an empty region for this case, so the wxDC is always entirely clipped
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 17:29:48 +00:00
Chris Elliott
d833907230 fix for non-unicode DMC builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 15:04:30 +00:00
Jouk Jansen
9cc454c051 Committing in .
Updating OpenVMS compile support

 Modified Files:
 	wxWindows/descrip.mms wxWindows/setup.h_vms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 14:57:37 +00:00
Vadim Zeitlin
94a77ff7af fixed the value returned by GetSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 14:41:06 +00:00
Vadim Zeitlin
485cd20763 compiles under win64
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 13:03:19 +00:00
Vadim Zeitlin
4eb7c4b180 part of Ictrl -> Iscntrl change I forgot to commit (not important, anyhow)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 13:02:59 +00:00
Vadim Zeitlin
975b6bcf9b Win64 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 13:02:51 +00:00
Vadim Zeitlin
af5b273c11 Win64 compilation fixes: use wxUIntPtr instead of long
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 12:58:23 +00:00
Vadim Zeitlin
a369f7c88a Win64 compilation fixes: define SIZEOF_SIZE_T, added wxUIntPtr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 12:58:08 +00:00
Vadim Zeitlin
d2213b1fa5 added base array of size_t as under Win64 size_t > long
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 12:57:11 +00:00
Vadim Zeitlin
5171ea0ea9 added wxGet/SetWindowProc/UserData()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 12:56:25 +00:00
Václav Slavík
b6dc1b9063 fixed samples compilation when using configure and mingw (missing include for windres)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 11:19:46 +00:00
Václav Slavík
afb21636a4 use generic samples icon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 09:28:04 +00:00
Vadim Zeitlin
f3f0d961af don't just drop click events resulting from triple clicks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-09 23:28:13 +00:00
Vadim Zeitlin
d41f7b2041 no changes, simply added a comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-09 23:20:04 +00:00
Vadim Zeitlin
cc61d2eb40 size combobox/choices properly initially by considering the length of the strings specified in the ctor/Create() (bug 893380)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-09 23:19:31 +00:00
Vadim Zeitlin
be708d3f3b use correct name for the icon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-09 23:01:44 +00:00
Vadim Zeitlin
b9b8a2b5d7 don't assert when creating an initially empty wxCB_READONLY combobox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-09 22:30:47 +00:00
Vadim Zeitlin
5982852a06 multiline checkbox doesn't make sense for listbook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-09 22:04:14 +00:00
Robin Dunn
5d06f362eb wxUSE_VC_CRTDBG needs to be dependent on wxUSE_MEMORY_TRACING too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-09 22:00:36 +00:00
Julian Smart
c36f1fc7c9 Changed no-remap to msw.remap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-09 21:44:57 +00:00
Vadim Zeitlin
d85c53a5cc wxUniv compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-09 21:41:23 +00:00
Julian Smart
a6f28223ee Applied WinCE fix, though data file still not found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-09 21:37:32 +00:00
Dimitri Schoolwerth
17d31882db Applied patch #885752: "wxPoem less MSW specific + cleanup".
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-09 20:01:55 +00:00
Julian Smart
33c4f27fe5 Documented no-remap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-09 16:14:38 +00:00
Julian Smart
6e724836cb Documented tbar95.cpp backports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-09 16:04:06 +00:00
Julian Smart
dfa5360916 Added no-remap system option so colourful toolbar buttons
aren't mangled
Toolbar buttons are now centred if the bitmap size is smaller
than the specified default size


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-09 16:02:28 +00:00
Julian Smart
7f0da36965 Fix needed for free MS SDK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-09 16:00:54 +00:00
Dimitri Schoolwerth
beb966c53d MinGW warnings fixed; TRUE/FALSE cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-09 12:06:55 +00:00
David Elliott
6d034f7d78 Do not try to set the proper position if creating a window with a NULL parent.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-09 05:12:38 +00:00
David Elliott
eafde5c739 Implement right mouse down/dragged/up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-09 05:01:23 +00:00
David Elliott
6ba13ca442 When destroying the window, only remove it from its Cocoa parent if
the Cocoa window for its wxWindows parent is its Cocoa parent.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-09 04:44:30 +00:00
David Elliott
1d2fe15e71 Don't close dialogs in ~wxDialog as it just hides other problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-09 03:46:14 +00:00