Commit Graph

21036 Commits

Author SHA1 Message Date
Ryan Norton
b77b87881b A little clarification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-14 06:24:21 +00:00
David Elliott
b2c5f143fd Added MSWPositionForWxMenu() method which is used to translate wxWindows
menu positions to the ones that Windows is using.  This mainly accounts
for the system menu in maximized MDI child frames.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-14 05:57:09 +00:00
David Elliott
6edf960cf5 IsInAssert is only available (and only makes sense) in a debug build so
don't try to call it in a release build.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-14 04:44:37 +00:00
David Elliott
096a56242d Added empty base class constructors. This will still be broken for anything
other than MSW, Mac, and Univ.

Julian: Fix this the right way.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-14 03:52:50 +00:00
David Elliott
ffb649e4c6 * In _GSocket_Get_Mac_Socket(), do not call CFSocketSetSocketFlags to turn
off kCFSocketCloseOnInvalidate.  Furthermore,
  kCFSocketAutomaticallyReenableWriteCallback wasn't part of default flags
  but had been erroneously included here.
* Call CFSocketInvalidate() from _GSocket_Diable_Events instead of from
  _GSocket_GUI_Destroy_Socket.  GSocket calls this from GSocket_close
  and so in combination with the above change and the most recent change
  to gsocket.c the CFSocket should now be invalidated and closed for all
  cases and not just planned shutdown.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-14 02:50:18 +00:00
David Elliott
9d8278ea64 * Revert Darwin specific changes to GSocket_destroy.
* In GSocket_Shutdown do not call close on Darwin since gsockosx.c will do
  it during CFInvalidate which will be called from GSocket_Disable_Events


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-14 02:42:38 +00:00
David Elliott
fda20787fc * _GSocket_Enable_Events() and _GSocket_Disable_Events() now call
CFRunLoopAddSource() and CFRunLoopRemoveSource() respectively.  They
  no longer call CFSocketEnableCallbacks or CFSocketDisableCallbacks.
* In _GSocket_Get_Mac_Socket() no longer disable callbacks and also do not
  add the runloop source which combined with the above change has the
  same effect as before.
* In _GSocket_GUI_Destroy_Socket() do not remove the runloop source because
  _GSocket_Disable_Events() should have and even if it didn't Mac OS X
  will clean it up in CFSocketInvalidate()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-14 02:17:16 +00:00
Robin Dunn
bc59c2062c More packager scripts updates. The RPMs will now install icons and
menu items, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-14 02:11:55 +00:00
Robin Dunn
c207946083 Corrected install_data files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-14 02:10:32 +00:00
Robin Dunn
e75fd8a4ca typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-14 01:55:47 +00:00
Robin Dunn
8dfc6457b2 Fixed preprocessor warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-14 01:53:19 +00:00
Robin Dunn
de7b7fe6f6 Got iewin up and running again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-14 01:51:52 +00:00
Robin Dunn
6c72a02688 check for existance of output files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-14 01:50:35 +00:00
Robin Dunn
14dfb3d258 Fix compile warning when building DLLs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-14 01:28:42 +00:00
Robin Dunn
702bbc359f Update for new pickle format
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-13 20:34:44 +00:00
Robin Dunn
8bba149265 Added some missing wx namespace corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-13 20:33:49 +00:00
Roman Rolinsky
a4c013b2b1 wxGridBahSizer support
exception handling while loading resource

some fixes (GetFirstChild, XRCID instead of FindByName, ...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-13 18:43:42 +00:00
Julian Smart
31be2bd8ea Added Emulator, configtool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-13 17:48:33 +00:00
Dimitri Schoolwerth
efb349e4f3 Applied patch #876228: "Current value" always counts up to 100, instead of the max gauge value.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-13 17:46:13 +00:00
Roman Rolinsky
d563e57f21 replaced by CHANGES.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-13 15:44:50 +00:00
Julian Smart
3b34ec62bb Corrected wrong reference to Gizmos location
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-13 15:31:45 +00:00
Julian Smart
aeb3c1cb52 Improved colours in wxUniv -- white (window colour) was
being used as the default.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-13 14:48:35 +00:00
Julian Smart
02dd0487d1 Suppress spurious icon-related log messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-13 14:45:56 +00:00
Julian Smart
b6668c257d Added extra check in case CopyFromIcon fails
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-13 14:37:28 +00:00
Julian Smart
83ae4c616c Must have event.Skip() in OnSize for wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-13 13:32:07 +00:00
Robin Dunn
59455c67d4 Starting to update the tarball and rpm spec files for 2.5. Mostly
done but some fine tuning still needs done.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-13 03:42:43 +00:00
Robin Dunn
47e8744686 Use "import wx". wxPython.wx now has backwards compatible DC's and so
since this module was using the new DC's it could no longer use
wxPython.wx.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-13 03:41:22 +00:00
Robin Dunn
36a1dad6e8 Fixed the docstring, default module is now wx, not wxPython.wx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-13 03:33:09 +00:00
Robin Dunn
4a7ea057cd Forgot to output the first string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-13 03:32:06 +00:00
Robin Dunn
e6477984b1 Don't allow parameterless wxDropSource
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-13 03:31:25 +00:00
Robin Dunn
2571247b80 API and etc. updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-13 03:28:11 +00:00
Robin Dunn
35095c028d new DC API fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-13 03:25:58 +00:00
Robin Dunn
95bfd958bd More demo conversion and cleanup from Jeff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-13 03:17:17 +00:00
Dimitri Schoolwerth
2b5dcd17c1 To use "#pragma warning" a #ifdef __VISUALC__ guard should be used, not a #ifdef _MSC_VER one (CW defines _MSC_VER).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-13 02:07:44 +00:00
Dimitri Schoolwerth
03a90749df Applied patch #875647, fixes an unused variable warning reported by Borland; Some minor changes such as tab removal, TRUE/FALSE->true/false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-13 02:02:54 +00:00
Robin Dunn
7fcf27da12 x11/popupwin.h wasn't being installed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-13 01:36:35 +00:00
Julian Smart
69a126b0c7 Added some constants. wxRAISED_BORDER not GTK+-only.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-12 11:42:22 +00:00
Julian Smart
38a0984e4c Unicode and ODBC are now compatible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-12 10:51:45 +00:00
Julian Smart
daf06bb8bc Applied patch [ 825396 ] dbbrowse demo compatible with Unicode
Wlodzimierz Skiba


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-11 22:08:25 +00:00
Julian Smart
73e68c1d43 Applied patch [ 838940 ] notebook labels are not shown when built with GTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-11 20:58:10 +00:00
Julian Smart
bfe5de8665 Applied patch [ 827399 ] sqltypes.h included without windows.h under Borland
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-11 20:52:43 +00:00
Julian Smart
6c29712c64 Applied patch [ 851052 ] [msw] Clipboard: Allow automatic format conversions
By Kevin Edwards (ingenuus)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-11 18:41:29 +00:00
Julian Smart
ae29146343 Reverted bad fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-11 17:38:11 +00:00
Julian Smart
e8b7a986a6 Applied patch [ 849212 ] Sets SO_REUSEADDR flag on server sockets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-11 16:54:39 +00:00
Julian Smart
d3d0974f0f Applied patch [ 850483 ] Toolbar bugfix (Mac)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-11 16:42:47 +00:00
Julian Smart
1a33ac8fb0 Applied patch [ 858324 ] Calling EndModal inside an EVT_INIT_DIALOG event handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-11 16:34:05 +00:00
Julian Smart
ab839dff60 Applied patch [ 791573 ] New feature for FL toorbar buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-11 16:03:19 +00:00
Julian Smart
10021d29fa Recorded patch [ 837515 ] wxIPaddress + docs patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-11 15:52:13 +00:00
Julian Smart
be4bd4636d Applied patch [ 837515 ] wxIPaddress + docs patch
(Ray Gilbert)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-11 15:50:10 +00:00
Julian Smart
1169a91932 Applied patch [ 832096 ] Final separation for GUI and console for Open Watcom
(Watcom compiler doesn't like ctor implementation in headers)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-11 15:33:01 +00:00