Commit Graph

5828 Commits

Author SHA1 Message Date
Dimitri Schoolwerth
792626ca3d Include wx/confbase.h which is needed by this file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-18 14:54:25 +00:00
Gilles Depeyrot
4f5b1fc4ca corrected comments for wxMac compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-18 07:38:00 +00:00
Ryan Norton
fa9982d710 1.
Only checks platform #defines in C++ now

2.
A couple /* within /* warnings were fixed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-18 03:34:22 +00:00
Robin Dunn
d6071228a9 wxPython needs wxRTTI info for wxToolBarToolBase in order to return
objects of the right type.  Also made FindById public.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-17 21:12:36 +00:00
Ryan Norton
e0c749a72f 1.
Converted debug.h to C

2.
Cosmetics


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-17 19:51:03 +00:00
Ryan Norton
5d61dafdfa Header Cosmetics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-17 19:41:17 +00:00
Ryan Norton
f2cc8cbbbd Header Cosmetics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-17 19:40:06 +00:00
Ryan Norton
34cbe514cf 1.
Added Release With Debug Info to regex.dsp

2.
Added Release Unicode With Debug Info to regex.dsp and wxWindows.dsp

3.
Converted DS's C++ comments in regcustom.h and regex.h to C

4.
Converted defs.h and all headers it includes to C from C++ by
changing all C++ comments to C and using #ifdef __cplusplus to keep out C++-specific stuff.

5.
Changed wx_wchar to #define wx_wchar wxChar instead of copying wxchar.h code in regcustom.h.

6.
Changed the macros around a bit in regcustom.h.  Originally duplicated code from wx/defs.h.  Now uses SIZEOF_WCHAR_T to get the approriate data.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-17 19:30:31 +00:00
David Elliott
715c1da4a7 wxCocoa: New native wxToolBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-16 15:44:11 +00:00
David Elliott
7dafb55fde Very basic wxToolBar implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-16 15:36:56 +00:00
David Elliott
2cda55c5db Make UpdateFrameNSView public for new native wxToolBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-16 15:25:12 +00:00
Julian Smart
37c7aad682 Open Watcom correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-16 14:10:24 +00:00
Václav Slavík
30803ef18f compilation fix for tooltip patch code applied by Julian and w32api
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-15 21:50:56 +00:00
Václav Slavík
690201a250 compilation fix for tooltip patch code applied by Julian and w32api
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-15 21:43:59 +00:00
David Elliott
9c54e4ae1f Add wxBitmap::GetNSImage() which creates an autoreleased NSImage either
with or without the bitmap mask applied.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-15 19:30:54 +00:00
Ryan Norton
7b70a3257f reversed some parts of wxGetKeyState for linkage reasons...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-15 17:16:04 +00:00
David Elliott
eb537cfb1c Improved idle event processing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-15 15:57:42 +00:00
Ryan Norton
6ed892f3f2 wxGetKeyState as per feature request :).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-14 23:35:21 +00:00
Ryan Norton
7b758e8f43 Reneabled inlining, but kept warnings disabled....
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-14 04:23:35 +00:00
Ryan Norton
ea6747c168 Fixed 2 warnings -
VC++ simply doesn't want to inline that function....


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-14 03:45:58 +00:00
Mattia Barbon
2442ce1bf1 Moved wxArrayString::GetStringArray() out of
WXWIN_COMPATIBILITY_2_4 (at least until alternatives are available).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-13 16:59:31 +00:00
Ryan Norton
e07d33e724 Added some placeholders...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-13 03:53:08 +00:00
Dimitri Schoolwerth
ffafd8a55b Fixed notebook redraw problems when using XP theme with Classic appearance.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 22:20:22 +00:00
Julian Smart
355a5e2bd3 Applied patch [ 840721 ] convenience function wxRect::GetBottomRight
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 12:33:11 +00:00
Julian Smart
cd2a4e161d Applied patch [ 856318 ] A few Wine fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 11:06:56 +00:00
Julian Smart
47831c68b6 Applied [ 841609 ] wxFile::m_error not initialised
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 10:59:05 +00:00
Julian Smart
e32d483606 Applied patch [ 857446 ] wxStaticCast evaluates argument twice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 10:54:38 +00:00
Julian Smart
aad6765cbd Applied patch [ 828303 ] Slight wxColour cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 10:10:40 +00:00
Julian Smart
12ac619f42 Applied [ 827604 ] missing method for wxCalendarEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 09:56:02 +00:00
Julian Smart
b6fa290b5a Applied [ 827600 ] wxCalendarCtrl missing public
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 09:52:02 +00:00
Julian Smart
6eaebb297a Applied patch [ 817734 ] fix for cvs head with wxUSE_STD_IOSTREAM=1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 08:48:01 +00:00
Julian Smart
6da1ce6166 Applied patch [ 818336 ] Add timestamp to gzip out stream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 08:43:28 +00:00
Julian Smart
61f3e0f5c1 Applied patch [ 819044 ] Adds MSW wxPen::GetDashCount
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 07:44:53 +00:00
Julian Smart
156194e1d5 Applied patch [ 827011 ] Event-based processing of item tooltips in wxTreeCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 07:30:20 +00:00
Julian Smart
a3a28c50a1 Applied [ 799292 ] wxWizard and Validator Bug and Fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 06:57:03 +00:00
David Elliott
016b064360 Implement wxMask given a wxBitmap and a mask wxColour.
TODO: Masks from other sources.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-08 15:01:39 +00:00
David Elliott
b60c6e9776 Added simple implementation of (Get|Unget)RawData.
Premultipied alpha is not handled at this point.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-06 23:27:08 +00:00
David Elliott
a28fe6d54e wxCocoa: Added wxNativePixelFormat and defined wxPIXEL_FORMAT_ALPHA
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-06 23:20:46 +00:00
Robin Dunn
e8e24dfa93 Use InheritAttributes for wxGTK widgets so they will check
ShouldInheritColours.  Set wxButton to not inherit colours.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-03 03:24:47 +00:00
Robin Dunn
0bdc5dd6f3 Give wxTimer a GetId accessor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-03 01:37:30 +00:00
Vadim Zeitlin
b103e4f3d5 removed wxLogTrace() without mask to fix DMC compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-30 20:44:22 +00:00
Vadim Zeitlin
492e2a5b07 marked FindColour() as deprecated; removed AddColour() which was only used internally
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-30 13:41:12 +00:00
Vadim Zeitlin
4bdce112bf resolved conflict (because I forgot to commit before)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-26 20:01:54 +00:00
Dimitri Schoolwerth
5de65c6930 Declaration of CopySelection is bool instead of void.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-26 19:57:34 +00:00
Václav Slavík
3202d00dc9 assert if wxLocale::Init called twice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-26 19:33:35 +00:00
Dimitri Schoolwerth
e128397f93 Applied patch #809019 (Adds embedded/plugin capabilities to wxMac).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-24 14:25:05 +00:00
Stefan Neis
22e0b22bac Try to insure usability of this file in non-PM ports.
Hack to try to reduce flicker by creating controls without WS_VISIBLE
        (define WS_VISIBLE to 0).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-23 22:10:57 +00:00
Stefan Neis
28e5e577e4 Insure suitable choices of path/drive separator on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-23 22:09:14 +00:00
Mattia Barbon
f148f2bac3 Avoid double free in wxComboBox::SetClientObject.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-23 08:17:57 +00:00
Mattia Barbon
1a6d9c7680 New wxHashTable implementation when wxUSE_STL == 1. Replaces
the old implementation based upon wxHashMap. Removed support
for wxHashTable in wxHashMap.
  Rationale: using wxHashMap for wxHashTable implementation required
special support in wxHashMap. This precluded using STL-provided
hash_map to implement wxHashMap. This new implementation does not
use keyed wxList interface and should be almost totally compatible
with the old non-STL wxHashTable.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-23 08:12:34 +00:00