Commit Graph

8431 Commits

Author SHA1 Message Date
Robin Dunn
c8ace611be Added a demo to show off all the colours that can be added to
wxTheColourDatabase by the wxPython.lib.colourdb module.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-19 23:32:05 +00:00
Vadim Zeitlin
6057972be4 some const correctness for wxClassInfo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-19 23:13:07 +00:00
Vadim Zeitlin
aac65598a1 some const correctness for wxClassInfo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-19 23:00:46 +00:00
David Webster
45bfc84b20 Positioning fixes to compsate for wxWindow's use of the MS backwards standard.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-19 22:30:15 +00:00
Gilles Depeyrot
475031bb37 added comment to explain __WXMAC_X__ define
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-19 20:29:20 +00:00
Gilles Depeyrot
007ae8d09d Corrections for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-19 19:16:56 +00:00
Gilles Depeyrot
f4b6ffa972 correction for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-19 19:11:09 +00:00
Robin Dunn
83f96286bb Added wxCURSOR_ARROWWAIT which is the default arrow+hourglass cursor
on MSW, or the same as wxCURSOR_WAIT on wxGTK.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-19 19:08:24 +00:00
Gilles Depeyrot
656fc51cda corrections for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-19 19:06:42 +00:00
Julian Smart
7df9fbc3f1 Fix/hack 1.
========

At present, if you wish to load a .hhc file instead of add books manually, you can only have one book - UNLESS you omit the outer <ul> </ul>. Then the contents will appear to have more than book, although in fact it's just one book that's displayed on level zero and therefore get the Book icons.

However, you'll also get a dummy 'book' with the name of the project but no children. So my hack detects whether the .hhc file is trying to add books at level zero, and if so, throws away the first 'book', so that only the hhc-specified books get shown.

So the end result is that our hhc file can specify multiple sections that don't all hang off one dummy book node which itself hangs off the root node -- which is a UI pain!

Fix 2.
====

I changed  the test

        if (!m_Page.IsEmpty())

to

        if (tag.GetParam("TYPE") == "text/sitemap")

at around L.120 of helpdata.cpp as suggested in the comment, so we don't have to specify a URL for the node to be valid. Sometimes you don't want a URL in a contents item. I've added some tests to stop it complaining if you click on a URL-less item.

Feature enhancement/Hack 3.
======================

I've added wxHtmlHelpController::SetBookBasePath so that the .hhp/.hhc files don't have to be in the same hierarchy as the HTML files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-19 16:17:15 +00:00
Vadim Zeitlin
655076c7b0 fix to allow negative coords for wxFrame creation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-19 11:14:48 +00:00
Vadim Zeitlin
a9f21e71d6 fix for scrollbar rounding errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-19 11:13:14 +00:00
David Webster
c9cb56f7f2 wxControl and wxDialog coded and supporting module def file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-18 20:47:32 +00:00
David Webster
6c34d0ede9 Fix to excule OnPaint from WXPM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-18 20:46:54 +00:00
David Webster
d608dde1d7 wxControl and wxDialog coded.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-18 20:46:23 +00:00
Gilles Depeyrot
76ee796101 removed unused files so that makefile VPATH works under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-18 19:23:09 +00:00
Julian Smart
a69cb1cc9d No longer paint the selection background under the image
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-18 17:13:31 +00:00
Vadim Zeitlin
9f96b16267 wxString::FormatV() fix (bug 416853)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-17 22:34:02 +00:00
George Tasker
389b961e23 Fixed a compiler performance warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-17 11:05:24 +00:00
Vadim Zeitlin
b9ca40a921 another attempt to fix wxMotif build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-17 09:47:41 +00:00
Stefan Neis
faec5a4383 Added patch #412132 (Fix for bug #215410) (Mainly in CalcDimensions()),
changing GRID_SCROLL_LINE to 1.
Fixed Bug #413014 (Missing refresh after calling DeleteCols) by fixing
        Redimension.
Fixed Bug #232657 (Mouse not captured during wxGrid column resize) by
        fixing ChangeCursorMode.
Fixed some minor problems with screen updates (CalcDimensions should only be
        called while not BatchMode, Autosizing Rows/Cols should happen within
        BatchMode, Sizing a row/column should update also labels)
        - touched various functions.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-16 22:58:26 +00:00
David Webster
6d167e3938 StatText coded
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-16 22:26:36 +00:00
David Webster
d143f2ad06 Remove OnCtlColour from wxStatText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-16 22:25:50 +00:00
David Webster
1f3154c809 Static Box coded.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-16 22:24:55 +00:00
David Webster
ca8f0290a4 textctrl is now coded.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-16 15:20:36 +00:00
David Webster
c4955899eb OnActivate change for wxFrame to better deal with prior window focus and textctrl is no coded.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-16 14:22:41 +00:00
George Tasker
4a45223c97 Blob support fixes - still does not work, but getting there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-16 14:03:09 +00:00
Ron Lee
6426998c39 simplified (hopefully:) and explained the shared lib versioning system.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-16 00:19:18 +00:00
George Tasker
beb0d04d04 Change demo to not try to drop the table when it thinks it is creating it for the first time - per Paul Gammans
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-15 13:08:39 +00:00
George Tasker
21e052699d A couple more 'int' to UWORD conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-15 13:06:01 +00:00
George Tasker
87cc34563c A couple more 'int' to UWORD conversions
Fixed ::CreateTable() syntax problem with Sybase reported by Paul Gammans


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-15 13:05:34 +00:00
Vadim Zeitlin
7018409531 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-14 23:29:06 +00:00
Vadim Zeitlin
4485629732 fixed DoDrawEllipse() bbox calculation (patch 415116)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-14 22:07:42 +00:00
Vadim Zeitlin
e9456d8d5b merged focus handling fix from 2.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-14 21:46:54 +00:00
Gilles Depeyrot
ed50e39ba2 added spinctrl and corrected list of files for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-14 20:21:30 +00:00
Gilles Depeyrot
fd88dcbccd added missing interface pragma
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-14 20:09:19 +00:00
Vadim Zeitlin
f35398824b applied wxPerl doc patches
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-14 19:46:05 +00:00
Gilles Depeyrot
ea5999b96f corrected dynamic library creation for Mac OS X
added compilation option to solve common object link error for Mac OS X


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-14 19:39:51 +00:00
Václav Slavík
11ad1132ca applied patch #415855
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-14 18:03:41 +00:00
Vadim Zeitlin
6f18aba58b linking fix for wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-13 14:56:22 +00:00
Vadim Zeitlin
55bd3f34b6 use screen resolution, not hard coded one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-13 14:43:23 +00:00
Vadim Zeitlin
551fe3a6f0 reckognize cp125x charsets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-13 14:28:04 +00:00
George Tasker
62f1dc8207 Updated to alert the user to the need for them to edit this file to set the location of the libxml install so that XML will compile. Also tells them where to download libxml if they need to know that
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-13 11:40:58 +00:00
George Tasker
fafa563280 Fixed a BCC compilation ambiguity for wxString [int] vs [unsigned int]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-13 11:40:21 +00:00
Gilles Depeyrot
4b6ed6bc17 corrections for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-13 10:49:20 +00:00
Gilles Depeyrot
214b7e74f0 correction for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-13 09:59:47 +00:00
Gilles Depeyrot
a5bc50ee00 added spinctrl implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-13 09:52:29 +00:00
David Webster
3bd418ca9f Filling out common controls now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-12 22:45:21 +00:00
Stefan Csomor
07b2eb27ec corrected cw6 project files and other small problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-12 08:40:59 +00:00
Stefan Csomor
31d309952c corrected cw6 project files and other small problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-12 08:34:32 +00:00