Commit Graph

12323 Commits

Author SHA1 Message Date
Robin Dunn
be43cc441a A fix for Python 2.2 which can sometimes call __wxCleanup before all
the other wxPython objects have been deleted.

Other various things to match recent CVS changes in wx.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 21:28:41 +00:00
Julian Smart
a3215b22a3 Added XSync before mapping but this doesn't seem enough to get
the popup window to show before the capture (which fails if not
mapped)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 18:27:43 +00:00
Julian Smart
7edcafa467 Removed some debug code from window headers; added some debug
code to try to figure out capture problems


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 18:15:20 +00:00
Julian Smart
44f8caa786 Correction for 'protected' compiler error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 17:43:05 +00:00
Julian Smart
072db400de Modified CaptureMouse to call DoReleaseMouse if necessary before
doing another DoCaptureMouse, because otherwise we have a nested
Capture which is not possible in some systems (the point of these
wrappers).
Also ReleaseMouse now calls DoCaptureMouse, not CaptureMouse, if
necessary.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 17:31:23 +00:00
Vadim Zeitlin
ba875e66c4 fixed a bug/typo in configure introduced by the previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 16:51:39 +00:00
Julian Smart
56cb684ab2 Pass correct length to XTextExtents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 15:39:18 +00:00
Julian Smart
2034b74887 Background set correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 14:56:54 +00:00
Julian Smart
9f05ea2173 Positioned text correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 14:56:31 +00:00
Julian Smart
418d4918a2 Status bar positioned correctly, but no sign of the
menubar as yet.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 14:16:54 +00:00
Julian Smart
e5053ade6b Attempts to get client origin working. Work in progress.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 12:59:14 +00:00
Julian Smart
43d611cbcc Simplified default wxTheme code and made sure a default
is available without having to set the WXTHEME variable.
The 'default default' is WIN32. So flame me :-)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 11:35:34 +00:00
Václav Slavík
e41dcea547 safeguards against crashes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 10:37:55 +00:00
Václav Slavík
3dbe38c370 fixed menubar attaching: create it first, THEN set pointer to it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 10:37:45 +00:00
Václav Slavík
92657b4276 wxMGL compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 10:37:38 +00:00
David Webster
524d72c4cb Display child panels, and make unneeded scrollbars disappear and reappear when needed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 06:00:27 +00:00
Robin Dunn
ccd970b13b Fixed a bug that prevented editors and renderers to be purly data type
dirven (IOW, if no other cell attributes have been set but the cell
has a non-string type.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 01:54:48 +00:00
Václav Slavík
3b423cdd3a wxGenericDirCtrl now correctly updates itself when you click on 'show hidden'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 23:48:57 +00:00
Václav Slavík
d76ac8ed88 wxSplitterWindow now:
1. respects minimal size even when set programatically
2. respects minimal size of child windows if set


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 23:48:33 +00:00
Václav Slavík
5229b11d2c rewrote wxHtmlHelpFrame using sizers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 23:47:43 +00:00
Václav Slavík
73ef393701 use wxHashMap, not wxHashTable in wxXPMDecoder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 23:47:01 +00:00
Václav Slavík
d6a6d666b4 a note just in case I misread wxHTML code again...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 23:46:46 +00:00
Robin Dunn
c294f45021 bugfix for SetString in a wxCheckListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 23:11:53 +00:00
Robert Roebling
c31a82c10d wxX11:
Added handler for ConfigureNotify (i.e. size events).
     The status bar gets drawn right now, the rest is still
       black art although paint events are correctly sent.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 22:46:43 +00:00
Robert Roebling
1180fb81d9 Found the X11 error in wxDC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 22:14:34 +00:00
Vadim Zeitlin
532da0d17f added SetString docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 21:27:27 +00:00
Robert Roebling
3cd0b8c5b5 wxX11:
Updated wxColour for handling Colormaps and ref couting.
    Updated wxClientDC et al. for conforming to wxGTK. Many
      tricky parts, particularly the bitmap drawing and
      blitting is still missing.
    Any sample crashes now for some reason with an X error.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 20:41:24 +00:00
Vadim Zeitlin
d8356fa39a fixed make install and make base for wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 20:26:57 +00:00
David Webster
cb1c596594 New def file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 18:20:14 +00:00
Julian Smart
4e5a480071 Added MICROWIN include dir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 18:11:57 +00:00
Julian Smart
6ec507fd25 Attempted to add configury for NanoX compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 18:03:47 +00:00
Julian Smart
4e2212e3ee Removed -lXext -lXt from libraries for wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 14:51:42 +00:00
Julian Smart
774b90fbb3 Made sure events for defunct windows are no longer handled.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 13:27:41 +00:00
Julian Smart
ca7497c2a2 Put m_statusText.SetCount(number) before wxStatusBarBase::SetFieldsCount(number, widths) to avoid assert (a refresh is done in SetFieldsCount which
access the m_statusText array before the size is set).
XQueryTree usage improved.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 13:11:28 +00:00
Robert Roebling
3603a8ffbd Last link error in wxX11 killed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 12:40:00 +00:00
Julian Smart
68dc6d2ae7 Merge correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 12:15:59 +00:00
Julian Smart
ea59668704 Linking now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 12:13:14 +00:00
Robert Roebling
1b0b798d77 Various compile fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 12:04:35 +00:00
Julian Smart
6a44bffd1a Typos and other fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 11:42:06 +00:00
Julian Smart
b28d3abf7e Small changes to wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 11:06:50 +00:00
David Webster
4a46a5df87 Updates for Y positioning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 04:33:03 +00:00
Václav Slavík
4222829b44 disable shared libs for DJGPP (who broke this?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 23:45:37 +00:00
Václav Slavík
2755d43750 fixes to HTML tables alignment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 23:43:34 +00:00
Julian Smart
b6ed456530 Implemented CopyFromBitmap, CopyFromIcon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 23:32:39 +00:00
Robert Roebling
8354aa92a1 wxX11: link errors down to 1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 23:31:24 +00:00
Julian Smart
1246e28fb0 Added wxPopupWindow skeleton (no implementation yet)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 23:21:44 +00:00
Robert Roebling
bafb8cdde4 More make install tweaks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 21:54:40 +00:00
Robert Roebling
952ebeba34 wxX11:
make install
    blind implementation for wxTopLevelWindow


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 19:49:44 +00:00
Václav Slavík
e7dda1ffa3 respect minimal wxTLW size in wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 19:08:54 +00:00
Václav Slavík
6feddea302 honour min/max size in wxMGL's wxWindow::DoSetSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 19:08:07 +00:00