Commit Graph

8264 Commits

Author SHA1 Message Date
Robert Roebling
5cd09f0b8d Toplevel windows now send both activate and focus
events under wxGTK - and probably under wxMSW
    as well?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-22 14:46:18 +00:00
Robert Roebling
f1339c5685 My iconv (GLIBC 2.2) uses char** as the second
parameter. altough it is the in-buffer for the
    character conversion. I added some very ugly
    conversion to strconv to make it compile. While
    being at it, I also reformated the whole file,
    it looks less like Assembler or Perl now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-22 14:06:55 +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
1f3943e027 fixing mngw32 (cross)compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-22 11:53:11 +00:00
Robert Roebling
942bef71b0 Applied BMP patch.
Applied deferred wxBitmapButton patch.
  Added error checking to wxFileStream and wxFFileStream.
  Corrected activate event things.

  All these patches work in the stable branch, the
   dev-branch does not currently compile.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-22 10:20:56 +00:00
Václav Slavík
b06a6b20d5 synced wxImage,wxBitmap docs with my changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-21 23:18:05 +00:00
George Tasker
1600865926 Fixed a possible double deletion of 'file'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-21 18:02:57 +00:00
George Tasker
97af118998 Removed a duplicate "ADD_STYLE(wxLC_REPORT);" line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-21 18:02:07 +00:00
Václav Slavík
17f7bb9ed5 added check for wxUSE_WCHAR_T
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-21 17:25:29 +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
f4929e864e Spelling typo fixed in a comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-21 15:48:36 +00:00
George Tasker
3897b707bd Minor code tweeks to stop BCC compiler warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-21 15:48:12 +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
Václav Slavík
ecdce304e4 applied BCC fixes for wxXML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-21 14:53:54 +00:00
Vadim Zeitlin
9c21efe301 oops... conflict removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-21 01:49:11 +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
Stefan Neis
0fa7981012 Commited updated list of files to compile.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-20 21:18:27 +00:00
Stefan Neis
8269a90377 Added wxGetEnv and wxPutEnv.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-20 21:17:54 +00:00
Stefan Neis
f74d0b57aa Hopefully fixed bug #233492 (SelectAll crashed on empty grids).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-20 20:48:51 +00:00
David Webster
f15b49521a new Def file supporting const changes in wxObject. Bug fixes in STATTEXT and WINDOW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-20 16:10:04 +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
David Webster
61cca9d24e Got rid of some wierd VisualAge debug nonsense that had appeared in this after the last update????
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-20 13:26:05 +00:00
David Webster
abe5726aff Const casting fix for Vis C.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-20 13:00:39 +00:00
George Tasker
35cd9dba7b Changed code to get rid of a compiler warning about statement always being FALSE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-20 11:21:40 +00:00
George Tasker
5f6d6405bb Minor grammatical/formatting changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-20 11:18:04 +00:00
Robin Dunn
e9c4505ef4 Fixed the order of parameters to actually match the code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-20 04:30:28 +00:00
Robin Dunn
254b84f3fd Commented out hack for VC++ 5.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-20 00:39:53 +00:00
Robin Dunn
c6b4bf32aa Changes for building with Python 2.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-20 00:39:19 +00:00
Robin Dunn
84d31cc23f Tests to show problem with wxExecute when using redirection on a GUI app.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-20 00:38:16 +00:00
Robin Dunn
8ab7390901 reformat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-20 00:37:23 +00:00
Robin Dunn
6b48f1bdc5 UN-tabbed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-20 00:36:41 +00:00
Robin Dunn
0a651eb856 A few changes to match header changes and let wxPython compile again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-20 00:36:03 +00:00
Robin Dunn
1cfd32fa13 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@9802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-20 00:25:34 +00:00
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