Commit Graph

12276 Commits

Author SHA1 Message Date
Stefan Csomor
89a69c601d patch applied for clearing m_data object upon closing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 07:16:44 +00:00
Vadim Zeitlin
7330bb53dc compilation fix for strict(er) compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 01:04:38 +00:00
Vadim Zeitlin
fe16045d95 compilation fix (PASCAL should be inside the parenthesis in typedef declaration)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 01:00:38 +00:00
Robin Dunn
553aa032f2 Added wxDC::GetPartialTextExtents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 00:25:49 +00:00
Robin Dunn
0919e93e52 Added wxDC:GetPartialTextExtents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 23:49:43 +00:00
Robin Dunn
d1558f3d53 Use extraFontFlag to specify if anti-aliased fonts should be used.
Use GetPartialTextExtents.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 22:42:01 +00:00
Robin Dunn
e0e5663fe4 Allow an extra flag to be given to Font::Create
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 22:35:11 +00:00
Robin Dunn
75c60b3e65 Use wxStaticCast
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 22:13:12 +00:00
Václav Slavík
7b56015f90 make it possible to override translatable status of text entry
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 20:10:56 +00:00
Václav Slavík
fb2e90c174 load wsock32.dll dynamically, so that wxCore has no dependency on it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 20:03:48 +00:00
Stefan Csomor
75dd6ce410 corrected sleep
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 15:22:14 +00:00
Stefan Csomor
ac86379e2a non-unicode fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 15:19:23 +00:00
Stefan Csomor
e71800ba3a cleanup and fix of double disposal (thanks to Steve Hartwell)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 15:15:42 +00:00
Stefan Csomor
79a73b4f86 conversion corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 15:13:53 +00:00
Stefan Csomor
439ddeba9d removing unreached code (overriden)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 15:13:03 +00:00
Stefan Csomor
63ff6f538e common code, cleanup of measurement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 15:11:55 +00:00
Stefan Csomor
7a21e692d2 added condition for DARWIN (thanks to Steve Hartwell)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 15:08:47 +00:00
Chris Elliott
8dfb846e80 try to fix D Mars compilation for Unicode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 14:34:22 +00:00
Václav Slavík
2a536376ec added public methods to select parts of displayed page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 12:14:40 +00:00
Stefan Csomor
4a6a2972a2 turning off sound, movies and images for textctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 06:50:10 +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
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
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
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
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
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
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
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
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
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
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
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
David Elliott
9a6e13a6f7 wxBitmap::GetNSImage(): Added trace messages. Release maskImage.
wxMask_CreateFromBitmapData(): Don't clobber byte past the end of dest buffer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-09 03:27:47 +00:00
Julian Smart
1e8bd6b2ae Fixed Unicode breakage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 23:22:01 +00:00
Robert Roebling
518c393914 Fix redraw problem in multiple selection listctrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 23:17:49 +00:00
Robert Roebling
35468934e0 Improvements for splitter sash hack. GTK2 look
good now, GTK1.2 jumps two pixels for some
    reason.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 23:00:53 +00:00
Vadim Zeitlin
a6c811617b resolving conflicts in files I had forgot to commit (sorry)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 22:04:51 +00:00