Julian Smart
af5454a410
Fixed menu creation in eVC3
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-02 13:49:56 +00:00
Václav Slavík
66ff56694e
removed obsolete files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-31 17:20:54 +00:00
Ryan Norton
122c9be085
removed wxUSE_BUILTIN_REGEX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-30 23:41:47 +00:00
Ryan Norton
c5feba0ea3
Cleaned up regex.cpp
...
fixed strlen problem in regex
many other things related to cleanup of regex.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-30 22:21:00 +00:00
Václav Slavík
e83389ff45
bad idea, fn_str() returns wchar_t on win32 in Unicode build, we need char* here no matter what
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-29 09:32:36 +00:00
Ryan Norton
15c2acd23d
Added/Fixed some things in wxGetKeyState
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-28 22:46:08 +00:00
Julian Smart
d35dec9b11
Fixed missing semicolon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-28 09:44:34 +00:00
Julian Smart
a96b4743ff
Added wxUSE_POCKETPC_UI to distinguish between using
...
combined toolbar/menubar and using separate ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-28 01:07:31 +00:00
Julian Smart
c0f984728e
Corrected typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-27 22:31:01 +00:00
Julian Smart
e2c922f53f
eVC4 updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-27 17:57:00 +00:00
Julian Smart
a40b3f5df7
Can't yet use RegisterDragDrop, RevokeDragDrop on eVC4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-27 17:28:13 +00:00
Julian Smart
2d36b3d847
WinCE 4 cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-27 17:24:00 +00:00
Václav Slavík
9d1f22e7c2
unified to use ASCII for ZIP entries and fn_str() when passing archive name to unzip.c
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-27 08:52:05 +00:00
Julian Smart
dac3065d25
WXK_PRIOR/WXK_NEXT are aliases for WXK_PAGEUP/WXK_PAGEDOWN
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-26 11:33:15 +00:00
Ryan Norton
c4053ed35a
revert
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 21:53:59 +00:00
Ryan Norton
ad18ae6252
Fixed compilation and
...
only does mdi tests when enabled in setup.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 19:27:47 +00:00
Ryan Norton
010024e17e
Fixed one of the two MDI problems...see comments
...
for possible solutions to the others.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 04:47:00 +00:00
David Elliott
a38b65ab35
* Implemented according to Apple CFSocket documentation:
...
kCFSocketConnectCallBack: Called in response to a successful connect() and
of course applies to client sockets only. Fails assertion if received
from a server socket. Calls GSocket's Detected_Write otherwise.
kCFSocketReadCallBack: Called whenever data is available to read or in
the event that a new connection is waiting to be accepted. Call's
GSocket's Detected_Read.
kCFSocketWriteCallBack: Called whenever data can be written to kernel buffer.
Call's GSocket's Detected_Write
* Added ALL_CALLBACK_TYPES macro which specifies all of the above three.
* Added (by virtue of ALL_CALLBACK_TYPES) the kCFSocketConnectCallBack to
the calls to CFSocketCreateWithNative and CFSocketDisableCallBacks during
GUI socket data creation.
* Use the default flags for CFSocket which automatically reenable the
callbacks, but continue to disable close of fd on CFSocket invalidation.
Eventually, GSocket should allow the GUI implementation to override close
so that we can avoid calling the > 10.2 CFSocketSetSocketFlags function.
* CFRelease the socket after invalidating it (fixes memory leak)
* When adding/removing callbacks use kCFSocketReadCallBack for server
GSOCK_CONNECTION and kCFSocketConnectCallback for client.
* When adding/removing callbacks GSOCK_LOST should do the same thing as
GSOCK_INPUT (Thanks Kevin Hock)
* When enabling events, do not enable kCFSocketConnectCallBack for servers.
It should never be called anyway since connect() should never be used
on a server socket.
* When disabling events, disable ALL_CALLBACK_TYPES.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 04:04:40 +00:00
David Elliott
1c7edd1d3c
In GSocket_Destroy reorder GUI_Destroy and Shutdown when compiling for Darwin.
...
This is necessary to comply with the Apple documentation for CFSocket which
states quite explcitly that the CFSocket must be invalidated prior to close.
Likewise in GSocket_Read don't enable input events until we have finished
reading the data. This is necessary because an input event will be
immediately generated but all the data will have been read by the current
callback which leads to the GSocket code thinking the connection has been
lost and when wxYield recursion is involved will lead to crashes or an assert.
Because we are doing a compile time test only for Darwin this will also
affect wxGTK running on Darwin. It appears possible for the new order to work
on all platforms but more testing would be required.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 02:49:07 +00:00
Julian Smart
1066fece29
MOre wxUSE_... fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-23 19:42:05 +00:00
Julian Smart
35eace3ae6
Added wxUSE_TOOLBAR, wxUSE_STATUSBAR tests
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-23 12:39:33 +00:00
Julian Smart
5671b3b68f
Added comments for WinCE shortcut suggestion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-23 10:02:08 +00:00
Julian Smart
676d655065
Some WinCE fixes from ABX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-23 09:18:16 +00:00
Julian Smart
00cb0756b4
Correction for gcc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-21 13:19:44 +00:00
Ryan Norton
301deecc27
Committed Mike's Update Patch
...
862130 wxZlibInput/OutputStream gzip support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-21 04:28:45 +00:00
Ryan Norton
d890ea0d4c
size_t is always unsigned....
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-20 22:25:48 +00:00
Ryan Norton
2b0a7c092c
[ 835171 ] Show hidden files in wxGenericDirCtrl
...
(genericdirctrl is neat!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-20 15:13:15 +00:00
Julian Smart
21f6094583
Added wxPATH_NORM_SHORTCUT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-20 13:59:13 +00:00
Ryan Norton
892dd3cef3
Added another sanity check....
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-20 13:54:13 +00:00
Ryan Norton
816e36172a
Reversed,...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-20 13:52:02 +00:00
Ryan Norton
6f070389aa
Comment....
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-20 13:47:25 +00:00
Ryan Norton
5294e30a38
Added an assert...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-20 13:39:40 +00:00
Ryan Norton
7b0c29b97b
1.
...
Regenerated Bakefiles
2.
Added regextest sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-20 13:08:29 +00:00
Ryan Norton
13c3eab75a
Contact info
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-20 09:05:08 +00:00
Ryan Norton
161c73a392
Noted where the documentation was
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-19 23:43:45 +00:00
Ryan Norton
e970653a2d
Added some documentation :)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-19 23:32:40 +00:00
Dimitri Schoolwerth
98de2b6805
Always let (deprecated) FindColour() return a new instance of a found colour, because otherwise multiple calls to FindColour() will share the same wxColour; Added a wxLogDebug message when FindColour() is used because it shouldn't be used without modifying user-code probably (Returned wxColours must now be released).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-19 02:09:01 +00:00
Václav Slavík
539fb7a26c
reverted relative include path
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-18 10:41:34 +00:00
Ryan Norton
e15aca7e47
Ak. Corrected wxUSE_UNICODE checking...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-18 10:19:27 +00:00
Ryan Norton
4ce84ac957
Oh Henry :).
...
He didn't implement dumpchr correctly for unicode...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-18 10:17:53 +00:00
Ryan Norton
86d35a4466
Added an extra c header for memcmp and stuff...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-18 10:12:58 +00:00
Ryan Norton
85b6c59b89
Make include path more literal for bcc...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-18 10:08:04 +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
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
Ryan Norton
a2b9e95202
Got rid wx-license
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-17 19:00:02 +00:00
David Elliott
e1f4ff6ddc
Added wxAutoNSAutoreleasePool to Create(Tool|Status)Bar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-16 19:30:41 +00:00
David Elliott
7c5fbe2a79
1. Initialize m_mouseDownTool = NULL. Fixes crash when clicking a non-tool part of the toolbar before clicking a tool.
...
2. Added wxAutoNSAutoreleasePool to CreateButtonCell() and Realize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-16 19:28:21 +00:00
Ryan Norton
0643659a4e
Commented out WXK_CONTROL....
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-16 18:22:49 +00:00
David Elliott
6613dc3fd6
In UpdateFrameNSView size the toolbar to its best size.
...
When creating or setting a frame's toolbar, SetOwningFrame on it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-16 17:26:37 +00:00