George Tasker
65ba4113c6
Fixes ::Fit() and ::SetSizeHints() to keep the dialog sized so that it will not grow outside the display area of the screen. NEcessary to fix the problems seen in wxAnyChoiceDialog() derived classes where the dialog grows too big to see the top or bottom of the dialog
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-25 16:08:22 +00:00
Václav Slavík
1309ba6c7e
implemented (more) correct <pre> handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-24 22:05:19 +00:00
Julian Smart
3da2715fb8
Corrected include/wx/palette.h; added wxGenericTreeCtrl::SetFont
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-24 16:38:02 +00:00
Vadim Zeitlin
a06c1b9b72
Unix compilation fixes for new MIME code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-24 00:07:04 +00:00
Vadim Zeitlin
2b813b73cd
applied MIME patch(es) from Chris Elliott
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-23 23:46:21 +00:00
Vadim Zeitlin
6d51f22029
some ifdef's - now it might compile without wxUSE_IMAGE although not tested
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-23 23:31:42 +00:00
David Webster
08399e45e7
add wxUSE_IMAGE to setup.h and GetHFONT to wxFont.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-23 18:33:05 +00:00
Václav Slavík
ce113d5ffe
moved gtk/palette.h to generic/paletteg.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-22 22:24:37 +00:00
Václav Slavík
0046ff7c4f
added wxUSE_IMAGE, wxUSE_XPM
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-22 22:23:05 +00:00
Václav Slavík
775c6f0cd2
added wxUSE_IMAGE; added write-only wxXPMHandler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-22 22:21:21 +00:00
Stefan Neis
efe7d6ff7e
Adapted SetData function to common API (taking a reference
...
instead of a pointer)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-22 20:36:00 +00:00
Vadim Zeitlin
3f2bcf3437
detabified
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-22 12:24:51 +00:00
Vadim Zeitlin
8bf30fe9b0
merged wxFont related fix (operator==) and optimization (cache default GUI font)
...
from 2.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-21 16:03:10 +00:00
George Tasker
461697c2ae
Moved the declaration of wxEVT_NULL to event.cpp and made it extern in the header to solve BCC compilation issues
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-21 15:43:33 +00:00
Vadim Zeitlin
807a903e68
merged optimizations from 2.2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-21 01:46:19 +00:00
David Webster
8cfc5426cf
Fixed the deleteion of VisualAge stuff
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-20 15:15:04 +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
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
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
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
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
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
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
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
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
David Webster
ac7fb818cc
DC updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-11 18:04:54 +00:00
Václav Slavík
2aeec9eccc
applied fix to fix BCC's wxBitmap ctor problem
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-11 18:04:34 +00:00
George Tasker
e938ff5e20
A couple more 'int' to UWORD conversions I had not merged into my previous checkin.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-11 14:37:48 +00:00
George Tasker
02cf6fdd85
Fixed TablePrivileges() function (I HOPE!) so it will work with all supported databases
...
All variables/parameters having to do with number of columns changed to be of type UWORD rather than int, avoiding compiler warnings and giant tables causing problems, and matching the types with the ODBC APIs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-11 14:11:02 +00:00
Gilles Depeyrot
62a879dfa0
added destructor (correction for Mac OS X)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-11 06:32:17 +00:00
Julian Smart
aa2d25a57a
Fixed some wxDragImage bugs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-10 21:01:40 +00:00
Julian Smart
6ea5c52d29
Implemented Chuck Messenger's naming and simplification improvements,
...
plus Move coordinate correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-10 13:44:03 +00:00
George Tasker
1454d4e659
Added a param to ::Open() to allow the programmer to specify whether opening the table should check if table exists
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-10 10:43:51 +00:00
Robert Roebling
ce16e5d78f
Added wxFileName::GetModificationTime()
...
for Unix.
Don't send events when constructing a text ctrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-09 17:16:09 +00:00
Vadim Zeitlin
068cfb66c2
mingw32 compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-09 15:37:24 +00:00
Vadim Zeitlin
b5badcb5c5
fixed obsolete comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-09 01:27:32 +00:00
Vadim Zeitlin
7ba4fbebbc
1. fixes to wxDC deleting logic (should fix ~wxPrinterDC leak), some code
...
reorganized/removed
2. applied (slightly modified) wxEnhMetaFileSimpleDataObject patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-09 01:22:48 +00:00
Vadim Zeitlin
4658c44ec2
applied patch 410892 (wxCopyFile uses ::CopyFile under Win32, has overwrite parameter)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-09 00:10:21 +00:00
Vadim Zeitlin
d8c72298ec
applied patch 411059 (mingw win32 api version check)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-08 23:53:12 +00:00
Vadim Zeitlin
e5aea7214d
restored previously removed inline
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-08 22:32:17 +00:00
Gilles Depeyrot
d5408e98bc
correction for Mac OS X (wxEntry has a specific prototype for Mac?)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-07 14:42:25 +00:00
Václav Slavík
f515c25a2c
wxImage::ConvertToMono wasn't const - fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-06 22:15:34 +00:00
Vadim Zeitlin
58d5dfc168
no changes, just resolved conflicts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-06 17:22:04 +00:00
Václav Slavík
fd85921189
I moved platform specific code from wxImage to wxBitmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-04 23:15:36 +00:00
Vadim Zeitlin
33e2941913
second part of Markus' BC++ fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-03 16:07:57 +00:00
Gilles Depeyrot
5fde6fcc9b
corrections for final release of Mac OS X
...
applied patches proposed by Mark Newsam
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-01 20:42:05 +00:00
George Tasker
3cfcd50b7d
SendSizeEvent() method moved from wxWindow to wxFrame, as that is the only place that the code in this function applies to.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-31 18:43:54 +00:00