Commit Graph

20851 Commits

Author SHA1 Message Date
Robin Dunn
b09afc93f5 ON XP when pages are added to a Notebook their colours (and their
children's) are modified to match the theme colours for notebook pages
rather than normal panel colours.  When items are added dynamically
after the fact to the notebook pages then we need to fiddle with the
colours ourself.

Also, since xrced is importing from wxPython.wx then DC.Draw methods
now need to use the old parameter syntax.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-15 22:44:52 +00:00
Robin Dunn
b86cccf1ba Use unbuffered output
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-15 22:38:07 +00:00
Robin Dunn
60a93116bb Not sure what this was here for
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-15 22:37:26 +00:00
Robin Dunn
25379d629b Win32 installer script updated for 2.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-15 22:26:18 +00:00
David Elliott
f1ff3d4a3e Allow Clear() to clear the control even when it is not editable.
(patch from Kevin Hock)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-15 20:12:29 +00:00
Julian Smart
6463b9f539 Reverted patch [ 832096 ] Final separation for GUI and console for Open Watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-15 13:49:22 +00:00
Robin Dunn
d896a793a0 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-15 05:26:19 +00:00
Robin Dunn
90f7e9c7f7 little tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-15 01:24:35 +00:00
Dimitri Schoolwerth
5eba439479 Applied patch #877159: Joinable threads might crash app if deleted right after Wait.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-15 01:20:42 +00:00
Robin Dunn
eb9b610777 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-15 01:11:12 +00:00
Robin Dunn
d2f9bbfd43 little tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-15 01:08:37 +00:00
Robin Dunn
b856768b04 Allow nested calls to wxPy[Begin|End]BlockThreads instead of
deadlocking when the nested calls try to aquire the Python GIL.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-15 01:06:39 +00:00
Robin Dunn
b1dfbb7ad8 Added wrappers for the missing wxSpinEvent, which fixes the deadlock
when trying to catch events from wxSpinButton.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-15 01:04:38 +00:00
Chris Elliott
756d3e7fb5 apply SF patch 876817
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-14 15:28:37 +00:00
Stefan Csomor
2109485b37 remove some duplicate defines under Mach
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-14 10:05:39 +00:00
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