Commit Graph

21123 Commits

Author SHA1 Message Date
Julian Smart
12c1948830 Use on-idle updating of menus in wxUniversal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-31 15:13:11 +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
Václav Slavík
1c29c1fead regex libs needs _UNICODE define
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-30 23:19:40 +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
Ryan Norton
9965cadbde more ifdef C++ stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-30 22:18:37 +00:00
Robin Dunn
e6132c30ab Use correct method name for GetRowLabelValue
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-30 22:07:08 +00:00
Robin Dunn
74e96f3d21 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-30 01:53:14 +00:00
Robin Dunn
f78241f6c0 Ensure we have the capture before releasing it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-30 01:48:45 +00:00
Robin Dunn
d147c72424 Make sure the comment is output in the pythoncode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-30 01:45:17 +00:00
Robin Dunn
4e6ab75bf8 shift the print position a little
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-30 01:43:59 +00:00
Robin Dunn
c3bc3b6184 a bit of tweaking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-30 01:39:36 +00:00
Robin Dunn
c843129522 Force integer values for positions and sizes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-30 01:38:32 +00:00
Robin Dunn
3cfc1d6668 wx* and other name fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-30 01:06:02 +00:00
Robin Dunn
d2638b42a8 Rename the .tar.gz to a .tgz
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-29 23:51:30 +00:00
Robin Dunn
c0546c3ea7 Compatibility modules for a couple that have gone AWOL in the new namespace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-29 23:50:56 +00:00
Robin Dunn
122070e2a7 Apparently wxPopupWindow position is not screen relative any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-29 23:21:38 +00:00
Robin Dunn
72d3f3166a Show how to set print data options when using HTMLEasyPrinting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-29 23:21:03 +00:00
Robin Dunn
1202c414ea Added SF Patch#
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-29 23:08:42 +00:00
Robin Dunn
e4f4d6533d Fix compile error when building for Python 2.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-29 23:07:26 +00:00
Robin Dunn
02376d7348 Since they are new style classes we need to use the __reduce__
protocol for pickling.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-29 23:06:38 +00:00
Robin Dunn
0dfb2393dd Fixed drawing of the lines data, also ensure that only tuples are
pickled since there is currently a problem with unpickling
wx.Points...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-29 19:25:47 +00:00
Robin Dunn
fb67a0b14c Set foreground colour when drawing items in the VListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-29 19:24:16 +00:00
Julian Smart
8e74bcb2a4 Fixed palette so all tools are visible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-29 10:47:51 +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
6503f634a9 Removed statusbar removal under WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-28 17:34:18 +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
830e6d754c Updated for eVC4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-27 18:02:30 +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
Julian Smart
504de6d140 Some further missing symbols for WinCE 4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-27 17:17:21 +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
Roman Rolinsky
2481bf3cb6 added subclass attribute
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-25 23:28:17 +00:00
Julian Smart
ae071f3106 Added FindById doc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-25 11:59:29 +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
David Elliott
a685e84a97 Added note about (not) multiply inheriting from wxEvtHandler which includes
a very brief technical overview of how events work.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 19:53:29 +00:00
David Elliott
2d93e5a259 Regenerated with Bakefile which removes the regextest sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 19:43:34 +00:00
David Elliott
ca6c45b23d Regenerated with Bakefile.
wxCocoa: Added src/mac/gsockosx.c to build.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 19:37:09 +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
Václav Slavík
30f2fa6c53 fixing the regex mess that Ryan wasn't yet able to fix himself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 12:42:57 +00:00
Ryan Norton
2138129e25 wxMenuBar derives from wxWindow...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 04:52:48 +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
7c52e8ef95 wxCocoa: Enable wxSocket support using new CFSocket implementation from wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 04:39:05 +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
Robin Dunn
dae0faa6be reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 03:09:10 +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