Commit Graph

6112 Commits

Author SHA1 Message Date
Vadim Zeitlin
a1037371af wxWindow::Freeze()/Thaw() can now be nested
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 18:15:00 +00:00
David Elliott
205fef01e0 Implement wxMenuItemAction and validateMenuItem delegate virtuals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 13:58:54 +00:00
Chris Elliott
fb21f36d92 part of SF patch #904166 (DMC fix)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 11:03:07 +00:00
Chris Elliott
8183307507 part of SF patch #904166 (DMC fix)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 09:28:32 +00:00
David Webster
357b66eb5b Unused variable removed from inline
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 04:27:54 +00:00
Robert Roebling
16dce3b37b Applied patch for generic file dialog Show()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-01 22:54:20 +00:00
Vadim Zeitlin
793db75554 renamed start parameter of wxDC::DrawPolyPolygon() to count (patch 882189)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-29 23:34:01 +00:00
Vadim Zeitlin
b5d43d1d73 use HasFlag() and InXXX() instead of explicit flag testing (patch 899507)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-29 23:24:35 +00:00
Mattia Barbon
4b5e5cfb22 Added wxRTTI information to wxNumberEntryDialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-29 15:18:21 +00:00
Václav Slavík
ced5554416 fixed wxDebugContext to work with global and static objects (patch 901031)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-28 23:57:54 +00:00
Stefan Neis
463b12b830 Compilation fix for OS/2 specific "Innotek gcc" port.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-28 17:43:23 +00:00
Robert Roebling
47e118ba9a GPE uses generic dialogs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-28 15:27:11 +00:00
David Elliott
7dd8b1ea10 Make wxMenuItemAction: and validateMenuItem: delegate messages take an
NSWindow* parameter instead of an id.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-27 06:07:47 +00:00
David Webster
258f5b3ec3 Updated depricated stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-25 23:03:46 +00:00
Stefan Neis
ddefbe7ff2 Fixed various types like e.g. WXHWND for OS/2 that have been broken
by the previous update.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-25 21:49:52 +00:00
Julian Smart
c140b7e7c9 Applied patch [ 903619 ] Win64 and Itanium support
by Brian Palmer


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-25 10:45:02 +00:00
Václav Slavík
632783de61 create wxPrintData instance on demand
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-23 22:38:30 +00:00
Stefan Neis
9457cf684e Removed zipped-up version of OS/2-specific configure files (no longer needed).
Moved precompiled resourced from said zip-File to include/wx/os2.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-21 22:36:59 +00:00
Robin Dunn
7775e41fd7 Restored old wxBufferedDC functionality until it can be decided how to
correct the current issues without making things worse.  Updated docs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-21 19:09:59 +00:00
Stefan Csomor
ea969303f8 mwerks addition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-21 16:39:22 +00:00
Stefan Csomor
eabe6af8d9 implementation for mac added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-21 16:38:23 +00:00
David Elliott
86adc75813 Implement wxMenuItemAction: and validateMenuItem: delegate messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-20 02:55:28 +00:00
Robin Dunn
c0b15381d1 Since this class is fully inline don't specify an import/export policy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-19 23:11:48 +00:00
Václav Slavík
e3f9e20cb1 applied patch 890642: wxRE_ADVANCED flag and docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-19 17:28:56 +00:00
Julian Smart
bf25c88b6a GetSubcontrols now const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-19 15:26:03 +00:00
David Elliott
c6f73d05cc Use one wxNSWindowDelegate instance per wxCocoaNSWindow instance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-19 06:32:34 +00:00
Ron Lee
dbd22c6a0e Removed the SaveBG hack. The real incompatibility is that the MemoryDC
is not automatically cleared to the BG colour of the window when a
temporary bitmap is used.

Inlined the rest of the methods, there really is no reason for them not
to be.  (will remove dcbuffer.cpp as soon as I figure out the bakefiles)

Do device to logical transforms in UnMask.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-19 06:23:01 +00:00
Julian Smart
89607008b5 VC++ correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-18 16:21:27 +00:00
Julian Smart
d61c1a6f21 Fixed source for WinCE compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-17 10:06:26 +00:00
Dimitri Schoolwerth
1904aa72f0 Fixed compilation for !wxUSE_IMAGE as well as !wxUSE_TOOLBAR.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-16 23:27:54 +00:00
Dimitri Schoolwerth
05e4fd64c4 Added config checks for wxUSE_IMAGE = 0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-16 23:24:23 +00:00
Robert Roebling
f8b043e78f Added better visual feedback for tree control
triangles. They now have a sort of prelight
    status like they have under GTK2.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-16 23:12:33 +00:00
Dimitri Schoolwerth
67e489c5cf Removed c++ style comments.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-16 22:38:43 +00:00
Vadim Zeitlin
a96b8d39fb fixed IsOk() for root directory paths
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-16 18:30:18 +00:00
Stefan Neis
d37bb826ef Added accelerator handling for buttons and infrastructure to do the same for
other controls (patch 893580).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 18:00:27 +00:00
Stefan Neis
3a7c125370 Fixed separator handling for menus.
Extracted common code for handling translation of labels containing
        accelerators from wxWindows representation to native representation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 17:33:26 +00:00
Vadim Zeitlin
86132a69bc added wrapper header for CppUnit headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 02:58:56 +00:00
Vadim Zeitlin
e2473d4c48 include stdlib.h to get malloc/free decl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 02:57:43 +00:00
Robert Roebling
6d7184953a InitAsNeeded no longer inline in the header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 00:32:45 +00:00
Julian Smart
439e20bb71 DMC doesn't have #warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 19:47:58 +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
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
1c2d1459e9 hopefully fixed strings.h mess completely now by not including it unless really needed (should fix bug 689456)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 18:10:33 +00:00
Vadim Zeitlin
f943802348 define DWORD_PTR &c for Win32 compilation whatever headers we use
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 01:02:41 +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
Vadim Zeitlin
4fa908c3bf another part of adding error checking to event table macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 22:00:53 +00:00
Stefan Csomor
8c3f9495d5 common code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 15:11:03 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
Vadim Zeitlin
23fbd31a9b added WC_NO_BEST_FIT_CHARS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 22:09:13 +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
Julian Smart
9369f1474e Added missing MSWGetStyle prototype
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 20:01:16 +00:00
Vadim Zeitlin
74f4dabba9 wxBUFFER_DC_DEFAULT should be wxBUFFER_DC_OVERWRITE_BG, not PRESERVE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 18:54:04 +00:00
Vadim Zeitlin
f2e5c08285 ugly attempt to fix compilation for BCB 6 (bug 819700)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 15:06:29 +00:00
Julian Smart
22c9005dd4 Fixed bug [ 865999 ] wxRETAINED windows appear blank on MSW.
wxRETAINED defined to 0 on non-Motif platforms to avoid
clash with wxPOPUP_WINDOW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 15:03:28 +00:00
Vadim Zeitlin
ee50eab8d9 added GetHbrush() and GetHbrushOf()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 14:27:56 +00:00
Vadim Zeitlin
5c57bf07fa fixed operator=(), ==() and !=() for wxPen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 14:20:50 +00:00
Vadim Zeitlin
7577637342 added GetHpen() and GetHpenOf()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 13:54:43 +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
Mattia Barbon
6e94fff95a Compilation fix for wxUSE_STL == 1 and wxUSE_UNICODE == 1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 07:58:15 +00:00
David Elliott
a619fa3f90 Add wxCocoa-specific trace masks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 07:04:09 +00:00
Stefan Csomor
af3aefcf06 font-encodings additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 06:19:37 +00:00
Stefan Csomor
1d1ed4087d unicode targets cleanup for cw and xcode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 06:18:44 +00:00
Stefan Csomor
f5210323f7 getting rid of old pragma for CW Pro 9
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 06:13:46 +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
4a6619bb4c added WM_UPDATEUISTATE and related stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 23:15:12 +00:00
Vadim Zeitlin
a66f2f42f5 trying to fix breakage in wxBufferedPaintDC after the last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 21:50:39 +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
c5fb40a8aa added wxDC::DrawPolyPolygon() (patch 882189)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 19:21:51 +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
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
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
b321fb12ce better leak error reporting using VC CRT (patch 828250)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 14:53:17 +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
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
386d53dc2e trying to make comments readable again after their auto-mangling by RN...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 12:51:44 +00:00
Vadim Zeitlin
8dbb97958a fixed wxIsctrl/wxIscntrl confusion (modified patch 888519)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 12:46:14 +00:00
Vadim Zeitlin
fbad77ca73 fixed the mess (nested C/C++ comments) intorduced by automatic comments conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 12:41:39 +00:00
Robin Dunn
7cb1b9a91c Correct export declarations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-06 00:29:56 +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
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
Vadim Zeitlin
f08bc7840e removed wxTE_HT_XXX constants which are now in wx/textctrl.h itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-05 19:44:58 +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
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
Václav Slavík
00f6001fa5 blind attempt to fix wxMac compilation (__UNIX__ defined on OS X?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-04 09:40:17 +00:00
Robin Dunn
65cf3a4b6a Added export decl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-03 03:43:49 +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
321b8029b3 hopefully better description of GetSocketGUIFunctionsTable's purpose
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-02 13:26:59 +00:00
Václav Slavík
cad1a197e5 renamed wxWave to wxSound; compatibility fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-02 13:16:31 +00:00
Václav Slavík
bae90c4cd5 renamed wxWave to wxSound
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-02 13:15:51 +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
9111634545 fixed flags to make and tests easier
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-02 00:50:11 +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
e9e23cb531 renamed wxWave to wxSound
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-01 18:27:25 +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
Václav Slavík
9ea7b86fc8 prefix symbols with wx, for smaller risk of collision
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-01 10:48:30 +00:00
Dimitri Schoolwerth
594ed110f7 Reverted part of patch #876969 ("Fixes to Borland warnings"), resulted in bugs when running in wxUniv release mode using BCC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-01 08:49:56 +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
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
Václav Slavík
8d65a2e1f8 fixed wxFSVolume definition if !wxUSE_GUI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-31 14:49:51 +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
Václav Slavík
2a5f8668e8 wxUSE_STL affect binary compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-31 14:32:30 +00:00
Stefan Neis
edb8604f18 Fixed compile error.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-31 12:41:32 +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
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
David Elliott
7b466aee08 Moved @interface wxNSApplicationDelegate to new header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-27 00:50:57 +00:00
Julian Smart
c45b7e75d1 Added RTTI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-26 20:01:30 +00:00
Václav Slavík
19c2503357 renamed system option to better match existing ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-26 13:19:31 +00:00
Václav Slavík
ff95fdbb31 don't include GetShortcutTarget if OLE is not available; removed fake noop implementation from WinCE, it's better to let the user know it doesn't work by not providing it in the first place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-26 12:44:14 +00:00
Stefan Csomor
66b7ea46c7 compositing and transtion changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-25 15:09:59 +00:00
Stefan Csomor
2d2b3db101 reopen application
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-25 15:08:35 +00:00
Ryan Norton
59f098d159 Remove taskbar support for now on OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-25 08:46:00 +00:00
Robin Dunn
fe4a107dda wxMenu::Append (and similar) now return a pointer to the wxMenuItem
that was added.  Checked on MSW, GTK, and Mac, other port authors
please double check changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-23 21:02:06 +00:00
Robin Dunn
1ba7e7b79f Fixed compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-23 21:00:40 +00:00
Robin Dunn
9add93670b wxMenu::Append (and similar) now return a pointer to the wxMenuItem
that was added.  Checked on MSW, GTK, and Mac, other port authors
please double check changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-23 18:46:05 +00:00
Julian Smart
b0fb0f3c71 Applied patch [ 882493 ] Added XRC support for wxStatusBar
By Brian Ravnsgaard Riis


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-23 10:01:44 +00:00
Ryan Norton
32c479fdf1 OS X Dock Menu/Taskbar support (not added to bakefiles yet - preliminary)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-23 09:52:18 +00:00
Ryan Norton
7f71c4c8d3 HID support (preliminary - not added to bakefiles yet)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-23 09:44:05 +00:00
Robin Dunn
e50d5284f9 Moved wxMacGetSystemEncFromFontEnc and wxMacGetFontEncFromSystemEnc to
a module that is included in wxBase to prevent linking errors.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-23 02:43:29 +00:00
Stefan Csomor
34c2c1a1d9 font and system conversion functions for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 18:36:06 +00:00
Stefan Csomor
3f56b20ea9 added all standard mac encodings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 18:32:50 +00:00