Commit Graph

12397 Commits

Author SHA1 Message Date
Robert Roebling
16c587ca76 This should work on SuSE and Mandrake icon themes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 13:15:50 +00:00
Robert Roebling
1027433607 Slightly less hacky way to get the KDE icon theme name.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 12:57:23 +00:00
Robert Roebling
7dfdce6b02 This allows white space to be in the name
of a key (as KDE ini files allow it).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 12:55:35 +00:00
David Elliott
c3255f5fba Bakefile 0.1.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 02:14:15 +00:00
Robert Roebling
1d529ef7ee Updates to MIME-types and wxFileDialog code for better
native looking image handling.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 00:35:16 +00:00
Julian Smart
38106243a0 Now sends an exit command to the app so Quit behaves as it should
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-14 23:19:53 +00:00
Stefan Csomor
d8c5974799 corrected system condition for panther
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-14 05:22:14 +00:00
Dimitri Schoolwerth
78ca56690e Simplified OS X Panther detection code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-14 02:40:59 +00:00
Robin Dunn
04ebdf400c Oops, took out too much...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-14 02:29:01 +00:00
Robin Dunn
d13ea3aa4f Fix the off-by-one a little differently, and correct a refresh problem
on wxMac


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-14 02:22:03 +00:00
Robin Dunn
0fcf2b15da Fixed an off-by-one error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-13 23:05:20 +00:00
Robin Dunn
b6bfd8e8f4 Call Skip from the focus handlers so wxGTK can still do it's internal housekeeping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-13 19:06:02 +00:00
Robin Dunn
3795cdba1b Fixed to use wxNcPaintEvent types where needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 19:45:40 +00:00
Julian Smart
51b62c2431 Some more string concatenations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 19:19:29 +00:00
Vadim Zeitlin
b2b1371c97 set argc/argv properly in Unicode build (fixes bug 878002)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 18:42:39 +00:00
Vadim Zeitlin
6819fb9bef don't override GetSize(), this doesn't work (bug 732758)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 18:19:12 +00:00
Vadim Zeitlin
6341d8249f fix yet another assert when the initial combo box value was empty (replaces patch 895470)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 16:45:28 +00:00
Vadim Zeitlin
15475ced88 suppress triple clicks generation completely for GTK2 as it makes long click series generate exactly the same events as under other ports (patch 895564)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 16:41:59 +00:00
Vadim Zeitlin
5e7718a281 corrected wxTreeCtrl::Select() broken by previously applied patch in single select mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 16:33:33 +00:00
Julian Smart
bdbcded6a3 String corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 13:29:55 +00:00
Julian Smart
a0d924c696 Infinite recursion fix
Viktor Voroshylo:
I did not put it in __WXWINCE__ defines as it looks like just another safeguard that will work on regular windows as well. The problem was that wxWindowMSW::MSWOnScroll is calling itself forever under winCE for wxListCtrl object.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 09:29:19 +00:00
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
Dimitri Schoolwerth
6efbb55bf6 Fixed relative paths to lib/.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 21:39:56 +00:00
Robert Roebling
03eccb8316 Corrected redrawing of sash when resizing
the columns. No longer any ghost line.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 20:58:05 +00:00
Robert Roebling
9b3119232c Draw listctrls's headers right for themes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 20:37:28 +00:00
Robert Roebling
cabeffb029 Correctly center lables vertically.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 20:36:09 +00:00
Julian Smart
c1b9e143e9 0 -> 0u to keep gcc happy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 20:33:07 +00:00
Julian Smart
ef59847c6c wx2msPenStyle forward declaration required
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 19:37:47 +00:00
Julian Smart
78313c3347 Added Release Unicode DLL and Debug Unicode DLL (identical
to non-DLL configurations) in order to get appropriate
regex configuration compiled when wxWindows is compiled via
wxWindows.dsw. Closes bug 877037.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 17:30:54 +00:00
Stefan Neis
60d876f374 Applied and extended patch 886524 (wxGridCellFloatEditor doesn't
accept '.' and '-').


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 16:27:22 +00:00
Vadim Zeitlin
16dd61ac10 don't use char hook to handle Esc in the dialogs, it is too blunt and prevents us from using it for the other purposes such as closing popup menus (bug 884713)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 16:20:02 +00:00
Julian Smart
014249a8f0 Fixed bug [ 849168 ] wxGenericDirCtrl missing wxPROPERTY_FLAGS section for RTTI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 16:13:12 +00:00
Vadim Zeitlin
f60e797e90 estimate size of multiline text controls more accurately (bug 873277)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 15:52:37 +00:00
Vadim Zeitlin
2d1715aa46 fixed wxEVT_CONTEXT_MENU generation (it works differently under w2k/XP than under NT4 apparently...) (partly fixes bug 861510)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 15:38:54 +00:00
Vadim Zeitlin
c25f373e2b as after recent change wxID_SEPARATOR is now -2, it is better for idMenuTitle to be different from -2 as otherwise we have separators instead of menu titles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 15:29:41 +00:00
Vadim Zeitlin
97c611f847 fixed and documented GetItemText/BackgroundColour() (closes bug 812907)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 15:02:22 +00:00
Vadim Zeitlin
9f7948af90 don't call SelectObject() twice in SetBrush() nor SetFont() neither
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 14:45:07 +00:00
Vadim Zeitlin
550049c260 renamed wxEventFixModule to wxWakeUpIdleModule; added error checking; slight code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 14:38:35 +00:00
Vadim Zeitlin
b5371ab8cd don't call SelectObject() twice in SetPen() (slow!); don't do anything if setting the same pen and handle errors betters (should fix bug 811415)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 14:22:12 +00:00
Vadim Zeitlin
6c6bf502f9 fixed small bug in operator=() (comparing equal but not identical objects were not assigned though they should be)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 14:07:35 +00:00
Vadim Zeitlin
82a306b728 define WXMICROWIN_CHECK_HDC macro once instead of having #ifdefs for microwin everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 13:40:08 +00:00
Vadim Zeitlin
0f07e3dc24 use wxBusyCursor class instead of wxBeginBusyCursor and several (mismatched and thus provoking assert failures) wxEndCursors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 13:30:23 +00:00
Stefan Csomor
590e21b0e2 proper UTF32 / 16 conversions added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 13:24:35 +00:00
Stefan Csomor
6bdd4f5d1e wchar_t 4 bytes support added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 13:23:41 +00:00
Stefan Csomor
55094d8b35 redraw forced for size changes (layout for measuring is simpler than word-wrapping drawing code)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 13:22:53 +00:00
Vadim Zeitlin
9cb57df493 use hard coded default size for top level windows instead of CW_USEDEFAULT: this results in more decent default frame size and fixes initial wxMiniFrame size which used to be tiny 8*8 (and so fixes bug 817832)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 13:20:10 +00:00
Julian Smart
73ff84ff71 Applied patch [ 892608 ] wxLogDialog + wxLogFrame: minor improvement for file saving
Christian Sturmlechner


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 12:43:41 +00:00
Julian Smart
dba6b4f880 Applied patch [ 892543 ] wxUniversal: Bitmaps in disabled menu items
Christian Sturmlechner


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 12:38:31 +00:00
Stefan Csomor
1a527fbc0a corrected Sleep implementation (as clock() under Mach does only return our own passed time)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 12:38:11 +00:00
Julian Smart
2321962672 Applied patch [ 892511 ] wxUniversal: fix of segfault in toolbar.cpp
Christian Sturmlechner


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 11:49:22 +00:00
Stefan Csomor
00f5539438 scroll of subwindow confined to rect param
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 11:07:23 +00:00
Stefan Csomor
f8e089e0c5 tabs fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 11:06:06 +00:00
Stefan Csomor
3a05d58d94 corrected line counts and implemented ShowPosition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 10:56:48 +00:00
Stefan Csomor
5c250a1033 corrections for buffers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 09:53:50 +00:00
Stefan Csomor
305a0f6057 unicode savvy conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 09:52:19 +00:00
Mattia Barbon
e700df04ec Reverses part of my changes of Mon Apr 14 17:27:28 2003. This
fixes wxMotif windows not getting most mouse move events (testcase:
could not drag cards in Forty). This is a quick fix for 2.5.1.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 08:07:10 +00:00
Mattia Barbon
f6afb56a2d Applied patches #892580 and #892582 from Christian Sturmlechner.
Fix of variable declaration in wxApp::Yield().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 07:54:26 +00:00
David Elliott
4858097646 Use wxLogTrace instead of wxLogDebug for trace messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 07:07:04 +00:00
Stefan Csomor
16a761847f font encodings and refresh upon show (after a hide all no update event is sent at least on Panther)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 06:33:27 +00:00
Stefan Csomor
908d407cf9 font encodings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 06:27:53 +00:00
Stefan Csomor
fe92914150 font encodings and a first copy implementation wchar_t 32 <-> 16 bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 06:27:24 +00:00
Stefan Csomor
a9412f8f03 font encoding support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 06:23:07 +00:00
Stefan Csomor
fef5c55604 conversion warning gcc 3.3 mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 06:21:18 +00:00
Stefan Csomor
86deae1ef1 don't let MacIsReallyShown climb over toplevel windows, otherwise tlws with invisible parents are not showing their controls either
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 05:42:00 +00:00
Vadim Zeitlin
3a7d5f7cc3 background colour of a combobox may now be set (bug 805442)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 00:59:23 +00:00
Vadim Zeitlin
d1e44484f7 reset m_frameTool/StatusBar pointers before deleting them (bug 773474)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 23:48:13 +00:00
Vadim Zeitlin
bb655eade9 don't show the accels on the controls if the system is configured to hide them initially (bug 718368)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 23:18:01 +00:00
Vadim Zeitlin
818d407ac6 one line fix for a bug with focus switching to the one after next control instead of the next one after a multiline text control and a 15-line comment explaining it (this incidentally fixes bug 658026 and maybe others)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 21:15:42 +00:00
Vadim Zeitlin
8732e03336 no changes (just removed some long unused junk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 21:07:24 +00:00
Vadim Zeitlin
56b9925b11 fixes for page positioning for notebooks with wxNB_MULTILINE style (closes bugs 709099 and 645323)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 20:48:18 +00:00
Vadim Zeitlin
e69683678e don't change the control width when adjusting the height of the drop down list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 19:51:52 +00:00
Vadim Zeitlin
71e57cd650 use new style creation (MSWCreateControl() and MSWGetStyle()); adjust the drop down list height after appending/inserting/deleting items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 19:26:22 +00:00
Vadim Zeitlin
7b28e0ede4 don't give error messages if ws2_32.dll is not available in wxGetHostName()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 19:25:05 +00:00
Vadim Zeitlin
76efbc2a09 compilation fix for wxUSE_VALIDATORS == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 19:24:16 +00:00
Vadim Zeitlin
d99957b6b0 multiple fixes to wxChoice/wxCombobox height getting/setting (replaces patches 888171, 834099; fixes bug 880590)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 18:42:56 +00:00
Dimitri Schoolwerth
eb630bf1ec Live resizing is OS X only.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 18:38:12 +00:00
Stefan Neis
5e01e9bde4 Handle separators in menus correctly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 17:04:28 +00:00
Vadim Zeitlin
63b9e659ef added wxDC::DrawPolyPolygon() (patch 882189)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 16:54:04 +00:00
Vadim Zeitlin
1cc8c8b74e made it possible to preserve background when using wxBufferedDC (replaces patch 876263); some refactoring
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 16:16:36 +00:00
Vadim Zeitlin
de2ce07c7a made wxFFile a bit more safe: don't crash when Tell() and Length() are called on closed file (patch 811425)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 15:44:40 +00:00
Vadim Zeitlin
05df0f1bc7 trying to speed up wxExecute(SYNC) -- by adding sleep to it (!) (patch 814478)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 15:37:47 +00:00
Vadim Zeitlin
25959b956d wxURL implementation using WinInet functions under Win32 (patch 839305)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 15:28:06 +00:00
Vadim Zeitlin
ba1e9d6ced Digital Mars compilation warnings and Unicode fixes (patch 884587)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 15:07:08 +00:00
Vadim Zeitlin
b9b1f368fe respect xsrc, ysrc parameters in DoBlit() (patch 733961)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 15:02:54 +00:00
Vadim Zeitlin
db2c4c715c removed inclusion of malloc.h (part of patch 828250 but makes sense independently of it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 14:47:48 +00:00
Vadim Zeitlin
5205e26b9b show first item added with InsertItem() correctly (part of patch 833247)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 14:31:29 +00:00
Vadim Zeitlin
461dae941d fixes for compiling with more stuff disabled in setup.h (patch 889211)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 14:26:00 +00:00
Vadim Zeitlin
bad79f58af added wsock32.lib (patch 880683)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 14:19:15 +00:00
Vadim Zeitlin
fc5414a1c6 made wxNumberEntryDialog public; extracted it and wxGetNumberFromUser() in a separate header (patch 882545)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 13:55:49 +00:00
Vadim Zeitlin
7d0bf46a34 consume less CPU while waiting for thread to terminate (patch 883268)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 13:49:18 +00:00
Vadim Zeitlin
811697104b fix for memory leaks (patch 885242)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 13:19:18 +00:00
Vadim Zeitlin
6e76b35d73 added wxDC::DrawPolyPolygon() (patch 882189)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 13:12:31 +00:00
Vadim Zeitlin
77e7c55642 replaced ASSERT in wxEvtHandler::ProcessPendingEvents() with a CHECK (replaces patch 886852)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 12:54:29 +00:00
Stefan Csomor
9e68745562 adding textencoding for classic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 08:02:40 +00:00
Robin Dunn
5f9eb69c1c correct some compile warnings and errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-06 20:37:57 +00:00
Stefan Csomor
d5f7923b9e fixing notebook icons for panther
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-06 18:26:52 +00:00
Stefan Csomor
d66c3960d5 conditional compilation for compositing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-06 16:24:52 +00:00
Stefan Csomor
d40f860378 correcting a missing redraw area on certain resize operations when window has a border
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-06 13:20:02 +00:00
Stefan Csomor
89b1446463 reverting part of Kevin O's patch, due to incompatibility problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-06 09:10:58 +00:00
Robin Dunn
92dda0f7a3 Call Finalise.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-06 05:54:16 +00:00
Robin Dunn
8e54aaedb5 Updated Scintilla to version 1.58
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-06 00:03:13 +00:00
Václav Slavík
1c53456fc9 wxMGL fixes (patch #884758)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-05 23:13:30 +00:00
Václav Slavík
078c7a596d makefiles update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-05 22:34:18 +00:00
Vadim Zeitlin
00233716e4 don't call Init() twice when dialog is created in 2 steps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-05 20:51:33 +00:00
Václav Slavík
2d4957f240 restored wxPluginLibrary::ms_classes handling code that was removed by mistake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-05 10:38:01 +00:00
Robin Dunn
7e4a196e34 Don't send the wxWindowCreateEvent immediately
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-05 00:25:36 +00:00
Robin Dunn
e0dd12db99 Using a -1 (wxID_ANY) for menu or toolbar item IDs will now generate a
new ID for the item using wxNewId().  As a consequence of this, the
value of wxID_SEPARATOR was changed from -1 to -2 in order to not
clash.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-04 23:28:11 +00:00
Vadim Zeitlin
efe66bbc0e added wxTextCtrl::HitTest(); implemented it for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-04 14:56:14 +00:00
Julian Smart
3e27ea5908 Reverted last change (use of regex) that broke eVC4 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-04 12:26:20 +00:00
Robin Dunn
6afa47d63d Also allow key events for Shift-Tab when wxWANTS_CHARS style is used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-04 02:00:48 +00:00
Robin Dunn
b4e7f826af Use a compatible bitmap if a depth of -1 is given
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-03 00:08:53 +00:00
David Elliott
079cc3b670 * GetValue() now returns true if the state is undetermined
* Commented out some assertions that are handled in the base class


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-02 23:09:40 +00:00
Dimitri Schoolwerth
d8910e4579 Updated (c)-year to 2004.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-02 20:22:23 +00:00
Václav Slavík
002ed9af83 renamed wxWave to wxSound
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-02 14:34:35 +00:00
Václav Slavík
315ebf688c renamed wxWave to wxSound
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-02 13:42:04 +00:00
Václav Slavík
f156e20c8e renamed wxWave to wxSound; compatibility fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-02 13:34:35 +00:00
Václav Slavík
3aefa658c8 fool proof fix for gcc warnings on mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-02 11:32:55 +00:00
David Elliott
7f7b69e220 Applied modified 3-state checkbox patch from Mathew Cucuzella
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-02 04:58:16 +00:00
Václav Slavík
83f7f12df2 API and code changes to allowing stopping playback
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-02 00:49:39 +00:00
Václav Slavík
98840d95db oops, more fixes needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-02 00:02:03 +00:00
Václav Slavík
342dc9287c don't release audio after the sound finishes playing, it ruins GUI responsivity
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-01 23:33:18 +00:00
Václav Slavík
64f4500a4a don't queue sounds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-01 23:10:02 +00:00
Václav Slavík
cb979facf3 use x.y.z version in unstable branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-01 18:54:39 +00:00
Václav Slavík
9be32e8f2d added support for async playback to Unix implementation of wxSound, implemented SDL backend for playback if OSS is not available, fixed OSS to work on non-Linux Unices
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-01 18:25:12 +00:00
Stefan Neis
41c54face1 Fixed typo in MBN's extensions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-01 16:52:11 +00:00
Ryan Norton
3bde165cd0 Fixed setup.h logic again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-01 12:30:37 +00:00
Ryan Norton
d8d21537bd Fix for [ 877037 ] It is no longer possible to build using wxWindows.dsw
Fixed setup.h logic


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-01 12:27:47 +00:00
Václav Slavík
8bcf4c86f4 use at most -O1 with BCC, it is broken and cannot correctly compile this file with -O2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-01 10:40:47 +00:00
David Elliott
5c526007a8 Assert that m_pendingEvents is not NULL (patch #886852 sort of)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-01 01:55:41 +00:00
Mattia Barbon
1a81dc1255 Compilation fix for !WXWIN_COMPATIBILITY_2_4.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-31 18:23:50 +00:00
Mattia Barbon
584ad2a32f Added some missing STL-like wxArray/wxArrayString constructors.
Added helper class wxCArrayString, better replacement for
wxArrayString::GetStringArray.
  Added overloaded constructors and Create() methods taking
a wxArrayString for wxCheckListBox, wxChoice, wxComboBox,
wxListBox, wxRadioBox, wxSingleChoiceDialog, wxMultipleChoiceDialog.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-31 18:21:45 +00:00
Stefan Neis
55945915c9 Reordered includes to have OS2EMX_PLAIN_CHAR defined prior to including os2.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-31 17:47:53 +00:00
Václav Slavík
d298092120 wxClassInfo (un)registration now happens automatically, no need to do it in wxPluginLibrary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-31 16:37:04 +00:00
Mattia Barbon
df7f0a04ba Fixed idle event processing in wxMotif.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-31 14:45:30 +00:00
Václav Slavík
ae54422d9d cleanup: all definitions missing from std headers should be in missing.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-31 14:44:46 +00:00
Stefan Neis
6d63b0946b Fixed variable name mismatch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-31 12:49:12 +00:00
Stefan Neis
1d4f9cb74d Fixed compile error with gcc-3.2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-31 12:44:47 +00:00
Robin Dunn
faadde7e06 %addtofunc --> %pythonAppend
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-31 01:45:47 +00:00
Václav Slavík
8a942c3dd3 (blind) fix for gcc warning on some platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-30 12:57:51 +00:00
Václav Slavík
e9b964cfe5 prefix symbols with wx_ to reduce risk of collision
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-30 12:20:40 +00:00
Václav Slavík
1481b2adb2 reverted rev 1.113
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-30 11:25:18 +00:00
Ryan Norton
19f0995a78 added newline
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-29 09:44:34 +00:00
Stefan Csomor
8f9c25cc86 xcode native target adaption
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-29 09:43:18 +00:00
David Elliott
d23193b224 Use wxBitmap::GetNSImage(false) instead of duplicating code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-29 06:34:26 +00:00
David Elliott
f8c10ed8b3 ConvertToImage: Check !Ok() (we may not have any ref data at all) and if
the bitmap is not okay return wxNullImage (instead of a dummy 5x5 image)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-29 06:26:10 +00:00
Dimitri Schoolwerth
4d073429a0 Applied patch #886192: "Minor fix to XRC contrib"; Minor cosmetic cleanups.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-28 14:41:59 +00:00
Dimitri Schoolwerth
51d78461fa Applied remainder of patch #876969: "Fixes to Borland warnings".
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-28 11:17:02 +00:00
Robin Dunn
a9092ede82 Send an extra size event after creation to work around an apparent bug
in XP's ListView_GetViewRect


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-27 22:56:08 +00:00
Dimitri Schoolwerth
d1b20379e4 Applied patch #876969: "Fixes to Borland warnings"; Minor code cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-27 22:30:13 +00:00
Julian Smart
8cc4850c2d Patch from "Viktor Voroshylo" <viktor@voroshylo.com>
src/.cvsignore : changes to ignore temorary project files
src/regex/.cvsignore : changes to ignore temorary project files for CE compiler
src/regex/regguts.h : assert will be ignored under WinCE
src/msw/button.cpp : BS_FLAT is not available under winCE
src/msw/clipbrd.cpp : changed CLIPFORMAT to wxDataFormat::NativeFormat so it will compile when ole is not included (under winCE)
src/msw/menu.cpp : GetMenuItemCount is not available under winCE. Using wxMenu::GetMenuCount in this case
src/common/regex.cpp : regex will be included under wince
include/wx/msw/wince/setup.h : wxUSE_THREADS & wxUSE_REGEX is enabled by default (as in standard windows configuration)
src/msw/wince/wxWindowsCE.vcp: fixed problem with all configurations (except emu once) do not have procompiled headers setup correctly. Changes for compiling with regex.
src/msw/wince/wxWindowsCE.vcw : added regex in workspace file


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-27 17:47:37 +00:00
David Elliott
b5df4fc722 wxCocoa: Better icon support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-27 06:01:34 +00:00