Compare commits

..

4605 Commits

Author SHA1 Message Date
Bryan Petty
69b3e0ace2 This commit was manufactured by cvs2svn to create tag
'BEFORE_CONVERTING_TRUEFALSE_TO_LOWERCASE'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/tags/BEFORE_CONVERTING_TRUEFALSE_TO_LOWERCASE@18799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 00:01:18 +00:00
Václav Slavík
0894707e7c added wxFileName::MakeAbsolute
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 00:01:18 +00:00
Václav Slavík
7f891ef107 no need to have this VMS-only; removed TABs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 00:00:22 +00:00
Robin Dunn
c9c50e2395 wxMac (and maybe others?) get PAGEUP/PAGEDOWN instead of NEXT/PRIOR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 22:52:50 +00:00
Vadim Zeitlin
4522bb3ecf use wxDynamicLibrary instead of wxPluginManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 20:52:39 +00:00
Mattia Barbon
d66dcb6022 Under Cygwin, in platform.h default to wxMSW unless otherwise specified.
Do not #define __WIN95__, __WINDOWS__, __WXMSW__ on the command line for
Cygwin/MinGW (when build with makefiles), since platform.h already does
that for us.
  Always check for __WIN32__, not for WIN32 or _WIN32 (just for
consistency).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 20:01:20 +00:00
Václav Slavík
b78a78f779 (probably) fixed wxLocale::Init with Borland C++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 19:58:53 +00:00
Stefan Neis
e107213f89 Fixed typo in test for WX_STATVFS_T
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 14:02:25 +00:00
Vadim Zeitlin
b448f30e9c Borland apparently uses for int64 in printf(), not
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 13:27:20 +00:00
Vadim Zeitlin
525582584c check for NULL szLocale in Init()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 12:39:00 +00:00
Vadim Zeitlin
649a48a216 tried to make wxCloseEvent docs more clear too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 11:58:40 +00:00
Vadim Zeitlin
448025b0dc documented UngetWriteBuf overload
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 11:04:58 +00:00
Stefan Csomor
f81127c568 added horizontal scrollbars to listboxes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 10:42:33 +00:00
Stefan Csomor
b9e3bdc539 make sure wxMac fonts are never AntiAliased (measuring problems would occur, because char-widths become fractional then)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 10:29:59 +00:00
Stefan Csomor
9f67b77690 include needed for CFString conversion routines (param default)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 10:27:48 +00:00
Stefan Csomor
ac17f9b104 Get/SetNoAntiAliasing implemented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 10:24:59 +00:00
Vadim Zeitlin
24174c30e0 tried to make Close() docs more clear
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 01:32:38 +00:00
Ron Lee
dc18c8f1b2 update libpng-dev deps.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 23:55:51 +00:00
Vadim Zeitlin
974d9c98f0 added links to the event docs from the default event processing section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 22:50:30 +00:00
Mattia Barbon
0ec6fd04eb Remove calls to a couple of deprecated methods, fix wxMotif build with
GCC 3.2, remove deprecated (and unused) fstream.h.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 20:44:47 +00:00
Mattia Barbon
46675b4610 Implement vertical toolbar under Motif.
Notify parent frame when toolbar is moved/resized/added/deleted so that
frame childs can be correctly repositioned.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 20:41:07 +00:00
Julian Smart
b05206c98b Added About menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 15:24:13 +00:00
Julian Smart
476d311420 Added Mac icons to helpview
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 15:21:19 +00:00
Julian Smart
2c4c6c0ad0 Added CW project file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 14:31:41 +00:00
Stefan Csomor
c718e0b31c added missing includes for wxMac specific additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 14:19:14 +00:00
Stefan Csomor
d3d3426196 adapted wxSizer::Remove type to new header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 14:11:24 +00:00
Vadim Zeitlin
2f82c92009 forgot to include wxControlWithItem docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 13:21:38 +00:00
Vadim Zeitlin
f21fcc9d2e the find dialog is created hidden, as all the other top level windows, but the docs said otherwise
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 13:03:50 +00:00
Vadim Zeitlin
eff41ee7f5 fixed detection of whether we're invoked from the top level configure or not
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 12:58:02 +00:00
Julian Smart
d9b21c9f47 ReDOS-ified project files
Added menubar for wxHTML help viewer on Mac
Added some Mac-specific code for HelpView


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 12:26:09 +00:00
Stefan Csomor
5ab6aab880 preferences menu implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 06:54:47 +00:00
Stefan Csomor
ce72eadb4d renaming because of conflicts with base Create::
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 06:53:32 +00:00
Stefan Csomor
22ab1509cd xml projects for CW 8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 06:50:42 +00:00
Stefan Csomor
1b6b675be3 additions for __MWERKS__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 06:47:22 +00:00
Stefan Csomor
513c3efc49 conversion scripts for CW 8 Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 06:44:49 +00:00
Václav Slavík
4e0862c4fd XRC fixes can be backported
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 23:22:13 +00:00
Václav Slavík
e5db16098c fix object_ref handling in XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 23:14:27 +00:00
Václav Slavík
317a0d7361 1. made XRC immune against changing CWD
2. fixed object_ref handling


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 23:14:07 +00:00
Ron Lee
dc5e3b9ec5 gah. escape $ in the here block.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 22:50:23 +00:00
Ron Lee
82a649b67c reverted the --inplace addition and instead documented the use of
--prefix and --exec-prefix to do the same thing.  I can't think of
any way to do this right now with one flag without making some
assumption about the users working habits.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 22:44:38 +00:00
Vadim Zeitlin
1fd16ce13c added checks to prevent running sub configure scripts directly (they can only
be executed by the top level configure)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 22:04:32 +00:00
Vadim Zeitlin
89e6bf6d7a updated configure to match configure.in changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 21:30:05 +00:00
Vadim Zeitlin
134ecc85d0 added WXWIN_COMPATIBILITY_2_4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 21:15:00 +00:00
Julian Smart
d118863525 Applied David's fix for not autoconf-ing on RHL8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 16:12:12 +00:00
Vadim Zeitlin
cdc1d13baa Maximize(FALSE) change can be backported
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 14:59:28 +00:00
Vadim Zeitlin
a0be434e78 fixed calling Maximize(FALSE) before the window is shown (bug 667665)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 14:58:17 +00:00
Vadim Zeitlin
a3bc6643b7 make uninstall should remove wxwin.m4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 14:50:36 +00:00
Vadim Zeitlin
8da8907446 corrected Get/SetFrame() parameter/return type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 14:45:08 +00:00
Vadim Zeitlin
9b67a3fd2e removed OnXXX() methods, added new default event handling section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 13:27:15 +00:00
Julian Smart
732b838637 Patch for Winlib: struct stat is defined in sys/stat.h, which is not
pulled in by unistd.h on some system.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 08:17:25 +00:00
Vadim Zeitlin
37a0271532 update wxStaticText check in revisions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 00:55:36 +00:00
Vadim Zeitlin
b826684e26 fix for the previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 00:54:46 +00:00
Vadim Zeitlin
747798efb8 some mor minor bug fixes which can be backported
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 23:48:19 +00:00
Vadim Zeitlin
6a629e51df fixed wxStaticText best size calculation (closes bug 667324)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 23:47:12 +00:00
Vadim Zeitlin
5553c7cfe0 Start() should resume the stopwatch if it is suspended
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 22:22:27 +00:00
Julian Smart
a006e78bd3 Fixed refresh bug on early versions of MacOS X by
refreshing whole window on (de)activation


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 21:10:32 +00:00
Stefan Csomor
ab83849cea added TARGET_CARBON and __MACH__ info
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 20:34:16 +00:00
Gilles Depeyrot
0211e0d557 clarified some Mac OS related preprocessor defines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 20:15:44 +00:00
Vadim Zeitlin
0b481c72b6 compilation fix for wxUSE_CONSTRAINTS==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 19:40:55 +00:00
Mattia Barbon
0cd0d9a5ae #define HAVE_W32API_H for Cygwin/GCC 3.x, too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 18:29:10 +00:00
Julian Smart
2e38557f30 Applied patch [ 667563 ] Wine: compile fix for using glibc/msvcrt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 09:59:31 +00:00
Vadim Zeitlin
333b7dac15 fixed incorrect cast in wxRegKey:GetName()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 09:02:38 +00:00
Jouk Jansen
5a2db5f1df Committing in .
Updates for OpenVMS support

 Modified Files:
 	wxWindows/src/motif/descrip.mms
 	wxWindows/src/unix/utilsx11.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 07:22:31 +00:00
Gilles Depeyrot
eb22f2a6dc updated source to not use deprecated wxList methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 07:01:22 +00:00
Vadim Zeitlin
8baeca5b24 mention Solaris 7 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-13 23:16:18 +00:00
Vadim Zeitlin
85da04e95b use WX_STATVFS_T instead of trying to guess statvfs() argument
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-13 21:55:24 +00:00
Vadim Zeitlin
54ab82b3f9 added configure test for WX_STATVFS_T
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-13 21:54:29 +00:00
Ron Lee
9cbee2ceee Improved const correctness.
Clear wxWindow containing sizer on Remove( index ).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-13 19:31:37 +00:00
Stefan Csomor
6b57b49ae3 cursor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-13 19:19:35 +00:00
Stefan Csomor
c6a071d2d2 cursor functionality expanded
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-13 19:17:53 +00:00
Stefan Csomor
8165e9b648 additional infos for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-13 19:07:08 +00:00
Ron Lee
b1d4dd7add Split this out from other changes to keep things sane..
wxDeprecated KeyCode.
wxDeprecated old wxList compat methods.
Replaced a large number of them in the gtk build already, but there are
still plenty more so feel free to help nuke them as you find them.
s/^I/    / and s/TRUE/true/ etc. a couple of these too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-13 05:17:41 +00:00
Václav Slavík
5797172366 added info about ShowFullScreen changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 23:51:52 +00:00
Vadim Zeitlin
64f590eaa1 DeleteAllItems() does send DELETE_ITEM events (closes bug 664281)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 23:34:29 +00:00
Vadim Zeitlin
a40c9444bb compilation fix for wxUSE_RICHEDIT == 0 (closes bug 662252)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 23:24:46 +00:00
Vadim Zeitlin
14347204d3 more docs about compiler constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 22:56:05 +00:00
Vadim Zeitlin
a30c309aa8 added wxCHECK_GCC/W32API_VERSION
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 22:55:05 +00:00
Vadim Zeitlin
652703802c OpenWatcom fixes may be backported
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 22:45:49 +00:00
Vadim Zeitlin
4c87eb44c2 OpenWatcom compilation fixes (patch 665959)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 22:40:48 +00:00
Vadim Zeitlin
c5c843e007 compilation fix for wxUniv (patch 664699)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 22:31:16 +00:00
Vadim Zeitlin
b2697d4205 unTABbed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 22:30:51 +00:00
Vadim Zeitlin
29f82345df set wxUSE_WIZARD to 1 by default now that it works (patch 663321)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 22:28:26 +00:00
Vadim Zeitlin
890741df89 removed unneeded (and causing link errors) wxArrayPages from wizard code (patch 663321)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 22:26:31 +00:00
Vadim Zeitlin
e30285abc6 compilation fixes for non default wxUSE_XXX values (patch 662781)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 22:20:46 +00:00
Vadim Zeitlin
12c44eb56d corrected m_commandString type to wxString (patch 661648)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 22:06:31 +00:00
Vadim Zeitlin
7f04165e6f don't call stat() *and* lstat() (as if the file dialog wasn't already slow enough...); minor code cleanup (removed a few #ifdef's, TABs and other crap)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 14:24:32 +00:00
Mattia Barbon
7b507740a8 Remove unneeded dependencies.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 14:09:30 +00:00
Mattia Barbon
4995ca8037 Remove use of deprecated KeyCode accessor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 13:52:12 +00:00
Mattia Barbon
a43d5db22b Changes to be backported.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 21:02:16 +00:00
Mattia Barbon
77e00fe9da Do not use deprecated functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 21:00:50 +00:00
Mattia Barbon
0fccfc51e6 Fix linking problems with MSVC 5.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 20:57:16 +00:00
Mattia Barbon
1c1572053a Fix PCH problems with some versions of CodeWarrior.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 20:55:27 +00:00
Mattia Barbon
a29ee70613 If -1 is used for width/height, use best size.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 15:03:42 +00:00
Mattia Barbon
07157c53d0 Use checkbox if togglebutton not available.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 15:00:26 +00:00
Mattia Barbon
a969055e89 Removed unused, unimplemented and undocumented wxBitmapCheckBox stub.
Minur cleanup in wxCheckBox::Create.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 14:42:38 +00:00
Mattia Barbon
a4e64fb55e Documented wxMotif filedialog limitations WRT wildcard syntax.
Modified filedialog to either extract the wildcard (if only one wildcard
is present) or assert (if more than one is present).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 14:36:25 +00:00
Stefan Csomor
992c81e203 using the new alerts under OSX - no string255 limits anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 11:57:25 +00:00
Stefan Csomor
3d963f8137 added conversion function to CFStringRefs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 11:56:48 +00:00
Stefan Csomor
67e3d9d399 removed commented out snippets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 11:54:27 +00:00
Ron Lee
094e328c21 Changes resulting from the 2.4.0 release run.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 03:50:44 +00:00
Vadim Zeitlin
82c23bb595 removed TABs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 23:52:17 +00:00
Vadim Zeitlin
1ec5cbf3de removed wxLog::HasPendingMessages() (it can't be made to work correctly with wxLogChain); don't send the messages going to a log file to debug output under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 23:47:14 +00:00
Vadim Zeitlin
6dd16e4f26 removed style parameter from MSWCreate(), it is unneeded
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 23:27:17 +00:00
Vadim Zeitlin
29020b9048 use MSWCreateControl() instead of duplicating its code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 23:24:44 +00:00
Vadim Zeitlin
278c927dd9 removed style parameter from MSWCreateToolbar(), it is unneeded
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 23:23:49 +00:00
Vadim Zeitlin
eb199c515b removed CopyObject(), added copy ctor, corrected Dump()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 17:57:45 +00:00
Stefan Csomor
450a5bdd2d corrected type for text document (non standard save handler)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 17:57:05 +00:00
Stefan Csomor
738a6daa71 routing all apple events to the document manager instance if present, fully supporting launch by document double click, print by draging the document onto the printer icon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 17:56:24 +00:00
Stefan Csomor
72625f830b switching to safe yields, because we got into loops when handling print document apple events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 17:52:54 +00:00
Vadim Zeitlin
106844da7d moved assert for parent window not being a static box to common code where it should catch more cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 17:19:57 +00:00
Stefan Csomor
b8afeb4321 added code for respecting the creator & types when saving files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 16:24:01 +00:00
Stefan Csomor
521a2cb154 makefile important for setting the correct creator of the app
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 16:18:08 +00:00
Stefan Csomor
eb017efed9 Register Default Creators under wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 16:13:40 +00:00
Stefan Csomor
1f6189acd0 added custom icons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 16:12:32 +00:00
Stefan Csomor
e5940192b2 added custom icons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 14:44:51 +00:00
Stefan Csomor
95d43281c3 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 14:44:06 +00:00
Julian Smart
d95861551a Corrected DLL version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 13:25:20 +00:00
Julian Smart
c4f48f14f1 Fixed corrupt files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 11:38:51 +00:00
Gilles Depeyrot
f346733b72 library installation base name and wxMac resources file base name
must be identical in order for the resource file to be found


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-09 20:57:31 +00:00
Gilles Depeyrot
23f0f906a2 removed execcmn from list of files to compile in release target
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-09 06:44:57 +00:00
Václav Slavík
d1a9c82bd1 fixed ANSI/Unicode incompatibility of the cache (bug 663396)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-08 19:44:53 +00:00
Vadim Zeitlin
79f306d721 removed unneeded code which was inside #if 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-08 12:33:11 +00:00
Vadim Zeitlin
381adb7449 #undef LoadBitmap() too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-08 12:27:28 +00:00
Julian Smart
d11cd571c9 Fixed DSPs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-08 10:03:54 +00:00
Julian Smart
b1e635598d Applied cvsignore patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-08 10:01:33 +00:00
Julian Smart
0447ac8e64 Eliminated streams from scoredg.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-08 09:14:35 +00:00
Vadim Zeitlin
90b1d65f2f define true/false if the compiler doesn't have them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 22:29:59 +00:00
Mattia Barbon
038305d008 Left/right arrows were swapped.
Fix wxSP_WRAP handling.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 21:41:28 +00:00
Julian Smart
a12df58228 Corrected some typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 21:19:13 +00:00
Julian Smart
b4da152ea3 Removed old __WXWINE__ support (obsoleted by new __WINE__ symbol)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 18:11:53 +00:00
Julian Smart
eaa6418668 Removed redundant <search.h> inclusion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 16:49:22 +00:00
Mattia Barbon
3d8704720a Reverted accidental commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 15:17:40 +00:00
Mattia Barbon
1d390a62f9 Escape some _.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 15:15:41 +00:00
Václav Slavík
ddbfcced85 removed wxTLW cruft now that all ports have it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 15:03:56 +00:00
Julian Smart
5283098e13 Applied patch [ 662321 ] Port of wxWindows to Wine
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 13:49:08 +00:00
Ron Lee
12a3f2275c Deprecated wxSizer::Remove( wxWindow* ), s/Remove/Detach/ in most places.
Made wxSizer child list typesafe.  I've not added the wxList implicit
conversion kludge yet, let's see who complains first perhaps..

Deprecated wxSizer::{G,S}etOption in favour of {G,S}etProportion in line
with the parameter name change in the docs.

Added {G,S}etSpacer consistent with the accessors for windows/sizers.

Made all wxSizer index parameters size_t -- we support no sensible
interpretation for negative indexes in them.  Hopefully this will
cause no real problems, but code doing (eg. Remove( 0 )) will need
to change to use 0u to resolve the ambiguity with overloaded members.
This is probably a Good Thing though, ymmv.

s/FALSE/false/g ; s/TRUE/true/g ; s/wxASSERT/wxASSERT_MSG/g in sizer.{cpp,h}

Fixed (I hope) the brokenness in wxSizer::Show -- I have no code to test
this yet, so it's a blind change, but spacers should now be hidden correctly
instead of ignored, and it should be properly reversable over multiple
calls now too.

removed pointless private scoping around DECLARE_CLASS macros.

Replace 0's I added previously with NULL -- not like that will end the
email thread either..

Added Add( wxSizerItem * ) & co.  There are probably a couple of other
places we can usefully do something like this too.  Stopped short of
refactoring everything to raise some issues about sizer method recursion
on -dev.

Updated wxSizer docs some more, they are still incomplete but getting
better.

wrapped KeyCode in wxDEPRECATED, converted all (gtk build) instances
to GetKeyCode.  There may be a few left for other ports.

Fixed a couple of other random compile warnings along the way.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 10:22:07 +00:00
Vadim Zeitlin
db50ec5a50 workaround for not appearing vertical scrollbar in wxTE_RICH2 controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 01:10:03 +00:00
Vadim Zeitlin
29343d0492 made the #error message less self-contradictory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 23:13:13 +00:00
Vadim Zeitlin
5e2411ab49 fixed the return type of LoadIcon()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 22:46:53 +00:00
Gilles Depeyrot
b447a1a7bc corrected release target which included some include files in the build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 21:35:07 +00:00
David Webster
2f60dbe2e9 OS/2 updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 21:35:03 +00:00
David Webster
af30429f59 Remove ctl3d32.lib from make.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 21:33:35 +00:00
Julian Smart
9419379a37 Make it build in Unicode mode again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 21:12:15 +00:00
Mattia Barbon
0de6dfa701 Implemented wxToplevelWindowMotif. (forgot to commit)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 20:54:54 +00:00
Gilles Depeyrot
7563339557 corrected getting FSRef associated with the POSIX path in wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 19:38:18 +00:00
David Webster
0904e5e12a OS/2 patches missing from this version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 17:50:21 +00:00
David Webster
57ff8a875b no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 17:42:48 +00:00
Mattia Barbon
798a4529fe Implemented wxToplevelWindowMotif.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 16:36:23 +00:00
Mattia Barbon
f58d1d9978 Aparently someone modified templates/filelist.txt without committing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 16:32:39 +00:00
Gilles Depeyrot
79597b2a4a updated Project Builder project for MoreFilesX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 07:21:05 +00:00
Robert Roebling
bbd006c0ce Removed usage of GetInternalFont() from GTK 2.0. This
also removes any usage of GdkFont. I left the actual
    deprecated method so that the change can be bckported
    without binary incompatible changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-05 22:59:44 +00:00
Robert Roebling
60d85ccb3d Removed usage of GetInternalFont.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-05 22:57:45 +00:00
Robert Roebling
cba9ef7f73 Minor fix related to wxMiniFrame drawing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-05 22:56:57 +00:00
Robert Roebling
ba71852396 Corrected wxMiniFrame for GTK2 and removed its
use of GetInternalFont(). Somehow, the close
    button doesn't appear.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-05 22:55:38 +00:00
Vadim Zeitlin
8b39c006d8 #undef LoadIcon() too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-05 22:11:24 +00:00
Stefan Csomor
f1872c18e6 region calculation for windows with borders too small
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-05 18:25:27 +00:00
Vadim Zeitlin
7379599933 compilation warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-05 16:20:32 +00:00
Václav Slavík
48594fd2cd added my patches to the list of things to backport to 2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 23:51:46 +00:00
Václav Slavík
8166ab4343 added more robust wxTLW::ShowFullScreen implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 23:34:34 +00:00
Julian Smart
ad0e4b6691 Use nicer (swiss) font for default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 20:53:28 +00:00
Julian Smart
db0834fab8 A script for helping make RPMs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 20:31:11 +00:00
Václav Slavík
7071c92817 gcc has __attribute__((deprecated)) since version 3.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 13:29:36 +00:00
Julian Smart
17e7431567 Indicated in the source and on initialisation that this is an obsolete sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 11:04:39 +00:00
Mattia Barbon
e9e4acc519 Remove #ifdef __WXSTUBS__ from headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 09:22:53 +00:00
Robin Dunn
52d6f640e8 With the fix in gtk/font.cpp and switching to an wxplicit wxBOLD, it
should be okay to uncomment the code setting the label font.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 03:59:26 +00:00
Robin Dunn
cd9a673cd7 Ensure that the wxNativeFontInfo internal data is copied when the
wxFontRefData is.  This solves a wxGTK2 problem where the
PangoFontDescription pointer is copied by the default assignment
operator, in a binary compatible way .


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 03:51:13 +00:00
Vadim Zeitlin
6431e33a50 added polish translations from Janusz Piwowarski
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 01:54:14 +00:00
Ron Lee
55804c9363 more thinko tweaks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 00:12:50 +00:00
Ron Lee
deefd67952 Recommend python-xml for xrced.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 23:47:08 +00:00
Ron Lee
0ecfbbea12 Incorporate changes from 2.4 release.
Bump standards version.
Update overrides for 2.5
Disable generation of gtk-univ package.
Update wx-config manpage.
Add wxPython-tools manpage(s).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 22:51:42 +00:00
Ron Lee
6c99908c51 The exact version it was included doesn't appear to be documented
anywhere, but __attribute__ ((deprecated)) is empirically not
supported by gcc-2.95.4.  Best guess so far is 3.0 or 3.1 so I've
erred on the side of the former for now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 20:52:10 +00:00
Robin Dunn
f3030ba726 Disable putting selected text in the Primary Selection, since wxGTK is
currenlty clearing the Clipboard when you do this.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 19:03:01 +00:00
Julian Smart
df37f0c65c Added opengl32.lib glu32.lib to OpenGL samples VC++ project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 18:37:28 +00:00
Julian Smart
2188f34751 Added dialup to filelist.txt and wxUniv.dsp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 18:31:43 +00:00
Julian Smart
d89e39fcdc Added missing wx/frame.h inclusion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 15:24:56 +00:00
Julian Smart
12335fa6aa Clean up memory if have to exit early
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 14:59:07 +00:00
Julian Smart
c5f53eb8cb Added a note about 'make install'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 14:08:53 +00:00
Julian Smart
c3a6a2bc10 Only enable tooltips on WIN32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 13:40:43 +00:00
Julian Smart
c8f9a56b7c wxUSE_TOOLTIPs => 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 12:53:33 +00:00
Stefan Csomor
be0b002a3e made static box only a frame region in all calculations (otherwise the background would not be redrawn in all situations)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 12:29:16 +00:00
Julian Smart
d4e5272b3a Applied patch [ 652336 ] Add tooltip support to wxUniv on Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 12:14:59 +00:00
Julian Smart
df4a528177 Added glcanvas.cpp, tooltip.cpp, taskbar.cpp, wave.cpp to wxUniv/MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 12:01:01 +00:00
Stefan Csomor
2ac013b1a5 recommit after mac binary lapsus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 09:59:32 +00:00
Vadim Zeitlin
478d4ab7cf IsStandard() shouldn't return TRUE for formats >= wxDF_PRIVATE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 01:04:16 +00:00
Vadim Zeitlin
3e6562c110 argh, erased one extra line accidentally in the last commit -- restored
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:59:09 +00:00
Vadim Zeitlin
59018c74fe wx(Individual)LayoutConstraints may be copied
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:55:28 +00:00
Vadim Zeitlin
00e7a427a0 compilation fixes after applying DECLARE_NO_COPY_CLASS() patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:46:08 +00:00
Vadim Zeitlin
22f3361e1c use DECLARE_NO_COPY_CLASS() where applicable (patch 633384)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:38:11 +00:00
Vadim Zeitlin
0becd47010 support for using DIBs for wxBitmap implementation (patch 649866)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:28:56 +00:00
Vadim Zeitlin
f178ab7e82 use StretchBlt() if available (part of patch 649866)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:25:17 +00:00
Václav Slavík
c75274f93c added wxDEPRECATED
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 22:52:47 +00:00
Václav Slavík
b254d1fe03 mark wxImage's wxBitmap functions as deprecated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 22:49:50 +00:00
Vadim Zeitlin
802df2b744 documented wxDateSpan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 22:10:21 +00:00
Vadim Zeitlin
93401be962 added operator==() and !=() for wxDateSpan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 22:07:51 +00:00
Vadim Zeitlin
e1e1272f20 implemented support for column label alignment (closes 215870)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 21:29:21 +00:00
Vadim Zeitlin
9baf5184bd the file containing the list of things which can be backported to 2.4 branch later
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 21:00:28 +00:00
Vadim Zeitlin
caa20b1e31 added test for wxLIST_FORMAT_CENTRE/RIGHT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 21:00:17 +00:00
Vadim Zeitlin
6770762dd3 set wxListItem mask automatically to the correct value when a SetXXX() method is called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 20:59:40 +00:00
Vadim Zeitlin
df4ac4c7e9 fixed bug with wxTR_EDIT_LABELS not working with xwTR_MULTIPLE (bug 622089)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 20:21:41 +00:00
Vadim Zeitlin
d553ceb286 test InsertItems() trying to reproduce the bug 633150 -- but unsuccessfully
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 19:18:19 +00:00
Vadim Zeitlin
ea8e90b7ce show Univ prefix in wxWindows info dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 18:43:56 +00:00
Vadim Zeitlin
a562f4fbde removed a couple of obsolete functions from wxDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 18:39:32 +00:00
Stefan Csomor
47710b3b4f attempt to recommit , contained binary data for some reason
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 18:13:07 +00:00
Stefan Csomor
92629fa47b attempt to recommit , contained binary data for some reason
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 18:10:38 +00:00
Stefan Csomor
2beae4b5a5 easier angle conversion wx-mac , corrected elliptic arc which sometimes filled in the wrong direction, fixed rotated text under osx (OSX ignored hanging baseline attribute)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 16:30:53 +00:00
Stefan Csomor
f2d990adc1 corrected generation of all event members (client data) and implemented DoGetBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 09:37:52 +00:00
Vadim Zeitlin
047f39deb9 fixed wxMutexLocker ctor signature (patch 660549)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 01:00:17 +00:00
Vadim Zeitlin
0f66923e84 say that EVT_TEXT_ENTER requires wxTE_PROCESS_ENTER to be set (closes bug 659948)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 00:45:40 +00:00
Vadim Zeitlin
fa06b433fc fixed wxCaret::SetSize() (closes bug 659209)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 00:41:47 +00:00
Vadim Zeitlin
cd916794f0 made generic EmulateKeyPress() to work with Delete and BackSpace (closes bug 658409)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 00:07:13 +00:00
Vadim Zeitlin
fdd04d720f typo fix (closes bug 654197)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 23:39:07 +00:00
Vadim Zeitlin
e08bbf3708 added a test for check tbar buttons state
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 23:36:08 +00:00
Vadim Zeitlin
30e0e2518f tried to fix compilation with Watcom 11 (should fix the bug 651492)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 23:18:44 +00:00
Vadim Zeitlin
9112af3fd1 fix for HAVE_EXPLICIT for VC++ 6.0 (closes bug 651314)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 22:58:53 +00:00
Robin Dunn
65ca8c0b79 Changed wxLOG_Max to be a smaller (but still large) value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 22:50:02 +00:00
Vadim Zeitlin
e2ca995fa3 don't send CHECKLISTBOX_TOGGLE event when Check() is called (closes bug 651140)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 22:41:10 +00:00
Vadim Zeitlin
a8dade3e27 added IsEmpty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 22:09:41 +00:00
Vadim Zeitlin
3dabb1e51b added check/uncheck/toggle tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 22:09:14 +00:00
Vadim Zeitlin
bed5584e2a added wxControlWithItems docs, updated the others to refer to it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 22:08:11 +00:00
Gilles Depeyrot
0c98a14e54 use MoreFilesX instead of MoreFiles when building with Apple Developer Tools
added wxWindows version compatibility information to configuration summary


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 17:59:01 +00:00
Gilles Depeyrot
ec341c7e1f use MoreFilesX instead of MoreFiles when building with Apple Developer Tools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 17:55:21 +00:00
Gilles Depeyrot
2d4e4f802f use MoreFilesX instead of MoreFiles when building with Apple Developer Tools
improved wxGenericDirCtrl when building with Apple Developer Tools
improved wxDirData to correctly handle hidden directories


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 17:53:02 +00:00
Gilles Depeyrot
15126fa8c2 MoreFilesX 1.0.1: A collection of useful high-level File Manager routines which
use the HFS Plus APIs wherever possible.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 17:20:59 +00:00
Robin Dunn
edc738528a Added wxLog::Get/SetLogLevel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 05:16:07 +00:00
Robin Dunn
8eb70827f3 Fixed problem of FormatText causing both the formatted and unformatted
text to be displayed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-30 22:17:37 +00:00
Gilles Depeyrot
05159a2750 SourceForge patch #654210 to fix naming/numbering shared libs under OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-30 21:20:59 +00:00
Julian Smart
05ac7ac578 Corrected accidental pointer arithmetic in ClientToScreen and vice versa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-30 20:10:03 +00:00
Václav Slavík
fa2f5d3bc9 fixed encoding handling in ANSI mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-30 18:55:33 +00:00
Ron Lee
96fdbb60f1 Ok, so we don't need the extra bool at all, we can just zero the sizer
pointer in wxSizerItem.  :-)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-30 15:26:47 +00:00
Ron Lee
00976fe56b Add wxSizer::Detach so we can detach child sizers without deletion.
Updated wxSizer docs for this and a couple of other missing/outdated
things.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-30 13:02:15 +00:00
Vadim Zeitlin
41f0b62a32 fixed buffer overrun when reading CCITT group 4 compressed TIFF files (patch 646603)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-30 01:09:16 +00:00
Vadim Zeitlin
4fa47e5643 compilation warning fixes (patch 651719)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-30 01:00:49 +00:00
Mattia Barbon
e13f128877 Allow building in unicode mode with just "make -f makefile.g95 UNICODE=1"
without requiring setup.h modifications.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 19:37:10 +00:00
Mattia Barbon
9a718b8623 Small updates:
corrected some URLS, used correct/current capitalisation for MinGW and
Cygwin, plus some minor clarifications.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 19:32:06 +00:00
Julian Smart
916095ba21 Tweaked the wording slightly for VC++ 5 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 18:46:16 +00:00
Ron Lee
a8853c78ed Oops, don't cut and paste between ports, and do test compile both states
of a macro guard...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 15:45:35 +00:00
Mattia Barbon
b9ecc16a80 LessTif 0.93 does not hang in wxWindow::ChangeFont as 0.87 did:
enable chainging window font again.
  Set/reset MappedWhenManaged flag when showing/hiding a window, otherwise,
since some common operations (moving, adding items to a listbox, ...) do
a Unmanage-Manage pair, calling Hide and then (for example) SetSize would
show the window again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 07:59:02 +00:00
Mattia Barbon
17fe68bd23 Small correction: add WINDOWSLDLIBS when linking an executable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 07:54:16 +00:00
Ron Lee
99006e446e Added wxTreeCtrl::GetItemParent to deprecate GetParent.
Moved GetParent into WX_COMPAT_2_2 and exposed base GetParent in
that case too.

Replaced all lib/sample uses of wxTC::GetParent with GetItemParent.

Updated docs to suit.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 07:48:21 +00:00
Vadim Zeitlin
01a4679360 fixed wxALL_FILES definition in Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 01:38:49 +00:00
Julian Smart
0222a60b34 Use path separator, not "/"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-28 22:58:12 +00:00
Mattia Barbon
2dcb5b11f4 Allow using tmake from places other than the current directory.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-28 20:49:49 +00:00
Mattia Barbon
f657dbe781 Allow building Win32 DLL with wxGlCanvas using MinGW + configure.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-28 20:46:30 +00:00
Julian Smart
52ee226853 Updated some scripts
Small corrections to wxScrolledWindow doc


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-28 18:42:23 +00:00
Julian Smart
f54b065ea7 Fixed compilation by removing stream inclusion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-28 18:36:25 +00:00
Mattia Barbon
0a3451df8a Updated Svedish translation from Jonas Rydberg.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 22:24:23 +00:00
Mattia Barbon
3880dd5161 Fix Cygwin + makefile.g95 + wxUSE_PROLOGIO=0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 22:07:46 +00:00
Mattia Barbon
78e376b56f Applied patch [ 652491 ] Update makefiles for mingw
from Greg Chicares, with some small modifications.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 21:58:36 +00:00
Mattia Barbon
17ebae657e Use wxWcslen instead of wcslen.
Work around a compiler bug: with (at least) GCC 2.95.3-5 under Cygwin,
the destructor for the global s_fileInfo is called twice (!). This does
hot happen if a function returning a reference to a static variable is
used.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 21:39:58 +00:00
Robin Dunn
91f580b235 Fix for potential divide by zero error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 21:16:16 +00:00
Mattia Barbon
762e199741 wxPerl notes for DocView.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 18:30:48 +00:00
Julian Smart
5f133dc1bb Applied patch [ 657501 ] SpinButton wraps 1 too much
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 15:21:34 +00:00
Julian Smart
16990160f6 Applied patch [ 658174 ] Adds wxT() and char->wxChar conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 15:15:29 +00:00
Julian Smart
22f2279860 Applied patch [ 658505 ] Updates documentation for wxTimeSpan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 15:12:38 +00:00
Julian Smart
657c88188f Applied patch [ 657515 ] Widgets sample notebook out of range
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 15:02:48 +00:00
Julian Smart
317246dfcb Applied patch [ 658786 ] Removes unresolved symbols from strconv (wxUniv/MSW)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 14:59:35 +00:00
Julian Smart
f9eee2db81 Applied patch [ 657969 ] Removes #if wxUSE_VALIDATORS code
for wxOS2


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 14:52:14 +00:00
Julian Smart
8251c0d6ac Added a necessary pixel to height if wxTB_NODIVIDER is specified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 14:40:52 +00:00
Julian Smart
d07ce169a8 Fixed bug [ 657949 ] Segmentation fault in ~wxFileHistory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 14:25:59 +00:00
Julian Smart
0156594543 Improved SetScrollbars fix using client size and max of window and virtual
sizes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 14:17:55 +00:00
Václav Slavík
85452d7496 fixed XRCID() lookup of numeric control IDs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-26 23:36:34 +00:00
Robin Dunn
ba5da12f72 Use WXDLLEXPORT_DATA for wx*NameStr's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-26 19:16:49 +00:00
Václav Slavík
4249ec2c52 1) fixed compilation of wxBitmap, wxIcon toplevel nodes
(to be backported into 2.4.1)
2) fixed wxrc when using -o dirname/filename


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-25 15:23:44 +00:00
Mattia Barbon
99ab3e3f56 Use wxClientDataDictionary for client data.
Factored out common code into wxSizeKeeper.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-24 18:41:42 +00:00
Mattia Barbon
c13c9657a4 Use wxXmString instead of XmString.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-24 18:37:10 +00:00
Julian Smart
8a653baab6 Reverted cross-compile patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-24 09:51:45 +00:00
Julian Smart
d0604192a5 Don't pass zero width or height to SetVirtualSize or layout is
messed up.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-23 23:42:13 +00:00
Vadim Zeitlin
4b4381cb84 minifram.cpp is a low level file under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-23 21:29:44 +00:00
Ron Lee
6d407f1953 Typo fix (as reported to Debian bts).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-23 21:20:54 +00:00
Julian Smart
8d1e36f7e3 Don't send explicit update event if single line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-23 13:18:28 +00:00
Julian Smart
c90c201ab3 Applied cross-compile patch from Stephen Crowley
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-23 13:00:17 +00:00
Julian Smart
441582ddd8 Added *.ani to image sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-23 11:17:28 +00:00
Mattia Barbon
aff23fcd97 Unicode compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-22 20:14:18 +00:00
Mattia Barbon
f37c24e078 Unicode compilation fixes.
wxpoem now compiles with default settings (making it compilable with
Unicode is a lost cause).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-22 19:57:17 +00:00
Julian Smart
a55e5190c7 FL event fix from Hans
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-22 12:17:57 +00:00
Julian Smart
45747ae371 Applied patch [ 657445 ] Contrib FL lib doesn't build with wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-22 11:03:31 +00:00
Vadim Zeitlin
b74cce40fd handle accel keys for owner drawn menu items (based on the patch 657105)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-21 15:01:21 +00:00
Vadim Zeitlin
46a5e01e86 use SS_CENTERIMAGE to prevent wxStaticBitmap from stretching its bitmap; also a face lift for control creation code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-21 14:35:18 +00:00
Vadim Zeitlin
168954a1d1 fixed memory leak (patch 655899)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-21 14:32:55 +00:00
Vadim Zeitlin
894c8f3ef2 fixed a typo in cygwin make install
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-21 13:41:02 +00:00
Václav Slavík
5dac8a3b0e fixed 2 encoding handling bugs in XRC/wxrcedit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-21 13:35:13 +00:00
Václav Slavík
437bd21582 WX_XMLRES_CURRENT_VERSION_STRING wasn't Unicode safe
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-21 00:21:23 +00:00
Václav Slavík
6267a331cb 1) added wxFrame support to wxrcedit
2) fixes to wxrcedit so that generated files are compatible with new XRC
(both in patch #648659)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-21 00:20:35 +00:00
Julian Smart
fc9a9b2ab2 Do -> Redo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-20 11:15:05 +00:00
Julian Smart
d863ed8333 Cleaned up SetMenuStrings, factoring out redo and undo label accessors at the same time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-20 10:15:06 +00:00
Vadim Zeitlin
f9becb8622 install the headers under wx/msw/gnuwin32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-20 00:23:16 +00:00
Vadim Zeitlin
98e19a5863 fixed SetSelection() (and hence SetInsertionPoint()) behaviour when using richedit 3.0 with wxTE_RICH2 style and the control doesn't have focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-20 00:18:35 +00:00
Julian Smart
c76b1a30fa Fixed a problem with borders being set wrong sometimes on wxMSW, XP, VC++ 7
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 23:13:53 +00:00
Václav Slavík
5f265f87d9 we don't really have to use variable instead of constant...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 22:15:45 +00:00
Julian Smart
e39081afef Don't build IPC version of HelpView on Mac Classic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 20:02:27 +00:00
Julian Smart
0bc836492e Added missing fldef.h to makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 12:21:25 +00:00
Julian Smart
192a9bf10f Apply table border fix to all ports.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 10:24:05 +00:00
Mattia Barbon
643e16ac3b Fix wxSingleChoiceDialog under wxMotif.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 09:56:03 +00:00
Julian Smart
76985f52b2 Fix border for wxGTK too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 09:54:47 +00:00
Ron Lee
8155b6405f Update packaging for 2.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 09:16:10 +00:00
Julian Smart
d840aae3ae Reinstated the cell border fix (wxMSW)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 07:47:06 +00:00
Václav Slavík
94bc8b14d4 simpler fix for rendering bug fixed in previous revision
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 23:32:22 +00:00
Julian Smart
75c116ab2c Applied patch [ 649599 ] Fixes bug 610850: Inserting a menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 21:23:25 +00:00
Vadim Zeitlin
0cde01aedc removed extra (non existing) Prepend() parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 19:09:18 +00:00
Julian Smart
2f9a4d0e30 Fixed cell visibility test that was causing refresh glitches
in tables (since these were large enough cells to break the
original test)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 18:17:40 +00:00
Václav Slavík
b4eecb7e2f disable version-script on Solaris, it doesn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 13:54:10 +00:00
Julian Smart
b819b854dd Fixed cell paint background refresh bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 12:53:49 +00:00
Julian Smart
e01893d4ca Added $(EXTRADLLFLAGS) to CFLAGS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 08:33:27 +00:00
Robin Dunn
9e05364039 More unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 06:24:15 +00:00
Vadim Zeitlin
bfedf6212c reset virtual root to NULL in DeleteAllItems()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 23:22:38 +00:00
Julian Smart
968bed8c37 Fixed [ 652512 ] wxPaintDC::FindInCache bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 23:21:17 +00:00
Julian Smart
cd501207cf Applied patch [ 654877 ] Missing == != methods in wxRect2DInt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 23:02:24 +00:00
Julian Smart
0fa2e104c5 Partially applied [ 632321 ] XRC object_ref fix
1. Fix object_ref so it at least works, with this I mean
XRC was not even handling the little sample in
tn0014.txt correct.

Hans Van Leemputten (hansvl)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 22:52:48 +00:00
Julian Smart
d1859a1fc1 Added wxUniv project file for dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 22:28:42 +00:00
Julian Smart
ba7fe276d4 Doc corrections
filelist.txt correction and filedlgg.cpp inclusion for wxUniv/MSW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 22:22:19 +00:00
Robin Dunn
4a69b0600a Added missing #if wxUSE_WAVE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 21:26:21 +00:00
Robin Dunn
18976605f5 Fixed possibility of releasing mouse if the window no longer had it captured
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 20:57:55 +00:00
Vadim Zeitlin
90aaa86507 free argv in Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 19:52:06 +00:00
Vadim Zeitlin
d47f8a6ec0 unicode compilation fix for wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 19:49:48 +00:00
Julian Smart
111c1e2c20 Committed Stefan's temporary fix for crashing in Mac Classic.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 17:25:33 +00:00
Julian Smart
fbb2b01c2c Missing semicolon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 11:51:29 +00:00
Julian Smart
2243113487 Further improvements to MFC sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 11:18:09 +00:00
Julian Smart
4cd513abbc MFC sample now works properly; WinMain not defined in wxMSW
if wxUSE_MFC is defined.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 10:52:10 +00:00
Robin Dunn
55b7aaea10 Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 01:36:47 +00:00
Robin Dunn
5bab6390a9 fixed copy/paste error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 23:08:31 +00:00
Robin Dunn
fdec65df6d Misc wxSTC fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 22:35:12 +00:00
Robin Dunn
b829bf55a0 Give wxSafeYield an onlyIfNeeded parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 21:58:36 +00:00
Mattia Barbon
8325937efa Last samples/Unicode fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 20:25:28 +00:00
Julian Smart
1bd71df911 Fixed missing checkbox alignment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 12:34:06 +00:00
Julian Smart
3d2814f3c3 Updated change log
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 11:11:01 +00:00
Julian Smart
5c8756b04c Applied patch [ 651713 ] changes to convertrc
David J. Cooke (davidjcooke)

amendments to convertrc: add support for
CONTROL... syntax for static, edit, combobox,
buttons, but NOT scrollbar; add support for
embedded quotes in stringtable; other minor changes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 11:03:05 +00:00
Julian Smart
7d1dcec23a Applied [ 652962 ] wxProgressDialog::Show(FALSE) bug
This fixes the problem where the application windows
were not being enabled prior to the progress dialog
being hidden in the situation where wxPD_AUTO_HIDE
was not used or was used but the end count was never
reached. This causes random applications to be
activated and brought to the front on Windows.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 10:57:48 +00:00
Julian Smart
e5d94b6381 Applied part of patch [ 652965 ] Enables toolbar simple in wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 10:50:49 +00:00
Julian Smart
ea5ef76f07 Applied patch [ 652894 ] Checklistbox doesn't need owner draw
Updated wxUniv readme about setup[0].h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 10:45:09 +00:00
Julian Smart
c4c3659cf2 Copy wxUniv setup0.h to setup.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 10:36:17 +00:00
Julian Smart
62e819ee45 Removed redundant wxUniv setup.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 10:29:03 +00:00
Julian Smart
aab49a0b6a Applied patch [ 654023 ] Enables HtmlHelp (native)
Also fixed the bad event table in helpfrm.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 10:22:08 +00:00
Julian Smart
37d81cc2e2 Applied [ 654253 ] wxGTK: fix to wxGetMousePosition()
wxGetMousePosition() returns -999, -999 when the mouse
pointer is not over a GTK window. This is apparently
because it uses the current window as a handle to get
to the X display. This is not necessary, however;
GDK_DISPLAY() can be used. With
this patch wxGetMousePosition() works regardless of
where on the screen the mouse is.

Jay Berkenbilt (jay_berkenbilt) modified by JACS


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 09:44:35 +00:00
Vadim Zeitlin
d775acfa77 use system zlib under Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-15 22:50:42 +00:00
Vadim Zeitlin
34bed6d9ec changed version to 2.5.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-15 22:37:56 +00:00
Vadim Zeitlin
7baf4bdbb6 misc gcc compilation warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-15 22:30:49 +00:00
Vadim Zeitlin
14ac4f3c54 printf() format warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-15 22:25:13 +00:00
Julian Smart
d0200d9eff Added Mac Classic fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-15 21:56:53 +00:00
Vadim Zeitlin
1383482892 send an extra kill focus event when we're deactivated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-15 18:17:15 +00:00
Mattia Barbon
600683ca05 Fixed all remaining samples/Unicode compilation errors.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-15 17:25:36 +00:00
Václav Slavík
ee682a94cb _really_ fixed translation messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-15 12:38:15 +00:00
Mattia Barbon
42ed75321c More samples/Unicode fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-15 10:23:11 +00:00
Gilles Depeyrot
7cf4f7e21f fix FindMenu broken by implementation of double ampersands in menu and menu
item titles (finding "&File" was no longer working)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 21:44:48 +00:00
Václav Slavík
7e99eddf64 don't translate strings when it doesn't make any sense
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 21:26:22 +00:00
Václav Slavík
a949e8fac2 removed extremely user-unfriendly translations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 21:16:58 +00:00
Václav Slavík
59da340790 updated Czech translation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 21:16:41 +00:00
Václav Slavík
118cc185eb fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 21:16:27 +00:00
Gilles Depeyrot
f6d90fb9ce added commands to search for menus and menu items by label
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 21:12:47 +00:00
Mattia Barbon
ab1ca7b3dd More samples/Unicode fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 18:13:27 +00:00
Mattia Barbon
3996031094 Fixed compilation of some more samples in Unicode mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 14:23:10 +00:00
Mattia Barbon
196f463f62 Fixed missing reference to wxTreeCtrlnameStr when linking treectrl sample
by adding #include "wx/treectrl.h" to data.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 14:16:14 +00:00
Vadim Zeitlin
2c0a4e08a3 fixed VC++ warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 12:18:49 +00:00
Vadim Zeitlin
0441833277 fixed Unicode compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 12:15:03 +00:00
Julian Smart
b657b4c986 Added missing SetOrientation accessor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 09:29:02 +00:00
Václav Slavík
a3671ac092 updated message catalogs from sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 23:53:18 +00:00
Václav Slavík
c742a6ae90 removed a forgotten relict of past: xmlbin format extension still used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 23:50:28 +00:00
Václav Slavík
008a56c968 even more fixes to last-minute wxFileSystem mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 23:50:15 +00:00
Václav Slavík
7a8b9bd950 fixed wxFilesystem docs bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 23:50:04 +00:00
Václav Slavík
4d144d07e7 documented FileNameToURL and URLToFileName
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 23:49:19 +00:00
Mattia Barbon
b951c85fec Add WXDLLEXPORT to friend declaration for GCC 3.2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 21:35:15 +00:00
Mattia Barbon
9f84eccdea Make some of the samples compile in Unicode mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 21:33:14 +00:00
Mattia Barbon
c17ba76f38 Unicode compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 21:28:26 +00:00
Chris Elliott
a2638e741d fix visual c bugs for wxUNIVRERSAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 12:21:19 +00:00
Jouk Jansen
09f8c2a029 Committing in .
Updated OpenVMS compile support

 Modified Files:
 	wxWindows/setup.h_vms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 07:03:47 +00:00
Chris Elliott
e0d8e433c1 fix for cygwin WXDLLEXPORT bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-12 12:06:07 +00:00
Chris Elliott
099d4217df fix for wxUniversal on win32 platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-11 15:10:23 +00:00
Julian Smart
fbb1226068 Applied patch [ 651287 ] adds missing wxTreeCtrl::GetEditControl
This patch implements a missing member in the generic
version of the wxTreeCtrl. The GetEditControl member is
currently not implemented in the generic tree control
used by wxGTK. This patch implements the feature by

1. adding a pointer to the wxTextTreeControl as a
member (m_textCtrl) of the wxGenericTreeCtrl class
2. making sure pointer was initialized to 0
3. using the member variable instead of the stack
variable in the wxGenericTreeCtrl::Edit member
4. making sure the new wxGenericTreeCtrl class
member is set to 0 when the control is set up for
deletion in Finish by calling a new protected member
(ResetTextControl) of the wxGenericTreeCtrl class.

These modification were discussed on the wx-dev list
under the "wxGTK - wxTreeCtrl::GetEditControl status?"
subject.

I have tested, but I certainly welcome comments and
further testing.

Pete Stieber


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-11 09:08:46 +00:00
Julian Smart
03d1ae1799 Applied patch [ 651649 ] Scrollbar not updated without resizing
I always wondered why the scrollbar of the listbox or
the log window (textctrl) never showed a thumb in the
control sample while the combobox does. The
AdjustScrollbars gets called through a size event and
this happens before the listbox (textctrl) can set the
values for the scrollbar. So always an empty scrollbar
is shown. This patch calls AdjustScrollbars at the end
of SetScrollbars in scrlwing.cpp.

I'm not sure if this is the best fix but it works
nicely. I've only tested it with wxUniv but it should
be okay in any generic case.

(applied for __WXUNIVERSAL__ only for now -- JACS)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 21:50:11 +00:00
Julian Smart
f0e1c34310 Applied patch [ 651383 ] Removes 3 warnings when building w/ CW6
Dimitri Schoolwerth


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 21:44:08 +00:00
Julian Smart
dda4f6c089 Applied patch [ 651640 ] Toolbar sizing fix
This patch fixes the problem discussed on wx-dev
mailing list. (Message title "wxUniversal: How is the
parent notified when a child changes its size")

In short:
- This patch makes sure the toolbar notifies the parent of
any size change, this will give the parent the opportunity
to resize the frame client size and to make sure the
toolbar is in the right place.

Hans Van Leemputten


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 21:41:31 +00:00
Mattia Barbon
5e66eee143 "cd utils; make" should not try to compile dialoged unless
wxUSE_RESOURCES=yes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 21:30:28 +00:00
Mattia Barbon
9ec5e01204 Remove unused g295.t; g95.t works with any GCC from 2.95.2 to 3.2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 21:25:54 +00:00
Julian Smart
66525ca43b Applied another Marco patch (5)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 17:02:37 +00:00
Julian Smart
0a9f0ef7d0 FromString should not fail on wxMac if facename empty.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 16:10:02 +00:00
Vadim Zeitlin
84023968e5 corrected wxCommandProcessor ctor docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 14:09:38 +00:00
Julian Smart
368c9c6d84 Applied some of patch [ 650957 ] wxWinCE diff-0.0.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 12:13:25 +00:00
Julian Smart
c8c29c490b Ignore DOS drive spec in GetRightLocation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 09:48:00 +00:00
Vadim Zeitlin
07243717e2 tried to clean strdup() mess: we now have wxStrdup[AW] which should be always available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 00:43:28 +00:00
Julian Smart
2a5d3f5738 Fixed the beggar good and proper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 21:45:36 +00:00
Václav Slavík
f3d3a0e751 forgot to add wxHtmlHelpController::AddBook(wxFileName) to the headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 21:05:56 +00:00
Václav Slavík
1de1d24e96 removed XPM handler from wxImage's standard handlers, let's see if it does any harm
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 21:03:25 +00:00
Julian Smart
9d683b445c Removed duplicate art handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 18:27:10 +00:00
Mattia Barbon
2d6c58d653 The size_type typedef must be public.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 18:08:12 +00:00
Mattia Barbon
27635a90c7 Only build HelpGen in wxBase, since it will #error (this will maybe fix
some tinderboxes...).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 18:06:31 +00:00
Vadim Zeitlin
d7f6918abd removed garbage pixels from the icon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 16:43:57 +00:00
Vadim Zeitlin
7e1525b2e7 fixed warning about unused var
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 16:42:27 +00:00
Vadim Zeitlin
7bb8798ce7 fixed annoying beep when pressing space/return in the tree
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 16:41:04 +00:00
Julian Smart
dba06cd016 Convert filename to URL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 15:52:29 +00:00
Julian Smart
8ad944dcbc Should only add // under MSW -- not on Unix, not on Mac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 15:42:10 +00:00
Chris Elliott
969096ef37 fix bug with treectrl sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 15:26:28 +00:00
Julian Smart
76c451b8c1 Added horse3.ani
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 15:10:14 +00:00
Julian Smart
43b8a532e0 Ifdefed m_server
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 14:44:06 +00:00
Julian Smart
3434b611aa Reverted the _n__ fix for now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 14:35:09 +00:00
Julian Smart
1e702ab351 The wxMAKE_UNIQUE_ASSERT_NAME fix for VC++ does not work for MetroWerks CW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 14:20:06 +00:00
Julian Smart
678b263756 Applied patch [ 632115 ] Fixed internationalization on tooltips
wxMac's wxTooltip assumed that text was always PC encoded,
and always converted the string using
wxMacMakeMacStringFromPC(). This worked fine for English
characters, but multi-byte encoded languages such as Japanese
(SJIS) because garbled. I've added a check for
"wxApp::s_macDefaultEncodingIsPC" before performing the
conversion similar to other controls.

Nilesh Agarwalla


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 11:22:43 +00:00
Julian Smart
73145b0ed1 Applied patches by Scott Pleiter:
[ 643866 ] small wxGrid API changes

adds GetValue to the gridcelleditors to facilitate
querying values from the editors, also changes several
methods to virtuals to simplify inheritance.

[ 643867 ] wxGrid cell LNF & behaviour patch

Enables the grid to render its cells grey when the grid
control is disabled. Also fixes several problems when
making the gridcelleditors visible. Improves the layout
of multi-line row/column labels. Changes the CellEditor
show from a MOUSE_DOWN to a MOUSE_UP, this
stops the editor starting when creating a selection
beginging in the currently selected cell.

[ 643868 ] wxGrid rendering tweaks, improves look.

Draw the row/column using system colours. Change the
default wxGrid settings to have a more neutral starting
point - grey lines, non-bold label font, black/white
selection etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 11:14:04 +00:00
Julian Smart
552a0ebdb2 Small WinCE mods from Marco
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 11:01:50 +00:00
Julian Smart
247ef58d1a Added script to convert project files to DOS format.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 10:57:30 +00:00
Julian Smart
9c136858af Applied patch [ 649284 ] Fix wxODBC to work with MySQL 2.x
The current sample/db fails to build indexes with
MyODBC v2.50.39

This is due to two problems:

(1) wxDb::ModifyColumn() created a SQL statement that
was not correctly formed for MySQL. This problem
caused wxDbTable::CreateIndex() to fail to set the
columns that are going to indexes to be NOT NULL. I
fixed this by added a special case for MySQL.

(2) When creating an Index on a VARCHAR column,
MySQL requires a key length to be specified.
wxDbTable::CreateIndex() current does not do this. I
fixed this problem by adding code to do this.

The attached patch file patches dbtable.cpp and db.cpp
on the 2.5 branch.

gor Mikolic-Torreira


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 10:50:14 +00:00
Julian Smart
df41317113 Applied patch [ 649590 ] fixes bug 611264: wxFileDialog entry
In bug 611264 I reported that typing a filename into a
multiple selection file dialog failed. The file
returned was "..".

I discovered that this was because the previous
directory folder came up automatically selected when
the dialog was created. Then, I discovered a related
bug. If any file or folder was selected, then that was
the file which was returned regardless of what was
typed in.

To fix the problem I added an EVT_TEXT handler which
deselects everything that is selected when the user
types. The handler does not deselect anything unless
the user actually types something.

This patch implements the fix.

John Skiff


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 10:44:13 +00:00
Julian Smart
84cff96585 Applied patch [ 642174 ] Stop TOOL_WINDOWS stealing focus
When frames with the wxFRAME_TOOL_WINDOW
style ( i.e. a floating toolbar frame) is shown it is
activated, taking focus from the main application
window. This patch stops frames with the
wxFRAME_TOOL_WINDOW from being activated when
shown.

Scott Pleiter


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 10:31:17 +00:00
Julian Smart
48aa18c000 Applied patch [ 650078 ] Add better checking to wxComboBox
This patch adds extra checks, checks to see and report
if the provided item index is valid.

An other thing:
- IMHO wxComboBox::GetSelection() was wrong, I
corrected this (now it behaves the same as wxMSW,
don't know about wxGTK and others...).

Hans Van Leemputten (hansvl)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 10:26:21 +00:00
Julian Smart
635eb8bcc4 Applied patch [ 648042 ] Erase background error
When erasing the background with a transparent
background the logical origin of the provided DC is (re)
set, but not restored to the old value. Restoring the old
value is needed because the DC is/can be shared with
the real draw code...

This patch solves problems like mentioned in bug report
#635217 and problems like controls (like radio controls
etc) that disappear when moving the mouse over them or
clicking on them...

Hans Van Leemputten


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 10:20:44 +00:00
Julian Smart
2a2a71e326 Applied patch [ 642172 ] Fix menu accelerators in ownerdrw
Fixed bug when updating menu text to inform the
ownerdrw code of the new menu accelerator attached to
the menu item.
Improved the layout of the owenerdrw menu ownerdrw to
correctly account for menu accelerators, submenu
arrows etc.

Scott Pleiter

(Note from JACS: I've also changed the sample to show the Quit item
correctly aligned; it needs to have the font set before wxWin knows
it's an ownerdrawn item.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 10:15:00 +00:00
Julian Smart
1d30a0a132 Applied patch [ 642162 ] restore wxWizard wxEVT_WIZARD_FINISHED
Restore the wxWizard wxEVT_WIZARD_FINISHED
event, which was sent when the FINISHED button was
pressed and the wizard was finished. When the
wxWizard is modal this event is not needed. However,
when the wizard is non-modal this is the only way to
determine that the wizard has finished.

Scott Pleiter


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:46:16 +00:00
Julian Smart
7a0363dd04 Applied patch [ 642157 ] [MSW] HMENU resource leak from wxMenuBar
Latest CVS - When a wxMenuBar is detached
from a frame and deleted the HMENU resource leaks.
This patch fixes the leak.

Scott Pleiter


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:29:00 +00:00
Julian Smart
fc7c8ae9c3 Applied [ 639060 ] Individual bar floating in contrib/fl
In the current contrib/fl implementation, all control bars
in the frame layout either float or they don't. I added
code to allow the bar floating to be determined on a bar-
by-bar basis. That is, this patch enables some control
bars to float while keeping others locked.

Kevin Yochum


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:21:23 +00:00
Julian Smart
5c6bd4a957 Added missing AddBook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:15:22 +00:00
Julian Smart
77416abdc5 Applied patch [ 638561 ] Allow SetFont(wxNullFont) in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:14:39 +00:00
Vadim Zeitlin
ce788ad93a fixed Get/SetString() prototypes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 00:14:51 +00:00
Vadim Zeitlin
ecb7e58c24 fixed a typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 00:06:20 +00:00
Vadim Zeitlin
8def689d42 replaced wxItem_Xxx with wxITEM_XXX as they should be
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 00:05:29 +00:00
Julian Smart
1b489359c4 Applied patch [ 637982 ] wxComboBox needs margin
wxComboBox doesn't have a margin between the text and
the dropdown button when the default size is used.
Since wxTextctrl currently returns a rather long minmal
size, this error is only visible if a long text (around
20 chars) is used. This patch introduces a margin
(analog wxSpinctrl).

Otto Wyss


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 21:43:43 +00:00
Václav Slavík
11d667e7eb use AddBook(wxFileName)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 20:30:56 +00:00
Václav Slavík
fcf77487ed added wxHtmlHelpController::AddBook(wxFileName)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 20:30:42 +00:00
Václav Slavík
cc37ecaf2d fixed tex2rtf error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 20:30:02 +00:00
Václav Slavík
9548c49a6a modifications to URL<->filename conversion: take wxFileName, rename
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 20:28:12 +00:00
Mattia Barbon
ec75d791f0 Refactored & cleaned up wxChoice & wxComboBox code, fixed client data
handling, implemented wxControlWIthItems' methods correctly, fixed a
couple of other bugs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 18:48:05 +00:00
Mattia Barbon
21b273736b Added wxClientDataDictionary, used (in wxMotif ATM) to maintain the
association between wxControlWithItems' items and their client data.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 18:43:45 +00:00
Mattia Barbon
5fd588d229 Replaced int with size_t where appropriate, added WXDLLEXPORT, corrected
a bug in RemoveAt.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 18:38:46 +00:00
Robert Roebling
df135f2b4d Catching dclick event from a spinbutton or spin control
crashes GTK 1.2 sooner or later. Just disable this
    event for now. Should also be in 2.4, actually.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 18:02:30 +00:00
Roger Gammans
cdbecb3946 Documentation for wxDbGrid from patch 638274
Updates with the aim of improving readability.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 16:10:50 +00:00
Roger Gammans
f24badde9a new member functio of wxDbColInfo to allow two step creation , to be
descibed in the docs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 16:04:36 +00:00
Václav Slavík
69a8b5b457 Fixed EVT_TREE_SEL_CHANGED and _CHANGING under MSLU (patch 631815)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 13:23:03 +00:00
Václav Slavík
e77d4369de XRC assigns ID to wxStaticBox created by including wxStaticBoxSizer (did what patch 632470 was supposed to do)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 13:22:00 +00:00
Václav Slavík
3acd4349a5 Unicode compilation fixes for treectrl sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 13:21:33 +00:00
Václav Slavík
64e9f56b80 fixed Vadim's removal of XPM handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 13:20:49 +00:00
Vadim Zeitlin
39bc7d8020 don't add XPM handler in wxInitAllImageHandlers() because it had been already edited in wxImage::nitStandardHandlers()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 00:57:53 +00:00
Vadim Zeitlin
53c9228ead always declare wxAppInitializerFunction() as returning wxApp, whether we use gcc or not
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 23:58:13 +00:00
Julian Smart
3ddcf967d6 Committed vcw files also
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 16:08:47 +00:00
Julian Smart
6d613d8d4a Converted wxBase also
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 16:05:40 +00:00
Robert Roebling
0e0126c220 Various compile fixes for WinCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 15:41:13 +00:00
Stefan Neis
694f2f3cc7 Version number changes.
Added information on how to circumvent make's problems with auto-generated
        .d files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 15:37:00 +00:00
Julian Smart
1b6f93fcfe Corrected line endings, deps now relative
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 15:31:02 +00:00
Robert Roebling
2e8e834c0a Added simplistic makefile/project files for wxWinCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 12:38:11 +00:00
Robert Roebling
158b668823 Platform define for wxWinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 12:36:03 +00:00
Julian Smart
7912e6332f Correction to path/URL code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 09:18:44 +00:00
Vadim Zeitlin
dac7d53a83 added semicolons after HASH_MAP macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 02:28:02 +00:00
Vadim Zeitlin
d86939c4c9 removed trailing semicolons at the end of HASH_MAP macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 01:30:47 +00:00
Vadim Zeitlin
5d3f766d26 test that libpng version is > 0.90
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 01:26:21 +00:00
Vadim Zeitlin
136d4499d5 minor visual corrections to renderers (patch 649847)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 01:07:35 +00:00
Vadim Zeitlin
e622dd68c2 fix for wxGetEnv() under Win16 (!) (bug 645368)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 00:58:11 +00:00
Vadim Zeitlin
859e25d4ad suppress warnings when compiling libtiff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 00:43:48 +00:00
Vadim Zeitlin
3993765614 added trivial test for wxTextInputStream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 00:31:56 +00:00
Vadim Zeitlin
d2ec53ea4a fix (?) for small menu item bitmaps (bug 635438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 00:05:03 +00:00
Vadim Zeitlin
6eccc0c485 fixed 3 infinite loops -- the person who tested this code must have had a lot of patience (bug 645761)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 23:55:55 +00:00
Vadim Zeitlin
de628f984b fixed bug in wxSemaphore::WaitTimeout() which was calling the wrong wxCondition::Wait() (bug 642226 and patch 648859)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 23:47:34 +00:00
Vadim Zeitlin
2c62b3c3a1 corrected a too eager error message (patch 648599)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 23:42:16 +00:00
Vadim Zeitlin
285013b384 avoid flicker when doing SetItem() in non report mode (slightly extended patch 647970)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 23:40:11 +00:00
Vadim Zeitlin
c1eb1102aa generate spinctrl event when the button was clicked (slightly modified patch 648013)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 23:36:01 +00:00
Vadim Zeitlin
801a492c49 Append() returns int, not void
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 23:27:29 +00:00
Vadim Zeitlin
38c1f6f765 tell to open .dsw file, not .dsp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 23:24:57 +00:00
Julian Smart
409e38cd65 Applied fix for VC++ 7 which treats __LINE__ slightly differently, apparently.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 22:49:58 +00:00
Vadim Zeitlin
adb45366da compilation fix for wxUSE_INTL == 0 (patch 646466)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 21:23:36 +00:00
Vadim Zeitlin
815b393a5a fixed mem leak when using non default theme; change the art provider automatically when the theme is changed (patch 646463)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 21:07:24 +00:00
Vadim Zeitlin
61ecf6d34f fix typo in drawing slider ticks; added assert to check for it (slightly modified patch 646256)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 21:02:50 +00:00
Vadim Zeitlin
f7a201b94e better check of parameter in Delete() (2nd part of patch 646145)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 20:59:06 +00:00
Vadim Zeitlin
d00b880a79 don't leak client data (1st part of patch 646145)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 20:57:56 +00:00
Julian Smart
9b798c66c7 Removed apparently erroneous manipulation of filename/URL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 20:12:48 +00:00
Vadim Zeitlin
513e0cea96 fixed return type of GetEditControl(); updated its description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 17:08:00 +00:00
Stefan Neis
85045dd09e Updated to more OS/2 friendly version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 16:59:38 +00:00
Stefan Neis
42b7406da2 Changed GSocket_Select to use unix code for wxBase, previous code wasn't
detecting loss of connection.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 16:57:30 +00:00
Julian Smart
1257f68432 Added note about opening .dsp files in VC++ .NET
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 14:16:27 +00:00
Robert Roebling
4a6ea63e87 Another attempt to get make win-dist to work with WinCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 11:50:18 +00:00
Robert Roebling
36d3844cbb Updated Makefile for WinCE (make win-dist)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 11:25:51 +00:00
Stefan Csomor
0ba344c712 print session additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 08:07:53 +00:00
Julian Smart
1a4fe894fe Added Marco's first WinCE files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 21:18:30 +00:00
Julian Smart
42280e48f2 Further version changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 12:14:53 +00:00
Vadim Zeitlin
5db9e0e80d unabbreviated i18n
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 12:04:51 +00:00
Julian Smart
8473839e3a Added artwork for the emulator, for future reference
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 11:54:50 +00:00
Julian Smart
c31752dadf Updated version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 11:08:08 +00:00
Julian Smart
1353f87837 Makefile.in: remove CVS dirs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 10:27:42 +00:00
Julian Smart
088117622c Checked for stream validity in wxImage::GetImageCount.
use horse3.ani in image sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 10:19:00 +00:00
Vadim Zeitlin
d643b80eb9 detect and don't use old zlib version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 02:07:05 +00:00
Vadim Zeitlin
589c71635a allow TABbing into multiline text controls even if they're not editable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 01:05:59 +00:00
Vadim Zeitlin
b6b2d787e3 compilation fix after recent patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 23:15:10 +00:00
Vadim Zeitlin
2b5f62a0b2 merged 2.4 branch into the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Vadim Zeitlin
59a944cb63 added test for env var expansion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-28 13:34:28 +00:00
Vadim Zeitlin
4c51b68810 compilation fix in !WXWIN_COMPATIBILITY_2_2 mode; set TEST_ALL to 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-28 13:29:22 +00:00
Vadim Zeitlin
01cb1c2617 added ctor taking wxFontFlags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-02 23:58:52 +00:00
David Webster
7bfbbc0efb Fixups in jpeg lib for multiplely defined symbolsa under VisualAge for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-11 16:01:49 +00:00
David Webster
376ef4a1f4 Weekly OS/2 updtaes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-11 15:59:35 +00:00
David Webster
13053f649b os2 update to rc file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-11 15:56:35 +00:00
David Webster
841346f01f removed ctl3d32.lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-11 13:44:31 +00:00
Roman Rolinsky
d21441bd9b just a test if CVS access works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-04 07:19:19 +00:00
Stefan Neis
ef4d6ce8e4 Fixed some typos that occured in applying patch 606235.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 15:08:03 +00:00
Jouk Jansen
1507adbb8c Committing in .
Updated OpenVMS configuration

 Modified Files:
 	wxWindows/setup.h_vms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 06:17:39 +00:00
Julian Smart
942e06785c Added scripts to make a minimal wxMSW distribution
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-16 19:20:38 +00:00
Julian Smart
4a28b9b81c Updated date
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-16 16:03:59 +00:00
David Webster
243116066d nativedlg and some interface changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-16 04:56:00 +00:00
David Webster
923b48fc63 virtual function hiding problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-16 04:54:25 +00:00
David Webster
c09245191c OS/2 fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-16 04:53:42 +00:00
Stefan Csomor
bf4a027ddb added arrow cursor for standard controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 18:32:49 +00:00
Vadim Zeitlin
418b74a078 don't mention GUI-only changes in the base section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 18:17:32 +00:00
Vadim Zeitlin
00fd036c18 updated the build technote and the technote index; removed obsolete and incorrect technote
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 18:17:02 +00:00
Vadim Zeitlin
a23eb2cecb regenerated (doesn't include mdig.cpp any more)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 18:16:21 +00:00
Vadim Zeitlin
50b4dd1c95 don't include headers which were excluded for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 18:15:56 +00:00
Vadim Zeitlin
cb84e27d14 no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 18:15:39 +00:00
Václav Slavík
799cea0031 fixed two-step creation of wxCheckListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 18:07:32 +00:00
Václav Slavík
86118733af updated wxTreeCtrl styles in XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 18:06:55 +00:00
David Webster
cfc82bcb2e OS/2 will not support a mini-frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 17:31:29 +00:00
Vadim Zeitlin
0a615ec196 include execcmn.cpp in the distribution
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 17:20:58 +00:00
Vadim Zeitlin
db82f09ecb include -pthread in LDFLAGS and not LIBS as the latter doesn't appear in wx-config output unless --static is given
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 17:20:14 +00:00
David Webster
92ac4cdc8c Make OS/2 use the generic MDI.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 17:18:59 +00:00
Vadim Zeitlin
4769a56275 compilation fix for !MSVC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 15:21:52 +00:00
Julian Smart
c057a510d6 Tweaks to the announcements, including adding some
kudos


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 14:41:56 +00:00
Julian Smart
b4d0ec4edc Script tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 10:27:43 +00:00
Julian Smart
64b73f1a2e Added a couple more build starter scripts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 10:24:09 +00:00
Julian Smart
befe9ee1ca Updated makewx... scripts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 10:15:06 +00:00
Stefan Csomor
5715cc1bed merged deleted code back
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 07:30:59 +00:00
Stefan Neis
39b80349a1 Applied revised patch 606235 (Cell overflow refresh fixed).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 00:29:49 +00:00
Vadim Zeitlin
e52d9c784e we do want arrows even in a read only text ctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 21:37:28 +00:00
Vadim Zeitlin
2499871095 recreate the toolbar entirely when its text/icons style changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 21:36:18 +00:00
Robert Roebling
7b35aa40a0 Compile fix for the iPaq. No idea why.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 21:35:08 +00:00
Vadim Zeitlin
dd46ee66e5 no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 21:34:59 +00:00
Vadim Zeitlin
d45720c55f set size if it's initially == wxDefaultSize() in MSWCreateControl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 21:07:49 +00:00
Robert Roebling
0dd6e08c53 Updated some comments.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 20:49:50 +00:00
Vadim Zeitlin
eb1ab6f915 printf() format warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 18:38:31 +00:00
Robert Roebling
c5cf1acc55 Added spec file for wxX11.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 18:35:10 +00:00
Robert Roebling
75378e31e9 Added make dist for wxX11 to makefile.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 18:34:28 +00:00
Robert Roebling
1c393e484d Added todo file for wxX11. Empty still.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 18:33:46 +00:00
Julian Smart
cc02b6457a Added back the missing wxDash line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 17:28:12 +00:00
Julian Smart
e438abe584 BC++:
Disabled precompiled headers for png library,
since it seemed to mess up compilation
Moved EXTRACPPFLAGS to end of command line so they
override current settings


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 17:23:21 +00:00
Robert Roebling
3be6aea994 Enable execute code for Unicode. This also makes
printing to the printer work in Unicode mode.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 15:00:49 +00:00
Gilles Depeyrot
29ee95e8bc added missing wxSTD for cout/endl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 09:35:50 +00:00
Julian Smart
b55a176b25 Applied patch [ 608876 ] Improvements to installation docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 08:31:23 +00:00
Gilles Depeyrot
892bf376e9 don't override INSTALL as install path is made absolute in configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 05:56:49 +00:00
David Webster
ac7f882683 new module def file for .dll build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 02:11:14 +00:00
David Webster
e225b106d9 OS/2 update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 02:10:24 +00:00
David Webster
b7282ad267 TRUE not true; FALSE not false
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 02:09:52 +00:00
Ron Lee
21e3b8620a define the undefined wxThePrintSetup global.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 00:15:30 +00:00
Václav Slavík
4356ee76a5 another fix for wxSnprintf_
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-13 23:22:30 +00:00
Robert Roebling
e32f3f4740 Backward comp. fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-13 22:02:14 +00:00
Robert Roebling
47dc9f7871 Further backward comp. changes for printing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-13 22:00:45 +00:00
David Webster
774468bd68 Weekly catch-up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-13 20:57:37 +00:00
Mattia Barbon
79668caec9 Fixed MinGW/configure/Unicode compilation: MinGW/MSVCRT vswprintf does not
behave like other vswprintf; under Win32 you really want _vsnwprintf.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-13 20:23:36 +00:00
Václav Slavík
df93d8bab7 added some missing styles to XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-13 17:22:34 +00:00
Julian Smart
fe5de1ea10 Applied patch [ 608370 ] fix for static text sizing behaviour
wxStaticText is meant to resize when SetLabel is called
unless the flag wxST_NO_AUTORESIZE is used when
creating it. Motif currently ignores this flag and always
resizes the control.
The attached patch provides a wxStaticText specific
override of SetLabel() which honours the resize policy
requested via the wxST_NO_AUTORESIZE flag.

I have tested on AIX 4.3 which is Motif 2.1


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-13 13:17:12 +00:00
Julian Smart
8b5be08a09 Applied patch [ 608850 ] wxX11 menu accelerators need toupper
Olly Betts

Letter menu accelerators (with and probably without
modifiers) don't work unless you have capslock on.
Adding a call to toupper() to the appropriate spot fixes
this (wxGtk does toupper in this case already).

Applied patch [ 608530 ] wxX11 doesn't set argv[argc] to NULL

Olly Betts

The code which creates argv under wxX11 doesn't add a
terminating element with value NULL - user code which
expects this (it's true for C/C++ argv) will fail.

Here's a patch to correct this.

I've checked the other versions of app.cpp and they all
get this right.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-13 13:12:46 +00:00
Julian Smart
6500c0b134 Updated Mingw32 install text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-13 09:29:46 +00:00
Julian Smart
564098605f Small updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-12 22:25:56 +00:00
Julian Smart
2c00930d43 Corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-12 20:55:05 +00:00
Julian Smart
c721300b59 Added unix2dos.c utility
Fixed doc typos


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-12 20:16:53 +00:00
Vadim Zeitlin
307b0b97ee undid previous commit, the person who reported it retracted his claim
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-12 20:15:51 +00:00
Julian Smart
d4f6a3a014 Added utility to convert filenames to lower case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-12 20:11:31 +00:00
Vadim Zeitlin
8a646b6b9f include stddef.h to get ptrdiff_t decl (IRIX compilation problem)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-12 19:59:04 +00:00
Vadim Zeitlin
4ea2c29f51 make wxFile::Exists() use wxFileExists(): this avoids code duplication and should make wxFile::Exists() work with UNC paths
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-12 19:32:29 +00:00
Vadim Zeitlin
58071ea008 fix for cygwin warning in winsock.h about sys/types.h from Dimitri
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-12 13:48:55 +00:00
Julian Smart
629724b6b8 Corrected typo that prevented mdig.h being copied
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-12 13:48:23 +00:00
Jouk Jansen
b2da87c316 Committing in .
Silence OpenVMS warnings

 Modified Files:
 	wxWindows/src/motif/spinbutt.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-12 13:32:49 +00:00
Julian Smart
d9d3622e59 If a window has zero dimension, make it at least 1 pixel big
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-12 11:11:34 +00:00
Julian Smart
0fd28ea3df Don't compile crit. section code on Mac yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-12 08:51:01 +00:00
Vadim Zeitlin
66bd58e8a6 gtk2 Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 23:29:22 +00:00
Stefan Neis
e32c4e6082 Integrated fixes from latest UNIX version.
Removed some debug output.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 23:26:49 +00:00
Vadim Zeitlin
5005acfef5 show correct message when running configure for the switches which are on by default (such as --enable-compat22)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 23:21:55 +00:00
Stefan Neis
dc1f566f6a Applied patch 606235 (Cell overflow refresh fixed).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 22:28:20 +00:00
Robert Roebling
009a066588 Readded deprec. constructor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 22:03:29 +00:00
Stefan Neis
d57ad37701 Fixed CoordToRowOrCol according to Patch 607387.
Reverted the "Prevented dragging dividers outside cells" change which just
        worked around the symptoms of the bug in CoordToRowOrCol.
Removed posssibility to resize columns even from below the grid or rows from
        the right of the grid - that kind of "dragging dividers" wasn't even
        prevented by the previous change (according to Patch 607387).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 21:44:16 +00:00
Robert Roebling
81a0614bf2 The old fix for combobox doesn't seem to be needed
anymore and it did make the lnf unattractive.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 21:12:10 +00:00
Robin Dunn
47a06a26bd SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 20:19:33 +00:00
Julian Smart
6886fcfafe Applied [ 585322 ] motif border style fix for statictext
Applied fix to broken wxStaticText


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 19:25:00 +00:00
Julian Smart
a8de819021 Typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 19:20:11 +00:00
Robin Dunn
e7d073c376 Fixed some off-by-one and other issues with drawing the HRULE/VRULE
lines.  Made the VRULEs line up with the column header splitter
lines.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 18:36:55 +00:00
Robin Dunn
d25a60983c Show how to use images in the virtual list control demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 17:25:53 +00:00
Julian Smart
31370adbc1 Another try at committing this
Reverted previous 'fixes' now that the array bug has been cured
Prevented dragging dividers outside cells (this would cause an assert)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 14:19:08 +00:00
Julian Smart
5cc241c6ff Reverted previous 'fixes' now that the array bug has been cured
Prevented dragging dividers outside cells (this would cause an assert)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 14:14:35 +00:00
Julian Smart
dcdce64e66 Reverted previous 'fixes' now that the array bug has been cured
Prevented dragging dividers outside cells (this would cause an assert)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 14:12:48 +00:00
Vadim Zeitlin
70f2e88c6b removed wcslen() implementation, it is now inline in wxchar.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 12:33:52 +00:00
Vadim Zeitlin
f8d791e0a4 src/common/strconv.cpps/wcslen/wxWcslen/g
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 12:33:01 +00:00
Julian Smart
ce68ad2572 Replaced wcslen with wxWcslen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 11:28:51 +00:00
Stefan Neis
a1db4ad4a4 Fixed bug in Grow function (possibly not allocating enough memory if starting
with empty array).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 10:29:28 +00:00
Robin Dunn
b00e9f10c7 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 01:14:18 +00:00
Robin Dunn
2936eaf046 Change needed for when the COMPATIBILITY flags are off.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 01:08:02 +00:00
Robin Dunn
e7163afc45 PyCrust tweak to allow it to work with older Scintilla's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 01:00:43 +00:00
Robin Dunn
f114b8580b Update to Scintilla 1.48
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 01:00:07 +00:00
Vadim Zeitlin
f1389d464a Windows and Unicode compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 23:27:24 +00:00
Václav Slavík
5e6f681dd8 added Turkish translation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 22:31:19 +00:00
Julian Smart
c5a7ca8689 Now cleared array elements of arrays before calling Empty(),
after suggestion by John Labenski.
I don't know why this should cure the memory problem,
but it seems to.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 20:31:02 +00:00
Vadim Zeitlin
6ba7c06eee declare wxEntry() as taking char **Argv, not char *argv[]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 17:35:07 +00:00
Julian Smart
7f93875dfe Applied patch [ 606713 ] Removes a warning from cygwin build
When building using Cygwin+gcc3.1.1 I get the following
warning:

"src/msw/app.cpp:122:25: warning: shlwapi.h: No such
file or directory"

(It seems strange to me that it's a warning instead of an
error?)

The attached patch adds a conditional case for
__CYGWIN__ when including shlwapi.h. (I hope I did it
the proper way, the #if's regarding build system setup
get a bit lengthy at times, I didn't see a shortcut for this
however)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 13:54:35 +00:00
Julian Smart
64e15340d0 Applied patch [ 607261 ] Fix: wxGrid: row and cell selection
This is a patch against version 1.222 of
src/generic/grid.cpp.

1. The patch contains a fix for the row selection as
mentioned by me on the wx-dev mailing list. After
selecting one row and deselecting it no new row
could be selected.
2. Another change has been made to the function
CoordToRowOrCol() and addresses an error mailed
to wx-dev by John Labensky. The error was that no
cell could be selected until a horizontal and vertical
resize of at least one cell has been made. The error
was that the function could not handle grids with
default row or columns sizes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 13:50:52 +00:00
Vadim Zeitlin
69c14ebe01 uncomment SetMargins() call which works now (the person who commented it out probably did know about the bug, but chose to change the sample instead of fixing the code...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 13:40:55 +00:00
Vadim Zeitlin
df17b887ee added a possibility to pull in printf() code for testing opurposes even if we don't really need it by defining wxTEST_PRINTF; fixed unknown format handling in wxVsnprintf(); do NUL-terminate the strings in wxVsnprintf()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 13:39:16 +00:00
Vadim Zeitlin
706f30f83c clarification of Set/GetTitle() with respect to popup menus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 13:37:08 +00:00
Vadim Zeitlin
7aeebdcd3d added printf() test suite
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 13:36:40 +00:00
Vadim Zeitlin
66ee25523a fixed ATTRIBUTE_PRINTFs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 12:55:25 +00:00
Vadim Zeitlin
69429a166f compilation fix for cygwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 11:54:47 +00:00
Vadim Zeitlin
9b11cb6e3f fixed stream code breakage caused by the previous check in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 11:45:10 +00:00
David Webster
a579926062 Bmpbuttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 03:46:22 +00:00
Václav Slavík
fbd9040196 applied patch #606835, bugfix to wxHtmlHelpFrame::OnActivate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-09 22:32:19 +00:00
Gilles Depeyrot
ab958adb1e use RemoveAt instead of Remove
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-09 20:27:54 +00:00
Mattia Barbon
576acdf322 Fixed MinGW/ANSI (and probably any other C++ compiler, excluding, of course,
MSVC 5, with which I tested my changes) breakage.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-09 17:35:10 +00:00
Julian Smart
9bbfd96101 Added widgets sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-09 15:37:58 +00:00
Vadim Zeitlin
c8921892b5 removed C++ comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-09 13:36:57 +00:00
Vadim Zeitlin
e9561b3b2b removed a trailing comma from enum (this is an error for some compilers)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-09 13:27:07 +00:00
Vadim Zeitlin
1e4709b330 wxDialog doesn't derive from wxPanel nor accepts wxDIALOG_MODAL/MODELESS styles; also mentioned that modal dialogs can be created on the stack
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-09 13:20:38 +00:00
Julian Smart
cfce733e17 File for notes about publicity, incl. newsgroups for announcements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-09 12:06:20 +00:00
Julian Smart
a9ddd4437d Tweaks to the announcement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-09 11:49:13 +00:00
Julian Smart
c5f5904385 Script updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-09 11:25:22 +00:00
Gilles Depeyrot
4f57cf112e -D_INCLUDE_LONGLONG for HPUX long long definitions in system headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-09 09:33:52 +00:00
Julian Smart
af8fe02387 Added distribution scripts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-09 09:28:25 +00:00
David Webster
db16e5c3aa Bitmap button updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-09 03:08:12 +00:00
Vadim Zeitlin
4147efe9ab fixed bug in parsing formats in which fields don't have any non-numeric delimiters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 23:12:19 +00:00
Vadim Zeitlin
ee3ef2817f variosu fixes to the tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 23:11:18 +00:00
Mattia Barbon
b1a046e821 Fix wxSnvprintf (and hence wxString::Format) for Unicode, when using
the wxSnvprintf in wxchar.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 22:52:59 +00:00
Václav Slavík
197b162641 compilation fixc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 22:12:09 +00:00
Václav Slavík
a4000ca2b7 another false statement corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 22:11:54 +00:00
Vadim Zeitlin
0c61716c79 fixed Printf() format spec warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 18:11:02 +00:00
Vadim Zeitlin
e91d2033ee fixed Printf() format spec warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 18:00:48 +00:00
Julian Smart
6b978929d5 Added a note about bug in Mingw32 headers.
Other Mingw32-related fixes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 14:46:17 +00:00
Julian Smart
cd6b752b83 Renamed duplicate style variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 14:10:22 +00:00
Vadim Zeitlin
cabf185cd2 define HAVE_EXPLICIT for BC++ >= 0x520
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 12:55:37 +00:00
Stefan Neis
6eb280e956 Added yet another couple of missing includes (leading to linker errors).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 12:50:07 +00:00
Julian Smart
c4077b3424 Added a directory for sharing publicity resources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 12:35:21 +00:00
Stefan Neis
1a75e76f39 Added missing includes for non-precompiled headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 10:51:49 +00:00
Julian Smart
9aacdd48fb Changed syntax of test for -fvtable-thunks so it works.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 10:48:46 +00:00
Julian Smart
eaeeb91eb6 Added LV_ITEMA and used a #define for LV_ITEM to
avoid mysterious compilo under Mingw32 2.95.2
Added #defines for SHGetFileInfo for Mingw32 2.95.2
in volume.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 10:28:15 +00:00
Gilles Depeyrot
59b9a2607a path correction for wxMac using Apple Developer Tools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 10:07:02 +00:00
Robin Dunn
22a3a1994c A refinement of my patch from Neil Hodgson
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 01:07:16 +00:00
Vadim Zeitlin
8255d371b6 added shell32.lib to wxBase link options
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 00:53:07 +00:00
Vadim Zeitlin
57e6713594 char -> wxChar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 00:49:48 +00:00
Vadim Zeitlin
72d35070d8 fixed (yet another?) crash in wxStrtok
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 00:49:26 +00:00
Vadim Zeitlin
7e92d86d78 don't #define wxStrtok() which takes 3 arguments as wcstok() which takes only 2, this can't compile in Unicode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 00:47:56 +00:00
Vadim Zeitlin
50ded68d38 corrected wxExecute() tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 00:46:38 +00:00
Vadim Zeitlin
011a524e9e corrected wxShell() ret code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 00:41:16 +00:00
Vadim Zeitlin
45d5a0c6d8 fixed wxExecute() for console programs (process messagse for the hidden window, don't hang)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 00:40:57 +00:00
Robin Dunn
b42ea279ce SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 00:38:34 +00:00
Vadim Zeitlin
a90253f00d correct compilation fix for the previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 00:29:08 +00:00
Vadim Zeitlin
456ae26d78 the sample now builds in Unicode mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 00:27:40 +00:00
Robin Dunn
923e5f56fc GetLanguageInfo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 00:11:00 +00:00
Robin Dunn
7d55cdc033 Compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 23:34:28 +00:00
Robin Dunn
1e6796a093 Some last minute little tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 23:17:14 +00:00
Vadim Zeitlin
14f8fa9d7f added wxLocale::GetLanguageInfo()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 22:53:04 +00:00
Robin Dunn
27813df1f7 Better placement of the AutoComplete listbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 21:56:28 +00:00
Vadim Zeitlin
e9c54ec336 don't give empty message box if Parse(FALSE) was called and there was --help on the cmd line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 20:26:42 +00:00
Vadim Zeitlin
b35191eb54 don't overwrite the app name with argv[0] if it had been already set
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 20:26:07 +00:00
Vadim Zeitlin
311da78ab0 show the app name in the title of wxMsgOut message boxes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 20:25:43 +00:00
Stefan Neis
2918e2d254 Added check for Refresh function.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 20:16:02 +00:00
Stefan Neis
a66a391e70 Changed second parameter of Refresh to "const wxRect*".
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 20:09:55 +00:00
Stefan Neis
bca7bfc878 Fixed Refresh to use a "const wxRect *" parameter.
Optimized Refresh rectangles for subwindows in Refresh.
Replaced DisableCellEditControl by HideCellEditControl in two places,
        where I explicitly didn't intent to store the editor's value.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 20:07:22 +00:00
Robin Dunn
790dbce337 wxHtmlWindow now grabs the focus when clicked on. (Didn't all windows
do this automatically in the past?)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 19:25:34 +00:00
Vadim Zeitlin
9cedab372e made SetDirectory() work, minor code cleanup (much is left to do)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 19:24:45 +00:00
Vadim Zeitlin
5b636c67e2 added wxFileDialog::SetDirectory test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 19:24:17 +00:00
Robin Dunn
fb817e4c71 Fix off-by-one in vertical scrolling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 19:01:32 +00:00
Vadim Zeitlin
080c709f70 fix for handling TAB presses in readonly text controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 18:38:25 +00:00
Vadim Zeitlin
9afe6c1750 applied the workaround for XUnionRectWithRegion() returning ampty result if the rect is empty to wxX11 and wxMotif as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 17:21:26 +00:00
Stefan Neis
c6707d16fe Tried to fix bug 603906 by modifying GetModelValues to disable editor.
Also save and disable editor in SetModelValues. However, I don't have
        a test case ...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 16:22:56 +00:00
Vadim Zeitlin
6ce16bdb55 don't send clicked event for wxID_CANCEL button when Esc is pressed unless such button really exists (and then send it to the right window!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 14:25:03 +00:00
Stefan Neis
aa5b885706 Commited John Labenski's patch giving access to the low level selection
representation (Patch 579754).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 13:58:25 +00:00
Stefan Neis
ecd69fb6e9 Applied patch showing off John Labenski's
cell overflowing and multi-cell handling.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 13:46:57 +00:00
Gilles Depeyrot
d56c4286e3 display compilation warning under Mac OS X/Darwin for missing poll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 12:48:17 +00:00
Stefan Neis
7fbc642095 Fixed bug in CoordToRowOrCol.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 12:46:39 +00:00
Gilles Depeyrot
ab7ce33c56 disable use of #pragma interface under Mac OS X
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 12:28:46 +00:00
Stefan Neis
3ed884a0b8 Some refresh optimizations.
Untabified.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 12:28:03 +00:00
Julian Smart
be604faa7b Fixed overlapping buttons in wizard on MacOS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 10:38:23 +00:00
Julian Smart
4e3ad7c095 Removed rundant files, updated readme.txt.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 10:16:03 +00:00
Stefan Csomor
4d8ef9ec7d yet another code for wxMac properly resetting the cursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 08:26:16 +00:00
Stefan Csomor
da4fe3f3d1 added code for wxMac properly resetting the cursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 06:36:59 +00:00
Julian Smart
47610ec22a Added missing rejigged IPC Latex files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 22:38:25 +00:00
Julian Smart
9e04d98299 Adjusted filelist.txt and wxUniv.dsp to use generic
version of wxImageList.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 22:24:37 +00:00
Robin Dunn
0dacfc5ce4 Latest PyCrust
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 21:24:51 +00:00
Robin Dunn
e37a28a0de The standalone PyShell and PyCrust apps need to set the focus to the
shell windows.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 20:03:03 +00:00
Julian Smart
4589ec39c0 Applied patch [ 549256 ] fix minor bug in widgets sample
Arnout Engelen

The EVT_TEXT_ENTER event will not be caught in the 'widgets' sample since the wxTE_PROCESS_ENTER wasn't set for the wxTextCtrls. For some reason this does work correctly in wxMSW without this flag set, which could be considered a bug or documentation bug.

This patch adds the wxTE_PROCESS_ENTER flag and thus fixes this minor bug.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 19:45:26 +00:00
Václav Slavík
3a9a01661a documented need to install ZIP handler
(Julian's claim in previous commit was incorrect, mine is not)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 19:03:36 +00:00
Robin Dunn
e9378bd661 Updated html version of stc.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 19:03:30 +00:00
Vadim Zeitlin
6a1359c0a5 fix for creating radio items in a toolbar with non zero margin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 18:28:58 +00:00
Vadim Zeitlin
8f262dc567 fix for radio items creation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 18:23:09 +00:00
Robin Dunn
31988931ca Incremented preview number, reswigged a couple things
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 18:01:04 +00:00
Vadim Zeitlin
9042a01738 fixes for reading bitmapswith BI_BITFIELDS (patch 597906)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 18:00:32 +00:00
Robin Dunn
42ba812b70 Updated to Scintilla from 1.45 to 1.47
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 17:11:52 +00:00
Robin Dunn
a834585d74 Updated to Scintilla from 1.45 to 1.47
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 16:59:31 +00:00
Mattia Barbon
b38f3ff378 Fixed bug with SetValue on read-only combobox; don't call ::SetWindowText,
use SetStringSelection instead.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 16:53:02 +00:00
Julian Smart
fc8eba27ef Removed #ifdef __WXMAC__ around dialog initialisation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 16:32:34 +00:00
Julian Smart
8dd8f87530 Applied patch [ 605592 ] Unicode patch for dirctrlg.cpp
Markus Greither

 just compiled the wxWindows CVS trunk using
BCC5.5.1 and UNICODE. I noticed a small bug in
girctrlg.cpp, that prevented compilation. There are more
such glitches in the wxGrid, but as I was running out of
time, I disabled this for now. Otherwise, compilation
worked fine and I was able to run the minimal sample
(using UNICOWS on my WIN98SE).

(I also corrected some wxGrid Unicode string typos -- JACS)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 14:42:47 +00:00
Julian Smart
9832266054 Corrected wxMenu::Append item symbol documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 12:19:25 +00:00
Chris Elliott
2dcd33c258 small bug fix for using multiple borland compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 10:51:49 +00:00
Julian Smart
07ed7e32ee Added another reference to adding the zip handler.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 08:18:31 +00:00
Julian Smart
15f43e762c Added note about adding the zip handler when using wxHtmlHelpController.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 08:13:05 +00:00
Jouk Jansen
b2ddee86fe Committing in .
Updates for OpenVMS
 in utilsunx.cpp : OpenVMS does not have fork. So I use vfork there although
 the source warns me that it may be broken on some systems.

 Modified Files:
 	wxWindows/setup.h_vms wxWindows/src/unix/utilsunx.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 06:10:53 +00:00
Robin Dunn
4ea97290b8 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 01:45:55 +00:00
Vadim Zeitlin
59d04dff03 fixed the width of the (week day as number) field, should be 1, not 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 23:33:42 +00:00
Václav Slavík
40dd6c07aa fix va_arg(.,short int) problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 23:02:56 +00:00
Robin Dunn
248bcf0aa5 Allow wxGTK's wxToolbar to catch the standard window events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 22:58:06 +00:00
Robin Dunn
4eb65923fc SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 21:40:34 +00:00
Robin Dunn
09cca25189 Added IsEditCancelled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 21:39:42 +00:00
Gilles Depeyrot
50bcbd3d0e corrected comments (should not be C++ style!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 21:04:29 +00:00
Mattia Barbon
11a2ce5ad2 XmNframeChildType is not in Lesstif if it was compiled with Motif 1.2
compatibility.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 20:57:34 +00:00
Mattia Barbon
79f1dd05ad Build without 2.2 compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 20:56:42 +00:00
Mattia Barbon
159f4b336e Revert apparently accidental commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 20:55:14 +00:00
Robin Dunn
da906b9742 Added effects.h to filelist.txt so it will get installed, fixed a
syntax problem in makeall.sh, regenerated all makefiles and etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 20:54:30 +00:00
Guillermo Rodriguez Garcia
aa6ca3dcc9 Solved problems with handling of LOST events on Unix platforms (reported
on wxGTK). Main symptoms were spurious CONNECT events being delivered when
a connection had failed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 20:49:18 +00:00
Robin Dunn
e26c13cffd Ensure -D_FILE_OFFSET_BITS=64 also gets on the command line when
needed, and also fix wx-config to output the largefile flags


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 20:12:08 +00:00
Julian Smart
ae31cc57f7 Eliminated unreachable code warning in VC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 20:12:02 +00:00
Julian Smart
e11f2e1645 Applied patch [ 605188 ] Fix to draw 24 bit bitmaps
Derry Bryson

Fix to wxPrinterDC::DrawBitmap() to print 24 bit bitmaps
at 24 bits rather than 8 bits.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 19:59:34 +00:00
Julian Smart
dd23c25cde Applied patch [ 605189 ] add edit cancel notify to wxTreeEvent
Benjamin I. Williams

Currently there is no way of receiving notification
that a user cancelled an edit operation on a wxTreeCtrl
tree node label.

This patch adds a method "IsEditCancelled" to the
wxTreeEvent class. During an EVT_TREE_END_LABEL_EDIT
event, the programmer can now determine whether or not
the edit operation was cancelled by the user (by
pressing <ESC>).

This patch provides this implementation for both
wxMSW's wxTreeCtrl and the wxGenericTreeCtrl. Both
situations have been tested and work well.

The patch is not very invasive, and is much smaller
than I had expected.

Please see the relevent discussion on the wx-dev list
for more details.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 19:50:41 +00:00
Robin Dunn
67a92fff32 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 19:41:45 +00:00
Robin Dunn
fd512ba286 Various wxPython updates to go along with recent changes in CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 19:39:28 +00:00
Robin Dunn
d8f3f98359 Use the iconIndex in the default case too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 19:38:13 +00:00
Robin Dunn
db54b04615 Added some accessors for wxEffects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 19:37:25 +00:00
Robin Dunn
40716a510b some tweaks for LINK_LEXERS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 19:36:59 +00:00
Julian Smart
e015d1f7da Applied patch [ 603858 ] wxTextCtrl text alignment patch
Benjamin I. Williams

This patch implements three new flags for the
wxTextCtrl control. The flags are wxTE_LEFT,
wxTE_CENTRE, and wxTE_RIGHT. These flags can change
the way text is aligned inside an edit control, which
is useful when the user is editing numbers or dates.

At Vadim's recommendation, the patch implements the
alignment flags so they are equal to the corresponding
wxALIGN_* value. wxTE_LEFT is actually 0x0000, and is
just a place holder. wxTE_CENTRE is equal to
wx_ALIGN_CENTER_HORIZONTAL (0x0100), and wxTE_RIGHT is
equal to wxALIGN_RIGHT (0x0100). I couldn't agree more
with this idea.

As Vadim pointed out, choosing to set the text
alignment flags to the corresponding wxALIGN_* flags
has a slight negative side effect: the values 0x0100
and 0x0200 collide with the existing flags
wxTE_NO_VSCROLL and wxTE_AUTO_SCROLL. A valid point
was raised, however, which stated that the flags would
never really be used at the same time, and also that
wxTE_AUTO_SCROLL is (possibly) going to be deprecated
anyway.

While this collision is not really a problem, I didn't
like the idea of someone specifying wxTE_NO_VSCROLL and
ending up with with a centered text control ! Thus, I
chose to move both wxTE_NO_VSCROLL and wxTE_AUTO_SCROLL
down to the free bits 0x0002 and 0x0008, respectively.
I'll leave the final say up to Vadim and the rest of
you whether you want to move these flags down or keep
them where they are (with collisions). What truly
matters to me is that I can now create text controls
with the proper alignment!

This patch also updates the documentation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 16:15:30 +00:00
Gilles Depeyrot
85d5e282e9 -o flag must be after PIC flag for gcc under HPUX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 16:15:06 +00:00
Julian Smart
2385ec429a Added #include <ctype.h> since it seems to have
gone missing from this file for non-Unicode
cases.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 14:56:34 +00:00
Gilles Depeyrot
06313569d8 added -D_REENTRANT for hpux when threads are enabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 13:59:18 +00:00
David Webster
5efff1479e Fix for child window positioning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 13:54:24 +00:00
Stefan Csomor
1b2a04da9a corrected code for doubles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 12:42:16 +00:00
Gilles Depeyrot
ad2622f15d corrected HPUX specific test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 12:28:30 +00:00
Vadim Zeitlin
57351df0a6 fix Union(empty rect) bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 10:54:30 +00:00
Václav Slavík
c601df457c compilation fix for wxUSE_WCHAR_T=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 22:17:09 +00:00
Václav Slavík
2af6b4c37f use own mutex for region iterator locking, not gui one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 22:07:25 +00:00
Václav Slavík
7e2f4683db why the heck was the flag changed to T from Theme?! Broke my makefiles...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 22:07:19 +00:00
Václav Slavík
77ab277914 compilation fix for wxUSE_WCHAR_T=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 22:07:12 +00:00
Václav Slavík
a682b31c35 added watmgl.t to Makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 22:07:00 +00:00
Václav Slavík
28e40b1e06 whoever added mdig.cpp forgot to update the makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 22:06:50 +00:00
Mattia Barbon
b8ddac49a3 Missing #include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 16:42:53 +00:00
Vadim Zeitlin
a8ddb18623 should fix Unicode build for BC++ 5.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 15:06:46 +00:00
Vadim Zeitlin
ca8e52b3d2 don't use -mthreads switch if the compiler doesn't support it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 15:04:10 +00:00
Vadim Zeitlin
2bffed64c5 make --static default if configured with --disable-shared
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 14:56:55 +00:00
Vadim Zeitlin
2076893b53 use standard colour for the selected tree item text as well as background
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 14:30:25 +00:00
Vadim Zeitlin
8705ab68e2 mention that wxBase builds with BC++ now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 14:21:51 +00:00
Vadim Zeitlin
798265916e fix crash if Delete menu command is used twice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 13:50:58 +00:00
Vadim Zeitlin
8161b5b9f0 fix wxCheckListBox which was completely broken by the Unicode changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 13:45:39 +00:00
David Webster
f0b47621e9 For OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 13:39:02 +00:00
Vadim Zeitlin
390015c0ee generic status bar now:
1. works correctly (handles negative widths according to the docs/MSW/Univ)
2. has shorter and simpler GetFieldRect() implementation
3. ... which is also more efficient (pixel widths are cached)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 13:16:46 +00:00
Chris Elliott
333e110dab move code from .h to .cpp to prevent Borland warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 12:24:45 +00:00
Vadim Zeitlin
a42de1303a fix wxBase apps compilation after ProcessIdle() change from the patch 588734
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 11:45:06 +00:00
Chris Elliott
b7b45f6ffc Introducing wxBase for borland based on Michael Fieldings patch 598106
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 11:16:46 +00:00
Gilles Depeyrot
b261fbf3dc SetBackground with a bitmap is only implemented in wxUniversal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 11:14:55 +00:00
Chris Elliott
8c3288a7b6 Introducing wxBase for borland based on Michael Fieldings patch 598106
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 10:56:49 +00:00
Chris Elliott
95f102ab59 Introducing wxBase for borland based on Michael Fieldings patch 598106
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 10:47:11 +00:00
Ron Lee
0e080be64b Added (and documented) GetTraceMasks so userspace can probe the currently
allowed masks.  IMO its omission is a bug and it's non-threatening to
the freeze, so..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 09:35:13 +00:00
David Webster
f5ea767eb8 More OS/2 update to fix some owner drawn things
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 22:26:53 +00:00
Julian Smart
a715019788 Avoid using wxTextCtrl::SaveFile with no arg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 20:36:58 +00:00
Gilles Depeyrot
b2fee376fd disable Darwin GCC precompiled headers by default also for wxBase
integrate includes into preprocessor flags instead of both C and C++ flags


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 20:13:19 +00:00
Mattia Barbon
7975104d4a Small clarification in ::wxShowTip docs.
Added a wxPerl note to wxWindow::GetHandle


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 19:34:34 +00:00
Mattia Barbon
93ff73b308 gettext (correctly) uses "1 message" (singular).
Take that into account in make stats.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 19:32:03 +00:00
Gilles Depeyrot
a1f9e3ec5d disable use of #pragma interface under Mac OS X
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 19:17:56 +00:00
Julian Smart
d38e8d5f34 Changed char* to wxChar*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 11:22:56 +00:00
David Webster
1de4baa31f Notebook, Listbox, and Checklst updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 04:47:39 +00:00
Ron Lee
a85030bd90 sorry, removing /usr/include breaks the macros we use to detect -lGL and co.
They'll need to be fixed first if this really is the right fix.  (and I'm not
sure what the original problem was, so...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 04:43:37 +00:00
Vadim Zeitlin
0c0cee1ed3 removed GetObjectType() ghost
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 23:23:28 +00:00
Julian Smart
8c3289daa4 More casting to make gcc 3.2 behave.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 22:47:22 +00:00
Julian Smart
f9c62cfcdd And some more casting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 22:00:37 +00:00
Julian Smart
a336f999c2 Added size_t cast to disambiguate array usage.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 21:54:42 +00:00
Vadim Zeitlin
ce209cf15b removed /usr/include from SEARCH_INCLUDE -- this should fix wxMotif/AIX compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 20:10:21 +00:00
Vadim Zeitlin
d2c7015bf0 old compilation fix for AIX from Ian Brown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 20:08:16 +00:00
Vadim Zeitlin
f02444d0d7 define _FILE_OFFSET_BITS/_LARGE_FILES on the compiler command line instead of wx/setup.h to make sure they're always defined when needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 19:53:54 +00:00
Gilles Depeyrot
1bfec677b1 avoid warning for duplicate defined wxEntry when compiling with the Apple
Developer Tools (already defined in common include)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 19:17:52 +00:00
Gilles Depeyrot
57530dba85 use "..." for wx includes instead of <...>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 19:16:32 +00:00
Gilles Depeyrot
7b108a5e8c disable use of #pragma interface under Mac OS X
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 19:15:40 +00:00
Vadim Zeitlin
59571fc076 include the header needed to compile this file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 18:10:39 +00:00
Vadim Zeitlin
68b767bf88 no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 15:19:31 +00:00
Vadim Zeitlin
011ba5ed7e fixed restoring fonts from the native font info data which was completely broken somehow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 15:19:04 +00:00
Vadim Zeitlin
7ccb2521a6 updated the comment about the flags meaning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 15:18:25 +00:00
Chris Elliott
cc77c86d1e Michael Fieldings patch 598106 applied in part
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 12:52:32 +00:00
Vadim Zeitlin
6151e1445b generate key events for Space/Enter in addition to the activate events, as wxMSW does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 12:51:33 +00:00
Vadim Zeitlin
a1d22ad7e9 got rid of COMMON_THREADCPPFLAGS which is not really needed as we can use TOOLCHAIN_DEFS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 12:43:33 +00:00
Vadim Zeitlin
478cababc5 signed/unsigned comparison warning (and probably even error) fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 12:39:16 +00:00
Vadim Zeitlin
c049568782 fixed the button alignment flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 12:29:44 +00:00
Vadim Zeitlin
a696db453c no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 12:29:11 +00:00
Julian Smart
1d7609197e Applied patch [ 602924 ] colours and effects in wxMSW::wxFontDialog
wxFontDialog effects only turned on if a valid colour was
provided in wxFontData


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 08:52:34 +00:00
Julian Smart
b814b81248 Committed a couple of IPC changes I forgot to do
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 08:30:52 +00:00
Vadim Zeitlin
a543e3ce7e choose implicit parent for the dialog boxes better, fixes weird focus jumps when using wxLog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 00:44:24 +00:00
Vadim Zeitlin
ae3047441e added a few WXDLLEXPORTS, corrected/expanded comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 00:32:30 +00:00
Ron Lee
e0252fb681 More packaging updates for pending 2.3.3 release.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 22:58:21 +00:00
Gilles Depeyrot
a811affe70 added wxSpinCtrl::SetSelection method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 21:29:40 +00:00
Ron Lee
2ae8a35352 oops, make it build with wxbase too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 20:33:06 +00:00
Vadim Zeitlin
14bc59a252 another part of SetSelection() change I forgot to commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 20:24:25 +00:00
Vadim Zeitlin
f7a75af18d no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 20:00:57 +00:00
Vadim Zeitlin
748333bd25 don't call CreatesMessageOutput() explicitly, it will be created on demand as/if/when needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 20:00:46 +00:00
Ron Lee
ec8c565daf added missing #include frame.h for mingw(3.2) build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 19:52:57 +00:00
Julian Smart
9a1725c45a Copy event type too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 19:01:31 +00:00
Stefan Neis
7e48d7d9fb Fixed apparent typo in wxGridCellAttr::MergeWith, hopefully fixing
bug 581558 (wxGrid.SetColAttr vs. SetCellAlignment)
Remove editor in Redimension. This should fix
        bug 593189 (wxGrid:delting rows doesn't hide editor)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 18:14:31 +00:00
Gilles Depeyrot
cd3c2375e6 corrected warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 17:35:03 +00:00
Václav Slavík
74c107ba48 fixes to newly added i18n code in XRC - don't use it if wxXRC_USE_LOCALE isn't used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 17:11:38 +00:00
Julian Smart
bbcd408aa7 Removed warnings from ipcbase.cpp
Removed extra wxYields from progress dialog
Yield on wxX11 yields twice


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 17:02:36 +00:00
Stefan Neis
a679468530 Clear attribute cache in Redimension to fix Bug 508407.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 16:34:17 +00:00
Julian Smart
7948c0c244 Applied patch [ 603104 ] wxX11 wxClientDC, wxPaintDC fix
This patch changes a pre-compile check to a run-time
check. The fix is that for windows that only using 1 X
window (like wxFrame) the client area needs to be
adjusted...

FL is one of the things that needs this patch to work ok
under wxX11.

Hans Van Leemputten


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 15:59:22 +00:00
Julian Smart
5a33bc097f Clean up string table before uninitializing DDEML
to cure crash on exit in memory-debug mode


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 15:48:58 +00:00
Stefan Neis
8403515064 Added some const qualifiers.
"Fixed" bug no 500487 by limiting wxGrid::DoGetBestSize's return value by
        DisplaySize.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 15:27:26 +00:00
Julian Smart
44379ce6fa Accidentally omitted code from previous patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 15:08:04 +00:00
Julian Smart
f010ad4812 Applied patch [ 600051 ] DDE and TCP improvements and fixes
By Michael Fielding

As discussed on wx-dev. some fixes and improvements for Interprocess Communication (IPC), using DDE and TCP.

1. DDE buffers were using a global buffer
2. TCP buffers were allocated each time needed, and Request would have caused memory leaks had it been used.

Fixed these both by using a self-resizing buffer in wxConnectionBase. Changed samples and docs to reflect the improved (but backward compatible) internal buffer management. wxConnectionBase could (in future) use wxMemoryBuffer.

3. IPC sample had trouble closing, causing crash, when closing server using window X button.

Because it was (effectively) trying to delete a window in OnExit, when that window was already destroyed. Fixed by making IPCDialog and MyConnection remember if they'd destroyed each other. It's not elegant, but either the connection or the window could be deleted first.

4. Docs for wxDDE... and wxTCP... duplicated eachother, supposed to have same API. Some parts unclear.

Patch removes dde and tcp-specific files (including from tipc.tex and classes.tex), and explains how ipc.h selects for you which one to use based on platform. Some other misc clarifications.

6. Client sample was suffering apparent memory leak because of not deleting connection object, and had a hack in there to do that.

In fact this was due to the derived OnDisconnect not deleting itself, as it does in base class. Mentioned need to do it in docs, fixed sample so that it does.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 14:48:16 +00:00
Václav Slavík
1affde0a6b fixed a small typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 11:41:01 +00:00
Ron Lee
e2450fa9b4 removed DoInit() straggler from appbase mods.
#include log.h

and so, wxbase builds again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 03:16:52 +00:00
Stefan Neis
a373d23b14 Applied AutoWrap Renderer Bugfix by Roger Gammans (Patch 467479).
Blindly tried to fix crash reported by Roman Vanicek on Mailing list:
        SetCellHighlightColour sometimes segfaults in wxGTK. The
        application crashes in LookupAttr.
        Tentative explanation: Cache handling gets confused if LookupAttr gets
                called on wxGridNoCell.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 00:54:01 +00:00
Vadim Zeitlin
068a7cfeee implemented a dirty hack allowing us to keep activation after wxExecute(wxEXEC_SYNC) call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 23:43:04 +00:00
Vadim Zeitlin
83a16cfa8c don't disable top level windows recursively
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 23:25:04 +00:00
Václav Slavík
c269cf6235 fixed font picker in wxHtmlHelpController, better UI is now used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 23:19:58 +00:00
Vadim Zeitlin
ff095200f7 fix for losing focus under Windows after showing the progress dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 23:08:37 +00:00
Vadim Zeitlin
ad603bf790 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 22:57:16 +00:00
Vadim Zeitlin
739555e321 SetSelection() for generic wxSpinCtrl (forgot to commit before)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 22:52:24 +00:00
Stefan Neis
27f35b6674 Make use of new array functions.
Added redraw function (by Roger Gammans).
Added Cell overflow & multiple cells (Patch 518206).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 22:42:29 +00:00
Gilles Depeyrot
fb86524fc3 use include "..." instead of <...>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 22:36:13 +00:00
Gilles Depeyrot
788233da90 disable use of #pragma interface under Mac OS X
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 22:31:03 +00:00
Ron Lee
6c5672c0d4 symbols.txt is no longer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 20:06:31 +00:00
Julian Smart
a78a4f6033 Forgot to add wxX11 FAQ
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 19:00:47 +00:00
Julian Smart
0b0625e922 Some doc fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 16:27:35 +00:00
Václav Slavík
0653d364dd - applied patch that adds more i18n support to XRC handlers
- added ; to ends of lines in gettext output - needed for older gettext tools?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 15:37:20 +00:00
Václav Slavík
02df379910 applied patch that adds more i18n support to XRC handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 15:37:06 +00:00
Julian Smart
48d2ab90ee Added log.h inclusion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 12:49:19 +00:00
Julian Smart
de6ac3397d Applied patch [ 599043 ] fix for wxTreeCtrl/MSW right-click prob
Benjamin I. Williams

There currently is a very significant problem with the
right-click behavior in wxTreeCtrl. The attached patch
file fixes this problem.

To better understand the problem, load up the tree
control, and start right-clicking on items. Note how
the focus rectangle does not behave properly. Next,
enable multiple selection. Now select several items,
and start right-clicking on the selected items. Note
how the selection highlights disappear.

If you try the tree sample with the generic tree
control, you will notice that the problem does not
occur, and that the tree control behaves properly.

This patch brings the MSW tree control implementation
in line with the generic implementation. This is the
same behavior that one can notice in applications such
as windows explorer and Visual Studio.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 12:12:54 +00:00
Julian Smart
70373b5a57 Applied patch [ 600500 ] Tip-of-day: comments, translatable
By Robert O'Connor

This is a patch to wxTip Provider classes used by the "Tip of the day" dialog.

See wx-dev archives August 2002 for discussion of the functionality design.

It does 5 things:
-Support for comments inside the tips file. The pound character (#) is used, as recommended by Vadim.
-Allows optional easy translation support to tips, by marking them as translatable for gettext, by enclosing them in a _(""). Program will translate these tips at runtime from the active catalog.
-Blank lines or lines with just spaces are automatically skipped (I had to put this in, I keep wondering why I get blank tips sometimes and it is because the text file had a empty blank line at the end of the text file).
-There is a pluggable virtual function to preprocess to modify the tip in a derived class, in case something specialized is desired, such as variable expansion, etc, as recommended by Julian and Vadim.
-Now resets the tip counter if the previous tip is past the end of the file (ie you removed some tips, or changed tip files), as discussed on wx-dev.

This patch updates:
-The classes.
-The class documentation and the Tip-of-the-day topic overview documentation.
-The dialogs example, placing some new strings for the tips.txt file which demonstrate how to use the Tip-of-the-day features for in practice.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 12:08:02 +00:00
Julian Smart
b5b62eea2d Applied patch [ 601072 ] wxFileName::GetLongPath error & fix
By Michael Fielding (mfielding)

When using wxFileName::MakeRelativeTo with a new base of "x:\", the result is incorrect. It works fine when there is a subdirectory after x:\. I tracked this to a bug in GetLongPath; here is the fix.

Also, GetLongPath will now try and get as much long path as it can, failing only when part of the path cannot be found. eg

x:\existi~1\file not existing.new becomes
x:\existing directory\filenotexisting.new

instead of just staying the same.

Also, MakeRelative no longer makes filenames lowercase when it normalises them.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 11:42:12 +00:00
Gilles Depeyrot
af49c4b8a2 disable use of #pragma interface under Mac OS X
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 11:29:13 +00:00
Julian Smart
85d8c319d6 Applied patch [ 601957 ] wxGrid: Start editing with numberpad key
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 11:25:37 +00:00
Julian Smart
5cf69f76a1 Added RTTI macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 11:14:30 +00:00
David Webster
cfcebdb1bb Weekly updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 21:54:47 +00:00
Vadim Zeitlin
ef5f8ab626 don't use vfork() in wxExecute()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 21:38:12 +00:00
Vadim Zeitlin
cf6e951cf2 don't eat Shift-Ctrl-[XCV] keys
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 21:30:28 +00:00
Vadim Zeitlin
4d7b7fc212 mention that SetSelection(-1, -1) selects everything
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 21:29:27 +00:00
Vadim Zeitlin
9487bf1700 documented SetSelection()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 21:28:56 +00:00
David Webster
018d3030cc Weekly update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 21:20:42 +00:00
Julian Smart
ee7908dbe9 Added another log.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 21:19:41 +00:00
Vadim Zeitlin
1af48460ac compilation problem for compilers with old for() scoping rules
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 21:13:30 +00:00
Vadim Zeitlin
1fb35ade9b compilation fix (missing wx/log.h include)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 21:10:28 +00:00
Julian Smart
89cd4125bd Added another log.h; removed redundant trace args
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 21:06:05 +00:00
Vadim Zeitlin
4d1cbdbe17 added Read64() and Write64() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 21:05:53 +00:00
Julian Smart
0ace90958b Added log.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 20:54:06 +00:00
Julian Smart
3bce6687f4 Mods for Wine compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 20:34:27 +00:00
David Webster
f13b39c0c3 TRUE, not true; FALSE not false
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 17:04:12 +00:00
Vadim Zeitlin
fa3d9b4e30 don't disable top level children in parents Enable()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 15:10:59 +00:00
Chris Elliott
1303a240dd lost log.h fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 13:57:04 +00:00
Chris Elliott
c03690057b lost log.h fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 13:49:49 +00:00
David Webster
edd802c67c OS/2 must have positive control IDs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 13:44:03 +00:00
Stefan Csomor
80c82e0175 fix for 10.2 (persistent tooltips ;-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 13:43:09 +00:00
David Webster
879dcac2f1 Fix to allow proper positioning of child windows under OS/2 when auto layouts are not being done.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 13:39:01 +00:00
David Webster
f289196b3a Lots of updates fixing radiobox processing, checkboxes and add notebook control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 13:37:52 +00:00
Vadim Zeitlin
07901ec945 added wxSpinCtrl::SetSelection()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 01:00:04 +00:00
Vadim Zeitlin
a69be60b0f removed wxApp::DoInit(); added wxApp::CreateMessageOutput(); fixed wxMsgOutput memory leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 00:58:34 +00:00
Vadim Zeitlin
98020767fd removed extra trailing semicolons which break compilation for some compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 00:39:33 +00:00
Vadim Zeitlin
d7cbabe039 disable children when the parent is disabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 00:34:08 +00:00
Vadim Zeitlin
9a76510b8a loop in wxInputStream::Read() while there is data to read
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-29 22:10:02 +00:00
Vadim Zeitlin
0493ba1399 changed wxExecute(char **) version to take wxChar **
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-29 21:54:39 +00:00
Vadim Zeitlin
0ca5105b34 don't crash in wx(Flex)GridSizer with division by 0, assert instead; also factored out a lot of duplicated code in a single function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-29 21:48:32 +00:00
Mattia Barbon
62d3ee70e5 Documented wxListCtrl::GetColumnCount
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-29 16:46:25 +00:00
Julian Smart
a165a5dd04 Script updates
Addition of wxOS2 configure files
required for distribution


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-29 13:52:26 +00:00
Mattia Barbon
18c60872a0 Updated Svedish translation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 20:24:42 +00:00
Mattia Barbon
02fd5400c0 Added exlicit make clean/cleanall in the sample makefile usage.
Added a note that makefiles are not for UNIX, just for Cugwin/MSYS/DOS
prompt.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 20:19:26 +00:00
Mattia Barbon
6969f178bf Forgot to run autoconf before committing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 20:18:06 +00:00
Mattia Barbon
a0b9e27fd4 Applied Fabian Wenzel's patches to add -mthreads for threads to work
in MinGW.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 20:11:12 +00:00
Robin Dunn
09740c31b9 Mode distrib scripts and such
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 20:02:20 +00:00
Robin Dunn
f2c9093fc1 Installer updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 17:49:58 +00:00
Stefan Neis
0bc7468b1f Fixed version number.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 17:29:28 +00:00
Stefan Neis
1281c5c188 Added instructions for compiling with EMX.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 16:28:07 +00:00
Julian Smart
80020b62f9 Using wxImageListType instead of wxGenericImageList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 09:31:29 +00:00
Julian Smart
f9ceab7ce6 Ditribution script mods;
Use wxImageList instead of wxGenericImageList where possible
in wxListCtrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 08:54:00 +00:00
Stefan Neis
d8f591c4d9 Some OS/2 specific additions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 08:50:55 +00:00
Julian Smart
3477409312 XmNframeChildType is not in Motif 1.2. #ifdef appropriately.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 08:28:00 +00:00
Robin Dunn
7f369e7f8e SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 04:35:28 +00:00
Robin Dunn
bcd324af00 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 04:32:45 +00:00
Robin Dunn
cdc6a04129 Change how the tool scripts are installed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 04:31:25 +00:00
Robin Dunn
4d5a7477ff Some updates for the demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 01:39:00 +00:00
Robin Dunn
dd4a4b90f5 Some unicode fixes for the wxWisard wrappers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 01:38:29 +00:00
Robin Dunn
3efe95494d SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 20:50:04 +00:00
Robin Dunn
8038a80241 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 20:48:24 +00:00
Robin Dunn
849b176b3d Some distrib updates for wxPythonOSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 20:45:57 +00:00
Mattia Barbon
741258ea5a Removed (broken) cross-compilation support from makefiles.
If you want to cross-compile you better use configure.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 20:40:33 +00:00
Robin Dunn
3de0866e8c Compilation fixes for wxPython's wxWizard, added wxRegionFromPoints
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 20:35:18 +00:00
Mattia Barbon
de505a9e23 Honour wxSB_WRAP in wxMotif spin button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 20:32:21 +00:00
Mattia Barbon
c88b736cb9 When there is no display, the default log target will log nowhere.
Switch to wxLogStderr before writing the failure message.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 20:31:49 +00:00
Mattia Barbon
fe5af006f1 Don't get the string when the combobox returned CB_ERR when getting
the length.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 20:29:55 +00:00
Mattia Barbon
edc973b174 wxItemContainer already deletes client data; don't delete (again) the
data in the control.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 20:28:48 +00:00
Vadim Zeitlin
413d43d360 made it compile with wxUniv (which doesn't have tooltips)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 20:26:56 +00:00
Vadim Zeitlin
8b33303d9a another update from Andrew V. Samoilov
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 19:16:02 +00:00
Vadim Zeitlin
c19b738e74 force making stats
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 19:15:33 +00:00
Vadim Zeitlin
96d7977711 apparently CW always has vsnprintf()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 19:04:42 +00:00
Vadim Zeitlin
1dfc73b8dc expanded OnExit() docs (patch 600043)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 19:01:23 +00:00
Vadim Zeitlin
594f942cfd updated ctor/Create() signature to match the real functions (bug #596178)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 18:59:25 +00:00
Robin Dunn
d42ed6e01e Use the default stdio window for the gui tools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 18:59:18 +00:00
Robin Dunn
a6151d99e2 Updated note about the tool scripts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 18:56:35 +00:00
Vadim Zeitlin
14aea4f9bd added a section containing the preprocessor constants defined by wxWindows
(previous -- but heavily updated -- contents of docs/symbols.txt)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 18:41:49 +00:00
Vadim Zeitlin
dfa5becd4b moved the (updated) contents of this file to the manual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 18:24:26 +00:00
Vadim Zeitlin
247f500613 streamlined vsnprintf() check -- now that we fall back to our own printf() version anyhow in some cases it doesn't make sense to jump through all these hoops just to avoid it (and, besides, it didn't work anyhow); suppressed vprintf() and vsscanf() checks which results we never used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 18:15:43 +00:00
Vadim Zeitlin
3a074ba8f6 fixed crashes in Push/PopEventHandler() if the current handler is NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 17:03:56 +00:00
Vadim Zeitlin
a38d058525 fixed bug in SetStyle() which wouldn't reset the slant if it had been set before
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 16:05:35 +00:00
Vadim Zeitlin
ef66935925 my previous backwards compatible fix wasn't really very compatible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 15:37:54 +00:00
Stefan Csomor
0624ce56d8 fixed miscasing in GetOutCode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 15:14:57 +00:00
Vadim Zeitlin
277707731e added icons to virtual list mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 09:38:11 +00:00
Vadim Zeitlin
81764280af compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 09:26:30 +00:00
Vadim Zeitlin
f33f16ec02 mention wxCHECK_VERSION
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 09:20:13 +00:00
Vadim Zeitlin
750cefbca2 deprecated static wxWizard::Create()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 09:17:36 +00:00
Vadim Zeitlin
f778d781eb fixed wxVsnprintf_() compilation in ASCII mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 09:02:12 +00:00
Vadim Zeitlin
d4ea46dbad (blind) fix for BC++ compilation problem with wxPutc() redefinition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 08:56:50 +00:00
Robin Dunn
9c6b482464 Some distrib updates for wxPythonOSX, and reSWIGged a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 01:11:04 +00:00
Robin Dunn
bffe56c5d1 Updated note about wxSTC using wxPopupWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 00:58:15 +00:00
Robin Dunn
29c1c7f707 Some little tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 00:57:19 +00:00
Robin Dunn
6bd7d4c540 Don't use a wxPopupWindow on wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 00:56:56 +00:00
Guillermo Rodriguez Garcia
4244c20bf5 Fixed warnings due to use of %d for long int params in function
wxNativeFontInfo::ToString()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-26 22:54:25 +00:00
Robert Roebling
2e8613b741 Applied button aligment patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-26 21:42:44 +00:00
Robert Roebling
1cfb7d2c04 Applied zero-size patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-26 21:27:13 +00:00
Vadim Zeitlin
c03d003515 another fix to the wxFormatConverter bug with the formats which don't have to be converted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-26 21:15:04 +00:00
Guillermo Rodriguez Garcia
9b601c243f Removed compilation warnings (mostly mismatches between the format string
for debug/trace printfs and the actual parameters, e.g. int vs long, etc)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-26 21:12:25 +00:00
Robert Roebling
678d3dd242 Corrected wxFormatConverter for strings which need
not get converted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-26 20:58:56 +00:00
Vadim Zeitlin
768f1af6a2 added extra parentheses to wxDynamicCast() to allow using it like wxDynamicCast(foo, Foo)->DoFoo()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-26 20:58:53 +00:00
Mattia Barbon
8284b0c5bd Detect if g++ requires -fvtable-thunks for COM interfaces.
Newer g++ does not require nor support it, so it must not be used.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-26 20:44:50 +00:00
Robin Dunn
1f7314bce9 Ensure that the busy cursor is dismissed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-26 19:45:38 +00:00
Robin Dunn
45c6a92768 Fixup clipboard usage a bit more.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-26 17:50:44 +00:00
Mattia Barbon
a8fae7f78d Bring italian translation up to date
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 21:13:05 +00:00
Stefan Csomor
93e5d8999f added forcing to image conversion to always attempt a color icon (needed eg for menus)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 21:02:39 +00:00
Robert Roebling
9ac71bef07 Compile fix for prop.
Test change for dcclient.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 20:27:35 +00:00
Robert Roebling
5c6fa7d283 Added configure check for vswprintf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 20:26:18 +00:00
Vadim Zeitlin
129db666f1 Windows compilation fixes after recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 19:03:06 +00:00
Robert Roebling
bdaac0eba9 More work on Printing. It prints Kanji now using
outlines and correctly prints wxHTML, but there
    are still problems with GetTextExtent() etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:41:59 +00:00
Stefan Neis
50eb93aaf7 HWND already typedef'ed on OS/2 with EMX.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:29:17 +00:00
Stefan Neis
01c9a906d7 EMX (OS/2) defines _MAX_PATH only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:26:31 +00:00
Stefan Neis
64a1d923e6 HWND already typedef'ed when compiling with EMX (OS/2).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:25:21 +00:00
Stefan Neis
6502915206 protected to restrictive for compiling with EMX.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:24:18 +00:00
Stefan Neis
28ff8c8f9e Added __WXPM__ specific include, so it also compiles without pre-compiled headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:22:48 +00:00
Stefan Neis
a2cd9b8641 Update to current API.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:20:54 +00:00
Gilles Depeyrot
c016649521 BSD systems define _T to something different in ctype.h, therefore include
ctype.h before overriding _T


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:20:46 +00:00
Stefan Neis
063807f6c3 Added an include to timer.h (needed for non-precompiled headers).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:20:22 +00:00
Stefan Neis
8d8bd9bf15 Added the usual GNU pragma.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:17:54 +00:00
Stefan Neis
de56032161 EMX (OS/2) compilation fix. The implemented logic for not reloading Netscape
doesn't work and besides, Netscape is doing it automatically anyway.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:16:19 +00:00
Stefan Neis
e8e776aac3 Like VMS, EMX (OS/2) doesn't support setsid.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 18:07:28 +00:00
Stefan Neis
272ebf16f8 Compilation fixes for EMX. Mostly adding includes and declarations that
are missing when not using pre-compiled headers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 17:58:44 +00:00
Stefan Neis
2ebb116d15 Dynamically retrieve used codepage.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 17:53:55 +00:00
Stefan Neis
2b0ad4415c Use generic dirdlg, added generic mdi classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 17:50:22 +00:00
Vadim Zeitlin
e5cceba0ea no real changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 17:15:03 +00:00
Vadim Zeitlin
e93e5b0bb6 use wxWcslen() instead of wcslen() which isn't always available in wxWCharBuffer; do accept NULL in wx[W]CharBuffer ctor as the code elsewhere uses this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 17:14:51 +00:00
Vadim Zeitlin
f6f5941be5 reorganized, improved and hopefully simplified wxchar.h and printf() functions handling; also added wxWcslen() to fix wcslen() problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 17:13:44 +00:00
Stefan Neis
71c3227ddc For now, use generic dirdlg for wxOS2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 17:12:54 +00:00
Vadim Zeitlin
d74f4b5add added tests for fputwc() and wprintf()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 17:12:10 +00:00
Václav Slavík
4dd75a6aaf added wxFrame* wxXmlResource::LoadFrame(parent,name)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 12:14:37 +00:00
Robin Dunn
ba201fa431 Some build/distrib tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 05:59:23 +00:00
Robin Dunn
ebba910cf1 There needs to be an initialized wxApp to manipulate bitmaps in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 04:21:12 +00:00
Robin Dunn
6ba338ecc3 You can't paste if someone else already has the clipboard open...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 04:20:18 +00:00
Robin Dunn
e4f0b986b9 Comment out a debug printf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 04:19:45 +00:00
Robin Dunn
7a5d2dc7e2 Load the frame icons from a .py file so I don't have to figure out how
to tell distutils to install the .ico in the right place...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 03:39:00 +00:00
Robin Dunn
03d9e55cc9 Don't need the "-hybrid" in the name any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 01:53:43 +00:00
Robin Dunn
d440a0e764 Changed slightly the meaning of the Hybrid build. It is now
essentially a release build (no debug info, optimiztions turned on)
with the addition of __WXDEBUG__ being defined.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 01:43:22 +00:00
Stefan Csomor
2072fbbbc9 added new default handlers for open/print events, removing the need for using private headers in the specific application
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 22:04:04 +00:00
Robin Dunn
d8a2af5091 Updated PyCrust code from Patrick
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 21:44:57 +00:00
Robin Dunn
54f07ec450 Changed installer base filename
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 21:44:30 +00:00
Robin Dunn
f19533bfd1 Test code for float editors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 21:44:02 +00:00
Robin Dunn
505f70dec6 All editors that derive from wxGridCellTextEditor will now select the
existing value when the editor is started, just like a wxTextCtrl now
does in normal use.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 21:40:43 +00:00
Robin Dunn
8a60ff0af8 If the number or float editor is being used but the values are
saved/loaded to the table as strings, then allow empty strings.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 21:39:21 +00:00
Vadim Zeitlin
44893b87ab added wxCHECK_GCC_VERSION() macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 21:28:48 +00:00
Gilles Depeyrot
33ac313082 updated CW exported xml projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 21:08:41 +00:00
Gilles Depeyrot
c12bbf5db7 updated CW exported xml projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 20:57:15 +00:00
Stefan Csomor
3340066af6 getting rid of warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 20:20:04 +00:00
Gilles Depeyrot
b9deec0e79 ignore files produced when building samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 20:19:34 +00:00
Robin Dunn
ec53826c06 Fixed wxGridCellFloatEditor::Clone
Changed wxGridCellEditor::GetString to use %f instead of %g to match
the Renderer, otherwise it would truncate/round the value to
m_precision significant digits instead of m_precision digits after the
decimal point.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 20:03:42 +00:00
Gilles Depeyrot
a44bfc97ab updated CW exported xml projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 19:53:45 +00:00
Gilles Depeyrot
949a328699 improved conditional compilation since generic grid and new grid are exclusive
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 19:45:04 +00:00
Gilles Depeyrot
3da38569d1 added newest grid source file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 19:42:12 +00:00
Gilles Depeyrot
7492a1fe06 added missing png source files to CW project
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 19:35:31 +00:00
Stefan Csomor
79654e256b getting rid of warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 18:34:24 +00:00
Stefan Csomor
68a9d9d04f getting rid of warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 18:10:08 +00:00
Stefan Csomor
8140eec95a getting rid of warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 17:20:12 +00:00
Stefan Csomor
49b45dcd85 getting rid of warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 17:06:53 +00:00
Stefan Csomor
7934cbd11d getting rid of warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 16:36:12 +00:00
Stefan Csomor
7af79c94e6 getting rid of warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 16:36:11 +00:00
Stefan Csomor
5115c51a82 wxUNUSED
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 16:29:33 +00:00
Stefan Csomor
5b028d57d1 getting rid of warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 16:20:21 +00:00
Stefan Csomor
023fff9ae0 fix for getting CW Carbon Target
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 14:50:36 +00:00
Stefan Csomor
8a1e6413fe getting rid of warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 14:41:56 +00:00
Julian Smart
c33c81c30f wxChoice derives from wxChoiceBase; renamed Append to DoAppend
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 10:54:15 +00:00
Julian Smart
3f2b72b240 Attempts to reduce errors in compile farm for
unusual combinations of platform/app


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 10:01:47 +00:00
Stefan Csomor
b96a8bdb60 wxToupper added again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 07:40:45 +00:00
Gilles Depeyrot
0326d9689e opaque toolbox structs under Classic break access to contrlDefProc
the default value is fine for Classic & Carbon unless __WXDEBUG__ is defined


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 06:55:46 +00:00
Robin Dunn
11ef82e90a SWIGged update for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 02:44:52 +00:00
Robin Dunn
361cef5fdb Change back to the simple method by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 02:44:30 +00:00
Robin Dunn
ef08ab5284 Ensure that the mouse is not captured in the calltip window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 02:37:21 +00:00
Robin Dunn
4efcf9a185 Fixed a layout bug in XRCed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 02:30:48 +00:00
Robin Dunn
f725aedbae Added SendSizeEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 02:30:11 +00:00
Robin Dunn
628c7f79d4 Added wxXmlResourceHandler to wxPython and enabled it's virtuals to be
Python Callbacks.  Added a sample to the demo to show how to do it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 02:29:34 +00:00
Robin Dunn
92e898b0b4 Added generic LoadObject methods that can load any classtype from a
resources and return it as a wxObject (Assuming there is a handler for
it.)

Enabled wxFrames and wxDialogs to be loaded using a new instance
rather than only with existing instances.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 02:26:13 +00:00
Vadim Zeitlin
cdb105516c mention the key code changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 20:35:24 +00:00
Vadim Zeitlin
74ee96987a compilation fix for Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 19:53:25 +00:00
Vadim Zeitlin
a8bf182601 fixed some GTK2 compilation warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 19:01:47 +00:00
Václav Slavík
904a226c23 applied patch #599264 (fixes to wxrc -g)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 18:52:31 +00:00
Robin Dunn
dc0ace7cdd Fixed compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 18:21:05 +00:00
Vadim Zeitlin
7475e8a313 fixed crash when calling Delete(root) and also when calling Delete(descendant_of_selected_item)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 18:05:58 +00:00
Ron Lee
76432737a5 removed #include shlobj.h -- it breaks mingw32 wxBase builds ( needs -fvtable-thunks )
and appears to be unneccessary for mingw32 gui builds.  It's been around since 1.1 so
I'm blindly guessing no one else will need it now either.  If that's wrong, please wrap
it in USE_GUI, thanks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 18:05:11 +00:00
Vadim Zeitlin
dd0e4a9047 fix wxMotif sample program compile test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 17:43:51 +00:00
Vadim Zeitlin
1d65a68f65 define wxUSE_XPM_IN_MSW for MSW compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 16:54:04 +00:00
Vadim Zeitlin
bac409a004 compilation fix for !WX_PRECOMP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 16:00:32 +00:00
Vadim Zeitlin
a81705a3d4 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 15:59:29 +00:00
Stefan Csomor
202848fe9e removed WXK_SPACE as duplicating the selection event, added theme text drawing patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 14:35:44 +00:00
Stefan Csomor
9210422353 fixed selection handling and added default/cancel handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 14:17:28 +00:00
Stefan Csomor
4dcf0afed7 setting the current event record correctly (needed for control text handling)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 14:16:55 +00:00
Stefan Csomor
fd76aa8d8a make sure we don't keep a focus pointer to a window that gets deleted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 13:31:14 +00:00
Stefan Csomor
ef08713a5b brought key values of EVT_KEY and EVT_CHAR in synch with wxMSW and wxGTK...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 12:43:28 +00:00
Stefan Csomor
26bea6ac6d added wxSIZE_T.. defines (every release of CW has a different typedef but I hope they all end up as unsigned long
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 12:41:01 +00:00
Julian Smart
1fc32b12ee Misc mods for feedback from Marcin Wojdyr <wojdyr@if.pw.edu.pl>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 11:57:10 +00:00
Julian Smart
fde719f935 Updated release scripts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 11:29:27 +00:00
Stefan Csomor
867e99f57d switched to MacOS 8.5+ implementation for submenus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 09:20:10 +00:00
Stefan Csomor
404dfcae70 added test for m_macControlIsShown in MacRedrawControl apparently HideControl does not work correctly for all controls...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 07:25:39 +00:00
Ron Lee
738aea8e0f add libwx_dcsvg.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 03:50:23 +00:00
Ron Lee
fdb599058d Updates for 2.3.3 debs.
Typo fix for start of local event id's.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 03:33:12 +00:00
Vadim Zeitlin
72383a729f blind fix for gcc warning about ?: and different enums
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 23:25:42 +00:00
Robin Dunn
dd4aa550ab Only catch exact menu range
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 23:25:34 +00:00
Vadim Zeitlin
aafbc3454c fix for gcc warning about incorrect format arg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 23:22:45 +00:00
Vadim Zeitlin
d2aa73a8a6 gcc warning about unused smile fixed (that's serious stuff)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 23:20:40 +00:00
Julian Smart
95c0018510 Tidied up filename.tex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 22:03:09 +00:00
Julian Smart
eca2483012 Create STC lib in standard lib dir as per other project
and makefiles


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 22:02:46 +00:00
Julian Smart
146f8b59b3 Added CW for Mac list file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 21:22:33 +00:00
Vadim Zeitlin
7fb1b2b4c4 fixed default button handling: don't keep BS_DEFPUSHBUTTON style when the app loses focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 20:34:29 +00:00
Vadim Zeitlin
cdfb1ae1bc fixed a few typoes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 20:14:47 +00:00
Vadim Zeitlin
8b1d8f3611 gcc 3.1 warning fixes (patch 598343)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 19:22:52 +00:00
Vadim Zeitlin
5f3455052c compilation fix (patch 598331)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 18:12:01 +00:00
Vadim Zeitlin
bdf5c30deb fix for wxComboBox flicker on create (patch 598891)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 18:11:27 +00:00
Vadim Zeitlin
80695f83d3 removed debugging code from the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 18:02:38 +00:00
Vadim Zeitlin
5036ea9074 send event from Clear() for a simple text control, send only one event from SetValue() instead of 2 for a rich one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 18:02:16 +00:00
Vadim Zeitlin
674c474f20 mention that Clear() and SetValue() *will* send EVT_TEXT events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 18:01:38 +00:00
Stefan Csomor
fac9b0cf88 fixed mounting points under /Volumes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 17:44:43 +00:00
Vadim Zeitlin
33c8cf5e8c use SendSizeEvent() to resize the button correctly after reparenting under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 17:04:06 +00:00
Vadim Zeitlin
a4f25aef35 made wxFrame::SendSizeEvent() public and documented it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 17:03:38 +00:00
Vadim Zeitlin
2eb4c3aabe reverted patch 598016 (removed MSWCreateControl() visible parameter)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 16:00:45 +00:00
Julian Smart
a9c824e90f OnSize must not be skipped for non-wxX11 platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 15:44:34 +00:00
Julian Smart
c832ef4985 Applied patch [ 598016 ] remove flicker during combo box creation
By Benjamin I. Williams (biwillia76)

The attached patch completely fixes the flicker problem when
creating combo boxes.  It also will make it elementary to
remove flicker during the creation of other controls
(although all the other controls are flicker free, AFAIK).
It does this by adding an optional 'visible' parameter to
the internal MSWCreateControl method, whereby the caller can
create a control invisibly by default, perform some
complicated sizing calculations, and then finally show the
control before the Create finished.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 09:41:05 +00:00
Stefan Csomor
0e7fa78358 added error code for better debugging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 08:48:14 +00:00
Stefan Csomor
f125ccf240 fix when bitmap is not valid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 08:47:34 +00:00
Stefan Csomor
bfc2bf628f fix for getting proper fspecs for volumes that are not given with the trailing separator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 08:46:52 +00:00
David Webster
9e25f50910 Minor slider fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 04:59:03 +00:00
David Webster
1b75810c8d Font updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 01:02:37 +00:00
Robin Dunn
49218ee6c9 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 00:04:36 +00:00
Robin Dunn
5a32574e8d SWIGged update for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 00:04:24 +00:00
Robin Dunn
85260f24de A more dynamic wxWizard sample, and a fix for wxGrid wrappers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 00:00:04 +00:00
David Webster
a4353f07c6 Font updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 22:46:05 +00:00
Robin Dunn
6a6ff5640d wxWizardPage now handled by OOR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 21:46:53 +00:00
Robin Dunn
3e1f6ec48a SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 20:40:58 +00:00
Robin Dunn
c81fd4b937 SWIGged update for wxGTK (the last checkin was really for wxMSW...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 20:34:48 +00:00
Gilles Depeyrot
371fd015a7 corrected enabling of a specific item by index
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 20:20:20 +00:00
Robin Dunn
5d5d57f3ec SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 20:15:42 +00:00
Robin Dunn
3b3ab7f6f3 Various changes needed to match recent cvs updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 20:15:05 +00:00
Vadim Zeitlin
6f3d3c68fd polling child process IO seems to work now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 19:49:34 +00:00
Vadim Zeitlin
92a2a7eb81 fixed the async process IO polling code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 19:45:59 +00:00
Vadim Zeitlin
b767f77178 better dummy implementation of IsInput/ErrorAvailable() (it's still wrong but now no more wrong than before my changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 19:44:47 +00:00
Vadim Zeitlin
79bbbd1bc3 added propsize to the list of samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 18:41:23 +00:00
Vadim Zeitlin
2c7c1d1ea8 compilation fix after my previos m_exitOnFrameDelete changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 17:04:50 +00:00
Stefan Csomor
ba12463b25 fixing a possible NULL ptr exception when dispatching key events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 16:13:57 +00:00
Stefan Csomor
17e504023d I think this is now defined in the common accel.h, I'll remove it if no build complains...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 16:08:29 +00:00
Stefan Csomor
12e049f6f0 centralized key handling, control key handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 16:07:18 +00:00
Stefan Csomor
d1aba6dbbd fix for single item wildcards with no explanatory name item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 16:06:44 +00:00
Stefan Csomor
4ccc303a24 centralized key handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 16:05:37 +00:00
Vadim Zeitlin
f2e73b59d4 regenerated everything
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 16:04:34 +00:00
Vadim Zeitlin
ad749aaf03 added stats target to show the number of translated strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 16:01:15 +00:00
Julian Smart
44e1a03ff3 Applied patch [ 598173 ] Fixes erroneous logging notebook sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 15:58:49 +00:00
Julian Smart
3f148eb67a Applied patch [ 598286 ] Fixes uninitted var in drawing sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 15:56:42 +00:00
Vadim Zeitlin
f459d460ea removed (broken) richedit sample from the list of samples to build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 15:21:26 +00:00
David Webster
1c4fbbf159 OS/2 update to get Tip icon created correctly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 15:03:18 +00:00
Vadim Zeitlin
4198403e00 updated with the patch from Andrew V. Samoilov
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 14:32:41 +00:00
Julian Smart
ac240778d0 Added a line about MINGW32VERSION
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 07:31:00 +00:00
David Webster
25fc812c74 File dialog fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 04:12:31 +00:00
Vadim Zeitlin
15c3723c60 added wxCheckListBox::HitTest() (modified patch 594524)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 22:55:32 +00:00
Vadim Zeitlin
7ca528cb60 test new wxProcess::IsInputAvailable/Opened functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 22:33:55 +00:00
Vadim Zeitlin
411165f3f4 added and documented wxProcess::Is{Input|Error}Available() and IsInputOpened
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 22:33:20 +00:00
Vadim Zeitlin
7906613173 fixes for wxExecute() with IO redirection: wxStreamTempInputBuffer is now used under MSW as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 22:32:40 +00:00
Václav Slavík
db59a97cda 1. minor rewrite of XRC's stock_id/stock_client handling, now guesses client id from context
2. fixed 'platform' property handling


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 22:28:15 +00:00
Václav Slavík
6ada5c3359 yet another variation on the same theme: wxMAKE_ART_ID_FROM_STR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 22:27:54 +00:00
Václav Slavík
7a442f311a minor rewrite of XRC's stock_id/stock_client handling, now guesses client id from context
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 22:27:24 +00:00
Vadim Zeitlin
e1756d2af5 removed a few already implemented entries, added 3-satte checkbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 19:12:13 +00:00
Julian Smart
c9b3918ae4 OpenGL off by default on Mac, correct scripts to
copy setup0.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 18:38:05 +00:00
Stefan Csomor
44ba8f0ea9 not necessary anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 18:37:08 +00:00
Julian Smart
c892a77ee4 Fixed compilo (default arg) in joystick constructor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 17:16:58 +00:00
Julian Smart
131f9d9b19 Applied patch [ 597700 ] Fix proposal for wxJoystick under MSW
Proposed fixes for the wxWindows joystick code under
MSW.
Some of these would be valid for other platforms, too.

Events for buttons are named wrong, docs say different.
Docs say EVT_JOY_BUTTON_DOWN and
EVT_JOY_BUTTON_UP,
but the code says EVT_JOY_DOWN and EVT_JOY_UP. I
suggest
changing the code to match the docs.

wxJoystick::GetNumberJoysticks() should be a static
member
function. Having to create a joystick object to see if there
are joysticks is silly.

Docs for GetNumberJoysticks() must be changed; it returns
the
number of potentially connected joysticks, not the number of
actually connected. Alternatively, GetNumberJoysticks() and
others must be rewritten to conform with documentation,
including
remapping of wxWindows sequential joystick ID's to match
MSW non-sequential joystick ID's.

dwSize is not set when joyGetPosEx() is called. SEVERE
ERROR.

Error return value from functions should not be a legal
return,
for instance, wxJoystick::GetPOVCTSPosition() returns 0
for error,
but this is a legal return value.

GetButtonState() supports only four (out of 32) buttons.
Also, should return as bitmap (LSB = button 1). (Win32
does this,
although not documented as such).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 17:16:05 +00:00
Julian Smart
b5c702530e Applied patch 548046: wxDebugAlloc & wxDebugFree thread safe
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 16:57:09 +00:00
Robert Roebling
3fc6e5fa23 Added scrolling of widgets to GTK 2.0.
Removied obsolete ifdef from toolbar code.
  Updated readme.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 15:48:14 +00:00
Robert Roebling
8805e15544 Implemented Maximize() etc for GTK 2.0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 15:44:26 +00:00
Vadim Zeitlin
e015c2a31f rewrote wxString::To/FromAscii() to fix a few small problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 15:09:27 +00:00
Vadim Zeitlin
e7d41190e0 added tests for wxString::To/FromAscii
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 15:07:51 +00:00
Vadim Zeitlin
c12ef8a2e8 don't initialize m_str twice in wxCharBuffer ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 15:07:24 +00:00
Vadim Zeitlin
63bd679bc0 fixed Unicode wxBase config in VC6 project files, there was an extra quote which was completely confusing the compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 14:56:45 +00:00
Vadim Zeitlin
8dce54c9e6 added support for wxCONFIG_USE_NO_ESCAPE_CHARACTERS flag to wxFileConfig (patch 591381)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 14:29:22 +00:00
Vadim Zeitlin
33293a32fe fixed error message when long options are disabled (patch 597771)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 14:15:42 +00:00
Julian Smart
7666ad4935 Added brief instructions for compiling wxMSW with configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 14:11:55 +00:00
Vadim Zeitlin
fb848f582b added mentions of internat sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 13:41:45 +00:00
Vadim Zeitlin
fb96947585 fixed m_relative initialization in wxFileName default ctor and Clear() (patch 597736)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 13:28:51 +00:00
Vadim Zeitlin
b3e51e0f0f updated mutex and semaphore docs to reflect the new API (patch 593994)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 13:25:21 +00:00
Vadim Zeitlin
e9bb94cf4a removed extra semi colon which provoked CW warnings (replaces patch 596658)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 13:21:02 +00:00
Vadim Zeitlin
f92c90eb3a removed extra semi colon which provoked CW warnings (part of patch 596658)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 13:19:33 +00:00
Julian Smart
8dafe2c7d5 Incremented version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 11:51:14 +00:00
Julian Smart
bb811f17f0 -enable-mdi for X11 now works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 10:01:52 +00:00
Julian Smart
6c70a9b594 Added generic MDI files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 09:27:29 +00:00
Julian Smart
b9f933ab5d Applied patch [ 597398 ] Generic MDI, wxNotebook based.
By Hans Van Leemputten (hansvl)

- This patch implements a generic notebook based mdi,
due to that wxMDIChildFrame could not derive from
wxFrame some things in the samples and in the docmdi
classes needed to be adjusted... basically this comes
down to not do (wxFrame *) but instead do
(wxMDIChildFrame *), or store a pointer to the frame in a
wxWindow* instead of a wxFrame variable...

- The main reason wxMDIChildFrame cannot derive from
wxFrame is that it would take to much platform specific
functions to be overwritten (= lot of ifdef's). This then
couldn't be called generic anymore, so that's why we
need to derive from wxPanel...

- Tested on/with:
1. wxMSW (I disabled the MSW MDI implementation to
be able to test it), tested it with the MDI sample,
docvwmdi sample and docview sample and also tested it
with wxWorkshop. (test = compile and run)
2. wxX11, tested with the same set wxWin samples as
the wxMSW test. I also compiled wxWorkshop with it,
but could not run wxWorkshop due to some issue not
related to the MDI implementation.

- How to apply:
* Apply the patch
* move mdig.cpp into wxWindows/src/generic/
* move mdig.h into wxWindows/include/wx/generic/

- Some extra things that still need to be done:
* File lists, project files should be updated to include
mdig.cpp (the patch only change this on wxX11)
* The configuration script should be updated.
* Maybe wxUSE_GENERIC_MDI_ARCHITECTURE also
should be added so it is only included when wanted...




git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 09:09:55 +00:00
Julian Smart
90b18154c8 Applied patch [ 597320 ] Return wxNotebook::SetSelection value
By Hans Van Leemputten (hansvl)

According to the documentation
wxNotebook::SetSelection() should return the previous
selection... (Like wxMSW does) but the wxUniv version
returns the currently selected selection.

Patch was tested with wxX11.

Applied patch [ 597313 ] Popup menu still used after deletion

By Hans Van Leemputten (hansvl)

- This patch exists out of 2 parts;

Part 1 is a patch to show the problem with the menu
sample (this part is just to show the problem and should
not be put into CVS!).

Part 2 is the fix and should be put in CVS.
(src/univ/menu.cpp)

- Instructions to reproduce the problem with the menu
sample:
1. Apply part 1 of the patch only.
2. Run the sample after recompiling it.
3. Press "Close Test" -> "Close", this will basically
remove the current menu bar and recreate it again and
re-use the menu item "Close test" from the old menu
bar...
4. Again press "Close Test", doing this will already
crash the sample.

- The cause of the problem is that the m_popupMenu in
wxMenu is deleted because it is a child of the old menu
bar (Note: it does not get destroyed by the wxMenu
destructor, but by DestroyChildren()) and m_popupMenu
is not put back to NULL when this happens...

- This patch was tested only with wxX11.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 08:34:05 +00:00
Julian Smart
2406fd34fe Reordered ClearCache calls as per Roger Chickering's suggestion.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 08:13:22 +00:00
David Webster
b93f4bb9da FileDlg updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 05:00:48 +00:00
Václav Slavík
e4c2bd8403 reverted Robert's preference for tables-driven EC_CharSet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 23:09:18 +00:00
David Webster
4efd425972 Weekly updates and file dialog implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 22:22:31 +00:00
Stefan Csomor
49a9ce1b64 corrected button modifier state in carbon, cursor setup corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 19:40:28 +00:00
Stefan Csomor
2e17d7f8c9 wxMac needs same cursor setup for cursor as GTK and MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 19:36:19 +00:00
Stefan Csomor
a397f85cd7 const char correction for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 19:34:13 +00:00
Robert Roebling
ca11abde11 Lots more Unicode fixes.
wxClipboard fixes for GTK2 and UTF8.
  wxFileConfig now uses wxConvLocal to convert text
    and doesn't crash anymore..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 17:02:10 +00:00
Robert Roebling
127328cdd3 Extra check for GTK2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 17:00:06 +00:00
Robert Roebling
a3c24e91eb Make wxTELETYPE and wxMODERN map to monospaced fonts.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 16:59:24 +00:00
Julian Smart
1241ab8ba0 Added EVT_JOY_BUTTON_... macros as per the manual,
retained the old names for compatibility.
Changed 2.3.2 to 2.3.3 in a couple of files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 16:09:40 +00:00
Julian Smart
316df2f209 Removed an old email address
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 10:03:20 +00:00
Julian Smart
59af5f19d0 Set the selection under Motif in wxChoiceDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 09:59:03 +00:00
David Webster
a23692f070 Weekly catchup as well as better font and fontdlg support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 02:28:02 +00:00
David Webster
c93f804a15 updates mostly for better font support and some weekly catch-up work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 02:24:22 +00:00
David Webster
bdc8dd3c89 some OS/2 updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 02:23:40 +00:00
David Webster
42d9bd5dc9 need for VisualAge to include wchar.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 02:22:46 +00:00
Vadim Zeitlin
9e5b30eb3e fixed wxBase compilation (what was msgdlg.h doing in wxchar.cpp?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-18 22:50:04 +00:00
Julian Smart
c482b99ec9 Use wxGenericImageList for wxMSW/wxUniv now; this
allows us to remove the MSW-specific code in wxUniv's wxNotebook
(maybe elsewhere?)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-18 22:42:58 +00:00
Julian Smart
7be6137a8c Further installation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-18 18:24:23 +00:00
Václav Slavík
49dd9820ac don't crash if used in iconv-like fashion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-18 17:23:08 +00:00
Julian Smart
e492150d40 Corrected HTML index, other distro-related tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-18 14:10:52 +00:00
Julian Smart
2d1084ea5d Don't compile socket table if wxUSE_SOCKET is 0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-18 08:09:36 +00:00
Václav Slavík
4c2afb6fbc make it possible to easily define artID from a string (for XRC)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 22:24:34 +00:00
Václav Slavík
c3ccca4a00 simpler fix for locale catalogs lookup bug (better one will hopefully follow)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 22:24:19 +00:00
Julian Smart
52127426a1 First cut at socket support in wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 22:19:37 +00:00
Robert Roebling
f06e307501 Put various #ifdefs vsnprintf() back in, they were
lost in today's changes..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 22:17:07 +00:00
Robert Roebling
3fc306e9c3 Printing paper sizes, file printing, print metrics..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 21:41:15 +00:00
Vadim Zeitlin
d81cc883bc some harmless warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 21:00:28 +00:00
Robert Roebling
03914ad4ec Typos.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 20:50:34 +00:00
Robert Roebling
7291c37aa8 iconv() really never set the trailing 0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 19:36:07 +00:00
Robin Dunn
832e44d38a Tweaked python image output slightly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 19:12:21 +00:00
Robin Dunn
2365e5cbcf Put the page in the event for all event types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 19:09:20 +00:00
Robin Dunn
af83019e94 Added wxWizard and the wizard page classes, as well as a wizard sample
in the demo.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 19:08:21 +00:00
Robin Dunn
eb67b7039d Fixed wxPython's wxArt constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 19:07:19 +00:00
Robert Roebling
4bc6e5c51a iconv() doesn't set the trailing zero
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 18:20:53 +00:00
Robert Roebling
3b2e67f672 Another UNicode conversion fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 17:35:36 +00:00
Julian Smart
94d8612744 Removed excess distribution archives
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 17:29:57 +00:00
Robert Roebling
09c9194a19 Printing things.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 17:04:06 +00:00
Robert Roebling
fb3ed106d1 Compile fixes for ANSI mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 17:03:01 +00:00
Robert Roebling
eba330067e Removed all deprecated printing code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 16:29:05 +00:00
Julian Smart
d7ada45299 Script mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 12:11:41 +00:00
Robert Roebling
5f1d306901 %s to %ls conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 12:11:03 +00:00
Robert Roebling
6d60815d74 Convert %s to %ls and %c to %lc in printf and scanf etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 12:09:48 +00:00
Julian Smart
06bb3c60d1 Remove mmedia makefile for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 11:31:57 +00:00
Julian Smart
ab9ed7a58c Removed all trace of richedit from scripts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 07:44:19 +00:00
Vadim Zeitlin
00344dd0f0 compilation fix for wxApp after exitOnFrameDelete changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 23:03:01 +00:00
Vadim Zeitlin
43a997b6e2 a better fix for notebook page not being refreshed after Delete()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 22:57:04 +00:00
Julian Smart
dba860d9e4 More script tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 22:29:52 +00:00
Julian Smart
c3aefaf3e6 Corrected SVG makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 22:29:33 +00:00
Julian Smart
ba637f22e6 Corrected files for PDF RTF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 21:07:48 +00:00
Julian Smart
674fdaba5c Tweaks to distrib scripts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 20:41:30 +00:00
Robin Dunn
33b44316a8 Bad copy/paste fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 19:54:03 +00:00
Robin Dunn
032b1ef198 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 19:53:24 +00:00
Robin Dunn
2913e597d9 Don't send EVT_KILL_FOCUS when the window is in the process of being
deleted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 19:52:39 +00:00
Robin Dunn
57ee4c3b3b SWIGged update for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 19:45:18 +00:00
Robin Dunn
3979290c61 Reorganized listctrl demo a bit so I can test a bug report
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 19:44:51 +00:00
Robin Dunn
098be78d39 wxPython needs to deal with the new exitOnFrameDelete policy too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 18:52:16 +00:00
Robin Dunn
366e8ae675 Exit on frame delete is now initialized and handled in AppBase.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 18:50:17 +00:00
Robert Roebling
384a130382 Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 17:39:51 +00:00
Robert Roebling
7b4a847fb9 Exchanged compile flags so that local include paths
are used before others (such as PangoFT2'2).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 17:18:09 +00:00
Julian Smart
332b8edbdc Script tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 17:08:47 +00:00
Julian Smart
bf89b538f2 Applied patch [ 596061 ] Adds more navigation buttons to preview
By Juergen Geltinger (jgelti)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 16:18:28 +00:00
Julian Smart
9f4de2dcf8 Applied patch [ 566816 ] adds xBase type for Sequiter's SQL/ODBC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 12:43:07 +00:00
Julian Smart
8f8edad80e Fix for Unices with small command line space
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 12:22:23 +00:00
Julian Smart
38be1092b6 Added wxMac distrib to tardist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 11:39:11 +00:00
Julian Smart
af1337b041 Applied [ 594925 ] Implement wxArtProvider and XRC together
By Robert O'Connor (robertoconnor)

This patch is a draft which successfully allows a wxArtProvider to serve out icons to bitmaps for XRC files.

The syntax to use a wxArtProvider bitmap is:
<bitmap stock_id="wxART_INFORMATION" stock_client="wxART_TOOLBAR">somefallbackicon.png</bitmap>

The bitmap is optional, and will only be used as a fallback image, if the wxArtProvider returned a wxNullBitmap for some reason.

The client attribute, if not specified, currently will be wxART_OTHER. Perhaps there should be a guessing heuristic of it being in a menu node to call wxART_MENU.

Usage of XRC resouces and wxArtProvider together can be seen in an updated /contrib/samples/xrc demo, which is a separate patch.

Search the wx-dev mailing lists for "wxArtProvider" and "XRC" for the full discussions on this feature's API design.

Applied patch [ 594932 ] Extended XRC XML resources sample
By Robert O'Connor (robertoconnor)

This is a more comprehensive introduction to how to get up and running using XRC in your new wxWindows project.

It describes both the basics (for new users) and advanced features. It consists of a demo of dialogs and frames loaded from XRC. Each dialog has a textctrl at the top of the dialog, which walks the new user through that feature.

There are 8 demos:

The 4 basic ones:
-A non-derived dialog, as typically used for an about dialog.
-A derived dialog that loads its resources from an XRC (a frequently-asked question on the mailing lists), and responds to some simple events, including the disable-another-control-via-EVT_UPDATE_UI that is another FAQ, and powerful and simple-to-use feature.
-A XRC reference "Controls" dialog, using a notebook. Each tab has a single control. All XRC handled widgets can be seen at a glance, and how to use them under XRC.
-An uncentered dialog, to demonstrate the easy use of <centered>1</centered> to automatically place a Dialog centered on its parent..

The 4 advanced ones:
-Embedding a custom class into an XRC dialog, by using the "unknown" class.
-Using wxArtProvider to use stock icons from within your your XRC resources.
-Using the platform attribute to selectively show a part of XRC based on the current OS.
-Runtime variable expansion (demo only. Not implemented at this time).

Also:
-The main frame is now demonstrated as being loaded as an XRC.
- The toolbar has longhelp tag demonstrated, and are hooked up to the same events as the menu to show how XRCID() works on the same tool and menuitem XRCID.
-Some custom icons for the demonstration were created, and put into the toolbar and menubar. A custom icon also for the demonstration.
-The example code has been put in 1 class per file (both .cpp and a matching .xrc), to make it much less confusing for a newcomer to figure out what class is what, expecially with all the wx macros for declaration and implementation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 11:24:46 +00:00
Julian Smart
cff81649d6 Applied [ 594745 ] Fixes core dump under Forte 6U1 in imagbmp.cpp
By John Skiff
I was getting a core dump under Solaris 2.6 when
storing images. My compiler is Forte 6 Update 1. The
problem was in imagbmp.cpp:

t@1 (l@1) signal BUS (invalid address alignment) in
wxANIHandler::DoCanRead at line 1304 in file "imagbmp.cpp"
1304 if ( FCC1 != *riff32 )
(dbx) p FCC1
FCC1 = 31064321
(dbx) p *riff32
*riff32 = 1380533830
(dbx)

I have tested the fix under Windows 2000, Solaris 2.6,
and Irix 6.5.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 10:51:07 +00:00
Julian Smart
508196798b Applied patch [ 594717 ] Implements wxFRAME_FLOAT_ON_PARENT
By John Skiff


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 10:33:41 +00:00
Julian Smart
6b2878de13 Applied patch [ 594623 ] FL: No Taskbar entry for tool windows
and also replaced -with-iodbc with -with-odbc in the docs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 10:31:53 +00:00
Vadim Zeitlin
b13cd66e42 only test for pangoft2 if we're using GTK 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 10:28:12 +00:00
Julian Smart
4f3b37fd0e Applied patch [ 594416 ] MDI Previous Child
From Benjamin I. Williams


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 09:55:54 +00:00
Robin Dunn
3520ad4b92 demo tweak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 02:27:28 +00:00
Robin Dunn
84c1ffa9cc Compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 02:27:12 +00:00
Vadim Zeitlin
42cfcc58ee wxCheckWindowWndProc() now checks for the original window proc in the window class and not for the current (possibly subclasses) window proc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 00:53:45 +00:00
Vadim Zeitlin
df7145da50 change the selection appropriately (and refresh it as needed) after deleting a notebook page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 00:48:45 +00:00
Vadim Zeitlin
5c36387841 fix for the bug introduced by the last commit: don't quit the program when a standard msg box is closed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 00:44:03 +00:00
Vadim Zeitlin
3957448a34 added a command to delete last page and not only the current one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 00:09:29 +00:00
Vadim Zeitlin
3ab6431727 added missing header to fix wxGTK compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 22:20:55 +00:00
Vadim Zeitlin
f75363eed1 ExitOnFrame behaviour update for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 22:14:05 +00:00
Robert Roebling
94ac672812 What did I change here?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 20:49:10 +00:00
Robert Roebling
27ff87da23 Fix to not break GTK2 output. (wxLogMessage bug).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 20:48:02 +00:00
Robert Roebling
6a59178a52 wxTextDataObject should convert to and
from UTF8 in Unicode mode under GTK.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 20:47:04 +00:00
Robert Roebling
2e1d710482 Further UNicode fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 20:45:58 +00:00
Robert Roebling
acbeb7b368 strings are now wxChar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 20:43:00 +00:00
Vadim Zeitlin
1cbee0b42c the app doesn't exit any more if a dialog is shown (and destroyed) while
the flow of control is still in OnInit()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 20:42:07 +00:00
Vadim Zeitlin
62b77e42be some old minor doc fixes I forgot to commit somehow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 20:38:39 +00:00
Vadim Zeitlin
b79a8705e6 added wxList::IsEmpty()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 19:38:46 +00:00
Vadim Zeitlin
57f2b902bc fixed (and slightly cleant up) wxGTK compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 17:55:03 +00:00
Vadim Zeitlin
1e023926ec fixed a harmless warning (patch 595096) and added a comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 17:47:13 +00:00
Stefan Csomor
2fca5a0004 (hopefully) workaround for a carbon bug not always setting the modifiers event record field.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 13:28:48 +00:00
Robin Dunn
aaad759f90 Allow AddWindow and RemoveWindow to be overridden in classes derived
in Python


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 23:26:42 +00:00
Robin Dunn
a9f4542f8a Typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 23:25:45 +00:00
Robin Dunn
0b190ffcee Bugfix for wxListCtrl::GetColumn. It wasn't checking the returned format correctly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 23:25:06 +00:00
Vadim Zeitlin
110d05999f fixed the paths of the theme files in the VC++ wxUniv project
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 22:29:58 +00:00
Stefan Csomor
a9169c1bd3 added key code fix to carbon event handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 21:46:34 +00:00
Robin Dunn
ad9f1aec63 Fixed wxMSW's EVT_CHAR so it conforms to the docs and also what wxGTK
does already.  IOW, Ctrl-C should result in keycode == 3, not 99.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 21:22:43 +00:00
Václav Slavík
db70a2f20a define wxART_* constanst in way that will make adding XRC support easier
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 20:04:18 +00:00
Stefan Csomor
b5a8b32f50 fix when not having precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 19:00:05 +00:00
Stefan Csomor
8095ef23e7 attempt to bring event system in synch with MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 18:41:12 +00:00
Stefan Csomor
41d368a4bb separated modifier keys handling in order to distinct key/up down events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 17:09:20 +00:00
Vadim Zeitlin
8dcfd2f963 small fix to reduce flicker slightly while dragging the sash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 15:10:30 +00:00
Vadim Zeitlin
dd81d20292 added a 1 line script to generate the tags file for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 15:04:04 +00:00
Stefan Csomor
06e8a59de3 added creation of dialog - perhaps needed for all platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 13:04:39 +00:00
Stefan Csomor
1bab9242a9 added creation of dialog - perhaps needed for all platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 13:01:05 +00:00
Stefan Csomor
e466fe5f4d cleanup code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 12:58:52 +00:00
Václav Slavík
b8b8c49b54 Python support in wxrc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 11:02:39 +00:00
Robin Dunn
afcb7fb8de Put a panel under the colored windows so wxGTK's notebook doesn't
munge the bg color


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 00:29:13 +00:00
Robin Dunn
eb0f373c99 Fixes and other changes to the demo and some library modules so they
work better (or at all) on wxMac


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 23:59:08 +00:00
Robin Dunn
c50c32efd1 Changed style so it looks good everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 23:25:49 +00:00
Vadim Zeitlin
74cf9763b4 Fixed size buffers are not a good thing. Period.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 23:16:25 +00:00
Robin Dunn
f0a0d77e35 Use a better index
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 23:16:20 +00:00
Robin Dunn
3b86714961 Added a sample to the demo that catches various key events and
displays the details of the event.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 23:12:25 +00:00
Václav Slavík
f09359cf1b fixed pangoft2 check: moved outsided cached block
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 23:10:26 +00:00
Václav Slavík
ab217dba91 reverted previous checkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 23:09:40 +00:00
Václav Slavík
83afe21166 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 23:09:33 +00:00
Vadim Zeitlin
aa4b7ef978 tidied up patch 583937 (wxClassInfo dtor)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 22:37:41 +00:00
Robert Roebling
b15ed74753 New GTK 2.0 Update() code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 20:59:05 +00:00
Robert Roebling
331a0b6b7a New code for Update() under GTK 2.0. Added
native GdkRegion() constructor to wxRegion.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 20:58:23 +00:00
Robert Roebling
6c2019b942 Minor correction to GetTextExtent.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 20:56:40 +00:00
Robert Roebling
02c0348e97 Forgot Unicode conversion in wxStaticText.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 20:37:00 +00:00
Robert Roebling
0c15fcc814 This way strconv copmiles again. I don't think
this is the intended use of ICONV_CONST, though.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 19:55:14 +00:00
Vadim Zeitlin
982f23fd00 better use strncpy() than strncat() with uninitialized buffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 19:40:41 +00:00
Robert Roebling
48d011c896 Implemented GetTextExtent() for GTK 2.0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 17:23:20 +00:00
Vadim Zeitlin
5c0a20c393 minor fixes:
1. removed "We already do it" as "We" is not a valid shell command :-)
2. define _GNU_SOURCE in setup.h and not in the compiler flags
3. allow to build with GTK2 without pangoft2 (and without printing then)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 12:26:31 +00:00
Stefan Csomor
7e2eb7107d added new method MacSetupCursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 12:17:56 +00:00
Vadim Zeitlin
c010d6a985 compilation fix for wxGTK (missing header)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 11:45:56 +00:00
Stefan Csomor
c5bdc14fd6 corrected BestSize algorithm
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 09:51:13 +00:00
Stefan Csomor
c1cddfe88d added missing wxMacPortSetter helper(this) calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 09:14:48 +00:00
Stefan Csomor
467e3168b3 all controls use 32 bit values now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 08:50:41 +00:00
Stefan Csomor
0f4930939e corrected internal window position after a zoom operation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 06:55:48 +00:00
Václav Slavík
579d81381e added pangoft2 check to configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 22:13:21 +00:00
Václav Slavík
28a663e685 seems I forgot to check in these changes to tex2rtf packaging scripts...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 22:08:05 +00:00
Robin Dunn
383ea3d026 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 21:56:11 +00:00
Julian Smart
da1158bb91 'if' commented out by JACS on behalf
of Hans Van Leemputten <Hansvl@softhome.net> who
points out that UpdateSpinBtn should always be called,
to ensure m_lastVisible is up to date.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 21:41:45 +00:00
Robin Dunn
2eb31f8b19 More build/distrib tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 21:30:02 +00:00
Robert Roebling
328a083c69 Added -lpangoft2-1.0 to link line.
Added _GNU_SOURCE to compile line.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 19:47:34 +00:00
Robin Dunn
2b760f0e7a Fixed DSM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 19:33:01 +00:00
Robin Dunn
6af85fcd90 Added accessor for the main window in generic wxListCtrl. In wxMSW
just returns self.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 19:17:43 +00:00
Robin Dunn
3fce70fbf5 wxPySimpleApp calls wxInitAllImageHandlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 19:16:53 +00:00
Robin Dunn
4491d3aed1 Little samples updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 17:56:45 +00:00
Robin Dunn
198f875b6c More wxListCtrl test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 17:54:46 +00:00
Robin Dunn
bd43598279 Show how to use a wxMemoryFSHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 17:54:26 +00:00
Robin Dunn
b817523b2b Build and distrib tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 17:45:17 +00:00
Robin Dunn
04c883f8c9 Added menu icon methods everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 17:44:11 +00:00
Julian Smart
e118897acb Increased the message buffer size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 15:43:45 +00:00
Václav Slavík
02a775c98e fixed wxChar definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 11:10:39 +00:00
Václav Slavík
98e78a5eb4 fixed another typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 11:10:28 +00:00
Stefan Csomor
db9e27177f updated project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 05:28:46 +00:00
David Webster
07df68c89a Font fixes for the font dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-11 23:47:44 +00:00
Julian Smart
9bc138582e Corrected typos for
typedef void (wxEvtHandler::*wxIconizeEventFunction)(wxIconizeEvent&);
typedef void (wxEvtHandler::*wxMaximizeEventFunction)(wxMaximizeEvent&);


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-11 20:11:01 +00:00
Robert Roebling
a732ef9150 Same typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-11 19:39:51 +00:00
Robert Roebling
d0a6ad19bc Typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-11 19:39:22 +00:00
Robert Roebling
04c7912765 Killing more wxConvLibc calls...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-11 16:32:50 +00:00
Robert Roebling
c35c94f6cd Corrected dangerous cast.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-11 16:17:23 +00:00
Robert Roebling
b1ac3b56e6 Added wxString::FromAscii() wxString::ToAscii().
Removed wxConvFile, made it a define wxConvLocal.
  Exchanged some wxConvLibc to wxConvLocal calls.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-11 13:09:57 +00:00
Stefan Csomor
43330cc9de OSX fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 20:02:14 +00:00
Stefan Csomor
ebb7606e7d wxMac removed debugging code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 20:01:34 +00:00
Stefan Csomor
b6f5f27a33 commented out controlDef for carbon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 19:00:34 +00:00
Václav Slavík
43d99b6dc0 fixed broken test in configure: no, DJGPP really is not UNIX...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 18:23:40 +00:00
Václav Slavík
ddfca47f05 tell that there was an error...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 18:11:45 +00:00
Mattia Barbon
6a30f1c8ae Check if linking a motif program requires -lXp and/or -lSM -lICE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 17:27:52 +00:00
Robert Roebling
8e11fbb010 Compile fix for wxBase/Unicode/Unix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 16:02:21 +00:00
Václav Slavík
c0f02dbcba SciTech MGL changed public interface again, let's accomodate...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 14:51:34 +00:00
Václav Slavík
3b5a798153 fixed Julian-introduced typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 14:51:26 +00:00
Robert Roebling
aed08d7967 (char*)(const char*)xxx.mb_str() is not a good
thing under Unicode.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 14:41:37 +00:00
Robert Roebling
a59c124d06 Implemented the various printf() functions under
Unicode with their GNU libc 2.2 funtions. This
    saves us some unicode<->ansi conversion and we
    no longer need the experimental printf() code
    in string.cpp. I had to implement wxSprintf()
    using wxSnprintf() as the former doesn't exist
    in Unicode GNU libc 2.2.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 11:58:15 +00:00
Robert Roebling
e6ccaf1a99 Added explicit Unicode conversion to wxDir - the
code looked supicious to me.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 11:54:51 +00:00
Robert Roebling
24f588af92 Fix for Unicode conversion.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 11:24:25 +00:00
Stefan Csomor
9c34dd9dea corrected ::Clear
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 09:58:52 +00:00
Stefan Csomor
e600c175c0 added new implementation for editable and brought selection behaviour in synch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 09:45:20 +00:00
Stefan Csomor
17a2c5a10f implemented clipping for controls via callback (classic only)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 09:41:10 +00:00
Stefan Csomor
15cae9eb9e window clipper added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 09:38:46 +00:00
Stefan Csomor
08a88c3368 added control action for redraws (classic only)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 09:37:02 +00:00
Stefan Csomor
e671beca24 added clipping code for controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 09:36:09 +00:00
Robin Dunn
cd834e7b5a Allow loading xrc resources from a string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-09 19:29:52 +00:00
Julian Smart
5a07e97482 Delete help text entry before adding new one, else
you can't reset it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-09 18:35:00 +00:00
Julian Smart
e5b4877116 Added brief explanation about building RPMs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-09 09:35:45 +00:00
Robin Dunn
107e024888 More tool script tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 23:02:41 +00:00
Robin Dunn
9239ff22ae Added pyshell and pycrust scripts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 22:34:29 +00:00
Robin Dunn
17d598b270 Some little tweaks to PyCrust
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 22:33:57 +00:00
Robin Dunn
b2a2e5bf12 new SWIGged files for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 22:08:31 +00:00
Robert Roebling
92980e9076 Changed wxStat, wxAccess and wxOpen to no longer
being just a define so that the signature is
    using wxChar under Unicode under Unix just as
    it does under Unicode under Mac. This required
    some modification in various places, but should
    make debugging a little easier, among others.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 21:44:50 +00:00
Robin Dunn
c4e387521b PyCrust updates from their CVS.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 21:44:11 +00:00
Robert Roebling
8115f9e70f Adapted to Unicode compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 21:41:16 +00:00
Robert Roebling
d1efca1a2a Hopefully corrected conversion buffer size.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 21:40:30 +00:00
Robin Dunn
bd4b9c8c54 Make batch files for the tool scripts, and other related changes for
win32.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 20:14:13 +00:00
Robin Dunn
6b2cf8c9e1 Fixes for Bug #592758
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 19:11:07 +00:00
Robin Dunn
efe12e9542 Updated version and other minor tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 18:32:08 +00:00
Robin Dunn
e98fc45512 New wxActiveX code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 18:29:59 +00:00
Robin Dunn
f6f98ecccd Moved tools to be a Python package in wxPython.tools, added scripts to
import and launch each tool.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 18:28:21 +00:00
Robert Roebling
f341e39bdf Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 18:26:02 +00:00
Václav Slavík
9245daad03 added RPM spec file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 18:21:59 +00:00
Václav Slavík
c0ad31563f unified archive naming to name-version-arch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 18:21:49 +00:00
Václav Slavík
8ac5de361e tex2rtf: fixes to makefile.unx to make rpm spec file possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 18:21:44 +00:00
Václav Slavík
c82da8109c tex2rtf fixes: removed missing files from src.rsp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 18:21:38 +00:00
Julian Smart
b318dc4237 Applied patch [ 579219 ] wxNotebook:SetPadding added
This allows changing the padding of the icons and text
in the tab of a wxNotebook for wxGTK.

Since the container in the tab is only a horizontal
container only the width component is used. Negative
values are acceptable so no checks were made.

It now defaults to a padding of 0 on the sides and 1 in
between the icon and label, looks good for a few
"themes" I tried.

Note: Unfortunately there is no function to set the
padding on the left or right side of a widget.
gtk_box_set_child_packing sets padding on BOTH sides of
a widget so you'd get double the spacing between an
icon and the label. To get around this, the icon (if
there was one) is removed and added back. That way the
icon will provide the padding on the left and the label
will provide the padding between and to the right. It
looks nice for all sizes. The
gtk_container_set_border_width unforuntately only adds
borders to ALL sides equally.

A simple check is to add m_notebook->SetPadding in one
in the spinctrl callback in the controls sample. (set
appropriate range too -10,20). Note that the tab sizes
change to fit the width of the panel, if appropriate,
and so the spacing between the icon and label changes
accordingly. This isn't a bug, but it does look weird
as you scan up and down the spacing (which nobody would
normally do).

I also changed all wxGtkNotebookPage variables to
nb_page so that "int page" would be used to mean the
page number. Just cosmetic for consistency with the
rest of the functions that were already like that.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 10:11:32 +00:00
Julian Smart
7f19fc8cae Applied patch [ 584057 ] Fixes calculation bug in wxThread::Sleep
There's a problem in src/mac/thread.cpp function
wxThread::Sleep when CLOCKS_PER_SEC is not
1000. The amount-to-sleep code doesn't take into
account this value. Due to this when I did Sleep(1000) it
was sleeping a fraction of a second because on my Mac
CLOCKS_PER_SEC is 60. This patch fixes it.

Dimitri Schoolwerth (dimitrishortcut)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 10:04:13 +00:00
Julian Smart
a57a1fb7e0 Applied patch [ 588140 ] User Scaling of Rotated Text on wxGTK
The effect of wxDC::SetUserScale() on
wxDC::DrawRotatedText() is to scale the text **twice**.
The code is in src/gtk/dcclient.cpp

The first scaling operation occurs when choosing the
GTK font size (as happens for wxDC::DrawText()). The
rotated text is scaled a second time when blitting the
rotated text bitmap to the DC, in the functions
XLOG2DEV(x + dstX) and YLOG2DEV(y + dstY).

The supplied patch moves the rotated bitmap co-ords
(dstX, dstY) outside of the LOG2DEV functions.

bryan cole (bryancole)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 10:00:50 +00:00
Julian Smart
5b222f1c9e Applied patch [ 587450 ] Scoped Smart pointers and docs
By Jesse Lovelace (thementat)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 09:57:05 +00:00
Julian Smart
73c3b37be1 Applied patch [ 589903 ] Update doc for CW/wxMSW install
This patch updates the CW section in
docs/msw/install.txt for the development (2.3.3) branch.

It fixes a couple typos and clarifies how to use the
minimal project file as a template for other projects.

Igor Mikolic-Torreira
igormt@alumni.caltech.edu


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 09:46:35 +00:00
Julian Smart
71cffa9f0f Applied patch [ 587723 ] Update to cw.rsp file
I've updated the file so it captures all the files that are
unique to the wxMSW + CW combination.

Even though not all of the samples have CW project
files, all the samples are listed in the rsp. That way if
more samples get project files prior to release 2.3.x or
2.4, there will be no need to modify this file.

I did, however, remove all of the util sub-directories from
cw.rsp because none of the util sub-directories have any
CW project files (and I don't foresee adding any ;)

Igor Mikolic-Torreira
igormt@alumni.caltech.edu


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 09:44:32 +00:00
Julian Smart
75cc04751c Applied [ 587500 ] Update CW project file for wxMSW
This patch updates the CW project file for building
wxMSW.

It patches the file src/wxWindowsW7.xml on the
development branch.

It does the following:

(1) adds the file src/common/msgout.cpp to the build.

(2) moves popupwin.cpp ahead of sub-libraries in the link
order for linking the library (this is just paranoia on my
part ;)

Igor Mikolic-Torreira
igormt@alumni.caltech.edu


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 09:37:55 +00:00
Julian Smart
c7808714c9 Applied patch [ 587454 ] CW-related wx/wxchar.h fix
This fixes the problem in include/wx/wxchar.h with
including <wchar.h> for CW reported by Andreas
Simanowski.

The current version does not work with CW Win32 builds.

The fix suggested by Andreas is incorrect, because it
will break the wxMAC CW builds.

The purpose of conditionals starting at line 77 is to
correctly handle the various compilers. The fundamental
problem with the existing code is that it begins by
conditioning on __WIN32__. This is wrong, and makes
it hard to handle compilers that work on more than one
OS (such as CW).

Instead the conditionals should be done purely on
compilers. Each compiler can then set things
appropriately. If a particular compiler works on more
than one OS but has different needs on each OS, then
this can be handled within the code for that compiler.

The attached patch removes the top level conditional on
__WIN32__ and restructures the remainder as a series
of conditionals on individual compilers.

Igor Mikolic-Torreira
igormt@alumni.caltech.edu


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 09:35:25 +00:00
Julian Smart
91b167ddeb Applied patch [ 590031 ] Slider: Events must be enabled earlier
The current wxSlider - implementation gives a gtk-warning
about not being able to find an event handler. This is
because the first call of GtkEnableEvents has to happen a
few lines earlier. The patch fixes this.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 09:24:38 +00:00
Julian Smart
7a9c8d7492 Applied patch [ 591998 ] EventHandler chain incorrectly updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 09:21:56 +00:00
Julian Smart
c29582d0b0 Applied patch [ 590247 ] Fix bad calculation of listctrl update.
In wxGenericListCtrl when removing single items a call to
RefreshAfter would cause bad things to happen in GTK/X11.
It would under certain circumstances put Xlib into an
exponential memory and cpu usage mode. Causing
eventual core dump but not before using all memory and
swap.

The problem is that RefreshAfter is passing a negative
height rectangle refresh to GTK/X11. This stems from a mixture
of using scrolled and unscrolled values to calculate the
update region.

This patch fixes the problem... by transforming to scrolled
values earlier. And also adds one optimization to not
update when the item is below the visible area.

Tested on GTK.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 09:15:03 +00:00
Julian Smart
5ac7be7a9f Applied patch [ 592363 ] Owner Draw Round 2 fixes
This patch fixes the following items in the owner draw
code:

* When an item is disabled, yet highlighted, the code
will now retrieve the user's system settings for
greyed-out text and use that color. Previously, the
code had continued to print the disabled text with an
embossed effect, which looked bad when the item was
highlighted.

* Menu formatting, such as hot-key underlining
(example, "&Open"), has been fixed.

* Measurements and alignments with
accelerators/hot-keys has been fixed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 09:10:04 +00:00
Julian Smart
2ad99bc139 Applied [ 590985 ] fix for radiobox under motif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 09:00:54 +00:00
Julian Smart
1c507b171a Applied patch [ 592063 ] generic notebook does not OnSelChanging
Misc other mods


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 08:54:49 +00:00
Julian Smart
c266945cab Removed bogus default parameters, applying
patch [ 592492 ] motif, solaris 8, gcc 3.1 build failure


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 08:51:22 +00:00
Robin Dunn
248834a066 Typo fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-07 21:06:33 +00:00
Robin Dunn
3e60899273 Bug fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-07 21:06:17 +00:00
Robin Dunn
7681345971 bug fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-07 21:05:58 +00:00
Julian Smart
e797067cba Added error directive for MSW since no longer needed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-07 20:21:26 +00:00
Robert Roebling
c31c771b2d Added support for outlines printing under wxGTK. I still
have to figure out how to do scaling right, the current
    values are guesswork.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-07 17:35:26 +00:00
Robert Roebling
8887e2341a Compile fix for Unicode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-07 17:34:19 +00:00
Julian Smart
a437860367 Updated file list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-07 15:56:02 +00:00
Julian Smart
bacfb94fb3 Added scripts to make Tex2RTF distribution on Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-07 15:50:31 +00:00
Julian Smart
eefc691533 Added files to Tex2RTF file list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-07 15:48:29 +00:00
Julian Smart
eeff588280 Added licence docs for Tex2RTF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-07 15:24:07 +00:00
Julian Smart
8bf469b985 Removed temporary file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-07 09:56:52 +00:00
Julian Smart
56d349220f Added files for creating independent Tex2RTF distributions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-07 09:56:23 +00:00
Mattia Barbon
5991550a13 Fix makefile.g95 for make 3.77
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-07 08:56:08 +00:00
Julian Smart
6788de4d30 Added ProcessIdle virtual function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-07 07:56:09 +00:00
Robert Roebling
4e8e547ca5 Small fix for Pango printing with bitmaps.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-06 20:51:52 +00:00
Mattia Barbon
f37907ff76 Patch [ 588732 ] makes wxRB_GROUP/radiobuttons working
from Marcin Wojdyr (wojdyr)

Applied with some modifications (remove buttons from the chain on
destruction, or the program will segfault).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-06 19:54:46 +00:00
Robert Roebling
f7c22a2874 Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-06 19:14:44 +00:00
Robert Roebling
46eed000d6 Further code for Pango fonts (work now) and
some code for Pango prining. Doesn't work..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-06 18:58:19 +00:00
Robert Roebling
db16cab461 Lots of work to set PangoFontDescription as the
native font info data. WIP.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-06 16:41:31 +00:00
David Webster
b720b24da8 Lots of OS/2 updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-06 03:35:32 +00:00
David Webster
94640e0414 Some OS/2 Updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-06 03:34:32 +00:00
Vadim Zeitlin
0532a25881 added a more convenient version of wxFileType::GetOpenCommand()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 18:49:38 +00:00
Robert Roebling
401eb3dec2 Lots of Unix/Unicode compile fixes, some of which
are just #ifdef 0 such as the wxExecute calls
    in gdcps.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 18:04:08 +00:00
Gilles Depeyrot
d7a7bd6d27 added missing include file for ProjectBuilder (Mac OS X)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 18:00:55 +00:00
Robert Roebling
fab591c5cc Lots of updates for Unicode and GTK 2.0 support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 17:59:20 +00:00
Robert Roebling
dd398cd02c Added various MACROS for converting strings
back and forth in the different ansi/unicode/gtk
    mode/versions.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 17:57:53 +00:00
Robert Roebling
54afeafe9b Compile fix (include order) for Unicode under Unix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 17:56:52 +00:00
Robert Roebling
b03f81b778 Miserable hack around problem when shrinking
a scrolled window with child windows when
    it was maxiamally scrolled.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 17:56:06 +00:00
David Webster
2eb96d03e6 OS/2 VA needs to include time.h to get the time calls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 15:53:21 +00:00
David Webster
cf4d0c5b0b FALSE, not false
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 15:50:05 +00:00
David Webster
b389a12d03 Lots of fixes for common dialogs, radioboxes, static text, checkboxes and so on.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 03:15:13 +00:00
David Webster
344e7ee2c5 Font fix for OS/2 common control creation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 03:13:59 +00:00
David Webster
760a4fb945 Fixes for common dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 03:12:36 +00:00
Julian Smart
d9cf726bf3 Applied patch from Benjamin Williams to improve
wxMenu ownerdraw behaviour


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-04 19:03:56 +00:00
Václav Slavík
bdf7416759 wxCmdLineParser's output goes to stderr, not message box, under Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-04 15:40:55 +00:00
Václav Slavík
df65cc5a4b no more hacks needed in wxrc now that wxMessageOutput works...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-04 15:40:25 +00:00
Gilles Depeyrot
585a7f9db3 updated xml project file with latest changes (spinctrl, display, msgout, ...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-04 14:39:32 +00:00
Gilles Depeyrot
1327357121 add spinctrl header for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-04 13:02:23 +00:00
Gilles Depeyrot
d99937cdd8 only set focus on textctrl item if it exists (exists if combo box is editable)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-04 13:01:15 +00:00
Stefan Csomor
b8f2db1f34 added border clipping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-04 08:59:49 +00:00
Mattia Barbon
ef357cdac2 Mention wxMessageOutput in changes.txt
wxMessageOutputLog now available in all ports


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-03 23:30:55 +00:00
Stefan Csomor
7372fd0a3c added option for getting visible region w/o children clipped, added to redrawing of control code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-03 21:05:43 +00:00
Stefan Csomor
d835f05e11 added option for getting visible region w/o children clipped
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-03 21:03:41 +00:00
Mattia Barbon
09c1ea8517 Documented wxMotif changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 18:26:11 +00:00
Mattia Barbon
bd996abe63 Fixed yet another error in my wxCmdLineParser mdifications.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 17:55:54 +00:00
Stefan Csomor
327788acc5 corrected scrolling problems for controls, switched to separate wxSpinCtrl implementation, both wxComboBox and wxSpinCtrl now have proper parenting for their members
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 15:46:45 +00:00
Stefan Csomor
434ec26e81 corrected scrolling problems for controls, switched to wxSpinCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 15:44:21 +00:00
Stefan Csomor
10a3fc075c added a MacUpdateDimensions callback for DoMoveWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 15:41:06 +00:00
Stefan Csomor
0034fe6d67 separate mac implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 15:36:12 +00:00
Stefan Csomor
c05a5f07d3 added a MacUpdateDimensions callback for DoMoveWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 15:33:47 +00:00
Stefan Csomor
f401a117d6 switch to a separate implementation for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 15:30:58 +00:00
Julian Smart
f41bc3e3f3 Renamed internal GetClientWindow to GetClientAreaWindow so
as not to clash with the MDI function of the same name


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 08:31:59 +00:00
Mattia Barbon
508d586ea2 Patch [ 584078 ] Misc samples fixes from Dimitri Schoolwerth
Addresses:
  printf-format warinigs
  indentation/style
  unused variable warnings
  used wxID_ABOUT for about menu entry
  removed references to "minimal sample" in other samples
  some other misc warinigs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 08:16:15 +00:00
Julian Smart
9708db208d Applied [ 586524 ] wxVariant Enhancements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-01 20:00:55 +00:00
Mattia Barbon
e02911a260 This is a quick hack: if there is no global wxMessageOutput instance, and
there is a wxApp instance, call wxTheApp->DoInit() to initialize the
global wxMessageOutput instance. The correct solution is to ensure that
wxApp::DoInit is always called.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-01 19:58:32 +00:00
Mattia Barbon
0cf8b31be5 Assert is there is no wxMessageOutput
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-01 19:55:29 +00:00
Julian Smart
90a1a975d4 Applied patch [ 588734 ] Makes ProcessIdle() virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-01 19:54:55 +00:00
Julian Smart
4f7202dd93 Applied patch [ 589484 ] wxGenericListCtrl, fix for direct use.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-01 19:51:07 +00:00
Mattia Barbon
aec18ff785 Patch [ 584078 ] Misc samples fixes from Dimitri Schoolwerth
Addresses:
  printf-format warinigs
  indentation/style
  unused variable warnings
  used wxID_ABOUT for about menu entry
  removed references to "minimal sample" in other samples
  some other misc warinigs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-01 19:12:24 +00:00
Mattia Barbon
fd2807075d Fixed logic error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-31 21:06:49 +00:00
Mattia Barbon
99f7280659 Patch [ 588837 ] Fixes comment style in gsocket.*
C files should countain C-style commensts, not C++.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-31 20:44:31 +00:00
Mattia Barbon
81001ff133 Regenerated files.lst after addition of listbase.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-31 20:40:46 +00:00
Mattia Barbon
ef41d80cdf Refactored wxListBox code so that it correctly implements
wxControlWithItems, and removed some duplicated code.
Implemented wxCheckListBox using the same technique
as wxGTK.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-31 20:35:41 +00:00
Robin Dunn
73c7ae5aff My RPM spec now uses the --enable-rpath
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-31 02:51:51 +00:00
Robin Dunn
3bd8fb5f02 Added --enable-rpath=dir that will cause the -rpath linker commands to
be output by wx-config --libs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-31 02:50:40 +00:00
Václav Slavík
79683a1326 fixed icons displaying in wxHtmlHelpFrame
(somebody obviously didn't bother to check his changes...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-30 22:01:13 +00:00
Mattia Barbon
bf5c9d349f Due to my previous commit, calling wxWindow::Create( ... wxSize(-1,-1) was
causing a BadMatch error *trying to set width/height to 0).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-30 21:20:01 +00:00
Julian Smart
e81a301cbd Added wx/listbase.h with wxListCtrl types, so we can
have wxGenericListCtrl available on all platforms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-30 19:04:18 +00:00
Julian Smart
93e8d870e8 Must include wx/listctrl.h unfortunately, for now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-30 16:14:12 +00:00
Julian Smart
9cb0795323 More tweaks so wxGenericListCtrl only uses generic
components


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-30 16:01:35 +00:00
David Webster
0deff0880d Installation file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-30 15:38:19 +00:00
David Webster
abe8f53355 os2 distribution response file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-30 14:13:48 +00:00
David Webster
5d9a356404 Weekly Updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-30 11:56:31 +00:00
Mattia Barbon
99bdcd556e Fixed my utnpaste error (thanks to Marcin Wojdyr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-29 21:05:43 +00:00
Mattia Barbon
a4a2e5d2f3 w32api 2.0 will have shlwapi.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-29 20:34:11 +00:00
Mattia Barbon
395539f90f Under MSW and GTK the foreground and background colour for a blit from a monochrome bitmap
are the text for/background colours. Until now motif used the pen and background brush colours.
Now Motif behaviour matches MSW and GTK one.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-29 20:31:22 +00:00
Robin Dunn
5ccc0a5698 Changes to attempt to use a private wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-29 20:28:16 +00:00
Mattia Barbon
1ae72ce2a7 Generate EVT_SPINCTRL_UPDATED for wxMotif, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-29 20:25:52 +00:00
Robin Dunn
33ffdd7291 Added some rectangle based method overloads
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-29 20:02:18 +00:00
Julian Smart
2a0e49a46e Added wxComboBox to scroll test to demonstrate Mac problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-29 19:17:44 +00:00
Vadim Zeitlin
229653c99e fixed bug due to which all items in a virtual control stayed sometimes selected even after Clear()ing it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-29 18:29:44 +00:00
Ryan Norton
830efc9b0c Tcl regex lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-29 12:27:49 +00:00
Ryan Norton
a2acc3b918 Tcl regex lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-29 10:56:07 +00:00
David Webster
757cc9def7 Slider Updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-29 04:32:56 +00:00
Ron Lee
007c77ab4d The world should not end if a server has no peer. Let's return FALSE instead.
GAddress_copy should copy truthfully, not mangle the result if things are
going badly.  An earlier incarnation of the above.
Disable events before closing the socket, though just disabling them at all
will do.  This was the cause of the nasty 'crash on fail to bind' behaviour
that people have been seeing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-29 04:13:25 +00:00
Mattia Barbon
7af68c666b Take into account icon mask in wxStaticBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-28 20:53:12 +00:00
Mattia Barbon
44d130a35e Check for NULL pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-28 20:51:02 +00:00
Mattia Barbon
18128cbb47 Calss interface updates (wxMotif-only).
Made wxCheckBox inherit from wxChekBoxBase.
Corrected virtual function hiding in wxListBox.
Made wxRadioBox inherit from wxRadioBoxBase.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-28 20:50:37 +00:00
Václav Slavík
4e9cbd33d0 ported characters escaping in menus to GTK+ 2.0
(it is now possible to have / in menu entries, unlike in case of GTK+ 1.2;
and \ was fixed to work in 2.0)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-28 18:48:36 +00:00
Robert Roebling
8a9650eaaf New implementation of ShowFullScreen(). It works
so well, it is hard to believe.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-28 16:23:25 +00:00
Mattia Barbon
dba006200f Implemented wxSpinButton for wxMotif.
Renamed generic wxSpinCtrl::DoGetBestClientSize to DoGetBestSize
  ( the "Client" appears to be a relic of the past ).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-28 13:33:29 +00:00
Robert Roebling
f6b66bc29d Implement SetFilterIndex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-28 10:17:14 +00:00
Robert Roebling
04ea7f93e2 IMplement SetFilterINdex()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-28 10:16:50 +00:00
Václav Slavík
26a0063198 How to use MSLU with MSVC/nmake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 22:28:28 +00:00
Václav Slavík
15fe5ada4b MSLU clarifications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 22:28:19 +00:00
Václav Slavík
d0f9a3e540 libunicows moved to sourceforge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 22:27:46 +00:00
Robin Dunn
d99400b27e SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 21:29:44 +00:00
Mattia Barbon
835ce09e8d Added statline.h to wxMotif files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 20:24:44 +00:00
Mattia Barbon
54c7aaca23 Check for NULL before dereferencing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 20:14:19 +00:00
Mattia Barbon
277f2e527e Added DoSetSize and DoMoveWindow to generic wxStaticLine.
Now it works with sizers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 20:13:33 +00:00
Mattia Barbon
b5a7cdc076 Rename wxGenericImageList to wxImageList in generic wxListCtrl, too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 20:12:21 +00:00
Mattia Barbon
37c997b489 Changed wxMotif's wxWindow::Create so it does not call DoSetSize anymore;
now calling wxWindow::SetSize should call wxWindow::DoMoveWindow.
As a result composite controls should work with Motif, too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 20:10:37 +00:00
Václav Slavík
1e8724e634 added a section on when to delete global objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 18:14:47 +00:00
Václav Slavík
1233cee549 fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 18:14:42 +00:00
Václav Slavík
f9363b96c4 1. clarified relation between XRC .xrs files and ZIPs
2. some minor additions to XRC docs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 18:14:36 +00:00
Ron Lee
b40e227882 minus one show stopper typo and a couple of warnings on mingw.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 05:15:39 +00:00
Václav Slavík
a02376c832 added wxADJUST_MINSIZE to XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-26 22:09:04 +00:00
Václav Slavík
7672597c3e fix for memory leak in XRC-generated CXX resources code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-26 22:08:59 +00:00
Julian Smart
2cbc7f485f Don't fail to register remaining window classes if
one fails to register
Set window proc for non-control windows


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-26 16:13:02 +00:00
Stefan Csomor
11b3bc3a94 changed library include to use relative paths
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-26 07:13:53 +00:00
Stefan Csomor
1abad9c3ad added msgout.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-26 06:52:53 +00:00
Robin Dunn
9c2abc2c9a Show how to prevent deselection of specific items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-26 01:51:50 +00:00
Robin Dunn
5c4c285a9e Don't show a dialog upon import when Numeric isn't installed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-26 01:51:29 +00:00
Gilles Depeyrot
fa4c1d1d41 prefix include file for Project Builder project
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-25 21:47:25 +00:00
Mattia Barbon
4464ec9e90 Applied patch from Ian Brown to make menus look better in wxMotif (#586347)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-25 20:29:55 +00:00
Vadim Zeitlin
ebeb769638 corrected Enable() docs to correspond to the real method signature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-25 17:07:05 +00:00
Jouk Jansen
474cd91658 Committing in .
changed one parameter in the definition of wxBitmap from long to int.
 (just as it is in wxGTK). This solves a compilation problem on OpenVMS.

 Modified Files:
 	wxWindows/include/wx/motif/bitmap.h
 	wxWindows/src/motif/bitmap.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-25 13:29:47 +00:00
Jouk Jansen
ef0ed19e9d Committing in .
Updated OpenVMS compile support:
   setip.h_vms : added definition of wxExplicit
   descrip.mms : added msgout.cpp
   utilsunx.cpp : supressed unreacheable code warning in one routine by
                  OpenVMS only #pragma's.

 Modified Files:
 	wxWindows/setup.h_vms wxWindows/src/common/descrip.mms
 	wxWindows/src/unix/utilsunx.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-25 13:18:52 +00:00
Stefan Csomor
29b30405aa removed virtual modifier from Command handlers, added readonly and color information to textctrls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-25 09:58:49 +00:00
Mattia Barbon
9918d4d5c1 Updated Makefiles for Motif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-25 09:08:12 +00:00
Stefan Csomor
f8d5f1e2b4 removed virtual modifier from Command handlers, added readonly and color information to textctrls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-25 08:42:04 +00:00
Robin Dunn
64c06a5085 changes to match recent CVS updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-25 01:28:56 +00:00
Robin Dunn
cc164686f3 Added wxUSE_RICHEDIT to match usage in header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-25 01:27:57 +00:00
Mattia Barbon
dc0e23b8fb Updated Makefiles for all but Motif; there is either a lock or a CVS problem.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-24 19:46:48 +00:00
Mattia Barbon
74698d3a22 Added wxMessageOutput as per the discussion on wx-dev.
Added wxApp::DoInit to initialize the global wxMessageOutput instance.
Changed wxCommandLineParser to use wxMessageOutput.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-24 19:29:53 +00:00
Vadim Zeitlin
53d838be50 IsSingleLine() is now in the base class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-23 21:59:40 +00:00
Vadim Zeitlin
018f2884d8 added operator++/-- for wxAutoULong (SF patch from Igor)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-23 21:59:06 +00:00
Robert Roebling
d44c23ceb6 Changed wxGTK's notion of SetSize() to never allow setting
the width and height to -1 even if the wxALLOW_MINUS_ONE
flag is set.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-23 20:51:42 +00:00
Julian Smart
2c519e86c2 Added wxMotif comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-23 17:32:52 +00:00
Julian Smart
96c3039d9a Applied patch [ 585436 ] motif toolbar control alignment fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-23 17:31:31 +00:00
Julian Smart
7227cefd3b Applied patch [ 585322 ] motif border style fix for statictext
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-23 17:28:58 +00:00
Julian Smart
edc1cd8baf Applied patch [ 584885 ] better colour handling in motif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-23 17:25:08 +00:00
Julian Smart
94a6f0f8d6 Possibly cured the assertion message dialog paint problem,
by explicitly calling OnInternalIdle if it's a message dialog
within an assertion.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-23 16:27:14 +00:00
Vadim Zeitlin
fa2540e305 fix to not show ampersands in the static box title (needed after the previous change)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-23 14:09:32 +00:00
Vadim Zeitlin
ba0abe3c71 added test for toggling the main toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-23 14:08:39 +00:00
David Webster
31833fd72f Weekly catch up and slider fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-22 23:07:09 +00:00
David Webster
b1f9d7bf62 OS/2 tweaks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-22 23:06:36 +00:00
Julian Smart
b31989e208 Added wxListCtrl to derive from wxGenericListCtrl,
ditto for wxImageList


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-22 23:03:03 +00:00
David Webster
d62144c98d FALSE not false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-22 14:46:41 +00:00
Vadim Zeitlin
3d7fa4e684 made wxDllLoader more backwards compatible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-22 14:42:38 +00:00
Julian Smart
f44b23b6f7 Changed main ftp address to ftp://biolpc22.york.ac.uk/pub
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-22 13:37:07 +00:00
Julian Smart
3cd94a0d11 Applied patch [ 583922 ] Make generic/wxListCtrl avail. in WIN32
Generic wxListCtrl renamed to wxGenericListCtrl, wxImageList
renamed to wxGenericImageList, so they can be used on wxMSW
(Rene Rivera).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-22 08:51:49 +00:00
David Webster
70a2c6562f Dialogs and slider updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-22 03:29:07 +00:00
David Webster
f1ecc5db54 OS/2 Update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-22 03:28:12 +00:00
David Webster
10769d8c47 Lots of updates for color dialog and sliders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-22 03:27:36 +00:00
Václav Slavík
a99acbb00a Unicodification of wxDataStreams
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 22:29:08 +00:00
Julian Smart
55f9eba3b2 Returned value from operator=
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 21:45:40 +00:00
Vadim Zeitlin
73028c4b8c fixed small memory leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 20:44:11 +00:00
Julian Smart
f3a3457e65 operator = implemented inline.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 20:32:41 +00:00
Vadim Zeitlin
aa8e9a36c4 added (and documented) trivial but useful IsSingleLine() and IsMultiLine() text control methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 18:51:04 +00:00
Vadim Zeitlin
5bf75ae769 default style now applies to the text entered by the user as well (patch 574789)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 18:49:10 +00:00
Vadim Zeitlin
72adfc4ba7 fixed a compilation warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 18:46:50 +00:00
Vadim Zeitlin
d847e69ac7 fixed crash in text ctrl log on exit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 18:44:15 +00:00
Julian Smart
c7d176e2bf Made wxMouseEvent = operator public
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 17:34:06 +00:00
Vadim Zeitlin
76645ab3e5 fixed notebook sample page creation for wxGTK (patch 581280)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 14:43:09 +00:00
Vadim Zeitlin
1944ad7618 1. more consistency in wxTree/ListEvent methods naming convention:
GetKeyCode() instead of GetCode()
2. wxTreeEvent::GetKeyEvent()::IsAltDown() now works under MSW
3. wxTreeEvent::GetKeyCode() works for alnum keys


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 14:29:13 +00:00
Vadim Zeitlin
19caf22926 don't cache the result of IsAlwaysConnected() and don't call IsOnline() unnecessarily from there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 13:47:39 +00:00
Vadim Zeitlin
04354c1deb reverted Chris' MSW additions patch (we should use IPC, not Windows-only functions to implement this functionality)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 12:41:38 +00:00
Vadim Zeitlin
8d0a0c3f5a mention that usually wxGetUserId() should be used to construct the lock name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 12:38:34 +00:00
Gilles Depeyrot
a4fd44528a corrected assertion with message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 10:17:02 +00:00
Robin Dunn
861a0196f9 Test for wxPyTipProvider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 02:57:38 +00:00
Robin Dunn
cf27687318 Fix for wxPyTipProvider. Now it is possible to derive from it and
implement GetTip.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-20 19:45:24 +00:00
Václav Slavík
5918786f9f read message catalogs from the location where wxWin was installed, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-20 18:10:06 +00:00
Stefan Csomor
799690a0a9 added Mark Newsam's patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-20 13:31:31 +00:00
Stefan Csomor
b12e1d2fcd added Mark Newsam's patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-20 13:10:06 +00:00
Robin Dunn
123908fc47 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-20 02:08:34 +00:00
Robin Dunn
4c7d2b2646 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-20 02:07:56 +00:00
Robin Dunn
c2bbeff004 signned/unsigned fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-20 02:06:47 +00:00
Robin Dunn
3b5ccda128 Various little tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-20 00:14:28 +00:00
Robin Dunn
249a57f443 Made the wxInputStream typemap useable outside the core wxc module
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-20 00:10:46 +00:00
Robin Dunn
32a85500ad Added overloaded LoadMenuBar as LoadMenuBarOnFrame for wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-20 00:07:51 +00:00
Robin Dunn
d3b5510235 New wxActiveX code from Lindsay and added ability to load page from stream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-20 00:06:59 +00:00
Robin Dunn
357262e4a1 Some refinements to my experimental RPM builder script and spec
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 22:30:42 +00:00
Robin Dunn
9b9337da0c Moved the check for page scrolling with the wheel into wxMouseEvent so
it wouldn't have to be duplicated everywhere.

Also fixed wxSTC so it can handle wheel page scrolling too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 21:11:31 +00:00
Julian Smart
a536e41102 Applied patch [ 573644 ] wxDisplay for Mac (again)
Applied patch [ 573172 ] Implements wxDisplay for mac
Applied patch [ 573356 ] wxDisplay for MSW

Alterations:
Put sample in regular samples, not contrib
Removed multimon.h for copyright reasons


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 20:42:34 +00:00
Julian Smart
377a219ac7 Applied patch [ 578052 ] Doc/View and recursion problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 20:13:18 +00:00
Julian Smart
c1dfe27754 Applied patch [ 581280 ] Revamped notebook sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 19:57:58 +00:00
Julian Smart
250b589f71 Applied patch [ 581139 ] Misc wxCmdLineParser changes/fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 19:53:02 +00:00
Julian Smart
1d2eddff4a Applied patch [ 583877 ] Clone events correction
Applied patch [ 583937 ] Fix in wxClassInfo


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 19:43:55 +00:00
Robin Dunn
4b056ef54f Fix for mousewheel events when it is set to page mode instead of lines.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 19:36:53 +00:00
Václav Slavík
24f5e003c2 explicitly pass -lstdc++ to the linker in case of DJGPP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 19:21:50 +00:00
Václav Slavík
a1f7eb20e6 use wxLogFatalError, not wxFatalError
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 19:15:13 +00:00
Václav Slavík
de81a4f086 dde.cpp is lowlevel file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 11:27:40 +00:00
Julian Smart
0598e263ce Set default encoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 08:39:00 +00:00
Gilles Depeyrot
79656e30d2 added missing return to avoid 'control reaches end of non-void function'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-18 12:59:56 +00:00
Ron Lee
4aa0010b2b Added Set{Position,Size} to wxRect.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-18 06:29:22 +00:00
Robin Dunn
4726eec677 RPM experiments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-18 06:16:25 +00:00
Vadim Zeitlin
a7fd7c7851 wxSTAY_ON_TOP support in wxMessageBox (patch 581826)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-17 23:36:53 +00:00
Vadim Zeitlin
74bdbc46c3 explicit support for CW (patch 582581)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-17 21:55:19 +00:00
Vadim Zeitlin
a6dfe11fef maintenance update (patch 582592)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-17 21:53:29 +00:00
Mattia Barbon
17234b2644 Allow compiling wxMotif/GTK/X11 for Cygwin/XFree
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-17 16:58:05 +00:00
Robin Dunn
b18b32a196 Whate are these still doing here? They shoul dhav ebeen removed 2
years ago!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-16 20:24:19 +00:00
Václav Slavík
87b454d60e patch 580632 - fixes incorrect path problem in wxrc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-16 16:58:02 +00:00
Vadim Zeitlin
993eebf1ba fixed more printf() warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-16 14:23:24 +00:00
Julian Smart
344d296530 Updated utils/configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-16 14:10:34 +00:00
Julian Smart
bd2dfae6df Removed @IF-GMAKE... or something similar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-16 12:11:13 +00:00
Vadim Zeitlin
986ecc861c added wxEXPLICIT macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-16 12:03:44 +00:00
Václav Slavík
a0a26e4316 minor mgl/install.txt updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-16 11:45:12 +00:00
Julian Smart
71ee9e9fa9 Added helpview
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-16 10:36:00 +00:00
Julian Smart
14a63cb7f4 Added helpview to distrib lists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-16 10:05:25 +00:00
Julian Smart
31d77a5f4e Added helpview Makefile.in; added helpview to list of utils
in utils/Makefile.in


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-16 10:01:45 +00:00
David Webster
217c78b80b Fix for GetValue
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-16 04:09:26 +00:00
Václav Slavík
6c657b5253 wxMGL features detection fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 22:56:42 +00:00
Václav Slavík
c6eaa6fb67 wxPrinting fix for wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 22:55:49 +00:00
Václav Slavík
95543830f5 made printing to PS possible under wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 22:55:14 +00:00
David Webster
0256cfeb6d Dialog processing updates and some timer fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 21:50:34 +00:00
Robin Dunn
6bad4c327c Icons fetched from wxMimeTypesManager did not get the width/height of
the icon, now they do.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 18:29:52 +00:00
Julian Smart
28c98a77e9 Stripped menu control characters from buttons, static text, radiobox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 17:15:51 +00:00
Robin Dunn
feb6cde446 Assert that wxEXEC_SYNC is not passed in flags to wxProcess::Open
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 17:10:26 +00:00
Robin Dunn
72db889479 Patch #581167
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 17:09:44 +00:00
Chris Elliott
d08d71a844 single instance checker addition for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 11:40:18 +00:00
David Webster
650ff63d99 Fix text placement in statusbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 04:26:37 +00:00
David Webster
e715f4e791 Nicer looking OS/2 Statusbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 04:26:02 +00:00
Mattia Barbon
a9cb577a6f Allow building wxProtocol without wxUSE_SOCKETS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-14 20:26:07 +00:00
Vadim Zeitlin
cd6af1cb31 let the DefWindowProc() process messages sent to RAS window, otherwise the system can't shutdown properly while it exists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-14 20:02:30 +00:00
Vadim Zeitlin
109c7768eb fixed wxStrrchr(s, '\0') bug, added const and non const versions of wxStrchr, wxStrrchr, wxStrstr, ...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-14 19:55:08 +00:00
Robert Roebling
1fd1922a49 Let wxToolBar assume that no orientation flag means horizontal.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-14 17:39:20 +00:00
Robert Roebling
b8c140b89f Corrected display for empty lines in text control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-14 17:08:19 +00:00
Robert Roebling
29e4a1901a Convert to and from \n and \r in wxMac's text
control so that it always expects \n as in
     all other ports.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-14 16:51:35 +00:00
Gilles Depeyrot
dda2e4fdca corrected warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-14 13:21:23 +00:00
Gilles Depeyrot
32f1f0837e removed unused variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-14 13:19:56 +00:00
Gilles Depeyrot
0fe3b23138 added unimplemented error messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-14 13:18:34 +00:00
Gilles Depeyrot
8d4808570f added unimplemented error message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-14 13:13:40 +00:00
Gilles Depeyrot
0c32c93044 added unimplemented message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-14 13:12:06 +00:00
Gilles Depeyrot
2a29485779 explicitly raise modal dialogs in case a non modal window was selected to
activate the application when a modal dialog is displayed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-14 13:08:24 +00:00
Gilles Depeyrot
723c433f65 corrected return type of wxDetermineImageType
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-13 12:14:07 +00:00
Robin Dunn
e626d7c787 Changed wxProcess::Open to take a flags arg to pass to wxExecute.
Fixed a few _'s without \'s in the docs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 23:25:14 +00:00
Robin Dunn
8961add6aa SWIGged changes for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 21:37:38 +00:00
Robin Dunn
1144928351 SWIGged changes for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 21:37:00 +00:00
Robin Dunn
355a2516ba build script tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 21:36:08 +00:00
Robin Dunn
1883480f8d I forgot the wxSignal enum
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 21:34:02 +00:00
Robin Dunn
814f509cc9 Added wxProcess_Open and etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 21:30:17 +00:00
Robin Dunn
47eea71e18 better cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 21:29:49 +00:00
Robert Roebling
62cb3cd8a1 Tried to fix update/refresh again. The code erronously
cleared the updated area if the area to be cleared
    was empty (such as after a call to Refresh(FALSE)).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 20:27:44 +00:00
Vadim Zeitlin
eb671557a8 added a stupid wxProcess::Open() test -- it can't be really used for now though
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 19:54:21 +00:00
Vadim Zeitlin
0c9c440190 don't close end process pipe descriptor too early (fixes bug introduced by the last check in)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 19:30:43 +00:00
Vadim Zeitlin
2645b45a75 treat NULL extension properly in wxLoad/SaveFileSelector; don't crash if NULL ext or what pointers are passed to them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 18:17:24 +00:00
Vadim Zeitlin
80d6dc0a95 use wxFileInput/OutputStreams instead of reproducing their functionality in wxProcessFileInput/OutputStream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 18:16:20 +00:00
Vadim Zeitlin
da00a8bb16 added and documented wxProcess::Open()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 18:15:49 +00:00
Vadim Zeitlin
9a26db9ed2 detect EOF properly in wxFileInputStream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 18:15:11 +00:00
Vadim Zeitlin
20ea6894a2 don't write the strings to the stream one char at a time, it's *horribly* slow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 18:14:39 +00:00
Julian Smart
b23e843b99 Added wxView::OnClosingDocument so the application can do
cleanup.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 16:08:03 +00:00
Vadim Zeitlin
904ccf5237 attempt to fix a rare crash which happens when changing the number of columns in a virtual list control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 16:05:46 +00:00
Robin Dunn
04f47ce879 Allow wxComboBox to get key events for ENTER with wxPROCESS_ENTER style.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 15:45:35 +00:00
Vadim Zeitlin
b477f956e0 0. wxExecute() with IO redirection now works again (but the real fix is
in wxInputStream::Ungetch(), not here)
1. replaced multitude of pipe() calls &c with wxPipe class
2. fixed nasty bug in wxStreamTempBuffer::Update() which corrupted the data
3. increased buffer size to 4Kb from 1Kb


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 14:44:11 +00:00
Julian Smart
aacb1b8018 Somehow wxWizard lost the 'virtual' keyword for DoCreateControls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 14:43:58 +00:00
Vadim Zeitlin
42a3aedbce fixed bug in Ungetch() which was preventing wxExecute() from working: this method must clear the EOF flag!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 14:41:55 +00:00
Vadim Zeitlin
6faed57df6 added SetSashPosition() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 13:23:53 +00:00
Julian Smart
e41e138559 Added Ian Brown's fix for PopupMenu not blocking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 09:05:57 +00:00
David Webster
5d644707ca Toolbar/tooltip udates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-11 22:14:39 +00:00
Robin Dunn
63b6646e5d demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-11 20:41:21 +00:00
Robin Dunn
47b2f647b9 Typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-11 20:17:16 +00:00
Robin Dunn
d6a3401d09 Changed the wxDateTime.Parse* methods to return an int that will be -1
on failure, and the index where parsing stopped otherwise.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-11 20:16:53 +00:00
Robin Dunn
83f3dd45be Added wxEVT_SCROLL_ENDSCROLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-11 20:16:03 +00:00
Robin Dunn
811712d820 put unicode mods back in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-11 17:55:47 +00:00
Robin Dunn
83a732882a New wxActiveX and wxIEHtmlWin from Lindsay
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-11 17:43:34 +00:00
Robin Dunn
cb1871cabf Ensure that the wxSTC gets the focus when clicked.
#if'd out my wxPopupWindow meanderings and just use a simple wxListBox
for the AutoComplete window.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-10 21:12:03 +00:00
Julian Smart
e0e2509c85 Added back makefile.vc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-10 17:13:35 +00:00
Vadim Zeitlin
1eaf587e21 AIX linking fix (declare wxDataObject dtor)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-10 14:17:58 +00:00
Vadim Zeitlin
580d78b34b compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-10 14:11:05 +00:00
Julian Smart
05dedde7d0 Removed some inappropriate use of verbatim
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-10 09:06:56 +00:00
David Webster
ff5802f399 More tooltip handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-10 05:47:43 +00:00
Vadim Zeitlin
dd56228c02 extracted the scroll events docs in a single file which is now included by all the others
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 23:34:31 +00:00
Vadim Zeitlin
d79b005a94 report the sider events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 23:33:46 +00:00
Vadim Zeitlin
e8b669d34b added ENDSCROLL event (patch 576176)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 23:33:28 +00:00
Vadim Zeitlin
a29ffc34c0 the handling of Home/End in wxScrollBar was reversed -- fixed now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 23:04:47 +00:00
Vadim Zeitlin
1d1b75ace9 fix linking on AIX/RS6000 by using -mminimal-toc option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 22:41:29 +00:00
Vadim Zeitlin
125cb99b36 compilation fix for 64 bit statvfs under Solaris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 22:26:21 +00:00
David Webster
05facebb89 Tooltip udpates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 22:02:07 +00:00
Robert Roebling
ee4ead93f4 No events when setting values.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 21:01:38 +00:00
Robert Roebling
e1b93ccbdc Don't let wxSlider send events when programmatically changing
the controls.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 21:01:04 +00:00
Robin Dunn
e9409ae3e0 Compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 17:01:05 +00:00
Vadim Zeitlin
11334a9e5a compilation fixes for _LARGE_FILES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 13:27:00 +00:00
Vadim Zeitlin
5dfe606999 implemented wxVariant::NullList() (patch 578257)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 13:10:44 +00:00
Vadim Zeitlin
82df67d960 automatically initialize m_cRef to 0 (patch 575011 + more)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 11:52:11 +00:00
Julian Smart
264a108642 Simplified helpview sample again and removed bitmaps.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 10:38:51 +00:00
Julian Smart
877c86a2f2 Compiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 10:34:46 +00:00
Julian Smart
b5a912a33d Removed makefile with capital M
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 10:25:23 +00:00
Julian Smart
4e4152e4a8 Added helpview utility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 10:23:27 +00:00
Julian Smart
298fe32f7a Corrected a few typos and added references to files under docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 08:33:57 +00:00
Julian Smart
aeea799b39 Added comment about increased wxRadioBox space
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 08:18:50 +00:00
Robert Roebling
b75b6d4cd7 Added port notes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 07:19:57 +00:00
Robert Roebling
865634e88b Makefile fix for "make win-dist".
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 06:13:31 +00:00
Robert Roebling
2e9c65bf83 Oops.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 05:51:38 +00:00
David Webster
233d6db53a Tooltip updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 05:04:28 +00:00
David Webster
77aecce0a6 OS/2 fixes for new PNG lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 05:03:37 +00:00
David Webster
6c0fdfbb42 Updates for tooltip support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 05:03:04 +00:00
Robin Dunn
536a020f8a bug fix. The wxCharBuffer was being destroyed before it was used.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 23:09:15 +00:00
Gilles Depeyrot
ba51567d79 updated libpng from 1.0.3 to 1.2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 23:04:51 +00:00
Gilles Depeyrot
4946a942d7 corrected conflicts after import of libpng-1.2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 23:03:16 +00:00
Gilles Depeyrot
75b6e0a0ab readded previsouly removed files (needed for merge after import of libpng-1.2.4)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 21:35:05 +00:00
Gilles Depeyrot
f2f3b92390 corrected conlfict after import of libpng-1.2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 21:22:09 +00:00
Gilles Depeyrot
6f44446577 readded previously removed file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 21:19:52 +00:00
Julian Smart
c7fd6717af Added space under label since it was too close to first radio button.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 20:58:06 +00:00
Gilles Depeyrot
9dfaa4733c This commit was generated by cvs2svn to compensate for changes in r16093,
which included commits to RCS files with non-trunk default branches.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 20:55:23 +00:00
Gilles Depeyrot
c6b71bffdf Initial revision
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 20:52:38 +00:00
Gilles Depeyrot
8237875c04 remove conflicting libpng-1/0/3 files before import of libpng-1.2.4 files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 20:48:16 +00:00
Robin Dunn
5fea3204c9 Added generic static text control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 20:06:13 +00:00
Julian Smart
9baafdaadf Added download page link.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 19:13:46 +00:00
David Webster
97d74dd295 Toolbar fixes and weekly catch-up.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 18:23:33 +00:00
Vadim Zeitlin
58c1c0965e fixed handling of Ctrl-arrows movement which was unselecting the previously selected items incorrectly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 17:57:48 +00:00
Vadim Zeitlin
62d89eb4c9 applied the same fix for crashing if the END_EDIT event handler vetoes the event as for wxTreeCtrl; also added a few consts here and there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 17:48:41 +00:00
Vadim Zeitlin
02fe25c214 really remove the selection when Unselect() is called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 16:43:28 +00:00
Vadim Zeitlin
edb8f2985f fix crash when the user code refuses to validate the new text when editing the item and a generic label editing code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 16:38:46 +00:00
Vadim Zeitlin
9602d7ae69 made the validation message more clear
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 16:35:52 +00:00
Robert Roebling
4f469fb5c4 This memory corruption caused me three and
a half weeks of trouble.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 14:01:57 +00:00
Robert Roebling
1349f4f233 Return to 20x20 default size.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 14:01:04 +00:00
Julian Smart
42d67b6162 Added files.lst to wxMotif distribution.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 10:23:40 +00:00
David Webster
dc4211aa0c OS/2 loads bitmap resources via integer ID, not via a string filename
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 03:41:27 +00:00
David Webster
3029781e1d Toolbar updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 03:39:59 +00:00
David Webster
b6f4144e59 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 03:38:01 +00:00
Julian Smart
7414c52cd0 Added USE_ALTERNATE_UI symbol to helpview.cpp.
Set to 1 to:

- provide different icons.
- add an open file icon for the toolbar.
- use a flat toolbar style.
- show a file selector if no file was given on the command line.
- remove 'Help:' from the title bar.

Set to 0 to revert to previous behaviour.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-07 21:48:30 +00:00
Ron Lee
92aff599b5 Update Layout more correctly in DoSetVirtualSize.
fixed format string typo.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-07 03:16:35 +00:00
Robin Dunn
dc71447c71 installer fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-07 00:13:24 +00:00
Robin Dunn
24ad91f346 Changes for wxUSE_UNICODE==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-07 00:09:48 +00:00
Ron Lee
3181cff44d put wx/app.h back though, for people without precompiled headers. :)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-07 00:05:32 +00:00
Mattia Barbon
f811bc9ac0 Made documentation for wxImage::GetData/SetData more explicit about
the fact that wxImage owns the pointer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 21:16:35 +00:00
Robin Dunn
0763604ab9 Added note about the supportability of this module
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 19:09:29 +00:00
Robin Dunn
3a37d753c9 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 18:20:04 +00:00
Robin Dunn
70a357c256 Some demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 18:13:59 +00:00
Robert Roebling
3013a903c1 Cosmetic change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 14:36:39 +00:00
Robert Roebling
98dd4ee512 You can crash GTK with scrolled windows being
only 20x20 pixels large. This took me merely
     three weeks to find out.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 14:35:55 +00:00
Vadim Zeitlin
7b4c2a061b fixed bug introduced by my previous GtkUpdateSize() commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 13:14:27 +00:00
Mattia Barbon
8fde61ed10 GCC can't test prototype if using wchar_t instead of char.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 12:49:41 +00:00
Mattia Barbon
658e863a99 Fix MinGW compilation in some corner cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 12:43:28 +00:00
Robin Dunn
14c9cbdb1e Allow wxSTC to have scrollbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 06:46:24 +00:00
Robin Dunn
4fcf77bc06 Added name to wxShapeCanvas ctor for consistency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 04:14:52 +00:00
Robin Dunn
e2e02194a9 Licence --> License
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 01:47:31 +00:00
Robin Dunn
ba77f39094 SWIGged updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 01:47:02 +00:00
Robin Dunn
46e10fde20 typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 01:10:38 +00:00
Robin Dunn
c2dac7366c A few other tweaks, reduced some flicker in the demo, and etc...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 00:56:57 +00:00
Robin Dunn
763d71e442 Fix the crash-on-ActiveX-callback problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 00:55:46 +00:00
Robin Dunn
bd5dfc0725 Move wxContextMenuEvent back into the core
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 00:48:25 +00:00
Robin Dunn
752cd08c65 Actually check if the menu should be shown before popping it up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 00:47:02 +00:00
Robin Dunn
d7abf01706 Add pos, size and style parameters to the window constructors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 00:42:51 +00:00
Vadim Zeitlin
e422162882 compilation error fix (trailing comma in an enum)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-05 22:28:23 +00:00
Mattia Barbon
d285d708a2 Fix some GCC 3.1 compilation warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-05 16:45:15 +00:00
Mattia Barbon
d3f3e8575a wxPerl documentation updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-05 16:43:21 +00:00
George Tasker
9d9436810d Fixes the problem with VARCHAR fields not allowing the stored string to ever be lengthened beyond the original stored length of the field. NOTE: There may be a problem with NULLs now, so this needs further testing. I'm not sure if this affects NULL column handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-05 14:41:09 +00:00
Julian Smart
aca78774b6 Added wxRadioButton::MSWWindowProc to reset m_focusJustSet -- otherwise,
if RB1 has the focus, then you click on RB2, then back on RB1, no
command event will be generated for the last click.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-05 14:09:31 +00:00
Vadim Zeitlin
b8b7f03cef use GtkUpdateSize() for consitency everywhere instead of directly setting m_sizeSet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-05 13:24:49 +00:00
Vadim Zeitlin
94f1450956 fixed SetToolBar(NULL) behaviour -- don't leave a hole from toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-05 13:20:54 +00:00
Vadim Zeitlin
2ab30ebf65 removed unneeded inclusion of wx/wx.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-05 12:53:34 +00:00
Vadim Zeitlin
be519ffb61 argh, last compilation fix had a typo, fixed now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-04 23:23:25 +00:00
Julian Smart
f6116855f0 Corrected my wrong application of patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-04 19:08:39 +00:00
Vadim Zeitlin
0ef2ebbafc undid the patches which shouldn't (IMHO) have been applied to this branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-04 17:26:36 +00:00
Vadim Zeitlin
9cc02d047b fixed typo in including function.tex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-04 17:03:57 +00:00
Vadim Zeitlin
79b9c11411 old mingw32 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-04 16:57:18 +00:00
Stefan Csomor
89e9272849 only fowarding events if there is a focus window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-04 09:42:03 +00:00
Julian Smart
cd5082468f Updated script + FAQs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-04 09:38:39 +00:00
Julian Smart
3bc65ea95b Documented various patches from Mark Armstrong <marka@availsolutions.com>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-04 09:37:11 +00:00
Julian Smart
311298e064 Applied patch from Mark Armstrong <marka@availsolutions.com>
This patch fixes a debug assertion in tooltips.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-04 09:08:59 +00:00
Julian Smart
abc886c577 Applied patch from Mark Armstrong <marka@availsolutions.com>
This patch fixes wx combo box callbacks being executed
multiple times per MSW callback.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-04 09:08:12 +00:00
Julian Smart
077309e1a3 Applied patch from Mark Armstrong <marka@availsolutions.com>
This patch fixes two problems.
The first is a race condition during a thread exit and a join.
The second is condition where a thread can hang during
msg/event processing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-04 09:07:15 +00:00
Julian Smart
696f36b70d Applied patch from Mark Armstrong <marka@availsolutions.com>
Allows GC pool to grow dynamically.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-04 09:05:18 +00:00
Julian Smart
7bfe6a32e0 Applied patch from Mark Armstrong <marka@availsolutions.com>
Allows you to set a thread priority under Linux.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-04 09:04:17 +00:00
Robin Dunn
3eb221f6dd Updates related to wxID_ANY and etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-03 22:54:13 +00:00
Robin Dunn
c731eb4710 Added wxIEHtmlWin wrappers to wxPython.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-03 22:05:30 +00:00
Mattia Barbon
46c0c2dcf2 Updated Makefiles for MinGW GCC 3.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-03 21:46:28 +00:00
David Webster
8635b0dbb3 Menu corruption fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-03 21:44:40 +00:00
David Webster
482ee3976f Nicer default fonts for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-03 21:44:15 +00:00
Robin Dunn
188b9f2e38 Made wxBU_EXACTFIT work as documented instead of being ignored.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-03 21:34:48 +00:00
Vadim Zeitlin
ab2469043f extracted the constants to their own chapter and documented wxID_ANY and
other standard ids


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-03 16:37:43 +00:00
Vadim Zeitlin
a4ba2eeca1 fixed a compilation warning about signed/unsigned comparison
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-03 16:29:15 +00:00
Vadim Zeitlin
497dbbd37b added wxID_ANY, replaced #define's with enum
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-03 16:25:22 +00:00
Vadim Zeitlin
61138de075 removed hardcoded 48 (number of standard colours) from a few places -- still left in the others though
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-03 16:23:35 +00:00
Vadim Zeitlin
0af4b6e41d wxMotif compilation fix with gcc 3.1 (patch 576847)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-03 15:09:37 +00:00
Vadim Zeitlin
c020c47e00 fixed off-by-few-pixels error in horz scrollbar calculations (patch 575412)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-03 15:05:43 +00:00
Vadim Zeitlin
552861bf30 typos and other doc corrections from Olly Betts (patch 573738)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-03 15:01:26 +00:00
David Webster
c9667cda38 Attempt to fix buggy menus.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-03 15:00:59 +00:00
Václav Slavík
698052d5f1 fixed a Really Stupid Bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-03 09:49:03 +00:00
Vadim Zeitlin
df26c4c640 fixed checking/unchecking find/replace items in the menu problem (they becameo ut of sync with the real status)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-02 22:30:31 +00:00
Václav Slavík
99cd20beb9 fixed cmd line args parsing in wxrc (contributed patch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-02 22:06:00 +00:00
David Webster
2590f154ff Toolbar updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-02 21:10:52 +00:00
Robin Dunn
ba2b238e5d Another demo tweak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-02 17:17:09 +00:00
Robin Dunn
9f873a51d3 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-02 17:14:32 +00:00
Robin Dunn
7027757362 Added note about module not being supported
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-02 17:12:13 +00:00
Robin Dunn
be13a6af90 Some improvements and additions for wxListCtrl and logging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-02 17:11:35 +00:00
Mattia Barbon
8ac67aa102 Allow compiling when _WIN32_IE < 0x300
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-02 17:11:19 +00:00
Robin Dunn
3115ef3e56 Added menu sample, and some other minor changes to the demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-02 17:08:55 +00:00
Chris Elliott
5f4403b407 fix another icon error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-02 13:25:44 +00:00
Chris Elliott
8dcfaa404e fixes bugs reading icons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-02 13:02:04 +00:00
Julian Smart
811ad6a199 Removed strange _T()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-02 09:05:45 +00:00
Chris Elliott
04d93c3a59 UNC fix to directory path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-02 08:41:34 +00:00
Ron Lee
8b48128836 added DECLARE_EXPORTED_LOCAL_EVENT_TYPE for use with user libs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-02 04:56:41 +00:00
Ron Lee
ab8af15fed and yet once more to fix gtk compilation.. this is a nasty kludge
though, if anyone knows better, please do..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-02 01:21:09 +00:00
David Webster
b856b0f52b Toolbar update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-01 22:26:05 +00:00
David Webster
d697657f1e OS/2 updates and initial toolbar implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-01 22:22:13 +00:00
Chris Elliott
4daa4d665a make motif cursor from wxImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-01 20:34:20 +00:00
Robin Dunn
82805fe280 Fixed "different linkage" compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-01 17:45:31 +00:00
Vadim Zeitlin
c658d9a64b removed out of date copy of the file which is now in wxWebSite module
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-01 15:18:04 +00:00
Vadim Zeitlin
ffc45b6793 corrections to exiting the program, now we should wait for all threads to finish but not crash nor freeze
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-01 14:55:39 +00:00
Vadim Zeitlin
f0f1207339 fixed 2 bugs in 2 lines of wxFileSelector example code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-01 11:45:37 +00:00
Ron Lee
801225c191 Fix for the irksome, 'Details' sizing bug. Or at least a patch on a hornet's
nest.  Thanks to jill@emeraldgate.com for tracking this one (and the previous
StatusBar patch too).

There's more work here if someone wants it..  :-)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-01 10:27:29 +00:00
Julian Smart
893f25f232 Corrected scoping error for i
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-01 09:42:02 +00:00
Ron Lee
76880b8757 Preserve prior StatusBar contents when adding removing fields
(consistant with MSW behaviour).

Made m_statusSring a wxArrayString, furthur simplification may
be possible if someone is interested and has the time.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-30 23:53:58 +00:00
Ron Lee
7e55544629 fixed some pesky compile warnings, hope this doesn't nuke some
unsuspecting platform..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-30 23:48:10 +00:00
Ron Lee
cd604d6072 added export decls for MSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-30 22:44:35 +00:00
Ron Lee
bd595142ac added export decls for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-30 22:41:17 +00:00
Václav Slavík
374a8e5c7f fixed hidden root expansion in extreme usage case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-30 22:15:10 +00:00
Gilles Depeyrot
da16524e9d added static library Project Builder project for wxWindows
added Project Builder project for minimal sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-30 18:08:29 +00:00
Gilles Depeyrot
4b651a4675 rename method to prevent collision with some BSD definitions of macro Free()
(detected compiling mahogany)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-29 16:25:18 +00:00
Gilles Depeyrot
31d560bf7d improved error messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-29 11:56:42 +00:00
Gilles Depeyrot
3212043402 ignore Project Builder build directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-29 11:45:13 +00:00
Gilles Depeyrot
c920350185 keep name of wxmac icon for application bundles unstead of renaming it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-29 11:07:30 +00:00
Vadim Zeitlin
c2c59b2286 made wxGenericFontDialog derive from wxFontDialogBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-29 00:46:11 +00:00
Václav Slavík
ee66bc1fac enlarged <UL> bullets a bit and nuked this weirdness
about using rectangles where the rest of the world uses circles...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-28 22:34:11 +00:00
Robin Dunn
3709456403 Return more items in wxListCtrl::GetColumn.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-28 17:47:54 +00:00
Chris Elliott
9f79d14b31 STC and Motif patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-28 11:41:55 +00:00
Chris Elliott
b54459c491 STC and Motif patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-28 11:35:43 +00:00
Chris Elliott
d60bd5b51e remove temportay fix to Makefile.in, now configure .in is fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-28 08:52:33 +00:00
Chris Elliott
2e033fd123 make path absolute to install-sh, to fix contrib lib bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-28 08:50:40 +00:00
Vadim Zeitlin
2b15b970e0 streamlined WM_NOTIFY processing code fixing a bug with toolbar tooltips in presence of the control in toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-27 23:40:55 +00:00
Robin Dunn
25f430fcc4 Fixed compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-27 23:02:07 +00:00
Vadim Zeitlin
321d2b146b (blind) fixes for AIX: shared library extension there is apparently ".a", not ".so"; look for makeC++SharedLib in the PATH instead of hard coded location
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-27 14:29:59 +00:00
Vadim Zeitlin
f0d5e7a25a react to the year being changed in the spin control text zone and not only with the spin buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-26 23:13:43 +00:00
Julian Smart
f1fbff2887 Eliminate flashing when writing text, by clearing instead of selecting all.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-26 22:15:20 +00:00
Robin Dunn
8baa46e9bf Some trace log updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-26 20:11:34 +00:00
Robin Dunn
f9b24f070c Added demo of using a sizer in a wxScrolledWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-26 20:08:30 +00:00
Václav Slavík
fa21d3389b compilation fix (wxUniv/MSW)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-26 19:16:13 +00:00
Václav Slavík
0d5b4bc274 fix for bug reported by Robert and Julian, probably causes other problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-26 19:11:32 +00:00
Václav Slavík
e9c9f9d42d compilation fix (wxUniv/MSW)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-26 19:10:51 +00:00
Václav Slavík
a5faf8d963 added some regression tests for wxHTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-26 19:10:08 +00:00
Vadim Zeitlin
8b94d99978 fixed warning about printf format specifications <-> argument mismatches in wxLogLastError
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-26 16:27:29 +00:00
Vadim Zeitlin
ccbfa8ecaf fixed warnings about printf format specifications <-> argument mismatches
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-26 16:27:08 +00:00
Vadim Zeitlin
ba90345d08 added missing 'R' in RGB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-26 15:43:52 +00:00
Julian Smart
ad410280f9 Changed the UL bullet to be a square -- I couldn't get
it to show anywhere near nicely as an ellipse, under Windows
at least. Previously the bullet showed up as what looked like a tiny
asterisk.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-26 11:39:42 +00:00
Jouk Jansen
d38b5757e0 Committing in .
Update setup.h for OpenVMS

 Modified Files:
 	wxWindows/setup.h_vms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-26 10:48:34 +00:00
Julian Smart
c55fd2c60d Corrected typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-26 07:33:02 +00:00
Vadim Zeitlin
5624b2a1cf propgate WS_EX_CONTROLPARENT recursively upwards, not just to the immediate parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-26 00:45:13 +00:00
Julian Smart
5968a0dcd9 Corrected OnAssert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-25 18:12:07 +00:00
Robin Dunn
7c379a20cf Some typemap updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-24 23:55:30 +00:00
Robin Dunn
4615b72539 SWIGged code update for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-24 23:06:18 +00:00
Václav Slavík
17b439e88a added QS_ALLPOSTMESSAGE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-24 22:35:40 +00:00
Robin Dunn
7ba3ed2cbd SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-24 21:59:40 +00:00
Robin Dunn
86a12675f1 Added wxPyPanel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-24 21:52:44 +00:00
Robin Dunn
f1d193e7eb Fixed a typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-24 21:51:28 +00:00
Robin Dunn
366d7bd615 Added component control accessors to wxEditableListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-24 21:51:06 +00:00
Chris Elliott
009f8ef4a3 a fix to preserve UNC paths when creating the commandline argument array
tested with Borland/wxMSW; existing behaviour of replacing \\ with \ preserved
except at start of string


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-24 20:09:46 +00:00
Robin Dunn
fc5d3e42d8 better font sizes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-24 19:36:19 +00:00
Robin Dunn
09bb255197 fixed a comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-24 19:35:36 +00:00
Robin Dunn
70e8d96150 Don't try to release the mouse unless we actually have it captured.
The mouse capture can be lost if an event handler shows a modal
dialog, for example.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-24 18:35:17 +00:00
Stefan Csomor
0304b43712 added WXDisplay for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-24 18:28:58 +00:00
Stefan Csomor
f03c50fa3b corrected scoping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-24 15:26:06 +00:00
Vadim Zeitlin
6cd4655bee old mingw32 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-24 15:19:40 +00:00
Stefan Csomor
692f921af5 support for arbitrary backgrounds via suppressing the ordinary control background eraser and supplying a hook for us.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-24 15:18:58 +00:00
Vadim Zeitlin
ec6aa8ecd5 wxMotif compilation warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-24 15:15:00 +00:00
Vadim Zeitlin
e28b0102bd wxMotif compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-24 15:14:26 +00:00
Vadim Zeitlin
f3dbeba4dd fixed compilation for Mac OS X 10.1.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-23 18:55:43 +00:00
Gilles Depeyrot
595f3eefab corrected printf format strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-23 17:23:23 +00:00
Gilles Depeyrot
f5bb225133 improved memory liberation (explicitly set to NULL after delete)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-23 17:22:54 +00:00
Gilles Depeyrot
d208e6412a corrected warnings for unused parameters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-23 17:09:04 +00:00
Gilles Depeyrot
f9b170bd18 added attribute printf to perform printf format checks (GNU C)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-23 16:58:27 +00:00
Gilles Depeyrot
0078f87f40 added missing include file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-23 16:56:40 +00:00
Julian Smart
24f4ad9592 Applied patch [ 546335 ] Added Automation types and array access
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-23 14:10:32 +00:00
Julian Smart
c0b8a8b9cc Applied patch [ 571965 ] update stc contrib stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-23 14:01:57 +00:00
Julian Smart
b2261c5bb8 Applied patch [ 566194 ] Adds taskbar sample to configure-targets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-23 13:55:20 +00:00
Julian Smart
06aa2a5508 Added taskbar sample Makefile.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-23 13:53:15 +00:00
Julian Smart
fc0d5b6bd2 Applied patch [ 565012 ] Add wxTextValidator to wxTextEntryDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-23 13:51:32 +00:00
Julian Smart
45d6fd80b3 Applied [ 565397 ] FL wxNewBitmapButton patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-23 13:38:50 +00:00
Václav Slavík
a7501aebf8 forgot to check in new wxrc -- as a side effect, this commit also fixes the bug with deleting source files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-22 23:33:12 +00:00
Ron Lee
ada7d2c0e7 arg type warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-22 15:58:29 +00:00
Ron Lee
2a5c221c19 removed missing treectrl sample bitmaps from dist target,
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-22 15:55:22 +00:00
Gilles Depeyrot
c4dbf15191 integrated wxMac specific changes into common file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-22 14:05:35 +00:00
Vadim Zeitlin
148d6ad80b applied patch 568329
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 22:31:13 +00:00
Vadim Zeitlin
99a5af7f72 added wxMemoryOutputStream test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 22:07:13 +00:00
Vadim Zeitlin
3ee5833474 renamed wxWizard::Fit() to FitToPage() to avoid potential conflicts with wxWindow::Fit() (and the compiler warnings about it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 21:49:28 +00:00
Gilles Depeyrot
7357f98198 added attribute printf checks to printf like functions (when using gcc)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 21:38:43 +00:00
Gilles Depeyrot
58863a9e34 added macro definitions for printf like function checks when using gcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 21:37:00 +00:00
Stefan Csomor
b2a0801592 switch back to non appearance fonts until problems are solved
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 18:54:40 +00:00
Stefan Csomor
45c8d9e52a changed key handling to new carbon-savvy implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 16:10:34 +00:00
Stefan Csomor
ac2d1ca6c6 routing key events to new app routine
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 16:09:15 +00:00
Stefan Csomor
f11afffe01 changed handling to skip in order to have default handling working
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 16:05:46 +00:00
Stefan Csomor
ca4532668c take out key handling at control level, we'll remove that later on, if things are still working...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 16:04:58 +00:00
Stefan Csomor
72ddb593f1 factored out key handling for better integrating with carbon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 16:01:18 +00:00
Stefan Csomor
a4c4cf1028 millisecond resolution supported for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 15:59:52 +00:00
Vadim Zeitlin
2f1cd9053b fixed stray _T()s
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 11:18:19 +00:00
Chris Elliott
fa89fbe54f svg Unix fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 09:46:32 +00:00
Stefan Csomor
aee9fe73d7 corrected Appearance measuring routines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 06:54:08 +00:00
Robin Dunn
6149de710a Refactored my last change a bit and applied it in another place too.
Added the wx prefix to the other static funcitons for consistency.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 03:03:37 +00:00
Robin Dunn
e4ed5de1fe fixed a typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 02:04:43 +00:00
Robin Dunn
73d8c5fd76 This fixes a crash that would happen when DeleteAllItems is called
when some items have attributes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 01:57:17 +00:00
Robin Dunn
5a6b32cc16 fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 00:19:08 +00:00
Robin Dunn
3930382b0a Updated build notes for wxPython on unix systems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 00:17:31 +00:00
Robin Dunn
4cf1a93af3 A bit of cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-20 23:36:58 +00:00
Vadim Zeitlin
dac348b9e2 fixed compilation with CW8 (SF patch 567845) and also added alignment fillers for wxCriticalSection::m_buffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-20 22:33:22 +00:00
Vadim Zeitlin
1420518999 wxThread::Delete() doesn't wait until the next event occurs before waking up any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-20 22:25:28 +00:00
Vadim Zeitlin
d1148d2418 tried to fix a race condition in the sample, not sure if I really did it though
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-20 22:25:01 +00:00
Vadim Zeitlin
35dcf13296 added #defines required for 64 bit off_t (a.k.a. large files) support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-20 21:55:56 +00:00
Robin Dunn
1f1787645c Changes needed to allow compilation with SunCC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-20 21:53:11 +00:00
Robin Dunn
9de6ef00c7 Show changing the control colour when the validator fails.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-20 21:42:30 +00:00
Robin Dunn
bc5f2236eb Changes needed to allow compilation with SunCC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-20 21:39:33 +00:00
Vadim Zeitlin
3f3dc2efd0 don't crash trying to dereference NULL m_selection (happens when showing a grid without any rows or columns)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-20 15:01:10 +00:00
Vadim Zeitlin
bd9cd5343b fixed setting tooltips for slider by moving the code working around comctl32.dll bug from wxToolBar to wxWindow so that it is used for all common controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-20 14:49:19 +00:00
Chris Elliott
2e4b4ec598 fix to tex format documentation for wxSVG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-20 14:34:29 +00:00
Vadim Zeitlin
7f1cf28c2e added TRUE default value for Show() argument
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-20 12:52:06 +00:00
Julian Smart
13a2eea0f5 ifdefed out Offset call for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-20 11:46:58 +00:00
Gilles Depeyrot
21d1c967d7 moved header detections before sizeof detections since some headers are
conditionally used in the sizeof detections


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-19 20:25:10 +00:00
Julian Smart
2c183404b3 Added SVG to distribution scripts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-19 10:19:09 +00:00
Chris Elliott
c3ac8ee33d wxSVGDC class README.TXT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-19 09:21:31 +00:00
Chris Elliott
e104adcd97 wxSVGDC class include files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-19 09:17:46 +00:00
Chris Elliott
cdf3a589b2 wxSVGDC class test sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-19 09:16:19 +00:00
Chris Elliott
164e084ab4 wxSVGDC class documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-19 09:13:39 +00:00
Julian Smart
5152b0e59a Added AddGrab, RemoveGrab, IsGrabbed to wxTopLevelWindowGTK
and AddGrabIfNeeded to wxHtmlHelpController, to assist with
showing the help window from a modal dialog.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-18 21:46:42 +00:00
David Webster
68b893338a New .def file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-18 19:59:32 +00:00
Julian Smart
5869f93fc8 Moved flicker-removal to GTK+ code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-18 15:57:39 +00:00
Vadim Zeitlin
40c0880859 relayout the window after adding/removing the columns (fixes a SF bug I closed a long time ago -- but forgot to commit the fix)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-18 15:23:54 +00:00
Julian Smart
cf57855e9e Remove flicker in Undo/Redo menus by only updating
if we have some new text


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-18 15:12:36 +00:00
David Webster
e830103c67 OS/2 has it's own popup window source now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-18 14:43:55 +00:00
Vadim Zeitlin
0d6d6051d7 added ViewStart() as synonym for GetViewStart() in WXWIN_COMPATIBILITY_2_2 mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-18 12:47:40 +00:00
Vadim Zeitlin
b6421719c6 mention WXWIN_COMPATIBILITY_2_2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-18 12:46:56 +00:00
Julian Smart
eb411b9eea Set the clear region to be the update region if the update
region is non-empty but the clear region is empty, because
otherwise we're going to clear more than we repaint


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-18 08:29:34 +00:00
Vadim Zeitlin
03e0b2b1ff removed SetFocus() call in WM_LBUTTONDOWN handler once again: it is *WRONG*, please let me know if there is any problem this is supposed to fix but don't put it back
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-18 00:40:19 +00:00
Vadim Zeitlin
1dae1d0098 richedit 1.0 controls now send the left up event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-18 00:34:45 +00:00
David Webster
47df2b8c54 Catching up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-17 22:08:57 +00:00
Stefan Csomor
f52640f373 using Theme layout for measuring as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-17 19:38:57 +00:00
Vadim Zeitlin
5a5d3c080f oops, typo in the large file support just checked in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-17 15:51:28 +00:00
Vadim Zeitlin
90dd450cf3 added configure support for the large files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-17 15:44:11 +00:00
Vadim Zeitlin
edc1d330a5 init the event id and timestamp fields for the mouse events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-17 13:09:36 +00:00
Chris Elliott
affb67e18d patch fixing b32 makefile (sourceforge Bugs item #566439)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-17 09:07:38 +00:00
Mattia Barbon
8e777e8b59 Updated makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-16 15:38:01 +00:00
Mattia Barbon
65e8e8abb6 Recent w32api have FONTENUMPROC; this also fixes GCC 3.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-16 15:17:05 +00:00
Vadim Zeitlin
48c61225d6 argh, another IsDialogMessage() fix: we still need to check all non top level parents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-15 21:17:37 +00:00
Vadim Zeitlin
573a158618 fix for dialog navigation in the modal dialogs: do call IsDialogMessage() in this case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-15 20:09:15 +00:00
Vadim Zeitlin
5bc28e8482 allow overriding the default button labels in wxWizard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-15 17:03:18 +00:00
Vadim Zeitlin
5a403e3f2a changed WM_GETDLGCODE handling so that all windows get WM_CHARs by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-15 15:32:20 +00:00
Vadim Zeitlin
f586fde36c removed unused wxWindow::m_doubleClickAllowed field
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-15 15:20:03 +00:00
Mattia Barbon
ab71cedf54 Create a new icon for each image in a file with multiple icons.
Fixes a bug reported on wx-dev.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-15 15:04:07 +00:00
Mattia Barbon
9954786be2 Better detection for Cygwin; thanks to Oscar Fuentes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-15 14:58:47 +00:00
Robin Dunn
3bc1a8e6f0 SWIGged update for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-15 07:10:45 +00:00
Robin Dunn
8f8b0a8dfe SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-15 07:03:05 +00:00
Robin Dunn
b89f0cb06a Fix for the TAB in the autocomplete list not being used correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-15 06:41:27 +00:00
Robin Dunn
6f48b1b53f Changed name of demo so the list sorts nicer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-15 05:52:22 +00:00
Robin Dunn
fc832f8cae Switched to new inline image format
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-15 05:51:35 +00:00
Robin Dunn
a66212dcdf Fixed a bunch of embarassing reference leaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-15 05:51:11 +00:00
Robin Dunn
be88a6ade9 Fixed wxApp::OnAssert signature.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-15 01:43:03 +00:00
Vadim Zeitlin
238d33aa53 generic log dialog resizing now works more reasonably (at least under Windows): you can't resize it vertically when it is collapsed and it doesn't change horizontal size when it is expanded or collapsed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-15 00:10:42 +00:00
Robin Dunn
72797a7da3 Added wxArtProvider and other changes to match CVS updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-14 23:31:53 +00:00
Robin Dunn
6fc4b6483f PyCrust update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-14 23:28:54 +00:00
Vadim Zeitlin
09168de7a1 don't use WS_EX_CONTOLPARENT with the top level windows nor wxUniv (doesn't really hurt but is not needed neither)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-14 22:39:38 +00:00
Vadim Zeitlin
12447831a8 compilation fixes for wxUniv (moved wxDlgProc back to toplevel.cpp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-14 22:26:32 +00:00
Vadim Zeitlin
706d74ab81 compilation fix for !USE_PCH (patch 569132)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-14 22:05:21 +00:00
Robin Dunn
5abb3306e4 fixed missing comma
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-14 15:24:24 +00:00
Chris Elliott
b8d5d8b832 fixes MSW comparision where theme name extracted from the environment is in upper case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-14 14:17:29 +00:00
Chris Elliott
df77251d93 make file for wxUniversal and Borland/MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-14 13:04:30 +00:00
Chris Elliott
17a2362b6f tmake files for wxUniversal and Borland/MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-14 13:03:45 +00:00
Chris Elliott
d440dda1e0 minifram sample modified to use XPMs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-14 10:21:52 +00:00
Chris Elliott
0ed1d09c46 comment added to toolbar to say using BMPs uses less pace than XPMs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-14 10:08:07 +00:00
Chris Elliott
6f4aae6098 treectrl sample modified to use XPMs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-14 10:05:01 +00:00
Robin Dunn
99030bdf57 Missing ;
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-14 00:19:40 +00:00
Vadim Zeitlin
61179e28bd fixed problems with hanging inside IsDialogMessage or DefDlgProc by forcing all parents of windows with WS_EX_CONTROLPARENT to have this style themselves as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 23:59:11 +00:00
Vadim Zeitlin
8ff4113603 added missing space before >> button label
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 23:57:55 +00:00
Robin Dunn
6ca312ba68 New SWIGged code for wxMac,
updated version in build script


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 22:22:18 +00:00
Vadim Zeitlin
64b397664d suppress an assert when a combobox receives WM_KILLFOCUS while it is being destroyed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 20:41:13 +00:00
Vadim Zeitlin
e5251d4f78 fixes to the sizers behaviour necessary to make the log dialog work again
(thanks to Dimitri) and a few updates to the docs after the recent changes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 20:21:20 +00:00
Vadim Zeitlin
aad65f130d new wxASSERT implementation using wxAssert() helper function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 19:37:43 +00:00
Vadim Zeitlin
b7b35e5063 blind fix for latest mingw32 3.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 19:09:24 +00:00
Vadim Zeitlin
1c25d24586 blind fix for latest mingw32 3.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 18:51:01 +00:00
Vadim Zeitlin
dc84437ea2 fix link of wxDateTime inline methods using mingw32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 18:46:39 +00:00
Vadim Zeitlin
d070606729 fixed buglet in wxWindow::GetPosition docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 18:12:36 +00:00
George Tasker
aaf0836c8b Enhanced the DataTypeSupported() function to show the native data type name that is being automatically used by the wxODBC class column types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 17:51:56 +00:00
George Tasker
ff294e0eba Added a wxASSERT_MSG in ::SetColDefs() to trap for the user sending an index that is larger than the number of columns defined for the table
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 17:48:40 +00:00
Robin Dunn
4ece0694e1 Added code (currently disabled) to show putting a wxGLCanvas on a panel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 16:57:18 +00:00
Robin Dunn
d58a80fae0 Patch #568403
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 16:51:53 +00:00
Stefan Csomor
ad816ba539 adapted to new ..internal structure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 07:04:46 +00:00
Robin Dunn
0815db2686 fixed some paths in build scripts
fixed yesterday's fix


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 01:35:19 +00:00
Vadim Zeitlin
085ad68651 moved OnActivate() logic from wxFrame to wxDialog -- this fixes infinite loop when handling WM_ACTIVATE in DefDlgProc in some crazy situations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 00:04:22 +00:00
Julian Smart
7cc3cec9a7 Fixed a bug in transferring data to a wxComboBox if string is not
in the list of strings.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 21:20:56 +00:00
Vadim Zeitlin
c1cb41536a added wxGetProcessId()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 20:26:24 +00:00
Robin Dunn
f87dfa063a make the second parameter to wxTreeCtrl.GetFirstChild optional
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 19:54:18 +00:00
Robin Dunn
e7d0a4140b little demo updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 19:53:17 +00:00
Vadim Zeitlin
204dd9a771 added clipping test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 16:15:41 +00:00
Vadim Zeitlin
d5b18b50bd use AF_INET instead of PF_INET in wxGetFullHostName
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 16:08:00 +00:00
Vadim Zeitlin
63fd5f0b27 added missing semicolons after asserts (patch 567853)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 15:26:35 +00:00
Vadim Zeitlin
fa1fcc6642 fixed infinite loop in wxCursor(wxImage) ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 14:12:19 +00:00
Vadim Zeitlin
1a685a59a0 fixed a warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 14:12:00 +00:00
Vadim Zeitlin
b8723d939f typo fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 14:05:15 +00:00
Julian Smart
5cdeff757d Added HTML About box and changed player dialog label
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 13:19:08 +00:00
Chris Elliott
d04d32c4ec removing bitmaps from mdi sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 11:56:01 +00:00
Václav Slavík
bd0a577993 updated wxXRC sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 10:33:21 +00:00
Julian Smart
879da8c81b Applied recent FL patches from Benjamin Williams <biwilliajsb@yahoo.com>.
1) There is a problem
in that floating frames are not currently supported
with !mRealTimeUpdates.  We wrote a patch to correct
this problem.  You will find it attached to this
posting.

Here is a description of what was changed and why.  In
cbBarDragPlugin::ShowHint(), SetBarState is called
every time mpCurPane changes.  This is correct.
However, this also happens every time, even if
mRealTimeUpdates is false.  The state should not be
changed during the drag operation if mRealTimeUpdates
is off.  This is corrected in this patch.  Code was
also added in cbBarDragPlugin::OnLButtonUp() to
actually do the state changing, only if
mRealTimeUpdates is off.  Normally, this is performed
in ShowHint if mRealTimeUpdates is on.

I also took the liberty of changing the drag cursor
back to an arrow.  This is the way it is in MS Visual
C++, and it looks way better.  The MoveWindow cursor
looks terrible, IMHO.  When FL gets the embedded
cursor code working, we can switch back to a hand or
something else.


2) This time we have
discovered a crash bug in FL.  The steps to reproduce this
bug are as follows:

1. Open up a pane, dock it.
2. Click the Expand button (arrow button) in the
   frame hints portion
3. Click it again to Collapse the pane.
4. Now click the close button of the pane. Crash.

We investigated what was causing this problem, and it turns
out that the button state never gets unset.  Once a button
is pressed, it is always pressed.  Thus, when the expand/
collapse button is pressed, and then the close button is
pressed, the pane will close, but then FL will also try to
expand or collapse the pane as well, because it thinks that
the expand/collapse button was set.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 08:29:12 +00:00
Julian Smart
93692400d0 Initialise font family when initializing from native font, since this
is otherwise uninitialised (the font family is taken from the ref data and
not the native font data).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-11 22:07:38 +00:00
Mattia Barbon
d1f2dc804c Check for attributes before copying them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-10 17:58:08 +00:00
Vadim Zeitlin
678ebfcdae attempts to fix wxMimeTypesManager mess: many bugs (entries priority, memory leaks, ...) fixed, but probably even more left
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-10 15:59:34 +00:00
Robert Roebling
1ec3a9848a Moved wxCharhookEvent so that it sends the same
keycode as wxCharEvent.
  Removed wxDestroyWindowEvent as it crashes all
   the time.
  Corrcted wxTreeCtrl's interception of wxCharEvents
   as it misinterpreted "F5" for "Z" e.g.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-09 23:02:58 +00:00
Vadim Zeitlin
78a189c97f added _T()s around the literal strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-09 22:19:24 +00:00
Mattia Barbon
459e74ba69 Update taskbar.h to use DECLARE/DEFINE_EVENT_TYPE; fixes an runtime error
with MinGW and (probably) Cygwin.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-09 19:24:21 +00:00
Vadim Zeitlin
70a5eef8f1 reenabled WS_EX_CONTROLPARENT style together with a check that the focus window is not disabled or hidden
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-08 21:32:36 +00:00
Vadim Zeitlin
224b1f5cf1 don't link in libwx_gtk twice when linking apps using OpenGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-08 18:43:21 +00:00
Vadim Zeitlin
9475670f13 typo in dir enum test code fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-08 18:30:27 +00:00
Julian Smart
285edb24ec Use standard IDC_HELP cursor instead of oversize custom cursor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-08 17:36:27 +00:00
Vadim Zeitlin
15ad98b742 compilation fix (for !PCH)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-08 15:11:49 +00:00
Vadim Zeitlin
1e2a653bec no changes (reformatted some code just to be able to read it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 23:37:03 +00:00
Vadim Zeitlin
dc429f89a6 fixed wxScrolledWindow::SetScrollbars() which was broken by the virtual size changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 23:36:36 +00:00
Vadim Zeitlin
d42e3d592b restored inline for wxCriticalSection methods for !MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 21:46:44 +00:00
Vadim Zeitlin
b33911eef0 added thrimpl.cp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 21:26:55 +00:00
Vadim Zeitlin
a64c3b74b6 oops, compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 21:26:14 +00:00
Vadim Zeitlin
76484b2495 patch 562893: bug in dll makefile.b32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 21:17:06 +00:00
Vadim Zeitlin
9f6fe2886f fixed bug in wxStrstr() replacement implementation (part of patch 565031)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 21:04:37 +00:00
Vadim Zeitlin
f5e2134e5b don't include winsock.h directly, this doesn't work (patch 565655)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 21:00:19 +00:00
Vadim Zeitlin
d86ab8e29f fixed text ctrl tooltips (patch 562210)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 20:45:43 +00:00
Vadim Zeitlin
0d5f3790d9 CW compilation fix (patch 562701)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 20:41:48 +00:00
Vadim Zeitlin
bf43d750e6 fix tree icon refresh after collapsing a branch (patch 565294)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 20:39:22 +00:00
Vadim Zeitlin
2edb0bdef6 applied typos and spelling error fixes patch from Olly Betts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 20:15:28 +00:00
Vadim Zeitlin
f06ef5f4a3 more MIME tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 19:56:57 +00:00
Julian Smart
76df57d24e Removed 'inline' which was causing unresolved symbols
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 18:32:06 +00:00
Václav Slavík
bfc4a1c1ef wxMGL requires wxUSE_PALETTE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 17:56:53 +00:00
Václav Slavík
0280ab6e8e updated wxMGL's wxExecute signatures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 17:56:15 +00:00
Robin Dunn
802e3a187b Patch #565656, fix for compilers without precomp headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 16:52:57 +00:00
Robin Dunn
0154a29737 Fixed bug that showed a small gap on the wxStaticBox when the label
string was empty.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 15:40:49 +00:00
Julian Smart
8f2a41e964 Added USE_SIMPLE_HELP_PROVIDER symbol to help demo so we can test
wxSimpleHelpProvider under Windows.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 08:47:39 +00:00
Robin Dunn
1b7a14e44d Only catch double click on wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 05:39:15 +00:00
Vadim Zeitlin
4562f6852f added wxCRITICAL_SECTION macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 00:34:56 +00:00
Vadim Zeitlin
efdc61a680 fixed glibc 2.1 detection test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 00:34:01 +00:00
Robin Dunn
b8510c2f40 minor tweaks and discuss unicode build in win32 build instructions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 00:19:39 +00:00
Vadim Zeitlin
526b8142e1 make the incremental kbd search wrap to the beginning if necessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-06 19:37:52 +00:00
Robert Roebling
ad9fb0334f Dislaying popup tip windows seems to work right now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-06 19:35:51 +00:00
Vadim Zeitlin
0b74b736a6 marked the most important backwards incompatible changes with an exclamantion sign
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-06 19:18:06 +00:00
Robin Dunn
c8c000ef52 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-06 19:17:50 +00:00
Robin Dunn
b3887715e4 Fix for compilation error in Unicode mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-06 18:50:36 +00:00
Robin Dunn
c198d57c3a Switch back to not using wxPopupWindow since wxMSW's version can't
handle it...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-06 18:36:03 +00:00
Vadim Zeitlin
9e84b84742 wxMutex changes (explicitly specify the type), return values for all wxMutex/wxSemaphore/wxCondition methods and general cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-06 18:31:59 +00:00
Robin Dunn
b0e5c03934 Added wxPyWindow and wxPyControl which are just like their wx
counterparts except they allow some of the more common C++ virtual
methods to be overridden in Python derived classes.

Changed wxGenButton to derive from wxPyControl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-06 17:37:38 +00:00
Julian Smart
f8305cafb5 Corrected typo in wxStringHashTable::Delete
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-06 16:06:17 +00:00
Vadim Zeitlin
24b3cc2c96 reverted wxPopupWindow implementation to the original version using WS_CHILD and desktop as parent; this fixes the activation problem but reopens the other ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-05 23:30:00 +00:00
Vadim Zeitlin
36633c5c00 VC++ warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-05 23:13:34 +00:00
Vadim Zeitlin
d6fb86a81c bring the parent of a wxFRAME_FLOAT_ON_PARENT frame to the top when deleting it as Windows doesn't do it automatically
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-05 22:37:24 +00:00
Julian Smart
57fc4c1a2c Added documentation for wxHelpProvider::RemoveHelp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-05 21:11:55 +00:00
Julian Smart
53e112a093 Added Delete member to wxStringHashTable in order to implement
wxHelpProvider::RemoveHelp, which is now called from ~wxWindowBase.
Without cleaning up the hash tables, reused window addresses will cause
the CS help to fail rather comically over time.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-05 21:06:18 +00:00
Robin Dunn
4bb081fd23 wxMac SWIGged updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-05 20:50:00 +00:00
Gilles Depeyrot
6d6da89ccb applied SourceForge patch # 544164 (hidden virtual method in wxMenuBar)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-05 20:00:47 +00:00
Robin Dunn
fe953afb43 minor updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-05 16:45:04 +00:00
Robin Dunn
90a6f1cca8 Give wxMSW's wxDirDialog support for wxDD_NEW_DIR_BUTTON
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-05 16:30:13 +00:00
Vadim Zeitlin
15c9541c9f updated version from Henrik Ræder Clausen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-05 13:03:54 +00:00
Robin Dunn
7a944d2fd2 Fixed a strange MSVC compile error (C2253) It thought a pure virtual
function was being defined...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 20:17:44 +00:00
Vadim Zeitlin
f1cf5f4de5 added new Danish translator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 20:05:42 +00:00
Robin Dunn
af79fc6f08 Fix and update the note about handling EVT_KEY_DOWN preventing
EVT_CHAR from being sent.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 19:27:33 +00:00
Robin Dunn
c13219d6a8 Changed FindTExt intercase to more easily handle additional flags.
Fixed GetCharAt and GetStyleAt to only return values 0..255 instead of
possibly negative values.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 19:25:29 +00:00
Vadim Zeitlin
d8ddee9c46 added test for wxProgressDialog::Resume
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 18:14:26 +00:00
Vadim Zeitlin
6b0d8a01d1 added default parameter values to the overloaded Show() and Enable() versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 18:09:20 +00:00
Vadim Zeitlin
db1a42b874 (re)enable Cancel button in Resume()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 18:08:39 +00:00
Vadim Zeitlin
cb59313ce5 added incremental keyboard search to wxTreeCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 15:00:57 +00:00
Vadim Zeitlin
b0a2d8a882 added and documented wxTIMER_XXX constants to be used instead of bool parameter to wxTimer::Start()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 14:59:52 +00:00
Vadim Zeitlin
bebe1443c9 commented out some strange test code which resulted in memory leaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 12:48:17 +00:00
Julian Smart
bb80bb5b30 In SetProxy, add 1 to pos when parsing port since otherwise we include the colon.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 11:01:07 +00:00
Vadim Zeitlin
5b9c12e124 undid WS_EX_CONTROLPARENT change -- I recall now why we can't use it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 08:58:36 +00:00
Vadim Zeitlin
6c6a1c5555 mention EVT_KEY_DOWN/CHAR change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-03 23:11:51 +00:00
Vadim Zeitlin
a3e8c656ca set focus to the page after showing it -- otherwise it's lost (well, left on the previous, now hidden, page)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-03 23:10:56 +00:00
Vadim Zeitlin
d515c32dc3 use WS_EX_CONTROLPARENT to ensure correct Alt-mnemonic handling with nested panels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-03 23:00:28 +00:00
Julian Smart
93d394ae83 Removed spurious </a> after <img> tag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-03 19:30:15 +00:00
Mattia Barbon
09663494e4 Updated message catalogs to latest CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-03 19:19:39 +00:00
David Webster
ed2b77fc47 Weekly OS/2 catch-up.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-03 14:56:27 +00:00
Robert Roebling
af3653ddfa Another typo fixed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-02 19:30:43 +00:00
Robert Roebling
7d4909b275 Probably fixed mouse event bug introduced recently.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-02 18:02:54 +00:00
Robert Roebling
ac0c857aaa Overrode wxMDIChildFrame's DoSetSize to not misplace
the window when it was using wxFrame's method.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-02 14:24:29 +00:00
Robert Roebling
2dde25b981 Implemented CharHook events.
Implemented Destroy events.
    (both as per SF patches).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-02 14:17:39 +00:00
Robert Roebling
2f060d19d4 Small fix for make win-dist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-02 12:05:24 +00:00
Robert Roebling
ea46eba007 Updates to (behaviour of) wxComboBox and wxSpinCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-02 10:57:45 +00:00
Robert Roebling
d3734d65e6 Removed hack in Toolbar that breaks UI updates under MSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-02 10:57:13 +00:00
Robert Roebling
62b9253384 Added simplistic make win-dist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-02 10:56:23 +00:00
Vadim Zeitlin
ace954f1db replaced quotes in #include with angle brackets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-01 11:48:26 +00:00
Robert Roebling
7ad3e9390f Added global skope too FinControl()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-31 16:03:15 +00:00
Vadim Zeitlin
03b444f6af removed unused wxWindowGTK::m_isFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-31 14:18:34 +00:00
Vadim Zeitlin
2b4f3c9f76 replaced m_isRadioButton with a virtual function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-31 14:17:23 +00:00
Vadim Zeitlin
d760f23e76 replaced wxWindowGTK::m_isListBox with a virtual function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-31 14:14:00 +00:00
Vadim Zeitlin
d1f2ac459a replaced wxWindowGTK::m_isStaticBox with a virtual function and replaced 3 occurences of the code finding the window for the mouse events with one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-31 14:13:17 +00:00
Vadim Zeitlin
3ae4c570c4 replaced wxWindowGTK::m_isListBox with a virtual function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-31 14:00:01 +00:00
Vadim Zeitlin
6cad4f1b21 fixes for the focus handling: don't set back to back set/kill focus events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-31 13:51:43 +00:00
Vadim Zeitlin
94ccc2540c added tests for the focus events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-31 13:49:56 +00:00
Robert Roebling
fba2d5e694 Added wxToolBar::FindControl() to fish out
controls in a toolbar by its id.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-31 10:00:24 +00:00
Robert Roebling
f89a1397df Doc tweaks for FindWindowByXX
Docs for SetThemeEnabled
  Docs for wxToolBar::FindControl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-31 09:59:00 +00:00
Robert Roebling
e3ba9f8828 Documented wxClienData and friends.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-31 07:41:46 +00:00
Vadim Zeitlin
0a95f6d036 removed some duplicate code, no real changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-30 21:16:59 +00:00
Robin Dunn
8f154d87ae Updated setup.h settings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-30 19:49:11 +00:00
Robin Dunn
05d61b6996 Updated wxPython build instructions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-30 18:40:57 +00:00
Robin Dunn
cf8a60ae0a Removed Refresh from OnSize as it's not needed anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-29 18:47:50 +00:00
Julian Smart
c4cb3d0f0c Applied patch #561454, testing for scrollbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-29 08:31:59 +00:00
Julian Smart
feaca34f34 Corrected some typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-29 08:28:03 +00:00
David Webster
6ed98c6a3b Catching up for the week
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-28 21:50:34 +00:00
Vadim Zeitlin
d30ff492f0 corrected the completely wrong example (bug 545427)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-28 17:14:59 +00:00
Vadim Zeitlin
d715d419e1 fix compilation without WXDEBUG (includes patch 561458)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-28 16:54:50 +00:00
Vadim Zeitlin
8fb97d468b use new style ctor for wxFontDialog (patch 561411)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-28 16:52:49 +00:00
Vadim Zeitlin
3c67451472 added consts to wxAcceleratorTable ctors from wxAcceleratorEntry array
(repaces patch 561183)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-28 16:51:14 +00:00
Vadim Zeitlin
c2569f41b1 fixed icon drawing when they have different sizes (patch 554973)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-28 16:44:33 +00:00
Vadim Zeitlin
943f6ad3d6 unselected the current item when unfocusing it in a single selection list control (patch 540818)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-28 16:30:24 +00:00
Vadim Zeitlin
fe6dc50a2e added asserts to ensure that the splitter windows have it as parent (otherwise they're not positioned correctly)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-28 11:29:26 +00:00
Robin Dunn
8641d30c71 No, I didn't test it before. This is what I meant to do!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 22:14:41 +00:00
Robin Dunn
92bbd64f7f Patch 559673 and 561053
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 22:06:55 +00:00
Robin Dunn
9321420052 Some little demo updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 21:22:37 +00:00
Robin Dunn
bb751cf906 Fixed wxMac's wxStaticText::SetFont to behave like the others and
resize the control to fit the text


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 21:21:49 +00:00
Robin Dunn
107ffdc16d Fixed a tex2rtf warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 19:47:21 +00:00
Robin Dunn
722a4a3c4b SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 19:34:53 +00:00
Robin Dunn
479101cac1 Changed the default style flags on wxSplashScreen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 19:23:10 +00:00
Robin Dunn
40c4c5a3b5 workaround for assert about wxFRAME_FLOAT_ON_PARENT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 18:39:46 +00:00
Robin Dunn
298ae14495 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 18:24:27 +00:00
Robin Dunn
e67409dcb6 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 17:55:09 +00:00
Robin Dunn
47feb54b6b Fix exception when there are no items in the sizer yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 17:54:45 +00:00
Robin Dunn
44e50dc1ad Added a bit of test code (commented out)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 17:53:58 +00:00
Robin Dunn
d42e29c26f Reduce flicker in the demo when image is dragged out of the frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 17:53:27 +00:00
Robin Dunn
203c2f9a9a changes to match recent CVS updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 17:52:57 +00:00
Robin Dunn
c4770edd1c Some cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 17:51:22 +00:00
Robin Dunn
95b3e2768f UsePrimarySelection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 17:50:55 +00:00
Vadim Zeitlin
c73b439f80 added wxWizard::Fit()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 22:41:35 +00:00
Vadim Zeitlin
ec5bb70d65 attempts to make GetBestSize() work using constraints (failed)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 22:37:42 +00:00
Vadim Zeitlin
fb35f0c79c set the id in wxMouseEvent (bug 484245)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 12:51:04 +00:00
Vadim Zeitlin
76106901f6 added more spin event handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 12:46:41 +00:00
Vadim Zeitlin
73c62f5417 updated wxSpinXXX event docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 12:46:20 +00:00
Vadim Zeitlin
3d9fe7b26d add full 32 bit range support to wxSpinButton/Ctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 12:19:53 +00:00
Vadim Zeitlin
dea077b164 set the focus to the first control in the dialog when it is shwon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 12:04:12 +00:00
Vadim Zeitlin
39c2d6bde1 globally renamed INT32 to JPEG_INT32 to solve the [re]definition problems with cygwin/mingw32 headers which sometimes define INT32 and sometimes don't
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 11:49:37 +00:00
Vadim Zeitlin
efe23391ab added test for EditLabel, Unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 10:53:51 +00:00
Vadim Zeitlin
6aaef1403e fix for the crash when pressing TAB in the edit control created by EditLabel() (bug 555749)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 10:53:23 +00:00
Stefan Csomor
d4380aafdd make sure we are removing ourselves from the focus of the toplevel frame when deleting (copied from msw)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 07:53:42 +00:00
Stefan Csomor
b821344e13 added accessors for last focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 07:49:32 +00:00
Vadim Zeitlin
c25b5d1fa5 fixes to better remember the last focused child; also restore it using SetFocus() and not SetFocusFromKbd()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-25 21:01:56 +00:00
Vadim Zeitlin
869f248c8d fixed assert when using wxMiniFrame (result of recent changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-25 20:34:13 +00:00
Vadim Zeitlin
9dfef5ac20 changes to wxFRAME_NO_TASKBAR/FLOAT_ON_PARENT styles handling which should
now work more as expected


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-25 17:11:19 +00:00
Vadim Zeitlin
146ba0feac new wxWindow::FindWindowByXXX() methods replacing the old global functions
(patches 560214, 559916, 559811, ...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-25 14:24:43 +00:00
Vadim Zeitlin
3317223b08 fixed calling Union() or Offset() on a previously Clear()ed region, also removed some duplicate code (bug 560302 and more)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-25 14:23:36 +00:00
Vadim Zeitlin
7e25f59e48 prevent the parent window from losing activation when a popup is shown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-25 13:02:58 +00:00
Robert Roebling
d45bc43695 Set the focus to the html display window
if the help frame comes to the front.
    With this, you can use context sensitive
    help systems without the mouse.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-25 09:40:17 +00:00
Vadim Zeitlin
51b07644bb added test for loading image from wxMemoryStream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-24 22:23:24 +00:00
Vadim Zeitlin
915a955caf fixed wxStreamBuffer::Tell() to return at least sometimes a valid result
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-24 22:09:13 +00:00
Vadim Zeitlin
d2d50a41fc wxTextCtrl::OnChar() can't be used to translate the key strokes in the text control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-24 21:31:43 +00:00
Robin Dunn
dcbd3aed96 and fixed a type too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-24 17:15:53 +00:00
Robin Dunn
ee5e82150f Fixed a quoting problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-24 16:28:29 +00:00
Vadim Zeitlin
e83ecba968 fixedb ug with normalization of UNC paths (patch 558701)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-23 22:01:36 +00:00
Vadim Zeitlin
76c79ff467 popup windows wre not using TOPMOST style under wxUniv any longer -- fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-23 21:52:21 +00:00
Vadim Zeitlin
abcbaea73f wxUniv compilation fixes (patch 559620)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-23 21:25:06 +00:00
Vadim Zeitlin
554726912a ixed compilation for wxUSE_STREAMS == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-23 21:23:10 +00:00
Robert Roebling
22a70443db The combobox didn't like empty strings at all. It
caused the pop-up-list to get skrewed up.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-23 20:35:14 +00:00
Robert Roebling
72763bfed4 Redirect SetFocus Part II.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-23 17:57:47 +00:00
Robert Roebling
465605e0fd Redirect wxComboBox::SetFocus to its text field Part I.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-23 17:57:07 +00:00
Robert Roebling
d81152f480 Let wxFileSystem use wxFFileInputstream and not
wxFileInoutStrea as that is broken on Macs.m


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-23 17:56:17 +00:00
Robert Roebling
311d5aa3aa Did I change anything here?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-23 17:54:44 +00:00
Robert Roebling
d45906e0a7 wxSPinCtrl no longer set focus to its text field
when setting a value.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-23 17:53:44 +00:00
Robert Roebling
9a456218de wxButtons no longer leave junk on dialogs when moved.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-23 17:52:55 +00:00
Vadim Zeitlin
91c68292f6 fixed propagating of EVT_WIZARD_XXX events to the parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-22 23:36:20 +00:00
Vadim Zeitlin
39d16996b7 restore the stream position in wxImageHandler itself instead of forcing all
derived classes to do it themselves


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-22 23:14:47 +00:00
Vadim Zeitlin
6307da56b8 added \\server\dir\filename.exe test case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-22 22:48:15 +00:00
Vadim Zeitlin
2361ce822f no, we shouldn't inconditionally add the separator at the end even if wxPATH_GET_SEPARATOR was specified -- this is wrong for file names without path at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-22 22:47:15 +00:00
Vadim Zeitlin
149147e1b7 added wxDir::Exists() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-22 22:28:34 +00:00
Robert Roebling
fdbb06ba2c wxImage::Copy() didn't really just copy the
image, it sometimes changed the mask
     colour, when it was unused. This patch
     makes life easier.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-22 21:01:54 +00:00
Vadim Zeitlin
acf88ae621 added a compile time assert to prevent wxArray from compiling when sizeof(long) > sizeof(void *) as it is broken in this case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-22 18:04:36 +00:00
Robin Dunn
854a4cc38a Fixed bug when sizer if offset from 0,0. Also removed old commented out code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-22 17:22:11 +00:00
Vadim Zeitlin
b72aa48cde added a check which should prevent the crash of bug 555111
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-22 16:27:06 +00:00
Vadim Zeitlin
86e5d706f4 fixed GL case in #include (patch 557178)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-22 15:56:38 +00:00
Vadim Zeitlin
14090241ce mingw/cygwin compilation fix (patch 556157)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-22 15:54:09 +00:00
Vadim Zeitlin
da25d3ab73 fixed ProcessMessage() signature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-22 15:49:59 +00:00
Václav Slavík
e9f3277455 download clarification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-21 22:26:44 +00:00
Robin Dunn
557a93b9c1 wxMac updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-21 21:03:35 +00:00
Stefan Csomor
e5f0419b0d survive delete within Notify
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-21 20:45:44 +00:00
Stefan Csomor
fd4393b845 show/hide via moving
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-21 20:44:36 +00:00
Stefan Csomor
e6c1d9afee initial value set
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-21 20:43:40 +00:00
Stefan Csomor
6fda4e7a68 added hide/show
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-21 20:35:18 +00:00
David Webster
b63b737dc8 Catching up for the week
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-21 04:20:43 +00:00
David Webster
72b4f026a2 Font dialog fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-21 04:19:47 +00:00
Stefan Csomor
559ae136c4 carbon event handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 20:34:05 +00:00
Robin Dunn
12bfbb29f6 wxSystemScreen --> wxSystemScreenType
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 20:33:21 +00:00
Stefan Csomor
3342663931 Carbon-Standard conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 20:33:13 +00:00
Stefan Csomor
fdc8ef9485 Dan 'Bud' Keith's Implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 20:32:28 +00:00
Stefan Csomor
6c28ba0c66 OnInit for adding carbon event handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 20:31:25 +00:00
Stefan Csomor
e4a05ccd8a uma.h added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 20:28:03 +00:00
Stefan Csomor
b4efa0696e carbon event handlers for app level
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 20:18:45 +00:00
Stefan Csomor
12f3162686 Dan 'Bud' Keith's implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 20:17:33 +00:00
Stefan Csomor
8c82361c1d removed internal carbon events handlers, switch to using and resetting toplevel's handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 20:15:19 +00:00
Stefan Csomor
7c09167353 added carbon event handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 20:14:22 +00:00
Stefan Csomor
f6c29ee0c1 changing the focus part code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 20:13:35 +00:00
Julian Smart
426b2d8795 Applied drag fix to row labels as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 16:16:28 +00:00
Vadim Zeitlin
f4c43a177e added docs for a few missing methods (Inside, Deflate, Offset)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 15:28:12 +00:00
Stefan Csomor
ded4fa5b7a corrected initialization order of MLTE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 14:06:09 +00:00
Julian Smart
fe77cf604a Captured mouse in grid column label so the drag isn't prematurely and messily
ended when moving out of the column label window.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 13:17:31 +00:00
Robert Roebling
8e40d27b8d Sometimes, deleting code can be a real gain. This
fixes display corruption when a scroll window
    is made smaller and it was previously scrolled
    to the bottom or right most position.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 10:42:53 +00:00
Václav Slavík
41fecb4451 Cosmetic changes to wxSS::GetScreen:
1) Renamed to GetScreenType (so that the name better describes its function)
2) Changed use of <,>,<=,>= operators together with wxSYS_SCREEN_* so that
   'foo is smaller that bar' is written as 'foo < bar' and not (sic) 'foo > bar'


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-19 22:44:27 +00:00
Stefan Csomor
92432aa111 corrected direction when sending events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-19 08:00:34 +00:00
Gilles Depeyrot
2708457acc corrected assignement operator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-19 07:09:51 +00:00
Vadim Zeitlin
ceeb12f25d refuse to run if not executed by the main configure script
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-18 23:36:55 +00:00
Vadim Zeitlin
57973b9c8a pass IF_GNU_MAKE and other configure params to the samples configure in wxUSE_GUI==0 case too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-18 23:33:48 +00:00
Robin Dunn
3ebfd15048 Applied patch to adjust ownership and permissions in the installer
package.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-18 17:30:29 +00:00
Vadim Zeitlin
79fa23744b check the return code of wxStream::Read() in wxImageHandler::DoCanRead()
and avoid reading uninitialized memory when it fails


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-18 12:41:51 +00:00
Julian Smart
baaae89f09 Updated font dialog constructors to use a reference to the font data
as per more recent convention


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-18 11:05:58 +00:00
Vadim Zeitlin
44fbc477af made SetItemText() work for the item which we're about to start editing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 23:54:42 +00:00
Stefan Csomor
61eb9fa155 conditionalized theme box drawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 20:14:08 +00:00
Stefan Csomor
16106d9698 autoresize upon setting new bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 20:13:37 +00:00
Stefan Csomor
1e4ad62a72 fixed wxScreenDC for X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 20:13:08 +00:00
Robin Dunn
5f9dc1f1ac Fixed the package build script so wxPython is built with the same
version of wxWindows made by the same script.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 17:19:06 +00:00
Robin Dunn
0f9479da00 Commented out debug messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 16:00:20 +00:00
Stefan Csomor
f574489317 title-less windows also for windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 14:10:29 +00:00
Stefan Csomor
54ddeb7e1b using QD Text under non OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 12:22:14 +00:00
Stefan Csomor
7759d157ea working closer to proper MLTE support under OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 12:20:15 +00:00
Stefan Csomor
85ea2e2077 no event upon changing value only anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 12:19:37 +00:00
Stefan Csomor
6606ecac87 conditials for TARGET_CARBON when drawing using appearance text box
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 12:18:19 +00:00
Stefan Csomor
35a8698b65 changed char event handling for ctrl-chars and skipped events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 12:16:38 +00:00
Stefan Csomor
35f6182b39 added GetApplicationScript for non Carbon builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 12:08:30 +00:00
Robin Dunn
5a1eefc73b A few little tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 06:01:44 +00:00
Robin Dunn
70b76c7ccd A few little tweaks, reswigged code for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 05:36:40 +00:00
Robin Dunn
8721cada6f Scripts to make a installer package in a disk image for wxPython and
for Python too.  It's a strange mixture of sh, csh and perl, but it
works.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 05:33:32 +00:00
Vadim Zeitlin
f44b4495db fixed the selection rectangle drawing (was off by 1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-16 19:27:49 +00:00
Vadim Zeitlin
f6278a74c2 use the menu item text, not label, in the owner drawn items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-16 19:26:26 +00:00
Vadim Zeitlin
aacc44c6b7 fixed wrong array index in UuidToCForm
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-16 18:48:17 +00:00
Jouk Jansen
9988e82e74 Committing in .
OpenVMS configuration file update.

 Modified Files:
 	wxWindows/setup.h_vms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-16 12:49:26 +00:00
Vadim Zeitlin
c7beb04848 generate EVT_SCROLL events for the standalong scrollbars, not EVT_SCROLLWIN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-16 10:45:49 +00:00
Julian Smart
7882729eb5 Check for null return value in wxClientDC constructor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 20:03:07 +00:00
Julian Smart
f4bd67593e Don't call a function that might do drawing when setting a null image list
(might be deleting the tree control)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 19:59:10 +00:00
Robin Dunn
077f7c57a0 Updates from contributor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 19:46:31 +00:00
Robin Dunn
756ed80cb8 An implementation of wxPen.GetDashes.
wxSplitterEvent derives from wxNotifyEvent.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 19:46:10 +00:00
Robin Dunn
23c0ea8c42 demo update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 19:45:03 +00:00
Robin Dunn
d579c54e3e Some files to ignore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 19:09:31 +00:00
Robin Dunn
451c5cc7b9 wxSTC changes to help it work better on wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 19:07:48 +00:00
Robin Dunn
774e63ef5a more demo updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 19:06:54 +00:00
Julian Smart
f8169ce715 Added missing const for operator !=
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 13:13:17 +00:00
Gilles Depeyrot
6dcbb6d0d9 applied copy constructor fix to assignment operator as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 06:22:01 +00:00
Robin Dunn
d18c7c6dfc Re-enable clipboard and DnD classes for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 05:05:48 +00:00
Robin Dunn
0af45411b9 demo updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 05:05:02 +00:00
Julian Smart
d665f50b8c In an expose event, the m_clearRegion is also updated as well
as m_updateRegion because otherwise in a scroll or resize,
a custom OnEraseBackground method will draw over more window than
OnPaint will redraw -- clearly not what's wanted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 20:38:22 +00:00
Vadim Zeitlin
63ec9dbbac don't send SPLITTER_POS_CHANGED events when the splitter position was changed from the program itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 18:10:04 +00:00
Václav Slavík
936b18ac29 no, DO NOT use wxMessageBox where wxLogError is more suitable
(and don't display Information icon when reporting an *error* (sigh...))


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 17:58:54 +00:00
Julian Smart
2012e3ea0f Fixed double deletion in region iterator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 15:49:35 +00:00
Robin Dunn
0f713d485b Fixed a lost #else
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 14:37:33 +00:00
Julian Smart
946fb2b9dd Initialized control member pointers and checked for null pointer
to make controls sample run on MacOS X again


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 14:05:12 +00:00
Julian Smart
6688f23d63 Now shows author correctly under MacOS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 13:53:48 +00:00
Vadim Zeitlin
2e08b1a367 added missing extern "C" required for Sun CC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 12:28:07 +00:00
Vadim Zeitlin
5f4bffab21 renamed main to mymain to suppress the warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 11:33:24 +00:00
Vadim Zeitlin
7413788a82 fixed a warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 11:28:26 +00:00
Julian Smart
59b9edf0b3 Initialized the controls on the widgets spinbutton page
and checked for NULL in one of the event handlers, since
on the Mac the event handler may be called before the
control is properly initialized
Tested for an empty string in Mac's textctrl.cpp
else we get a crash if there is nothing in the text control


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 11:28:13 +00:00
Vadim Zeitlin
44a5856d5e wanted to fix zlib include path but it turned out to be already ok so I just added a comment saying why should it be left like this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 11:09:53 +00:00
Robin Dunn
26eb87155b swigged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 07:50:21 +00:00
Robin Dunn
1a65218cc9 Fixing nested triple quotes again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 07:49:32 +00:00
Robin Dunn
606d919c51 Use the stdout/stderr window by default on Mac too. Force it on in
the demo.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 07:49:05 +00:00
Robin Dunn
4b6f211eba Minor updates to build scripts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 07:47:40 +00:00
Robin Dunn
81b32ce522 wxSTC begins to work on wxMac...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 07:44:33 +00:00
Robin Dunn
25e92d2d64 If'd out the listbox on wxPopupWindow test for now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 00:06:37 +00:00
Vadim Zeitlin
2bd25c5a40 documented wxFileName::SplitPath(), added more obsolescence notes about the functions superseded by wxFileName
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 23:50:39 +00:00
Vadim Zeitlin
1f1070e2ed cleared the wxFileNameFromPath mess
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 23:49:32 +00:00
Robin Dunn
0c5b83b0fa Added some inline helpers so the dependence on wxUSE_UNICODE and
wxUSE_WCHAR_T can be localized instead of having #if's all over the
place.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 23:31:02 +00:00
Robin Dunn
267484bc4f The use of wxPopupWindow fo rhte autocomplete and calltip windows is
now a little better integrated.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 20:33:54 +00:00
David Webster
63ebec23f2 Popup Window now supported in OS/2 (for tipwindows and such associated with toolbars).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 18:11:52 +00:00
David Webster
430974f8c4 Weekly catch up.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 18:10:59 +00:00
David Webster
950630818b WXPM now uses popupwindows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 18:09:46 +00:00
Julian Smart
4855a4773e textctrl.cpp: Removed assert from CanRedo/CanUndo since the best behaviour is
to return FALSE (Redo/Undo functions are unimplemented)
treectrlg.cpp: in InsertItem, allow previous item to be null in order
to insert at first position of possibly-empty child list
dcclient.cpp: allow setting of null font (common espec. on Windows)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 16:54:32 +00:00
David Webster
b0091f58f8 Compiler bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 15:49:41 +00:00
Julian Smart
47366662de Eliminated a couple of warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 10:11:13 +00:00
Gilles Depeyrot
a1ea505561 use built-in wcslen instead of disabling wide character support for Darwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 05:41:51 +00:00
Vadim Zeitlin
62f17a1864 fixed bug with using wrong interval (-1) when restarting a running timer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 22:46:12 +00:00
Vadim Zeitlin
3fde374f3f fixes to wxFontDialog after recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 22:26:01 +00:00
Vadim Zeitlin
dbc65e2760 fixed wxFontDialog API: accept const ref instead of (well, in addition to) a possibly NULL pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 19:35:33 +00:00
Julian Smart
c42a918295 Added overloaded AddChild from contributor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 18:43:46 +00:00
Julian Smart
449d48f9e1 Fixed mouse handling for captured windows
Didn't need most of the cshelp fix


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 16:08:47 +00:00
Julian Smart
5f9ab82db2 Don't use context id for context help since it doesn't seem to be working at present
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 12:47:54 +00:00
Julian Smart
b8b9d8a790 Added recursive event handler pushing to fix context help problem.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 12:46:34 +00:00
Julian Smart
30acf700f9 Added missing brace in checkbox.tex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 11:34:19 +00:00
Vadim Zeitlin
0146a47e4d added the test for GtkText inside wxYield crash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 11:28:31 +00:00
Vadim Zeitlin
1c35b54e2d fixed crashes in GtkText when it was refreshed from inside wxYield
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 11:26:06 +00:00
Vadim Zeitlin
1ee339eecb made wxIsInsideYield global -- will be fixed when we have some better way to test if we're inside wxYield() from wxApp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 11:25:39 +00:00
Julian Smart
de8a0ed32a Added deprecated property classes for future reference (maybe separate manual)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 11:10:24 +00:00
Gilles Depeyrot
0779cc9a66 use tm_gmtoff instead of timezone variable if tm struct member exists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 09:17:04 +00:00
Gilles Depeyrot
62cc730f58 no timezone variable is only a warning instead of an error (use tm_gmtoff
instead, in particular for Darwin / Mac OS X)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 08:49:36 +00:00
Gilles Depeyrot
50947acc3b corrected wxFontData assignement operator (was recursive!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 07:48:53 +00:00
Robin Dunn
12d1116bee swigged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 04:16:47 +00:00
Robin Dunn
0b85cc38e2 various tweaks and updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 03:20:42 +00:00
Vadim Zeitlin
d78f09e27d added a comment about the default button handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 23:40:38 +00:00
Vadim Zeitlin
a6e67b552c don't treat Enter always as Tab, just for the text controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 23:34:36 +00:00
Vadim Zeitlin
ff8ebd73d7 fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 23:24:01 +00:00
Vadim Zeitlin
036da5e374 changed the handling of the default buttons to be more logical
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 22:31:05 +00:00
Gilles Depeyrot
7c720ce633 added wxControlWithItems constructor/destructor (for Darwin)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 17:14:46 +00:00
Gilles Depeyrot
34eac3a87d corrected pragma interface
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 17:13:20 +00:00
Vadim Zeitlin
2104ba3194 fixed zlib compression test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 15:09:10 +00:00
Vadim Zeitlin
af850422ad fixed incorrect assert for the default compression level value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 15:08:53 +00:00
Vadim Zeitlin
7a30264c3f don't test for msvcrt under Unix nor libw under Windows in wcslen() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 14:41:42 +00:00
Vadim Zeitlin
dd5cad7aee fixed the rule for compiling the RC files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 13:45:23 +00:00
Mattia Barbon
95197553f1 const KEY_T& does not do the right thing for pointers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 08:43:35 +00:00
Stefan Csomor
32907dbd80 appearance box drawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:55:38 +00:00
Stefan Csomor
5a9819026e appearance fonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:55:06 +00:00
Stefan Csomor
ecaf6c1897 key handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:54:50 +00:00
Stefan Csomor
e40865607c corrected background
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:54:36 +00:00
Stefan Csomor
a54b0880d6 common value changed code for spinbutton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:53:56 +00:00
Stefan Csomor
7595f3811e fixed redrawing bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:53:27 +00:00
Stefan Csomor
402679b0f8 added carbon events for navigation keys, size corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:52:50 +00:00
Stefan Csomor
7eb67c0012 tooltip displaying correct background under OSX , antialiased system font used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:51:15 +00:00
Stefan Csomor
118f012e37 toplevel native window disposal in deferred delete clas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:50:06 +00:00
Stefan Csomor
564bf1eab1 changed initialization of TXN in order to avoid crashes on OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:49:29 +00:00
Stefan Csomor
baf52e1ccd native window disposal is moved to deferred delete, size of parent taken into account for apply background
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:48:50 +00:00
Stefan Csomor
2d9d0118ea corrected appeaance of boxes und OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:45:42 +00:00
Stefan Csomor
99fd0d71f7 switched to appearance savvy gui/system fonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:43:14 +00:00
Stefan Csomor
8a2c82c1eb exposed background theme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:39:49 +00:00
Stefan Csomor
e4befcd344 DrawParagraph changed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:39:24 +00:00
Stefan Csomor
f816930c05 common value change method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:38:53 +00:00
Stefan Csomor
5fcf715b5e added keyboard focus & typein
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:38:31 +00:00
Vadim Zeitlin
ba6ea19e4f some warnings fixed, checks for various wxUSE_XXX added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 19:21:42 +00:00
Vadim Zeitlin
f5be30b7a1 fixes for BSD make
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 19:15:35 +00:00
Gilles Depeyrot
6d1b9112dc removed test supposed to detect lazy binding issues since it breaks
loading of dynamic modules


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 19:01:47 +00:00
Robin Dunn
5b3610dab2 Fixed a crash when GetMonthControl returns NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 18:41:57 +00:00
Vadim Zeitlin
ee1107cf73 fix compilation for the platforms which don't have RTLD_NOW/GLOBAL (like OpenBSD 3.0)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 18:28:16 +00:00
Vadim Zeitlin
d29b553b85 don't define wxUSE_WCHAR_T on systems without wcslen(), don't check for wchar_t twice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 18:21:23 +00:00
Vadim Zeitlin
e21a44de9f test for HAVE_FNMATCH, not HAVE_FNMATCH_H
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 16:56:11 +00:00
Vadim Zeitlin
f530f862dc HAVE_FNMATCH added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 16:55:18 +00:00
Vadim Zeitlin
2604e11777 renamed Wiztest.bmp to wiztest.bmp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 15:16:33 +00:00
Vadim Zeitlin
14494b5b29 fixed compilation error when x-compiling (patch from Fabian Wenzel)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 12:56:51 +00:00
Vadim Zeitlin
be505a65a5 set OPENGL_LIBS when x-compiling for MSW (patch from Fabian Wenzel)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 12:53:49 +00:00
Vadim Zeitlin
19bc6aad0d 1. moved the test for glibc >= 2.1 after AC_PROG_CC
2. fixed this test so the result is realyl cached
3. added test for fnmatch() because when cross-compiling we can find
   fnmatch.h but fnmatch() could still be unaccessible


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 12:51:02 +00:00
Vadim Zeitlin
4fce73fcaf Unicode compilation problems in the samples (patch from Dimitri)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 12:26:30 +00:00
David Webster
ad6bd8701e Fix for upside down bmp projections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 04:09:27 +00:00
David Webster
c3f7931401 Folder icon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 04:08:11 +00:00
Vadim Zeitlin
df00166097 fixed return value of Enable() and Disable()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 23:04:46 +00:00
Vadim Zeitlin
2a77c8c455 don't put the windows created with y or height of -1 off screen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 23:01:42 +00:00
Robin Dunn
64bea2bf57 Added a couple missing WXDLLEXPORTs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 22:49:07 +00:00
Vadim Zeitlin
ba14d9861d applied patch to build wxMSW with CW7 (patch 550445)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 22:34:44 +00:00
Vadim Zeitlin
7cf46fdb3e fixed list item attributes when inserting/deleting items (patch 548391)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 22:21:15 +00:00
Vadim Zeitlin
df7d383fc5 tests for multiple selection check listboxes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 21:58:04 +00:00
Robin Dunn
8ccad685e7 swigged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 18:52:47 +00:00
Robin Dunn
b7fc54becc updates for recent CVS changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 18:21:17 +00:00
Vadim Zeitlin
9154d8cfff added/documented wxApp::FilterEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 17:21:02 +00:00
Vadim Zeitlin
c11d62a6e2 added (and documented) wxSafeShowMessage, use it in wxLogFatalError instead of wxMessageBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 15:59:42 +00:00
Vadim Zeitlin
9cb47ea276 added build options check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 15:59:07 +00:00
Vadim Zeitlin
e6e6fcc922 the build options are now checked in the application, not the library which allows to avoid having to define wxGetBuildOptions()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 15:58:29 +00:00
Vadim Zeitlin
475ba112f4 no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 15:57:56 +00:00
Gilles Depeyrot
0f15e00bcb updated CodeWarrior 5.3 exported xml projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 12:38:11 +00:00
Gilles Depeyrot
a6391d3022 implement explicit copying instead of forbidding it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 12:18:54 +00:00
Julian Smart
b669b781c2 Customization dialog not implemented, so don't show the menu item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 10:01:41 +00:00
Vadim Zeitlin
dfafa7029d generate the mouse click events for the static controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 00:28:57 +00:00
Vadim Zeitlin
13cd17453c test that static text and box get the click events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 00:28:36 +00:00
Stefan Csomor
175a6271a4 fixed casting for X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 23:59:06 +00:00
Stefan Csomor
4ac219f63d added spinctrl to be ignored when clicked (otherwise its siblings on the same window position will not get the clicks)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 23:30:22 +00:00
Stefan Csomor
7cfebe05f0 display rect fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 23:28:24 +00:00
Stefan Csomor
14862aeb88 only use tool window style for floating windows, no modal dialog class (layer problems)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 23:25:20 +00:00
Stefan Csomor
f8eebb9543 added mlte initialization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 23:23:43 +00:00
Stefan Csomor
1b2b1638a2 added mlte implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 23:22:57 +00:00
Stefan Csomor
f5ebf253a5 added rtti info (python problem)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 23:14:02 +00:00
Stefan Csomor
81b6ccf120 layout improvement on mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 22:55:14 +00:00
Stefan Csomor
955e543332 added small font for wxSWISS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 22:53:41 +00:00
Stefan Csomor
0ca4ae936b filename workaround CW bug in debug builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 22:52:40 +00:00
Stefan Csomor
8481948ef1 added rtti to tooltip, mlte implementation to textctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 22:50:09 +00:00
Vadim Zeitlin
050e7ed73b added missing wxListItem copy ctor to wxMSW, moved wxListItem to the header
to avoid duplicating it in wxMSW and the generic versions


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 22:29:57 +00:00
Vadim Zeitlin
51fdd3daec compilation fix for wxObject NO_COPY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 22:20:13 +00:00
Gilles Depeyrot
03275ddc2d regenerated for new build.h file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 21:28:23 +00:00
Gilles Depeyrot
684242c6d8 implemented lazy binding detection (broken RTTI classinfo detection)
forbid copying of wxObject and wxClassInfo
corrected conditional compilation for CodeWarrior 5.3


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 21:17:17 +00:00
Gilles Depeyrot
e6a6feba84 implemented explicit copy constructors (needed for cloning)
declared private assignement operators


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 21:13:51 +00:00
Mattia Barbon
08a87680c5 Added documentation for wxListItem.
Still need to strip the one in wxListCtrl::SetItem, or better
move it to listitem,tex+mark it obsolete.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 19:57:52 +00:00
Mattia Barbon
e98a035855 Fix _ quoting to make tex2rtf happier
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 19:51:58 +00:00
Gilles Depeyrot
4af5cca4a3 added missing include file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 19:44:08 +00:00
Julian Smart
58cf0491e3 Added Ok() member for print data, print dialog, page dialog, page dialog data
so we can test in advance whether the print/page setup dialogs will fail.
Removed assertions that would fire if the default printer was not found, for example.
Added call to Ok() from HTML print code with suitable error message.
Commented out my erroneous fix to wxStaticText.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 19:00:43 +00:00
Gilles Depeyrot
c0187f69d6 improved dependencies for Info.plist
corrected makefile (spaces => tabs)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 18:45:25 +00:00
Gilles Depeyrot
10cc14fa29 corrected application bundle building for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 18:18:38 +00:00
Gilles Depeyrot
5266a98339 added handling of -undefined and -flat_namespace options
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 17:13:13 +00:00
Gilles Depeyrot
ba161d7e95 corrected warnings when compiling with -Wall -W
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 14:17:22 +00:00
Vadim Zeitlin
220c6d434e added missing header for not PCH case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 14:14:52 +00:00
Gilles Depeyrot
b1801e0eb8 improved out of memory handling by return failure status where possible and
adding asserts in debug mode (suggested by SourceForge patch # 544906)
corrected warnings when compiling with -Wall -W


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 14:11:40 +00:00
Gilles Depeyrot
4e352a3f04 removed useless trailing semicolon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 14:02:10 +00:00
Gilles Depeyrot
f2af4afb82 corrected warnings when compiling with -Wall -W
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 14:00:23 +00:00
Gilles Depeyrot
3475a005d6 implemented missing copy constructor (needed for non trivial member)
corrected warnings when compiling with -Wall -W


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 13:55:36 +00:00
Gilles Depeyrot
9497b1f716 ignore Mac OS X specific files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 13:47:20 +00:00
Gilles Depeyrot
be52b34172 added DECLARE_NO_COPY_CLASS where appropriate since wxObject should not
provide implicit copy constructor or assignement (will be corrected)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 13:30:26 +00:00
Mattia Barbon
a4ac80e181 Fixed programming error (and BCC warning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 13:28:18 +00:00
Gilles Depeyrot
e7600a2cab corrected warnings when compiling with -Wall -W
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 13:24:00 +00:00
Gilles Depeyrot
01babda34e corrected conditional compilation for Darwin / Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 13:19:14 +00:00
Gilles Depeyrot
5e472c1f9f corrected warnings when compiled with -Wall -W
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 13:17:53 +00:00
Gilles Depeyrot
97bbc535e7 ignore Mac OS X specific files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 13:14:40 +00:00
Gilles Depeyrot
fe0d8518b9 improved dynamic shared library creation for Darwin / Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 12:48:08 +00:00
Jouk Jansen
0df4f2ffa0 Committing in .
updates for OpenVMS

 Modified Files:
 	wxWindows/src/common/descrip.mms
 	wxWindows/src/motif/clipbrd.cpp
 Added Files:
 	wxWindows/samples/db/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 12:42:24 +00:00
Gilles Depeyrot
69b8ed1bbc implemented cbCommonPaneProperties copy constructor and assignment operator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 12:36:12 +00:00
Gilles Depeyrot
2a66db28a9 pi is static to avoid link error under Mac OS X (already defined by system lib)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 12:32:08 +00:00
David Webster
1759c49133 More of the same.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 05:22:36 +00:00
Vadim Zeitlin
3a03c143c0 added src/msw/popupwin.cpp to the makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-07 23:29:03 +00:00
Vadim Zeitlin
e49d97e66a fixed Windows style of wxPopupWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-07 23:27:59 +00:00
Vadim Zeitlin
dfee19edbc fixed typos and tmakecmd/TMAKE/TM confusion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-07 23:16:29 +00:00
David Webster
1c9a789ed9 More image processing updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-07 22:27:10 +00:00
Gilles Depeyrot
d84afea9d1 corrected warnings when compiling with -Wall -W
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-07 21:58:27 +00:00
Gilles Depeyrot
54380f29f0 implemented explicit copy constructor and assignement operator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-07 20:40:04 +00:00
Vadim Zeitlin
26ddbfd329 Added wx/build.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-07 19:59:24 +00:00
Vadim Zeitlin
090a6d7af9 added wxBuildOptions and check that they are the same for the program and the library on startup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-07 19:56:43 +00:00
Gilles Depeyrot
c924182a96 ignore CodeWarrior output files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-07 19:52:16 +00:00
David Webster
d6d749aaeb More image updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-07 17:03:18 +00:00
Vadim Zeitlin
b4efce5efa fixed typo for MSW cross-compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-07 16:40:20 +00:00
Vadim Zeitlin
af0b153364 fixed compilation without PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-07 16:40:00 +00:00
Vadim Zeitlin
fefc4f1542 removed Left(char ch) version which doesn't exist any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-07 16:35:00 +00:00
David Webster
29172908bf Mono bitmap processing updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-07 04:56:22 +00:00
Robert Roebling
5941c5de92 Fixed tree control redraw bug, which had nothing
ro do with scrolling. Someone just removed my use


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-06 22:35:55 +00:00
David Webster
16ff355bee OS/2 Image processing updates along with some statusbar updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-06 21:48:06 +00:00
David Webster
79c093419e OS/2 Image processing updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-06 21:47:16 +00:00
Robin Dunn
ab249a4dcb Fixed nested triple quotes problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-06 14:59:23 +00:00
Vadim Zeitlin
19f0aa9a2f wxPanel is a canvas in wxUniv sense of the word
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-06 14:09:47 +00:00
Julian Smart
2564094bf4 Did a small amount of proofreading of the ODBC docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-06 13:46:24 +00:00
Vadim Zeitlin
6e8e9b6628 added wxCheckBox::IsChecked() to wxMac and documented it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-06 11:40:16 +00:00
Vadim Zeitlin
0e0a4e6447 include wx/defs.h to get wxUSE_FFILE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-06 10:52:35 +00:00
Vadim Zeitlin
5f51707579 typo fixed: __WXUNIV__ => __WXUNIVERSAL__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-06 10:51:43 +00:00
Vadim Zeitlin
d90879fa39 fixed multiple bugs in multiple selection wxCheckListBoxes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-05 23:09:37 +00:00
Vadim Zeitlin
98dd66cf4f fixed compilation and added a test for OnErase() to the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-05 21:31:08 +00:00
Gilles Depeyrot
336e99e28d use Darwin specific double step shared library linking script
do not add shared library resources to generated executables


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-05 20:03:13 +00:00
Gilles Depeyrot
d5b7a47296 script to link a mach-o dynamic shared library for Darwin / Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-05 19:56:15 +00:00
Mattia Barbon
741ed1143d Documentation for wxClipboard::Flush
Added \label in window.tex


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-05 19:27:07 +00:00
Václav Slavík
ade6b9c50c fixes to gcc pragmas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-05 18:27:03 +00:00
Václav Slavík
1aedb1dd8b gcc pragmas fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-05 18:26:51 +00:00
Gilles Depeyrot
fbbdb7cd4c improved opening/closing of shared library resources so that Mach-O shared
library resources are opened in wxApp::Initialize and closed in wxApp::CleanUp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-05 16:09:21 +00:00
Vadim Zeitlin
f0e8cc57f4 added files for LaTeX compilation (second part of the patch 551210)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-05 14:25:45 +00:00
Vadim Zeitlin
7af3ca1645 fixed LaTeX compilation problems (part of patch 551210)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-05 14:24:07 +00:00
Vadim Zeitlin
f6ba47d997 added wxShutdown (patch 547443)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-05 14:18:36 +00:00
Robert Roebling
32b5be3d67 Corrected double clicks (always on the same window).
Corrected mouse up events (same window as mouse down).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-05 11:36:33 +00:00
Julian Smart
a9d171bd00 Doc tweaks
Added back mouse sensitivity to wxStaticText
Added code to widgets sample to test for sensitive wxStaticTexts


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-05 09:35:44 +00:00
Robert Roebling
644231539d Corrected wrong use of delete in region code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-05 07:31:23 +00:00
Robin Dunn
ec3589a62c swigged code update for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-05 04:21:23 +00:00
Robin Dunn
ef12d2e243 swigged code update for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-05 04:20:23 +00:00
Robin Dunn
daa3eac94c Various minor tweaks and updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-05 04:17:27 +00:00
Robert Roebling
c15521c67e Added screen design to system settings for
different dialog layouts on desktop vs
    PDA screens


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-04 18:33:35 +00:00
Stefan Neis
8a2a6bbf9c Updated documentation according to recent array changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-04 15:26:24 +00:00
Vadim Zeitlin
bf2cac26a5 reverted the header change to include the generic one always
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-04 14:22:57 +00:00
Gilles Depeyrot
1e22dfaf1f utility scripts to manipulate xml CodeWarrior 5.3 project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-04 14:19:09 +00:00
Gilles Depeyrot
d274461641 updated todo list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-04 14:17:42 +00:00
Gilles Depeyrot
c52294946d updated Universal Interfaces requirements for CodeWarrior 5.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-04 14:16:50 +00:00
Gilles Depeyrot
48013bb098 added missing include file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-04 13:17:36 +00:00
Vadim Zeitlin
74d8ead3f2 fixed compilation when included directly and not via wx/dirdlg.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-04 12:45:14 +00:00
Vadim Zeitlin
a079e64502 fixed wxDirDialog ctor docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-04 12:43:49 +00:00
Vadim Zeitlin
e78d4a23c2 wxDirDialog now has the same ctor under all platforms and also uses the
correct default title string


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-04 12:38:51 +00:00
Vadim Zeitlin
3f0fb1d416 no changes (0 -> NULL)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-04 12:01:37 +00:00
Vadim Zeitlin
c3dfaa10a6 initialize wxBitmapButton members
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-04 11:57:39 +00:00
Robert Roebling
047ac72bbe Made OnInit() and OnRun() logic like MSW when it
comes to quitting the app with no windows.
  Fixed overlapping windows when detaching the
    toolbar from the main frame.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-04 11:53:06 +00:00
Václav Slavík
6d8b260cc3 added CSS stylesheets support to tex2rtf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-04 10:50:48 +00:00
Gilles Depeyrot
2cf607649c corrected Mac OS X resources compilation target
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-04 08:50:19 +00:00
Robin Dunn
b787b2a9d7 swigged updated code for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-04 04:53:14 +00:00
Robin Dunn
6129f59eb4 swigged code update for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-04 00:23:52 +00:00
Robin Dunn
94e36a5196 Updates for Push/Pop status text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-03 23:33:38 +00:00
Robin Dunn
1114f46e2f Probably only whitespace changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-03 23:32:42 +00:00
Robin Dunn
2d3a90ce7a A test case to show the problem with putting a wxListbox (and possibly
other controls) on a wxPopupWindow in wxMSW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-03 23:31:35 +00:00
Robin Dunn
9c46ea6647 Make it easier to not use wxPopupWindow in wxSTC, and for now, don't
use it at all for the AutoComplete window.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-03 23:30:40 +00:00
Robin Dunn
9085d634d9 Fixed problem in InsertItems of always adding ownerdraw data even when
not an ownerdrawn listbox.  If some items were already appended then
the indexes would not match.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-03 22:31:21 +00:00
Gilles Depeyrot
27af32803a corrected conditional compilation for Darwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-03 20:24:06 +00:00
Gilles Depeyrot
9f081f02ea corrected warnings when compiling with -Wall -W
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-03 20:20:55 +00:00
Gilles Depeyrot
a95bd96b46 wxTextCtrl bug related to \n handling is Carbon related and is therefore
common to CodeWarrior builds and Apple DevTools builds


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-03 20:15:48 +00:00
Gilles Depeyrot
1b0674f799 corrected warnings when compiling with -Wall -W
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-03 19:49:20 +00:00
Gilles Depeyrot
bb10b31d43 corrected comment typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-03 19:46:22 +00:00
Gilles Depeyrot
f7435c322d added missing include file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-03 19:43:17 +00:00
Gilles Depeyrot
7ee31b00ed corrected warnings when compiling with -Wall -W
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-03 19:41:22 +00:00
Gilles Depeyrot
4285fbcab9 corrected include guards
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-03 19:33:43 +00:00
Gilles Depeyrot
ed581ee2b8 applied solution derived from SourceForge patch # 546915 for Mach-O shared
library resource problems when resources are not placed in the application


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-03 19:14:30 +00:00
Gilles Depeyrot
2b8a696220 corrected warnings and removed useless extern declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-03 17:48:10 +00:00
Gilles Depeyrot
edf0993cae static C++ object initialization only seems to be necessary when the library
initialization routine needs to use static C++ objects


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-03 17:46:01 +00:00
Gilles Depeyrot
e95edd8d51 install both compiled and ascii resource files for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-03 17:43:50 +00:00
Robin Dunn
e4a55e2136 These methods should be public
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-02 23:56:00 +00:00
Vadim Zeitlin
45e97ca0cd don't look for the catalogs in the Unix standard paths under Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-02 23:22:48 +00:00
Mattia Barbon
d1f1e77a91 Missing bracket in array.tex
Documentation for wxStatusBar::Push/PopStatusText
Documentation for wxFrame::Push/PopStatusText and Get/SetStatusBarPane.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-02 20:09:25 +00:00
Mattia Barbon
1f361cddbf Implemented wxStatusBar::Push/PopStatusText.
Implemented wxFrame::Push/PopSTatusText ( just forward to the status bar ).
Implemented wxFrame::DoGiveHelp, to show menu/toolbar help in the status bar.
Added Get/SetStatusBarPane to get/set the status bar pane the menu/toolbar help
  will be show in


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-02 20:07:10 +00:00
Mattia Barbon
fe87983b95 Generate EVT_TOOL_ENTER when the user moves the mouse out of the toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-02 20:03:19 +00:00
Mattia Barbon
32e163aec1 wxExecute takes a char**, not a wxChar**
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-02 19:56:03 +00:00
Stefan Csomor
5e42034113 corrected DoDrawPoint
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-02 16:03:14 +00:00
Vadim Zeitlin
6b6fc9b0a0 you don't have to set BCCDIR for compilation with Borland any longer (patch 550105)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-02 13:56:41 +00:00
Vadim Zeitlin
f60e7fdddb dumb fix for wxDC::Clear() crash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-02 13:52:43 +00:00
Vadim Zeitlin
30862d9943 small code cleanup while looking for an inexistent problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-02 13:52:09 +00:00
Vadim Zeitlin
1106d8654d splitted wxFileStream docs in 2 files to make the classes appear in the alphabetic order (patch 549657)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-02 13:36:23 +00:00
Vadim Zeitlin
17046ed61e fixed type: wxUint16 -> wxUint32 (patch 549556)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-02 13:30:59 +00:00
Robin Dunn
5d26a7e65f Changes for the embedded sample to build on Linux
Swigged updates for wxGTK


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-02 06:18:39 +00:00
Robin Dunn
a24268437f Fixed the bugs preventing wxPython from being embedded in a wxWindows
app, and added a sample showing how to do it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-02 04:45:47 +00:00
Robin Dunn
f44602beb7 Removed wxVTKRenderWindow since VTK now includes a much better python
module that allows you to use VTK in a wxPython window.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-02 02:49:15 +00:00
Robin Dunn
6e2129f90f Changed the name of export.h to wxPython.h so it wouldn't be so
generic.  This is the header that should be included by 3rd party
stuff that is embedding wxPython or making a new wxPython extension
module.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-02 02:46:14 +00:00
Vadim Zeitlin
5a32e18214 changed wxUSE_MS_HTML_HELP to 1 by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-01 16:44:14 +00:00
Vadim Zeitlin
015eb67ed2 fixed definition of TRUE broken by the last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-01 16:25:23 +00:00
Vadim Zeitlin
ad95fe268a added WX_TRUE_DEFINED to allow preventing the redefinition of TRUE/FALSE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-01 16:20:49 +00:00
Vadim Zeitlin
c7f3eecc52 added a few more consistency tests which used to be in wx\msw\setup.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-01 16:15:01 +00:00
Vadim Zeitlin
62402193ce disabled wxWin memory debugging by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-01 16:14:23 +00:00
Vadim Zeitlin
b763ff4386 fixed the wrong custom build messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-01 16:13:48 +00:00
Mattia Barbon
1a1dac18e3 Fixed Unicode breakage I caused
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-01 08:57:51 +00:00
David Webster
52315bc3bb More image processing updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-30 22:31:01 +00:00
David Webster
2d5855f6e4 Some new members to assist in bitmap rendering
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-30 22:29:51 +00:00
Julian Smart
2e4106968b Renamed wxBuffer to deBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-30 07:34:15 +00:00
Robin Dunn
3481e3efb8 wxTimer was in the wrong place in the demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-30 04:27:05 +00:00
Robin Dunn
322a3817ea Removed the old patch files for swig
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-30 04:26:02 +00:00
Robin Dunn
bee7191838 Ignore generated Makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-30 02:56:48 +00:00
Robin Dunn
eb28fd4762 swigged updates for wxMac
fix for wxMac refresh problem in the demo


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-30 02:49:37 +00:00
Robin Dunn
8381e4cdd3 swigged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-29 23:21:15 +00:00
Robin Dunn
237a74ba5b Switch to using a wxBufferedPaintDC, also draw/erase the focus
indicator differently to workaround double focus event problem.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-29 23:17:08 +00:00
Robin Dunn
0bdca46de4 Put the panel-under-htmlwindow hack back in since the problem still
happens.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-29 23:09:48 +00:00
Robin Dunn
002b1ea670 Updates for building wxSWIG on Linux
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-29 20:19:23 +00:00
Robin Dunn
6ef4d8f9e6 Added execut bit for configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-29 20:04:19 +00:00
Robin Dunn
c90f71dd8c Since I have made several changes to SWIG over the years to accomodate
special cases and other things in wxPython, and since I plan on making
several more, I've decided to put the SWIG sources in wxPython's CVS
instead of relying on maintaining patches.  This effectivly becomes a
fork of an obsolete version of SWIG, :-( but since SWIG 1.3 still
doesn't have some things I rely on in 1.1, not to mention that my
custom patches would all have to be redone, I felt that this is the
easier road to take.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-29 19:56:57 +00:00
Robin Dunn
3bd1e03385 Various minor updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-29 18:55:23 +00:00
Václav Slavík
03c0fc6603 fixed wxZipInputStream::OnSysSeek wrt memory requirements and malloc(0) (will backport to 2.2)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-29 18:38:17 +00:00
Vadim Zeitlin
08a15c0d89 don't generate an endless stream of asserts for the 0-sized images
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-29 14:55:08 +00:00
Vadim Zeitlin
09443a269e added Append(const wxString&) overload and replaced all wxASSERTs with wxASSERT_MSGs in attempt to make them more clear
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-29 12:37:34 +00:00
Stefan Csomor
d1bdc41d65 setting the correct event object for EVT_ENTER_WINDOW and EVT_LEAVE_WINDOW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-29 06:38:20 +00:00
David Webster
ba3e10c9f4 Lots of image/bitmap processing updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-29 04:00:57 +00:00
David Webster
b3d3ebae71 New Moddef file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-29 04:00:04 +00:00
Stefan Neis
f74a90b35c Minor changes to test/show expanded array functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-28 15:34:22 +00:00
Vadim Zeitlin
1af546bfc3 don't pass arrays by value (and also fixed signed/unsigned comparison warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-28 14:39:37 +00:00
Vadim Zeitlin
2245b2b2c3 changed DoDragDrop(bool) into DoDragDrop(int) and added support for wxDrag_DefaultMove flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-28 14:30:54 +00:00
Vadim Zeitlin
501d2dd13e added a (commented out) example of how to force the default action to be move
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-28 13:34:40 +00:00
Vadim Zeitlin
82cf15a4d4 removed a wxPaintDC::Clear() fatal to wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-28 13:28:08 +00:00
Václav Slavík
e969b63b5e compilation fixes for C++ standard library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-28 10:33:14 +00:00
Gilles Depeyrot
d460ed4071 derive wxBitmapButton from wxBitmapButtonBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-28 09:35:19 +00:00
Stefan Neis
33188aa47a Replaced internal calls to XToCol/YToRow added in 1.197 by internal macro
which treats the out of grid case in a way that's more suitable.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-28 00:39:04 +00:00
Václav Slavík
40e2d13434 use XML namespace in XRC files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-27 22:59:02 +00:00
Vadim Zeitlin
71debe95b6 fixed uninitialized m_bPassMessages and wxLogChain::SetLog() which was completely wrong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-27 22:47:32 +00:00
Vadim Zeitlin
e95f8fde77 really fixed memory leak in wxLogChain
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-27 22:37:28 +00:00
Vadim Zeitlin
199e91fb67 fixed memory leak in wxLogChain
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-27 22:33:26 +00:00
Vadim Zeitlin
8b30a4e4d6 fixed memory leak in wxLogChain
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-27 22:14:49 +00:00
Vadim Zeitlin
2863d6b0cf some docs for wxArray(int n) mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-27 20:02:42 +00:00
Vadim Zeitlin
2a39c38627 wxArray(int n) mods for wxArrayString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-27 20:02:17 +00:00
Vadim Zeitlin
ebb396715d mention that creation time only lives up to its name under Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-27 11:10:59 +00:00
Vadim Zeitlin
81be7e075d fixed wxFileName::GetModificationTime()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-27 11:05:42 +00:00
Gilles Depeyrot
e94e53ac8f ignore process serial number command line argument (-psn) passed to application
when launched from the Finder


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-27 11:03:18 +00:00
Vadim Zeitlin
4deae7a033 ARCHINCDIR must be defined in makeb32.env, not makefile.b32 (patch 548990)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-27 10:38:48 +00:00
Stefan Neis
68c5a31c6c Fixes to my last commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-27 10:37:15 +00:00
Vadim Zeitlin
cf760e4c30 fixes for operator new declaration/definition (patch 549349)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-27 10:35:04 +00:00
Vadim Zeitlin
b2edef6f2f clean up of memory debugging macros and chanegs to compile with CW7 (patch 548408)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-26 23:08:19 +00:00
Vadim Zeitlin
e669d97ae5 added a few virtual keywords for consistency (no real changes) (patch 543922)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-26 22:44:12 +00:00
David Webster
b1b054dad6 More bitmap and imaging updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-26 22:26:08 +00:00
Vadim Zeitlin
3dc0174140 fixed array tests compilation and a bug in obj array test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-26 21:59:23 +00:00
Vadim Zeitlin
3b0b5f13f5 added support for add/insert/deleting many items at once in wxArray (patch 548050)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-26 21:58:46 +00:00
Vadim Zeitlin
f63e3ebbe3 implement wxColourDialog::Move() (patch 548048)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-26 21:06:21 +00:00
Vadim Zeitlin
6b6ea919a4 refresh and flicker even more to ensure proper refresh in the resizeable dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-26 20:35:11 +00:00
Vadim Zeitlin
5886ecc2f0 added VC++ project file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-26 20:34:25 +00:00
Robert Roebling
c5e4ef4ef2 Added sample to reproduce resize display bug.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-26 19:38:48 +00:00
Robert Roebling
5ebcf581f6 Added background inheritance to wxUniv.
Added sample to show this...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-26 18:28:30 +00:00
Stefan Csomor
c5750ccb5f corrected wxMacSetColorTableEntry (although it is not needed currently)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-26 17:40:23 +00:00
Jouk Jansen
9f4de6b2cf Committing in .
OpenVMS also need wxBuffer defined.

 Modified Files:
 	wxWindows/utils/dialoged/src/reswrite.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-26 14:54:39 +00:00
David Webster
4c0c805334 Minor OS/2 bug with a misplace #endif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-26 13:08:26 +00:00
David Webster
1cee3f6006 Updates to OS/2 to catch up with lib changes and for image processing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-26 12:58:11 +00:00
Julian Smart
54905eba2a Fixed my sloppy fix for redundant path separators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-26 09:52:10 +00:00
Mattia Barbon
490da436c8 Rewrote Metal theme to use delegation. requires more cut'n'paste than I like,
but I don't see any way around this - sigh. Anyway 594 << 4000 lines :-)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-25 20:20:55 +00:00
Mattia Barbon
9979fbba4e Glitches in wxDelegateRenderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-25 20:19:15 +00:00
Vadim Zeitlin
ab0d42f76d fixed typo in wxString::swap() which was completely broken
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-25 18:19:26 +00:00
Vadim Zeitlin
41b2e0e6db fixed bug with the text attr not being reset even after SetDefaultStyle(wxTextAttr()) call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-25 18:12:53 +00:00
Julian Smart
4e1c35f810 In GetPath(), don't append separator if there's already one at the end
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-25 10:25:45 +00:00
Stefan Csomor
a4019ec280 updated to 1.1.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-25 09:06:49 +00:00
Ron Lee
5b98eb2fa6 Added {S,G}etItem{Text,Background}Colour methods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-24 20:31:46 +00:00
Stefan Csomor
470d7e4f3e uses native implementation for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-24 19:53:23 +00:00
Stefan Csomor
2e6857fac2 corrected eventobject setting for mouse events and capture
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-24 16:54:28 +00:00
Stefan Csomor
60fcb5849b changed window creation class for dialogs (layering probs under X)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-24 14:40:53 +00:00
Stefan Neis
6cab7411a9 Fixed compilo (include image.h since cursor.h no longer does this implicitly).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-24 12:41:11 +00:00
Gilles Depeyrot
2e403d6dac corrected post increment operators which must return value before increment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-24 05:59:46 +00:00
Vadim Zeitlin
4a38127bf0 replaced unnecessary #include with a forward decl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-23 23:51:52 +00:00
Václav Slavík
90d0ab3443 no need to expand the hidden root (in fact, it is forbidden now)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-23 22:03:53 +00:00
Václav Slavík
fe593c8ac3 use some Audacity icons in wxHTML instead of my uglu ones (with author's permission)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-23 22:03:35 +00:00
Václav Slavík
ae7f6528ed gcc3 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-23 22:03:22 +00:00
Mattia Barbon
cc06fe74c4 Make Univ/GTK compile again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-23 20:16:40 +00:00
Stefan Neis
b1da81074c Speed-up for very large grids by more efficient search for rows/columns
that need to be updated (in various locations).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-23 17:56:56 +00:00
Václav Slavík
7391216edc added wx/msw/missing.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-23 16:18:26 +00:00
Robin Dunn
f2a10cdc48 A couple demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-23 15:58:41 +00:00
Robin Dunn
2a74d1415b Changes to match CVS updates over the weekend.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 21:45:07 +00:00
Ron Lee
6728fb611b buggy cast == buggy scrolling in Life!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 21:25:48 +00:00
Robin Dunn
d55d6b3f45 Added wxImage.GetDataBuffer which returns an in-place edit buffer of
the image data.  (Patch #546009)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 21:18:52 +00:00
Vadim Zeitlin
3e679f0190 reset g_delayedFocus when the window is deleted to avoid crashes when using it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 15:44:55 +00:00
Vadim Zeitlin
73847506eb removed unused OnSetFocus()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 15:44:36 +00:00
Vadim Zeitlin
efbcd6fb83 fixed warnings about main used as a variable name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 15:22:19 +00:00
Julian Smart
58ec225526 Added some missing wxTextCtrl features to to-do list in wxX11's readme.txt
Made the wxTipDialog fonts all Swiss (TODO: use current GUI setting for
the font family)
Worked around focus anomaly by suppressing parent's FocusIn event
when child's focus is being set by clicking on it (TODO: move some of this
to SetFocus() to make it work programmatically)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 14:33:07 +00:00
Vadim Zeitlin
478e03412d compilation fix for ms_dllext definition and old compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 14:01:14 +00:00
Julian Smart
e4ba9eb2b7 Made default theme win32 under wxX11 since I think the default
should be 'vanilla'; less exciting but as fast as possible


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 12:53:01 +00:00
Vadim Zeitlin
d0fcccc41f fixed a fatal bug in DLL loading code: the deleted entries were never removed from the list of the loaded libraries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 12:28:02 +00:00
Julian Smart
4cae9a20a8 Fixed drawing sample compilo for wxMotif (doesn't have wxRegion::Offset)
Put m_ok earlier in SelectBitmap, else get assert after SelectObject(wxNullBitmap)
'Fixed' longlong to long conversion messages by redefinging GetMillisecondsTime


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 11:19:11 +00:00
Julian Smart
9b66c26ae7 Fixed wxMotif compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 10:32:41 +00:00
Julian Smart
9fd9e47a93 wxUniversal fixes:
window.cpp's WM_CLOSE now calls Close() for wxUniv, else dialogs/
frames won't get closed using system menu/button.
Added missing NULL init for m_artProvider in themes to cure crash
Added 2 sample dsp files for wxUniv (not ideal perhaps but
it will save these getting lost, and much user frustration)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 09:09:40 +00:00
David Webster
f16e72c837 More bitamp and image fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 04:12:22 +00:00
Mattia Barbon
eb37e1d2f3 Removed the need for wxStream::GetSize in wxHTML.
Ascape '&' in text/plain.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-21 17:36:16 +00:00
Robert Roebling
f90566f5c3 Bunch of GTK theme changes.
Make wxStatusBar use themes.
  SetStatusText() now uses Refresh() since I don't
    know why it shouldn't.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-21 16:43:15 +00:00
Václav Slavík
c7de4135b6 wxWizardPage(Simple) can do two-phase creation now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-21 11:45:37 +00:00
Vadim Zeitlin
5463c0a4e1 use SetFocusFromKbd() instead of SetFocus()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-21 00:33:21 +00:00
Vadim Zeitlin
e7e91e0358 fixed WM_GETDLGCODE processing to include the bits returned by the DefWindowProc() as well; removed unneeded SetFocus()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-21 00:32:56 +00:00
Vadim Zeitlin
ddf9d04fe9 implement SetFocusFromKbd() to select all text in the controls whose dialog code has DLGC_HASSETSEL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-21 00:32:14 +00:00
Vadim Zeitlin
d577d610a3 added and documented wxWindow::SetFocusFromKbd
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-21 00:31:35 +00:00
Vadim Zeitlin
9ef3ebfbbe initialize (and delete) the themes art provider - fixes wxUniv app crashes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 23:36:16 +00:00
Vadim Zeitlin
ff8ebfaf5d compilation sample in !WXWIN_COMPATIBILITY_2_2 mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 23:30:23 +00:00
Julian Smart
6f9b81232e Typo fixed in tsizer.tex; no change to setup0.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 21:18:20 +00:00
Vadim Zeitlin
8204abdefe mention that doing SetFocus() results in the focus event being sent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 13:59:21 +00:00
Vadim Zeitlin
6aeb6f2a58 fixed initial focus handling in the dialog and made SetFocus() send the focus
events as under wxMSW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 13:53:11 +00:00
Vadim Zeitlin
33b494d643 added wxGetTopLevelParent()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 13:51:28 +00:00
Vadim Zeitlin
6703082ef0 fixed another return FALSE in a function returning a pointer (patch 545046)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 12:30:12 +00:00
Vadim Zeitlin
4b912ef220 made operator==() and \!=() const (still doesn't make them correct probably)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 11:20:49 +00:00
Vadim Zeitlin
7a82dabcc7 fixed huge memory leak in wxFileDialog (closes patch 544060)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 11:10:19 +00:00
Vadim Zeitlin
e94ff4cbf1 fixed logic in limiting spin ctrl values (patch from Dimitri)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 10:00:36 +00:00
Vadim Zeitlin
5f605ccf3f implemented DoGetSize() for wxSlider (patch from Dimitri)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 09:57:28 +00:00
Vadim Zeitlin
93c4157c6c fixed focus tracking for spin controls (patch from Dimitri)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 09:53:24 +00:00
Ron Lee
566d84a7c3 Added knowledge of virtual size to wx(Scrolled)Windows, they can now
manage their own scrollbars with the help of a sizer or other user
clues (SetVirtualSizeHints) without the need for an ancillary container.
Added SetSizerAndFit convenience method.
SetSizer now enables/disables AutoLayout automagically.
Logic bugfix for scrollsub sample.
Syntax bugfix in parser.y.
Compiler warning fix in textctrl.cpp.

 Modified Files:
    docs/latex/wx/scrolwin.tex docs/latex/wx/sizer.tex
    docs/latex/wx/window.tex include/wx/scrolwin.h
    include/wx/sizer.h include/wx/window.h
    include/wx/generic/scrolwin.h include/wx/gtk/scrolwin.h
    samples/scrollsub/scrollsub.cpp src/common/parser.y
    src/common/sizer.cpp src/common/wincmn.cpp
    src/generic/scrlwing.cpp src/gtk/scrolwin.cpp
    src/msw/textctrl.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-19 22:12:38 +00:00
David Webster
1d0edc0f73 More updates for gdi
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-19 21:40:05 +00:00
Gilles Depeyrot
c690ae86db poll is not available under Darwin/Mac OS X and select should be used instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-19 21:05:25 +00:00
Robin Dunn
b98a5dfcdd SWIGed changes for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-19 20:12:50 +00:00
Robin Dunn
d975da9bc4 Demo updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-19 20:12:19 +00:00
Gilles Depeyrot
40f7145ca5 use specific linker flags under Mac OS X when linking executables against the
wxWindows dynamic shared library (LDFLAGS_EXE)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-19 18:39:06 +00:00
Robert Roebling
010afced51 Updated makefile for mobile sample.
Updated changes.txt.
  Moved contents of ::Update() to ::GtkUpdate()
  Moved internal idle functions in wxApp to
    its own function.
  Tried to fix themed background redraw problem
    (probably same bug in wxNotebook and in
     wxStatusBar and others).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-19 17:39:49 +00:00
Vadim Zeitlin
129223d68e select the whole text in the single line text control when its SetFocus() is called (which also happens when the user TABs to it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 23:32:41 +00:00
Robert Roebling
8f4a9a1025 Moved mobile dir.
Made enable-no_rtti etc NO default.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 16:41:35 +00:00
David Webster
ba2abe8530 back to void for DoFloodFill
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 13:30:53 +00:00
Julian Smart
777dbdc75e Only create wxBuffer on wxMSW and wxMac platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 13:15:45 +00:00
Robin Dunn
2d956b5802 Typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:43:52 +00:00
Robin Dunn
9c67cbec02 Reorganized the tree in the wxPython demo, hooked the MDI demos into
the main demo.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:43:08 +00:00
Robin Dunn
d394edcac8 wxDF_HTML and FloodFill interface updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:42:09 +00:00
Robin Dunn
33ff77f695 Some wxGrid related classes now support OOR.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:37:09 +00:00
Robin Dunn
e3dbf5934e Don't do the wx cleanup if wxPython didn't do the initialization.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:36:21 +00:00
Robin Dunn
6d9022fe3b Moved the cleanup code to an EVT_WINDOW_DESTROY handler.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:35:20 +00:00
Robin Dunn
afbd598c25 Some secondary grid classes now derive from wxClientDataContainer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:32:35 +00:00
David Webster
c354beeafa Bitmap updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:12:36 +00:00
Robert Roebling
d7fa7eaa2d Various changes to focus handling when TLW start.
Changed wxWindow::Clear() to use m_clearRegion.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-17 22:44:31 +00:00
Robin Dunn
82550f2324 Added some methods to be consistent with wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-17 18:03:45 +00:00
Robin Dunn
19e30148e1 A few tweaks and cleanups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-17 18:03:11 +00:00
Robin Dunn
f772a88b55 Removed package from imports since the modules are in the same package.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-17 18:00:36 +00:00
Vadim Zeitlin
3f4f90c2a0 corrected assert even better
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-17 14:16:36 +00:00
Julian Smart
e944f70a6d Corrected assertion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-17 14:09:11 +00:00
Julian Smart
387ebd3eb7 Added wxDF_HTML
Added VC++/non-Unicode for setting HTML clipboard data
Changed FloodFill to return a bool value


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-17 11:48:11 +00:00
Gilles Depeyrot
4101db8100 corrected thread detection for Darwin / Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-17 06:19:42 +00:00
Václav Slavík
e7300ec6d9 some wxArtProv docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 23:06:47 +00:00
Václav Slavík
0dec0ec2a7 wxArtProvider HOWTO extended: update documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 23:03:35 +00:00
Václav Slavík
a81c3c2383 make wxArtProvider pure virtual (I was not so on
a purpose in some early stage but I think that it is
relevant no more...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 23:03:24 +00:00
Václav Slavík
05f9197a34 wxHtmlHistoryItem needs not be wxObject
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 23:03:09 +00:00
Václav Slavík
35b038b17e wxHtmlBookRecords needs not be wxObject
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 23:02:24 +00:00
Václav Slavík
ccdcde00d9 fixed outdated filenames
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 23:01:58 +00:00
Robin Dunn
eb88b74249 Use the OOR typemap for wxTreeCtrls too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 21:52:54 +00:00
Robin Dunn
36d9119341 typo fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 21:33:33 +00:00
Robin Dunn
1757121732 A new listctrl mixin class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 21:32:55 +00:00
Robin Dunn
9398120d29 Use the OOR typemap for wxTreeCtrls too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 21:31:57 +00:00
Stefan Csomor
50b30d837b added patch for theme savvy checkbox metrics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 21:04:38 +00:00
Mattia Barbon
cd6bd27059 Moved text control subclassing code inside MSWOnNotify.
Now all edit controls for tree labels are subclassed (previously only the ones
  created by EditLabel were ).
Now GetEditControl() always returns a pointer to a textctrl when editing
  is in progress.
Removed #if-0 code in GetEditControl() to do the above.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 20:05:47 +00:00
Julian Smart
787a85c239 Pass validator, not wxDefaultValidator!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 19:56:20 +00:00
Vadim Zeitlin
b5b49e4293 removed redundant code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 19:34:42 +00:00
Vadim Zeitlin
49b957be80 added test for wxNO_DEFAULT in wxMessageBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 19:29:52 +00:00
Robert Roebling
5d91e653c5 Untested mini-change for wxGTK idle handling.
Handle internal idle (i.e. update handing)
    *after* sending idle events so that if the
    user calls Refresh() in OnIdle() the regions
    will be updated afterwards.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 18:18:42 +00:00
George Tasker
d1853d4765 Fixes for documentation compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 18:00:31 +00:00
Ron Lee
ec603395eb replace zsh'ism(?) with a posix parameter expansion for CFLAGS default.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 17:12:00 +00:00
Vadim Zeitlin
2adfb497e6 always let the multiline text control process the Enter key presses
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 14:55:56 +00:00
Vadim Zeitlin
fe5a9cab50 don't include -D_REENTRANT in the linker flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 13:19:59 +00:00
Vadim Zeitlin
04727afd8c add -pthread like options to the linker flags as well; also (finally!) fixed -g and -On handling in CFLAGS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 13:15:30 +00:00
Vadim Zeitlin
02a1dfbae9 typo fixed: should be lpthread, not -lpthread in THREAD_OPTS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 12:34:43 +00:00
Vadim Zeitlin
126be6b469 thread detection fixed for Solaris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 12:32:51 +00:00
Vadim Zeitlin
595e0e4416 try just -lpthread in the thread detection code too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 11:57:12 +00:00
Gilles Depeyrot
3010d50a0c Added -bind_at_load linker option for Darwin/Mac OS X: executables must
necessarily fully bind the wxWindows library at program launch otherwise
lazy binding breaks RTTI class info


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 11:41:57 +00:00
Vadim Zeitlin
f7f50f493b return NULL from the functions returning a pointer, not FALSE (patch 544557)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 08:57:36 +00:00
Vadim Zeitlin
81b299966d return NULL from a function returning a pointer, not FALSE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 08:43:55 +00:00
Vadim Zeitlin
691aba016b better, more generic and backwards compatible, fix for TRUE/FALSE in C code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 07:43:04 +00:00
Vadim Zeitlin
009fead004 use -pthread or equivalent when using threads; many fixes (?) for the threads detection under FreeBSD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-15 20:38:07 +00:00
Vadim Zeitlin
7e0a413dae fixed remove() return code test to avoid spurious debug error message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-15 19:46:14 +00:00
Vadim Zeitlin
f4d7250ef1 fixed a few minor bugs: handle the directory parameter to Create() correctly, better error checking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-15 19:45:20 +00:00
Robin Dunn
3fbcc7fce5 Applied TRUE/FALSE fix here too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-15 19:38:05 +00:00
Vadim Zeitlin
dfe8399aa0 don't try to remove -g flag from CFLAGS, it is not necessary and doesn't work correctly anyhow (patch 543395)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-15 19:08:30 +00:00
Vadim Zeitlin
a84ece11ff compilation fix after TRUE/FALSE change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-15 19:02:38 +00:00
Vadim Zeitlin
d0060e7705 corrected const char * to char * conversions (patch 543896)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-15 18:49:57 +00:00
Vadim Zeitlin
9a5ead1e45 corrected passing const char * to a function taking char * (part of the patch 543892)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-15 18:47:34 +00:00
Gilles Depeyrot
432e839126 corrections for compilation with Apple DevTools
applied SourceForge patch #543872


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-15 18:43:49 +00:00
Vadim Zeitlin
92fe4afea6 fixes for BCC makefiles from Chris (patch 544015)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-15 18:43:48 +00:00
Vadim Zeitlin
a2d541ca9c redefined TRUE and FALSE to be of type bool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-15 18:27:16 +00:00
Vadim Zeitlin
d5172a588c added wx/ipc.h and used/documented it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-15 18:24:46 +00:00
Vadim Zeitlin
717e51d850 explain how to choose the theme for wxUniv apps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-15 18:23:06 +00:00
Vadim Zeitlin
19e9b91983 fixed minor typo in Borland instructions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-15 17:59:04 +00:00
Robin Dunn
d6021a0490 Some updates for 2.3.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-15 17:30:02 +00:00
David Webster
598d8cacef Bitmap and menu updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-15 03:31:42 +00:00
Robert Roebling
4ca24f185f Fixed (minor) problems reported by Ron in
scrolled window. The original patch was
    not unproblematic.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-14 20:41:45 +00:00
Vadim Zeitlin
a2615ebc22 fixed bug in generation of thumb scroll events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-14 16:26:36 +00:00
Robert Roebling
193e19cfdf Three more attempts to get metal look.
- Added a few flags for inheriting background.
     - Added wxWindow param to wxR::DrawBackground()
     - Added wxR::DrawButtonSurface()
     - Removed wxR::DrawBackground() from wxR::DrawButtonBorder()
     - Adde DrawMetal to Metal theme
  Fixed minor bug in wxGTK scrollbar.
  Changed code in wxX11 wxTLW so that startup flicker no
    longer occurs in wxFrame.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-14 14:42:43 +00:00
Julian Smart
aaae829664 Applied custom character filter patch for text validator
Corrected typo in spinbutt.tex


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-14 11:05:18 +00:00
Robert Roebling
ea323db37d Fix wxListCtrl bakground colour bug Part II.
Make wxWindow::Refresh() wake up idle.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-13 19:02:55 +00:00
Robert Roebling
4b04699b67 Fix wxListCtrl background colour bug Part I
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-13 19:01:55 +00:00
Vadim Zeitlin
3440463cf4 include wx/event.h before declarign the types (patch 543270)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-13 16:41:03 +00:00
Julian Smart
a6ae98cb7c Fixed GetVirtualSize for wxGTK's wxScrolledWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-13 15:16:11 +00:00
Václav Slavík
667e2c55ea fixed make uninstall
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-13 12:38:35 +00:00
Julian Smart
32b70aec1f Added missing CreateManifest() to initialisation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-13 07:24:20 +00:00
Robin Dunn
59988cd010 SWIGged updates for wxMAC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-13 03:42:53 +00:00
Robin Dunn
26a25f9523 Changed the #if used to turn on UNIX domain sockets to match what
is used in sckaddr.h so wxMAC will compile again.  If wxMAC/darwin
can actually use UNIX domain sockets then this change should
probably go the other way...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-13 02:46:21 +00:00
Robin Dunn
94c162795e SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-13 01:42:45 +00:00
Robin Dunn
174911cfd6 Already had wxEVT_MOUSE_CAPTURE_CHANGED, don't need it twice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-13 01:42:14 +00:00
Robin Dunn
6d26dc89c5 Added wxMouseCaptureChangedEvent. Added some missing Capture related methods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-13 01:37:32 +00:00
Robin Dunn
37bd51c0d5 Typos fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-13 01:36:21 +00:00
Robin Dunn
5c8e1089c7 Fix for Python 2.2 defining NDEBUG and conflicting with __WXDEBUG__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-13 00:54:43 +00:00
Robin Dunn
9de06a7953 Use wxBufferedDC in the doodle sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-13 00:39:12 +00:00
Vadim Zeitlin
aae032a0a9 don't let IsDialogMessage() have VK_ESCAPE, this fixes closing the tree in place editor with Escape
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-12 22:29:16 +00:00
Vadim Zeitlin
a37f9c6db4 always handle Enter ourselves while editing tree ctrl labels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-12 22:27:37 +00:00
Vadim Zeitlin
1231429104 fixed the bug which resulted in not showing the grid withotu scrollbars at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-12 22:00:38 +00:00
Julian Smart
a5e84126fc Implemented wxMouseCaptureChangedEvent and made wxGenericDragImage check it
the capture before release it.
Documented wxMouseCaptureChangedEvent and GetCapture/FindCapture.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-12 20:26:43 +00:00
Vadim Zeitlin
cd5e929815 test wxExecute() in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-12 19:05:11 +00:00
Robin Dunn
671bcff5bf Added test showing problem with small grids
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-12 16:31:38 +00:00
Vadim Zeitlin
0dbfd66d0b implemented IPC using Unix domain sockets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-12 15:13:53 +00:00
Vadim Zeitlin
70914290a1 fixed bug with not NUL-terminating the string in GAddress_UNIX_SetPath
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-12 14:18:51 +00:00
Julian Smart
bb28b47763 Applied docview patch
Removed richedit sample compilation


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-12 13:15:44 +00:00
Vadim Zeitlin
ad1b0610dc a preprocessor constant must be 0, not FALSE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-12 10:24:24 +00:00
Vadim Zeitlin
8f901032ba bug/typo fixed: function returning a pointer should return NULL, not FALSE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-12 10:23:55 +00:00
Vadim Zeitlin
4e6978c3fe replaced SetName() with SetText()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-12 09:57:21 +00:00
Vadim Zeitlin
645420d872 implemented wxChoice::Delete
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-12 09:31:12 +00:00
Robin Dunn
fc51b8c37e Better error message, flags --> style in wxHtmlWindow, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 23:13:29 +00:00
Robin Dunn
c893f25d86 Fixed GetShapeList and similar methods to use OOR.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 23:12:02 +00:00
Robert Roebling
a22d737782 Made metal theme a little faster.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 21:56:30 +00:00
Julian Smart
2599ee02f1 Undo/Redo update handlers now set the text as well
as enabling/disabling, making it possible for several
different types of control to share the same menu items and
set the text differently.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 19:43:21 +00:00
Vadim Zeitlin
79180098d8 don't use socket function when wxUSE_SOCKETS==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 19:11:12 +00:00
Vadim Zeitlin
6e406d3c7b typo (thanks Nerijus)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 19:00:17 +00:00
Vadim Zeitlin
fa5af9af95 updated to mention X11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 19:00:03 +00:00
Julian Smart
b538bf7e2a Corrected the sizer code for the navigation tool window --
it was mixing panel and frame. Now the panel is sized, and
the resulting fit used to resize the frame.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 18:49:47 +00:00
Vadim Zeitlin
e480a80aeb fixed 2 small typos (reported by Janos Vegh)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 18:44:02 +00:00
Julian Smart
77424cfbdd Sorry, that SetClientSize change was wrong, since sizers are working in
whole-window coordinates. Reverted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 18:43:25 +00:00
Vadim Zeitlin
0ea621cc25 fixed 2 bugs which were fixed in GetFullPath() but not GetPath() and which were broken by the last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 18:41:48 +00:00
Julian Smart
6aa3ea889a Added back the missing Undo/Redo accelerators that unaccountably
went missing after 2.3.1


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 16:50:55 +00:00
Stefan Csomor
412633c4a5 RemoveChild added for correct disposal of scrollbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 16:07:09 +00:00
Stefan Csomor
abda578832 RemoveChild added for correct disposal of scrollbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 15:31:58 +00:00
Vadim Zeitlin
a5b7374f31 added more GetPath() tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 12:21:42 +00:00
Vadim Zeitlin
4175794e03 fixed GetPath() trailing separator bug, rewrote GetFullPath() in terms of GetPath()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 12:20:27 +00:00
Vadim Zeitlin
62dcaed6ba added missing WINAPI to GET_LONG_PATH_NAME typedef (thanks to Dimitri)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 11:53:19 +00:00
Vadim Zeitlin
53c3a78b33 generate the focus events for wxComboBox, also solves the tab navigation bugs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 11:32:25 +00:00
Vadim Zeitlin
6a9c3625f5 mention wxDIALOG_NO_PARENT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 11:13:11 +00:00
Julian Smart
247cdef5df wxSizer::Fit calls SetClientSize, not SetSize. This fixes the tool window
in the Life demo.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 09:11:59 +00:00
David Webster
938aa9c461 Menuing and statusbar updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 22:29:32 +00:00
Robert Roebling
67d947ba89 Added "metal" theme.
Added bool param to wxUniv indicating if the controls
   takes its background from the parent (such as
   static texts, radio buttons etc).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 20:38:15 +00:00
Robin Dunn
7de5bdf4b3 Oops, forgot the braces.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 20:32:54 +00:00
Robin Dunn
d9f14e167e Moved check for m_lastKeydownProcessed to WM_CHAR case because I think
Vadim was asleep when he moved it out of HandleChar to the end of the
WM_KEY_DOWN case. <wink>  It would never be true where the check was
before...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 20:26:49 +00:00
Robin Dunn
301dfd6748 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 19:27:53 +00:00
Robin Dunn
26f4607d08 Ensure the caret flashes properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 19:06:59 +00:00
Robin Dunn
e0422aa695 Refresh of PyCrust
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 18:42:07 +00:00
Robin Dunn
7cdaed0ba0 Changes to match cvs update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 18:39:58 +00:00
Julian Smart
ee018b89b7 wxScrolledWindow::GetVirtualSize now returns client size
if scrolling parameters have not been set. This makes Layout()
work again for scrolled windows.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 18:15:17 +00:00
David Webster
f5f05abf22 Fixed LINKAGEMODE use
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 16:17:50 +00:00
Robert Roebling
6a4e5f03cf Work on wxEdit sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 16:01:39 +00:00
Julian Smart
65c745fe97 Corrected PositionToXY, XYToPosition code
Implemented GetSelection, SetInsertionPoint(End)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 14:23:03 +00:00
Julian Smart
68148776b9 Fixed single-line text control breakage (sorry). Now only
skips the refresh when the new and old values are the same.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 13:00:04 +00:00
Julian Smart
dabd1377ce Added a wxDD_NEW_DIR_BUTTON style for wxDirDialog (currently,
works for the generic implementation only).
Renamed wxDIRCTRL_EDITABLE to wxDIRCTRL_EDIT_LABELS.
Removed reported memory leaks from dynload.cpp using wxModule --
this may cause problems if other modules want to use wxPluginLibrary.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 09:35:36 +00:00
Stefan Csomor
2240c9edce background setup correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 08:22:02 +00:00
Stefan Csomor
24fe8dc7f8 removed code (not necessary anymore)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 06:07:18 +00:00
David Webster
a086de984d Lots of updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 04:38:11 +00:00
Vadim Zeitlin
f4f734c1ef no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 00:23:13 +00:00
Vadim Zeitlin
0df3fbd72a don't send dummy scroll events from wxNotebook when the page is changed using the built-in spin control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 00:22:49 +00:00
Vadim Zeitlin
4e4a5fed9f wxSizeEvent now carries the total size, not just the client size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 23:56:20 +00:00
Vadim Zeitlin
0545d965de added another size to the status bar display
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 23:55:38 +00:00
Václav Slavík
08887820a9 hidden root works in wxGenericDirCtrl again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 22:52:07 +00:00
Vadim Zeitlin
bb61a98381 fixed the initial wxCalendarCtrl position and a minor appearance bug (the first closes the bug 539857)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 22:49:55 +00:00
Václav Slavík
e961638138 fixed incorrect wxCHECK (was a wrong negation before)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 22:44:38 +00:00
Václav Slavík
999723f31a don't allow expanding/collapsing hidden root node
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 22:43:14 +00:00
Robin Dunn
18b9408737 Include wx/object.h to get the global memory operators if defined.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 22:42:09 +00:00
Vadim Zeitlin
8292017ce0 added support for the multiline button labels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 22:25:57 +00:00
Robin Dunn
c8b34a16f7 A little black magic... When the C++ object (for a window or
whatever) is deleted there is no way to force the Python shadow object
to also be destroyed and clean up all references to it.  This leads to
crashes if the shadow object tries to call a method with the old C++
pointer...  The black magic I've done is to replace the __class__ in the
Python instance object with a class that raises an exception whenever a
method call is attempted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 22:14:34 +00:00
Robin Dunn
4acff284f9 A little black magic... When the C++ object (for a window or
whatever) is deleted there is no way to force the Python shadow object
to also be destroyed and clean up all references to it.  This leads to
crashes if the shadow object tries to call a method with the old C++
pointer...  The black magic I've done is to replace the __class__ in the
Python instanc object with a class that raises an exception whenever a
method call is attempted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 22:01:45 +00:00
Robin Dunn
31fa82942c New PyCrust from Patrick O'Brien
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 21:57:35 +00:00
Robin Dunn
aacd7bb647 Forgot to set OOR info on wxSplashScreen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 20:55:12 +00:00
Vadim Zeitlin
d769e8ebe0 made one button label multiline for testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 19:40:37 +00:00
Mattia Barbon
f03b9d4585 Allow building with wxUSE_CALENDARCTRL=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 19:34:59 +00:00
Stefan Csomor
9854b6eddf added possible mach-o compliant version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 18:32:17 +00:00
Julian Smart
171fe25be9 Removed redundant project file
Updated release scripts
Reduced widgets sample size
Put back some conditional compilation for dir ctrl style


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 14:40:22 +00:00
Stefan Csomor
3538f4df99 change in wxFileDataObject::SetData behaviour broke DnD of multiple files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 13:51:04 +00:00
Vadim Zeitlin
677eff077e fixed a bug in wxStopWatch::Pause() (wouldn't pause if called immediately after Start()) and changed Pause()/Resume() calls to nest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 10:35:35 +00:00
Julian Smart
7b12790064 Made widgets sample take up less space
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 10:31:37 +00:00
Robin Dunn
d3bfec747d Some little additions to how wxBufferedDC is wrapped.
SHow how to use the wxBufferedDC in the demo.
Other demo tweaks


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 01:25:47 +00:00
Václav Slavík
06cf7c08f2 forgot to check-in wxGTK wxDC changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 22:56:14 +00:00
Václav Slavík
11032cd905 compatibility macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 22:50:56 +00:00
Robert Roebling
a0760bd34b More wxEdit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 21:48:29 +00:00
Robert Roebling
5d8301397c wxTextCtrl::SetValue() sets m_modified to FALSE.
Make scrollbars take MSW's "empty" look on start-up.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 21:48:06 +00:00
Robert Roebling
f90d461a37 Buttons need to be small on PDAs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 21:46:57 +00:00
Robin Dunn
87439dd8ae SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 21:34:42 +00:00
Robin Dunn
db0ff83efb Updates to match recent CVS changes.
Plugged some resource count leaks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 20:56:34 +00:00
Julian Smart
7ff3f36748 Added dependencies to .dsw file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 20:39:27 +00:00
Julian Smart
935b53f2fb Project file update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 20:20:05 +00:00
Julian Smart
4e4dc03dcc Added define to STC VC++ project file
Ming/Cygwin makeprog.env clean target now cleans .exes
Edited version in install.txt
Copied HTML files from web files


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 20:17:40 +00:00
Robert Roebling
8c69597207 A little less flicker when selecting text.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 18:05:44 +00:00
Julian Smart
4d50d6840a More BC++ makefile tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 17:15:58 +00:00
Julian Smart
81c9effa84 Further fixes to references
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 17:14:53 +00:00
Julian Smart
f4fcc29197 Removed a lot of redundant references to wxWindow::On... functions.
Added initial artprov.tex.
Sorted out duff references.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 16:46:27 +00:00
Vadim Zeitlin
6ce27aa2fd fixed format parameter in wxGetVolumeString() (closes patch 541037)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 16:31:18 +00:00
Vadim Zeitlin
1527281edb fixed several bugs in Mkdir() and also modified its API to be more user friendly (based on the patch 541033 from Chris Elliott)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 16:28:50 +00:00
Vadim Zeitlin
33b97389e5 added GetPath(flags) version to allow retrieving the volume as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 16:15:43 +00:00
Vadim Zeitlin
605625f51e added the keyboard sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 16:02:30 +00:00
Robin Dunn
9f9eb285d7 Added missing files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 15:35:15 +00:00
Julian Smart
2246169a3f Added makefiles to widgets sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 14:21:36 +00:00
Julian Smart
9f24e0b5b4 BC++ 32-bit makefile now copies setup.h to the correct place
Fixed compilo in treetest.cpp
Fixed version numbers in make*.env
Added dummy keyboard.rc so makefile.vc works


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 14:12:56 +00:00
Vadim Zeitlin
1a65fc6586 wxMSW doesn't send CHAR events for Caps/Scroll/NumLock neither
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 14:05:49 +00:00
Vadim Zeitlin
0a62b1978c added a few debugging messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 14:00:19 +00:00
Vadim Zeitlin
59db511380 report all ASCII keys, not just the US-ASCII ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 13:35:36 +00:00
Vadim Zeitlin
486ac2444d fix for non-US keyboards: the ASCII chars must be unsigned
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 13:35:05 +00:00
Vadim Zeitlin
1c6896d711 wxGTK keyboard handling now behaves (mostly) like wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 13:24:50 +00:00
Julian Smart
35a6691a07 Re-enabled dynamic library code in wxFileName so
that normalization works again in Win32. I don't
know why it had been disabled.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 11:55:05 +00:00
Vadim Zeitlin
747106015b some kbd processing code cleanup, no real changes yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 11:36:46 +00:00
Julian Smart
c1ef9cdb46 Added further keyboard sample makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 11:34:40 +00:00
Julian Smart
fd775aae7b Added wxDIRCTRL_EDITABLE style so we can choose whether
items are editable or not


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 11:15:16 +00:00
Vadim Zeitlin
992295c493 fixed crash in SetFirstVisible()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 10:58:17 +00:00
Vadim Zeitlin
31205f361b Unix makefile for the new sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 10:55:00 +00:00
Julian Smart
a977709b11 Canvas: added some DECLARE_CLASS macros to stop it failing
in class info initialisation
Mmedia: compiles agin
Plot: corrected VC++ project settings
Simple toolbar: should draw a highlight again now
Generic dir control: moved control ids to header for apps that
need to get hold of the individual controls
Scintilla: unconditionally compile Scintilla_LinkLexers() to correct
link error in sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 10:50:14 +00:00
Vadim Zeitlin
07d2031dde temporary compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 10:43:59 +00:00
Stefan Csomor
6cc687bfee new makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 09:27:24 +00:00
Václav Slavík
0d6a01017d Don't allow expanding/collapsing hidden root
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 23:14:46 +00:00
Václav Slavík
e13ea14e30 oops, forgot to implement Home button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 23:08:51 +00:00
Václav Slavík
3a0a5ada86 cleaned up the mess caused by FloodFill patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 23:07:17 +00:00
Václav Slavík
17483066d2 cleaning up the mess created by the FloodFill patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 23:05:49 +00:00
Julian Smart
12d1ab44bb Fixed some bit-rot problems in contribs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 22:58:16 +00:00
Julian Smart
968602f890 Changed caret to black and made it go when control isn't focussed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 22:47:20 +00:00
Vadim Zeitlin
67c34f64d4 fix for splitting the UNC paths
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 22:42:35 +00:00
Vadim Zeitlin
a160a3252f added ra key methods docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 22:37:10 +00:00
Vadim Zeitlin
94af7d45ef added wxTextCtrl::EmulateKeyPress
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 22:29:04 +00:00
Julian Smart
15bee36fdf Removed leaks from Forty demo
Added VC++ project file for artprov sample
Updated file lists


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 21:12:45 +00:00
Vadim Zeitlin
9c7df356f9 added raw key code and flags support (based on patch from Bryce Denney)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 21:06:59 +00:00
Vadim Zeitlin
62fa9712a0 added option to show the raw key codes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 21:02:10 +00:00
Robert Roebling
40de795fb9 Further work on wxTextCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 20:46:55 +00:00
Gilles Depeyrot
168f4135dc updated CodeWarrior 5.3 exported xml projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 18:28:15 +00:00
Gilles Depeyrot
c8b751aa27 removed unnecessarily overridden wxControl method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 18:21:52 +00:00
Vadim Zeitlin
7de7aed440 added a new sample to show the key events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 18:08:25 +00:00
Gilles Depeyrot
3806393b34 updated CodeWarrior 5.3 exported xml projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 17:56:41 +00:00
Gilles Depeyrot
ecac7b4bef removed 68K targets and preferences
added new/missing source files


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 17:49:54 +00:00
Vadim Zeitlin
a582395301 reformatted to fit in the page width
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 17:33:28 +00:00
Vadim Zeitlin
04c4c93f00 compilation fix for USE_PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 17:28:56 +00:00
Vadim Zeitlin
df055cbbdc refresh the dialog children forcefully even if wxCLIP_CHILDREN was specified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 17:20:44 +00:00
Vadim Zeitlin
191edeb5fb removed Robert's test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 17:20:09 +00:00
Julian Smart
69477ac449 Version updates, manual date change, no change to dragimmg.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 17:09:26 +00:00
Gilles Depeyrot
abefd7eeba removed 68K targets and preferences and renamed output libraries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 17:05:56 +00:00
Václav Slavík
b37b190975 *DO* use wxTR_EDIT_LABELS, it is neccessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 16:05:46 +00:00
Václav Slavík
c3016fd626 update from gtk/changes.txt to changes.txt (sic...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 16:05:38 +00:00
Václav Slavík
c9d0bc8af4 add artprov sample to the list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 16:05:25 +00:00
Václav Slavík
ea67ba0fe2 added wxArtProvider technote
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 16:05:11 +00:00
Robert Roebling
0106a22628 Added first test app to "mobile".
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 14:50:00 +00:00
Robert Roebling
052c02b37f Make wxFileDialog even smaller under X11.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 14:47:16 +00:00
Robert Roebling
cf76eeeca0 Make text control send text update events.
Something else.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 14:46:44 +00:00
Gilles Depeyrot
b51434be51 improved conditional compilation test (added wxUSE_POSTSCRIPT)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 13:29:02 +00:00
Gilles Depeyrot
a1260bfc7d removed unused enum
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 13:26:58 +00:00
Robert Roebling
05c8d6df81 Test case for MSW display corruption in 2.3.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 12:05:38 +00:00
Robert Roebling
46e87167f1 Further work on wxTextCrl.
Makefile fix for wxEmulator.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 10:18:46 +00:00
Vadim Zeitlin
f73f67bee4 refresh the dialogs after resize - this is the only way to deal with the display corruption problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-06 22:31:07 +00:00
Vadim Zeitlin
8912d7eb18 cleaned up the checkbox creation code (~70 lines of code became 3)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-06 22:27:34 +00:00
Vadim Zeitlin
7fe1a8b5a9 no significant changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-06 22:23:47 +00:00
Vadim Zeitlin
da03e3303f fixed bug with initial path being a root directory on the drive
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-06 20:54:42 +00:00
Julian Smart
232f35cba7 Strange sizing fix in DoResize() to workaround apparent
wxChoice returned size inconsistency


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-06 20:21:30 +00:00
Václav Slavík
7a766dcda1 fixed wxEncodingConverter::Convert docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-06 19:07:40 +00:00
Robert Roebling
82434104d5 Added support for variable-width fonts
to wxTextCtrl. This excludes syntax
    highlighting, which is probably OK.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-06 18:11:36 +00:00
Václav Slavík
142b3bc26a added wxFontMapper::Get/Set
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-06 15:04:27 +00:00
Václav Slavík
5a224901b8 reverted Julian's unintentional breakage of wxChoice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-06 15:01:56 +00:00
Václav Slavík
c3357a037c clear wxArtProvider cache when pushing new provider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-06 15:01:49 +00:00
Václav Slavík
8174ffaed2 more samples/artprov stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-06 15:01:43 +00:00
Václav Slavík
54946cc95b fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-06 15:00:21 +00:00
Václav Slavík
ccb42cc5c8 added resources browser to wxArtProvider sample (similar to the one from gtk-demo)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-06 14:55:16 +00:00
David Webster
546f34572d New moddef file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 23:25:32 +00:00
Václav Slavík
763f55468e info about removal of wxhtml.rc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 22:18:43 +00:00
David Webster
3437f881c4 Catching up to new common class interfaces.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 22:09:25 +00:00
Robin Dunn
0f5fa11181 more tweaks for API changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 21:47:58 +00:00
Robin Dunn
f60765b0fc A few little cleanups, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 20:55:53 +00:00
Julian Smart
a8e65eeeae Made sure the 'best' size doesn't get set for wxChoice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 20:52:13 +00:00
Robert Roebling
994bc575d8 Fixed the background colour bug.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 20:39:08 +00:00
Vadim Zeitlin
f94dd12dc1 SetPath() is now implemented in dirdlg.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 20:20:32 +00:00
David Webster
7f1698c34c need wxUSE_WCHAR_T around wxConvLocal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 20:08:51 +00:00
David Webster
e3fed5c49a FALSE not false
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 19:55:43 +00:00
Vadim Zeitlin
68fbbb7f63 some updates I forgot to commit before: mention wxCondition and wxIconBundle changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 18:32:09 +00:00
Vadim Zeitlin
1c9f06b14c compilation fix for !WXWIN_COMPATIBILITY_2_2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 18:23:40 +00:00
Vadim Zeitlin
c8dbe0aee2 compilation fix for !WXWIN_COMPATIBILITY_2_2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 18:11:46 +00:00
Vadim Zeitlin
2e0ce62d46 added a few missing tree events to the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 17:27:38 +00:00
Vadim Zeitlin
2db991f457 minor fix to wxFileName::MakeRelativeTo(), removed broken and misleading IsWild() method, added IsDir() one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 11:14:09 +00:00
Vadim Zeitlin
808ef6d2e8 warning fix for cygwin (patch 539654)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 10:43:33 +00:00
Vadim Zeitlin
f3558accb0 more fixes to handling the paths with trailing slashes in wxDirDlg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 10:11:37 +00:00
Jouk Jansen
2e99f81532 Committing in .
Complile issues for OpenVMS
 +
 obvious typo in wxWindows/src/motif/dcclient.cpp

 Modified Files:
 	wxWindows/src/common/descrip.mms
 	wxWindows/src/motif/dcclient.cpp
 	wxWindows/src/unix/utilsunx.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 07:08:48 +00:00
Robin Dunn
ffd990f695 Added a few new flags, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 00:28:59 +00:00
Robin Dunn
7c41d11aed Added wxFileHistory demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 00:28:37 +00:00
Julian Smart
e777924b35 No change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-04 21:14:36 +00:00
Julian Smart
a570d5b302 Don't set a normal cursor for the frame, set the NULL cursor, else
text controls (for example) can get the wrong cursor.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-04 21:05:14 +00:00
Julian Smart
e99e9bc322 Added FAQ topic for FL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-04 21:03:18 +00:00
Vadim Zeitlin
9c05a3ca23 use full 32bit range for the process ids
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-04 18:04:54 +00:00
Julian Smart
0ad88447ca Removed wxTR_HIDE_ROOT under Windows, and removed wxTR_EDIT_LABELS for now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-04 17:24:49 +00:00
Julian Smart
65e5084827 Added wxTB_NODIVIDER and wxTB_NOALIGN so native Windows toolbar can
used in FL.
Adjusted Windows toolbar height for wxTB_NODIVIDER style.
Removed some false memory leak reporting from fontmap.cpp, mimecmn.cpp,
strconv.cpp.
Added and used MapBitmap function in newbmpbtn.cpp so the right
colours are used under Windows.
<controversial>Added iniconf.cpp to WIN32 compilation</conroversial>


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-04 13:13:51 +00:00
Robin Dunn
4069916857 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-04 05:44:55 +00:00
Robin Dunn
cce8089628 Demo update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-03 20:34:26 +00:00
Robin Dunn
accfe34dfa Updates for wxListCtrlAutoWidthMixin needed for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-03 20:33:20 +00:00
Robin Dunn
a77ec46ddc Added sending of column dragging events to the generic wxListCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-03 20:26:29 +00:00
Mattia Barbon
8f69665389 Fix for broken BCC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-03 19:32:31 +00:00
Robin Dunn
a323d3bda7 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-03 19:25:11 +00:00
Mattia Barbon
01e4ec1980 Mention wxCURSOR_BLANK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-03 19:17:30 +00:00
Robert Roebling
ad42b67c35 Noone is using the tests dir either.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-03 18:19:12 +00:00
Robert Roebling
a0b4d4335f The user dir was last changed in Okt 98, so I guess
it is mostly obsolete.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-03 18:16:48 +00:00
Robin Dunn
68bc8549d8 Move font and encoding related classes to a new module. Added
wxLocale and wxEncodingConverter.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-03 18:15:21 +00:00
Vadim Zeitlin
af2b012d65 don't show generic dir dlg when it's the same as the standard one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-03 16:01:44 +00:00
Robert Roebling
8ac795151e Small typo, big effect.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-03 14:39:45 +00:00
Vadim Zeitlin
15b663b4c3 fixed error checking in wxKill
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-03 14:32:53 +00:00
Vadim Zeitlin
413055db0f added a note about the constraints being deprecated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-03 13:04:21 +00:00
Vadim Zeitlin
664ad22f4c reuse the fonts in the resource loading code (patch from Tom Felici)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-03 13:01:34 +00:00
Vadim Zeitlin
7086987f11 don't reenable the disabled windows in OnShow(), it is unnecessary and the code there was buggy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-03 12:54:09 +00:00
Gilles Depeyrot
8372d79dc2 corrected FSSpec to POSIX file name conversions for Mac OS X (Apple DevTools)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-03 12:49:48 +00:00
Robin Dunn
11632c43fa Since wxConditionInternal is a friend of wxMutex and wxMutex has copy
prevention, then wxConditionInternal needs copy protection too so the
default copy and assignment won't generate link errors.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-03 01:16:04 +00:00
Vadim Zeitlin
10671c6791 fixed a race condition resulting in returning incorrect thread exit code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-03 00:13:48 +00:00
Vadim Zeitlin
461c9b848b fixed OnDropFiles() signature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 23:26:22 +00:00
Robert Roebling
ee1797f141 Fix some crashes in new wxTextCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 19:40:57 +00:00
Mattia Barbon
b70462f4f7 wxCalendarCtrl::Destroy() now deletes year spin control and
month combo box; tested in MSW and GTK .


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 17:46:45 +00:00
Stefan Csomor
a82dede096 added floodfilling for image
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 17:43:08 +00:00
Stefan Csomor
71110b404c adapted to new APIs for threads and floodfilling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 17:42:11 +00:00
Mattia Barbon
0c44c1c63f Blind fix for bug #529874 .
wxPropertyListView::OnOk should set sm_dialogCancelled  to FALSE.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 17:37:00 +00:00
Vadim Zeitlin
52d6235db0 compilation warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 16:24:31 +00:00
Vadim Zeitlin
c112e10026 changed wxCondition API to take a reference, not pointer, to wxMutex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 15:37:57 +00:00
Vadim Zeitlin
cd10339a23 compilation fixes for the recent commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 13:22:56 +00:00
Vadim Zeitlin
be80986891 added wxSemaphore (with docs), new version of wxCondition and bug fixes to wxThread (patch 538242 by K.S. Sreeram)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 13:15:16 +00:00
Julian Smart
8e2baee50d Now set the client and main windows in wxAdoptedWindow::SetHandle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 12:41:28 +00:00
Vadim Zeitlin
b78d046d82 added the include files section (patch 538251)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 10:26:50 +00:00
Vadim Zeitlin
01cf2f9512 fixed paper size calculation (convert from 10ths of mm to mm correctly)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 10:20:52 +00:00
Vadim Zeitlin
0fc5dbf52a compilation warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 09:59:22 +00:00
Julian Smart
21a77f6e50 Added includes to correct compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 09:39:24 +00:00
Julian Smart
7011cf1390 Added wxImage::FloodFill file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 09:15:26 +00:00
Robin Dunn
68304caffe wxWindowMSW now eats EVT_CHAR if the key was handled in EVT_KEY_DOWN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 00:36:29 +00:00
Vadim Zeitlin
21b529859e more informational assert about the base class being unknown to wxRTTI system (patch 538103)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 23:58:46 +00:00
Julian Smart
a8a721064b Added reference to FloodFill additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 22:17:38 +00:00
Julian Smart
0fa784572f Separated wxImage::FloodFill from image.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 22:14:42 +00:00
Vadim Zeitlin
fd7ab28c5e fixed wxCheckListBox behaviour in presense of wxLB_SORT style (bug 529786)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 21:55:55 +00:00
Julian Smart
f88c1a172e Added FloodFill patch for samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 21:47:02 +00:00
Julian Smart
b1699cd397 Applied FloodFill patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 21:40:42 +00:00
Vadim Zeitlin
0102f092ed use the new wxExecute() API (no real changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 21:33:50 +00:00
Vadim Zeitlin
4c1ef4220f use the new API in the sample as it's more readable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 21:31:58 +00:00
Vadim Zeitlin
836915e177 sleep while waiting for the spawned process to terminate so that we don't eat 100 of the CPU
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 21:31:27 +00:00
Robin Dunn
d6eacb2570 Fixed a few little bugs in how some methods are wrapped
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 20:34:02 +00:00
Robin Dunn
0e9b78ce36 Added wxIconBundle and wxTopLevelWindow.SetIcons.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 20:33:16 +00:00
Robin Dunn
726fc00ab9 Added wxListCtrlAutoWidthMixin from Erik Westra.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 20:31:23 +00:00
Robin Dunn
15030c51b8 A saner implementation for the new wxToolBar methods that keeps
backwards compatilibilty (including keyword args names for wxPython)
and still exposes the new stuff.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 20:29:35 +00:00
Robin Dunn
342639eb74 Some cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 20:28:01 +00:00
Robin Dunn
468c1af05b Trying wxTE_PROCESS_ENTER and EVT_TEXT_ENTER on a combobox, doesn't
work yet.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 20:27:19 +00:00
Julian Smart
8601b2e15b Modifications to get wxNanoX compiling again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 14:09:44 +00:00
Vadim Zeitlin
03baf03186 restored full redraw on repain behaviour by default, also some cleanup in the
windows classes registration code


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 13:36:55 +00:00
Robert Roebling
24f932d22a Made wxFileDialog PDA friendlier.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 11:59:38 +00:00
Robert Roebling
4175e95227 Temporarily use self-made wxTextCtrl in wxX11 until
the in /src/univ.cpp works better.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 11:41:59 +00:00
Robert Roebling
8a328874b6 As in 2.2.9, toolbars should not get the focus.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-31 14:07:17 +00:00
Robert Roebling
98b9643647 Minor tweak (up-ported from 2.2.9) to make
flat toolbars look slightly better even
    without rebar controls underneath.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-31 14:06:32 +00:00
Robert Roebling
5d5da6f610 Compile fix when not using WXR resources.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-31 12:06:49 +00:00
Robert Roebling
752f10a8a4 Compile fix for MinGW32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-31 12:06:08 +00:00
Vadim Zeitlin
e7b0dcd91e fix for the paths with trailing (back)slashes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-30 23:27:49 +00:00
Robert Roebling
72726d27bd some more tweaks were required
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-30 22:53:27 +00:00
Robert Roebling
34d26f42b1 Rewrote wxToolBar another time.
Other minor tweaks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-30 21:18:39 +00:00
Vadim Zeitlin
f4fefc232b fixed an apparent bug in DetermineScaling()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-30 19:57:43 +00:00
Robert Roebling
a17a79bac3 Added code for erasing the small square between scrollbars.
Corrected window size if scrollbars is removed/added.
  Reduce flicker in scrollbars.
  Prevent scrollbars from jumping back to original position
    if the mouse just barely left the scrollbar.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-30 11:16:24 +00:00
Robert Roebling
9d353d4a22 Configure changes for StrongARM cross-compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-30 01:28:47 +00:00
Robin Dunn
0b9dfbc00e Give access to m_lastKeydownConsumed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-30 01:19:59 +00:00
Robin Dunn
f33d6788d7 Don't set the longhelp in the statusbar if there isn't one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-30 01:18:52 +00:00
Robin Dunn
2417bf69de Set flags and libs for using unicows if MSLU=1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-30 01:18:03 +00:00
Robert Roebling
dc4025af9a Some work for wxX11 on 8-bit visuals.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 22:58:15 +00:00
Robert Roebling
b33c8d22cc Removed old #ifdef from GTK 1.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 21:11:00 +00:00
Robert Roebling
b5a49d4c52 A bit of scrolling works under GTK 2.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 18:01:50 +00:00
Robert Roebling
af1d24da23 Make scrollbars appear.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 17:34:10 +00:00
Robert Roebling
8cce894070 Preventing bitmap crash differently.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 17:23:54 +00:00
Robert Roebling
c7f6246740 Disabled masked bitmaps under GTK 2.0 until I know
why they crash.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 15:43:30 +00:00
Robert Roebling
e97d2576ae Pop-up menus no longer jump before appearing.
Added wxTLW::DoGetSize() which uses cashed values.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 15:04:30 +00:00
Robert Roebling
97bb82ccce Implemented two-window approach for pop-ups, since
e.g. menus have borders.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 14:14:06 +00:00
Robert Roebling
eb9e6a00be Wrong #ifdef for GTK 1.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 13:52:42 +00:00
Robert Roebling
67d7821742 More work on GTK 2.0 drawing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 13:05:21 +00:00
Vadim Zeitlin
e2386592d3 commented out an unused var
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 11:15:55 +00:00
Vadim Zeitlin
4f22f506a8 corrected the previous warning fix so that it doesn't break the code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 10:49:54 +00:00
Vadim Zeitlin
349f1d8ed3 fixed fl compilation after the recent tbar changes (patch 536539)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 09:39:18 +00:00
Vadim Zeitlin
c81394060f compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 09:35:33 +00:00
Vadim Zeitlin
14d36de822 fixed signed/unsigned comparison warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 09:07:07 +00:00
Robert Roebling
4e5a4c69c5 Put some life into GTK 2.0 drawing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-28 23:56:36 +00:00
Vadim Zeitlin
25dd6997c5 fixed VC++ warning in optimized build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-28 22:32:32 +00:00
Mattia Barbon
edfb58b74c Add missing include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-28 22:32:08 +00:00
Julian Smart
288efe84da In bitmap.cpp, CreateFromImage, took GetWidth and GetHeight out of loop.
Fixed wxWindowX11::FindFocus so text selections work again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-28 21:42:35 +00:00
Mattia Barbon
e121a72a52 Fix for daily builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-28 20:55:49 +00:00
Mattia Barbon
7efaed4de4 Fixed problems with wxFrame::SetIcons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-28 20:51:55 +00:00
Julian Smart
33980f0da6 Compile corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-28 19:48:34 +00:00
Vadim Zeitlin
e0fbcda633 unapplied part of Dimitri's patch at his request
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-28 19:14:41 +00:00
Robert Roebling
c2c0dabfa6 More changes for better redraw flow under X11.
Probably fixed problem with TLW appearing wrong.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-28 18:57:50 +00:00
Stefan Csomor
5b8b5075fe added iconbndl method, removed deleted files from project
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-28 14:30:41 +00:00
Stefan Csomor
c309daf5d3 changed implementation (was using now removed methods)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-28 14:26:38 +00:00
Stefan Csomor
d5309f5803 changed image.h include to be correct in all (precomp and non-precomp) cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-28 14:15:07 +00:00
Stefan Csomor
32f96f742f corrected dynarray.h include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-28 14:14:00 +00:00
Vadim Zeitlin
8cd82622a0 fixed a buffer overflow (!) in wxHtmlTagsCache
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-28 12:52:27 +00:00
Vadim Zeitlin
0f243af310 fixed a (harmless) BoundsChecker warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-28 12:31:54 +00:00
Vadim Zeitlin
91c536df15 fixed compilation in Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-28 12:07:56 +00:00
Vadim Zeitlin
a448a02f28 fixed typos in Unicode configs of wxBase (thanks Dimitri)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-28 12:07:04 +00:00
Vadim Zeitlin
6d3d1c2e04 committing the file which I forgot to commit yesterday (sorry)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-28 11:44:30 +00:00
Robert Roebling
85cb693c5d Compile fix for TLW under X11.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-28 09:08:58 +00:00
Robert Roebling
a315cec968 Compile fix for wxFileName.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-28 09:08:08 +00:00
Vadim Zeitlin
f423f4dbbb use PALETTERGB instead of RGB when creating wxMask from colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-28 00:37:52 +00:00
Vadim Zeitlin
a2fa504087 basic wxFileName functions seem to work under Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-28 00:29:13 +00:00
Vadim Zeitlin
0e2c5534fe added test of wxFSVolume
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-27 23:31:51 +00:00
Vadim Zeitlin
6dbb903bb9 wxFileName::Get/SetTimes() finally seem to work under Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-27 23:17:41 +00:00
Vadim Zeitlin
12132b3789 fixed bug in ConvertWxToFileTime (bug 525868)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-27 22:29:43 +00:00
Robert Roebling
372c2812d9 wxX11 wants to have the border style flag
in wxWindowX11.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-27 22:09:49 +00:00
Vadim Zeitlin
f4d0cce0b8 fixed data format cast (patch 528965)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-27 19:04:49 +00:00
Vadim Zeitlin
39d580f7dc minor cosmetic fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-27 19:00:49 +00:00
Vadim Zeitlin
f565a6c2f4 Unicode compilation fixes (patch from Dimitri)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-27 18:45:20 +00:00
Vadim Zeitlin
4ccf704abd removed a few warnings and CW compilation problems (patch from Dimitri)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-27 18:43:13 +00:00
Vadim Zeitlin
cebab22d9e fix for building in a directory with a long name (patch 534399)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-27 18:39:03 +00:00
Vadim Zeitlin
e1082c9fa8 added wxEXEC_MAKE_GROUP_LEADER (patch 535422)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-27 18:36:37 +00:00
Vadim Zeitlin
a4b5932472 added wxExecute tests and a few other misc additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-27 17:15:13 +00:00
Vadim Zeitlin
7c46a16b62 compilation warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-27 16:35:44 +00:00
Vadim Zeitlin
9f385aa0f6 compilation warning about signed/unsigned comparison fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-27 16:35:04 +00:00
Vadim Zeitlin
8cf1c88c68 compilation fix: include wx/iconbndl.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-27 16:30:42 +00:00
Jouk Jansen
130d96dcf6 Committing in .
OpenVMS complie support

 Modified Files:
 	wxWindows/src/common/descrip.mms
 	wxWindows/src/unix/descrip.mms wxWindows/src/unix/utilsx11.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-27 14:46:33 +00:00
Robin Dunn
b1c9fc705e Updates for new wxToolBar API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-27 01:44:34 +00:00
Robin Dunn
c12de7f83a Updates for new wxToolBar API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-27 01:10:28 +00:00
Robin Dunn
be86ffe39e Updates to match recent CVS changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 22:06:04 +00:00
Robin Dunn
b96c7a38a8 Updates to match recent CVS changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 21:55:33 +00:00
Mattia Barbon
f618020a15 wxIconBundle implementation.
wxTLW::SetIcons() properly implemented for wxMotif, wxGTK, wxMSW, wxX11, wxUniversal
Placeholders that just call SetIcon for wxOS2 and wxMac.
Regenerated makefiles.
Added hardwired wxSYS_ICON_X/Y = 32 for wxGTK.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 21:54:23 +00:00
Julian Smart
6b3d51cc35 Copied roadmap from wxWebSite module
added newline to end of hashmap.tex
Reworded wxView::OnCreate doc


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 21:42:34 +00:00
Robin Dunn
b272b6dc42 Don't use ConvertToBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 21:42:06 +00:00
Mattia Barbon
9a6a553013 Docs for wxDialog/wxFrame::SetIcons and wxIconBundle.
\verb$ $ -> \tt{ } ( as per tex2rtf suggestion ).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 21:41:45 +00:00
Václav Slavík
0c874f87e5 wxhtml.rc not needed anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 21:25:30 +00:00
Václav Slavík
090b9059ed don't include wxhtml.rc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 21:24:46 +00:00
Gilles Depeyrot
27e2d60662 minimum changes required for toolbar text related changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 20:52:26 +00:00
Gilles Depeyrot
0cd51b2d27 minor compilation warning corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 20:18:36 +00:00
Gilles Depeyrot
ba2928c6fa commented unused variables and otherwise removed compilation warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 20:15:41 +00:00
Vadim Zeitlin
e1910715af fixed compilation warnings with GTK+ 2.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 18:42:39 +00:00
Vadim Zeitlin
31c8af3abb fixed crash under GTK+ 2.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 18:42:10 +00:00
Vadim Zeitlin
54b5a79551 fixed compilation error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 17:45:04 +00:00
Vadim Zeitlin
882bf21013 update the toolbar docs for radio buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 16:24:04 +00:00
Vadim Zeitlin
f3ba93c1f0 fix for toolbar radio buttons event generation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 16:23:35 +00:00
Vadim Zeitlin
38762f09cd radio toolbar buttons finally work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 16:09:32 +00:00
Vadim Zeitlin
705dd80af1 don't send the events for the radio menu items being unchecked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 14:09:55 +00:00
Mattia Barbon
74a787a11e Corrected ctors for wxPropertyListView and wxPropertyListPanel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 12:50:05 +00:00
Vadim Zeitlin
d448aec3f3 wxUniv toolbar compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 11:30:45 +00:00
Vadim Zeitlin
fcb35b5f05 wxMotif toolbar compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 11:26:04 +00:00
Jouk Jansen
d237d78480 Committing in .
OpenVMS compile issues

 Modified Files:
 	wxWindows/include/wx/db.h wxWindows/src/common/descrip.mms
 	wxWindows/src/generic/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 09:37:35 +00:00
Robin Dunn
9e7ed2b008 switch to _EXPORTED_ hash maps to avoid VC++ warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 01:43:27 +00:00
Vadim Zeitlin
c631abdae9 made radio buttons and the toolbat text work for Win32 toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 00:44:57 +00:00
Václav Slavík
867a54b6da added wxArtProvider sample (not yet finished)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-25 23:37:08 +00:00
Václav Slavík
5129653fac oops, this was for my debugging purposes :(
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-25 23:28:56 +00:00
Václav Slavík
12fd305bcd added skeleton of wxArtProvider sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-25 23:28:46 +00:00
David Webster
50b39f8ffe no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-25 23:28:34 +00:00
Václav Slavík
c0b3964149 added wxArtProvider sample (not yet finished)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-25 23:28:07 +00:00
Václav Slavík
66941e14d6 forgot to check in modified artstd.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-25 23:26:08 +00:00
Václav Slavík
ef8f37e0db surround deprecated wxImage methods in WXWIN_COMPATIBILITY_2_2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-25 23:25:53 +00:00
Vadim Zeitlin
a3399e6cbe fixed compilation for wxMSW after the recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-25 23:14:33 +00:00
Robert Roebling
065722d7b1 Some more fiddling with two-window approach and
the wxNO_FULL_REPAINT_ON_RESIZE flag.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-25 22:05:53 +00:00
Vadim Zeitlin
ec483b11bb tests for the new toolbar features (icons text and the radio buttons)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-25 21:38:45 +00:00
Vadim Zeitlin
e76c0b5fc5 implemented (but it doesn't work yet) the radio buttons and text in the buttons for the GTK toolbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-25 21:38:18 +00:00
Vadim Zeitlin
4072ec3546 added and documented wxTB_NOICONS and wxTB_TEXT style flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-25 21:37:19 +00:00
David Webster
ab4fece809 New radio item menu stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-25 18:06:12 +00:00
Vadim Zeitlin
a609a125f0 some minor appearance fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-25 17:06:13 +00:00
Vadim Zeitlin
27d88f5a99 updated for 2.4.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-25 16:52:29 +00:00
Vadim Zeitlin
24bcaec367 more fixes to radio menu items: fixed Check() for them; allow separators inside the radio groups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-25 16:30:22 +00:00
Vadim Zeitlin
ac511156ea some UTF8 tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-25 15:25:11 +00:00
Vadim Zeitlin
8d38cdb778 fixed compilation for wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-25 15:11:42 +00:00
Vadim Zeitlin
a327b52090 fixed compilation under Unix where SQL_DATETIME is not defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-25 15:11:24 +00:00
Vadim Zeitlin
092f753690 fixed the menu bug introduced by the previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-25 14:31:43 +00:00
Vadim Zeitlin
a27d279f9d blind fix for compilation under AIX: always include wchar.h if available, even if we have wcstr.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-25 14:06:42 +00:00
Vadim Zeitlin
f0c87536e1 test for wcstr.h only if we don't have wchar.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-25 14:06:10 +00:00
David Webster
f95255e2e7 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-25 05:39:07 +00:00
Robert Roebling
ab6b6b15e0 Implemented two-window approach for wxX11.
Implemented wxSTAY_ON_TOP the way Qt does it.
  Added group window support.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 22:17:53 +00:00
Julian Smart
df0e1b64e3 Added SetActive to wxEventLoop
Ensured Yield has a wxEventLoop (wxX11)
Process size event explicitly in top-level SetSize (wxX11)
Added wxYield to wxTopLevelWindow::Show (wxX11)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 21:19:27 +00:00
Václav Slavík
2bc524f358 dirty fix for even dirtier memory leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 15:50:57 +00:00
Julian Smart
733342af30 Updated art filespec
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 10:31:30 +00:00
Julian Smart
4869c7dbc0 Updated release scripts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 10:29:38 +00:00
Vadim Zeitlin
be15b995df fixes to radio menu items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 01:24:16 +00:00
Václav Slavík
e00fab7aea moved the rest of XPMs in /include/wx/generic to /art
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:27:08 +00:00
Václav Slavík
5dff4e24c2 fixed sizers-inside-wxFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:23:59 +00:00
Václav Slavík
65812490f7 added radio menu items ot XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:23:50 +00:00
Václav Slavík
536b70ac68 added wxTheme::GetArtProvider to wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:23:28 +00:00
Václav Slavík
c2edb18a7d change wxICON_INFO to wxICON_INFORMATION in Mac and MSW wxIcon code to be consistent with the constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:22:40 +00:00
Václav Slavík
3242feb1c0 add automatic rescaling to wxArtProvider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:22:33 +00:00
Václav Slavík
3a6d3fdd64 WXWIN_COMPATIBILITY_2_2 is on by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:22:25 +00:00
Václav Slavík
368d59f0d8 don't use deprecated wxImage methods inside wxWin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:22:15 +00:00
Václav Slavík
a460c732db added wxArtProvider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:22:06 +00:00
Václav Slavík
2b41de6e64 remove wxApp::GetStdIcon from documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:21:55 +00:00
Václav Slavík
389d906b21 don't use wxApp::GetStdIcon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:21:26 +00:00
Václav Slavík
3a72b4eff0 compilation fix for WXWIN_COMPATIBILITY_2_2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:19:24 +00:00
Václav Slavík
0e04ef47f6 move wxApp::GetStdIcon to wxArtProvider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:19:01 +00:00
Václav Slavík
d956a9d8fd make dist works again with wxArtProvider related changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:18:11 +00:00
Václav Slavík
599ea87e64 moved the rest of XPMs to /art
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:18:03 +00:00
Julian Smart
e5f4aeb634 Added hack to make standard art provider link with app
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-23 12:58:20 +00:00
Julian Smart
e152ed15ca Use wxHtmlHelpController for HTML help, not wxHelpControllerHtml :-)
Use wxHtmlHelpController, not wxHelpControllerHtml


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-23 12:02:54 +00:00
Vadim Zeitlin
171d29f9fd updated wxExecute API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-23 01:31:21 +00:00
Vadim Zeitlin
2368dcda39 compatibility constructors for wxMenuItem() taking bool instead of wxItemKind
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-23 01:23:11 +00:00
Vadim Zeitlin
fbf456aa89 added wxEXEC_NOHIDE flag, modified wxExecute() to take a combination of bit flags instead of a boolean parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-23 01:22:17 +00:00
Václav Slavík
7841e80fa1 point to MSLU library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-22 23:22:26 +00:00
Václav Slavík
00958db524 port proplist.cpp to wxArtProvider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-22 23:22:02 +00:00
Julian Smart
2f3f48883d Removed references to wxHelpControllerHtml from docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-22 22:32:46 +00:00
Julian Smart
e564aa153e Removed helpwxht.h/cpp (old wxHelpControllerHtml class)
and updated makefiles accordingly


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-22 22:29:20 +00:00
Julian Smart
11611a6211 Don't use deprecated functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-22 20:59:11 +00:00
Julian Smart
aed3314d6e Replaced wxBuffer with wxTex2RTFBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-22 20:25:49 +00:00
Václav Slavík
2a0951be51 Added 'go home' button to generic dir dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-22 19:20:50 +00:00
Václav Slavík
60d2cc2571 use wxArtProvider in wxFileDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-22 19:20:41 +00:00
Václav Slavík
546bfbea81 wxITEM_FOO instead of wxItem_Foo, for the sake of consistency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-22 19:18:51 +00:00
Václav Slavík
1ae7bd02b0 require GTK+ 2.0.0, not 1.3.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-22 19:15:41 +00:00
Vadim Zeitlin
275dea4672 avoid an assert in wxString::GetWriteBuf()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-22 19:15:13 +00:00
Václav Slavík
329e276aa0 added wxBitmap::CopyFromIcon and wxIcon::CopyFromBitmap to wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-22 19:14:33 +00:00
Václav Slavík
9ecce6913c tex2rtf doesn't like math mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-22 19:13:29 +00:00
Vadim Zeitlin
84f858e94c recognize ANSI_X3.4-1968 as US-ASCII
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-22 19:09:03 +00:00
Vadim Zeitlin
01459e68af added Allow() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-22 18:52:05 +00:00
George Tasker
e25cdb868f Semi-Blind fixes for trying to handle different versions of MySQL and MySQL windows drivers
Hopefully better handling of DATE type fields
New parameter added to optionally not have database connections fail if a basic data type (like DATE) is not reported as supported by the datasource


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-22 13:43:15 +00:00
Václav Slavík
b58a1455e1 fixed compilation problem with old gcc releases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-22 12:18:59 +00:00
Václav Slavík
3516d3e8fe used wxArtProvider in wxTipDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 23:49:28 +00:00
Václav Slavík
2cf6c8927c use wxArtProvider in wxtipDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 23:47:47 +00:00
Václav Slavík
91f43f15ba use wxArtProvider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 23:46:57 +00:00
Václav Slavík
b280349d22 added icon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 23:46:10 +00:00
Václav Slavík
d9a26b2bc9 wxhtml.rc no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 23:45:25 +00:00
Václav Slavík
8f25531f6f deleted no longer needed resource files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 23:44:38 +00:00
Václav Slavík
f3d3d61a22 rellocated art XPMs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 23:43:21 +00:00
Václav Slavík
57b0987bb9 (hopefully) final touches to wxArtProvider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 23:42:39 +00:00
Václav Slavík
07e252a547 root is always hidden -> no icon needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 23:40:28 +00:00
Václav Slavík
f435c1f030 added wxArtProvider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 23:39:57 +00:00
Robin Dunn
c3bfa1cb28 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 20:35:45 +00:00
Stefan Csomor
08e70846d5 added hashmap and dirdlgg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 20:08:56 +00:00
Vadim Zeitlin
2b8646e07d HDC leak fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 18:59:36 +00:00
Robin Dunn
682f5b48d2 Some distrib updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 18:05:10 +00:00
Robin Dunn
3413be7569 Typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 17:36:14 +00:00
Julian Smart
2c7b88e68c Added wxX11 to readme
Distribution script mods


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 15:32:39 +00:00
Julian Smart
868741e9d3 Put dialog in more sensible place in Forty, got a bit further
with running it under wxX11 but still crashes (bad XPM?)
Updated wxX11 readme text
Added more wxYields to progress dialog
Added timer and idle processing to wxApp::Yield for X11
Made busy info dialog thick frame for wxX11, else
no decorations
Some corrections for Nano-X
Made text for busy dialog more sensible in dialogs sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 13:10:17 +00:00
Julian Smart
618f2efa41 Added __WXX11__ tests where appropriate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 10:32:18 +00:00
Julian Smart
e3baff1c85 Minor fix for wxX11 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 10:02:10 +00:00
Robin Dunn
9a74fcaf97 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 06:48:55 +00:00
Robin Dunn
137b5242b1 More unicode related cleanup and fixes for wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 05:50:09 +00:00
Vadim Zeitlin
dc0bedff0c enabled toolbar as it works now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 02:37:18 +00:00
Vadim Zeitlin
e0c83227fd let the popup listbox process the kbd messages in wxComboBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 02:36:25 +00:00
Vadim Zeitlin
95e9b72bf4 removed som obsolete TODO comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 02:35:45 +00:00
Vadim Zeitlin
0472ece753 implemented radio menu items for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 02:35:08 +00:00
Robert Roebling
aae736694e No more pixel junk when resizing windows that
use the wxNO_FULL_REPAINT_ON_RESIZE flag
    and which have a border.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-20 21:36:36 +00:00
Robin Dunn
ccf691a4ea Fixed problem between the splash screen and tip dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-20 20:48:16 +00:00
Robin Dunn
10ef30eb53 wxStyledTextCtrl can now be built and used when wxUSE_UNICODE==1.
When in unicode mode Scintilla uses UTF-8 internally so the wxSTC
wrapper only needs to convert to/from UTF-8 in the right places.
Still need to figure out to get unicode characters from key/char
events...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-20 20:43:39 +00:00
Robin Dunn
ef1cae87cd Decided I need copy and assignment afterall
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-20 20:13:17 +00:00
Vadim Zeitlin
05a6a8829c added a note about wxGetHomeDir() change under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-20 16:50:58 +00:00
Julian Smart
a5e635be3d Fixed controls.cpp for wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-20 11:17:13 +00:00
Václav Slavík
5cb0e7ad18 updated samples/html/widget to avoid confusion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-19 23:40:37 +00:00
Václav Slavík
2aca4a9886 added wxArtProvider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-19 23:40:25 +00:00
Václav Slavík
bbc3925a8a fixed MSLU check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-19 23:39:05 +00:00
Julian Smart
7d92395d60 Works with wxX11 now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-19 17:21:56 +00:00
Vadim Zeitlin
e4052bd3e6 compilation fix after wxMenuItem changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-19 16:13:43 +00:00
Vadim Zeitlin
710968c3aa fixed GTK critical warning when closing MDI child (patch 529369)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-19 15:04:53 +00:00
Vadim Zeitlin
818503a182 show the standard wxWin fonts (modified patch 530698)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-19 15:01:44 +00:00
Vadim Zeitlin
5d35dca95f compilation fix for FALSE -> wxItemKind conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-19 14:19:37 +00:00
Václav Slavík
247f8a77bc blind fix to wxGetCwd crash on NT when wxUSE_UNICODE=1 and wxUSE_UNICODE_MSLU=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-19 00:04:57 +00:00
Václav Slavík
a4f2452697 minor fixes to #include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-19 00:04:17 +00:00
Václav Slavík
821d0fef39 fixed MSVC's problems...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-19 00:04:02 +00:00
Robin Dunn
a884bee57a SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-18 23:10:23 +00:00
Robin Dunn
98672b4b9c Regenerated file lists so features.h would be installed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-18 22:59:59 +00:00
Robin Dunn
1a2fb4cd61 Updated wxSTC from Scintilla 1.40 to Scintilla 1.45
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-18 22:31:01 +00:00
Robin Dunn
e9159fe8e8 Added wxBufferedDC, changes for wxMenu and wxMenuItem, and other
little fixes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-18 22:11:23 +00:00
Vadim Zeitlin
d65c269b3f 1. implemented radio menu items for wxGTK
2. changed (in most cases blindly) code for all the others
3. added wx/features.h
4. update wxMenu[Item] docs

----------------------------------------------------------------------
Committing in .

Modified Files:
	distrib/msw/tmake/filelist.txt docs/changes.txt
	docs/latex/wx/menu.tex docs/latex/wx/menuitem.tex
	include/wx/defs.h include/wx/menu.h include/wx/menuitem.h
	include/wx/gtk/menu.h include/wx/gtk/menuitem.h
	include/wx/mac/menuitem.h include/wx/motif/menuitem.h
	include/wx/msw/menuitem.h include/wx/os2/MENUITEM.H
	include/wx/univ/menuitem.h samples/menu/menu.cpp
	src/common/menucmn.cpp src/gtk/menu.cpp src/mac/menuitem.cpp
	src/motif/menuitem.cpp src/msw/menuitem.cpp
	src/os2/MENUITEM.CPP src/univ/menu.cpp
Added Files:
	include/wx/features.h
----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-18 19:41:35 +00:00
Robin Dunn
cac344f664 Fixed a typo in one of the virtual callback macros.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-18 18:30:09 +00:00
Václav Slavík
2279b45ad9 fix to segfault in system menu code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 21:44:59 +00:00
Václav Slavík
66858adfc4 better handling situation when active frame is destroyed or hidden
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 21:44:31 +00:00
Václav Slavík
baf736e1f3 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 21:44:03 +00:00
Václav Slavík
79954978c0 fixed rendering artifact in popup menus
(caused by incorrect implicit clipping in wxClientDC)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 21:43:51 +00:00
Václav Slavík
999c13cc65 minor fix to wxDC::SetClippingRegion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 21:43:38 +00:00
Václav Slavík
b53195fda4 more corrections to interactive resizing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 21:43:26 +00:00
Robert Roebling
ec47a14774 A draft for a possible fix to the redraw
problems when using control with borders
     and the wxNO_FULL_REPAINT_ON_RESIZE flag
     under wxUniv.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 20:07:17 +00:00
Robert Roebling
5268c5a32b New WM decoration code. It fails to resize dialogs
sometimes just like the previous versions.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 15:29:57 +00:00
Gilles Depeyrot
90f3fe56ee added url of Fink Unix to Mac OS X porting instructions
added compatibility version options to dynamic linking under Darwin


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 15:05:58 +00:00
Robert Roebling
2f12683e40 New attempt to implement wxNO_FULL_REDRAW_ON_REPAINT.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 14:31:31 +00:00
Gilles Depeyrot
0f9390c3c5 added wxMAC and wxMOTIF to title conditional compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 14:27:10 +00:00
Gilles Depeyrot
15e758d12f added missing consts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 14:23:02 +00:00
Vadim Zeitlin
2f6c54eb07 patch from Dimitri fixing a few memory leaks and unTABbing the sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 14:16:03 +00:00
Václav Slavík
1c9f1f4d51 implemented 'shaft scrolling' of children in wxUnivWindow::ScrollWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 14:13:56 +00:00
Václav Slavík
d027179b48 use Calc(Un)ScrolledPosition instead of wxClientDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 14:13:35 +00:00
Václav Slavík
8c2f379786 added Calc(Un)ScrolledPosition taking wxPoint
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 14:13:14 +00:00
Vadim Zeitlin
66ce9e0609 clear the frame statusbar when the mouse leaves the toolbar or enters a tool without help string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 13:58:15 +00:00
Václav Slavík
45647dcf10 Chris' wxImage::SaveFile(filename_only) patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 11:35:32 +00:00
Václav Slavík
4fa0a5b443 docs corrections and docs for Chris' wxImage::SaveFile(filename_only) patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 11:34:32 +00:00
Ron Lee
b8be0b4e05 really, it will build for 'doze this time.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 07:48:31 +00:00
Ron Lee
2981a033e1 build fix for mingw-cross.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 07:38:01 +00:00
Ron Lee
67e2efca87 Added wxBufferedDC class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 06:34:06 +00:00
Václav Slavík
33f71b3cf4 fix HTML browser setup dialog under MSW and make the 'OK' button default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 00:53:17 +00:00
Václav Slavík
300b5dfabc use wxUniv's setup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 00:52:43 +00:00
Václav Slavík
a502b34f9c initial wxMGL readmes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 00:52:21 +00:00
Václav Slavík
a7c8e710e9 added wxCURSOR_RIGHT_ARROW to wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 00:51:44 +00:00
Václav Slavík
22fb32d507 restored old casts (there was a reason for them)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 00:51:18 +00:00
Václav Slavík
24dcb6daf8 my previous commit corrupted the catalogs, reverted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 00:51:05 +00:00
Robin Dunn
49df1f5269 Newly SWIGged sources for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 00:20:45 +00:00
Robin Dunn
f29c177351 Fixed compilation error and a stupid typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 00:19:43 +00:00
Václav Slavík
e095264892 hide tree root on wxMSW in wxHtmlHelpController
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 19:35:47 +00:00
Václav Slavík
f6ed38239c applied wxTR_HIDE_ROOT patch for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 19:35:15 +00:00
Václav Slavík
acf4d8587a make it possible to have empty lines in wxListCtrl
in report mode (mandatory for wxEditableListBox)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 19:34:15 +00:00
Václav Slavík
55232d19fe fixes to wxEditableListBox logic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 19:33:29 +00:00
Julian Smart
333f4ac09d Corrected typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 16:02:40 +00:00
Julian Smart
1016f0deb6 Added timeout to Dispatch(); attempted implementation of
wxSTAY_ON_TOP


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 15:46:44 +00:00
Vadim Zeitlin
efa3835048 another minor fix for wxTR_HIDE_ROOT case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 15:28:04 +00:00
Vadim Zeitlin
11ab1dfbfe enhanced sample to show the state of the different styles, added reset to default command
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 15:10:43 +00:00
Vadim Zeitlin
c9b142c9f8 fix for GetParent() in wxTR_HIDE_ROOT case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 15:10:12 +00:00
Vadim Zeitlin
a9c1265fca added support for wxTR_HIDE_ROOT style (patch 529614)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 15:08:20 +00:00
Vadim Zeitlin
75cd928833 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 13:49:40 +00:00
Vadim Zeitlin
9cb0033cb2 applied patch 528960 (a few minor bug fixes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 13:04:01 +00:00
Robert Roebling
2d4b5a5e99 Removed notebook tab flicker.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 11:35:12 +00:00
David Webster
400c9be132 Do not use argument defaults in actual function argument list.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 01:52:18 +00:00
Vadim Zeitlin
7152f0c68d restore Robin's code (reverted previous commit)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 00:06:33 +00:00
Václav Slavík
b1eeda4084 applied patch for seeking in GIF images
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 00:06:23 +00:00
Vadim Zeitlin
bd3d0bb953 fixed a bug with client rect calculation in the recent separator erasing fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 23:59:43 +00:00
Václav Slavík
b931f7ee94 applied patch for seeking in GIF images
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 23:59:09 +00:00
Vadim Zeitlin
7509fa8caa erase separators shown behind the controls added to the toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 23:42:42 +00:00
Václav Slavík
ddb0baa06d Did two changes to sample catalogs:
1. converted Russian one to utf-8 (as a demo of new feature)
2. filled-in headers, so that a) it works b) we don't teach users bad habits


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 23:30:26 +00:00
Václav Slavík
ce4407b8da removed no-longer-needed hack
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 23:29:48 +00:00
Václav Slavík
ae71a6e890 wxLocale-related corrections to the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 23:29:22 +00:00
Václav Slavík
f35992b0f5 info about wxLocale changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 23:29:09 +00:00
Václav Slavík
988a8d440e safer definitions for wx(U)Int32,16 (taken from intl.cpp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 23:28:42 +00:00
Václav Slavík
563d535e46 rewrote wxLocale to work in Unicode mode and support charsets better
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 23:28:15 +00:00
David Webster
98f2b8145f no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 23:20:40 +00:00
Robin Dunn
15dadf3155 Added wxCURSOR_RIGHT_ARROW, which is like the typical wxCURSOR_ARROR,
but points to the right, (duh...)  This cursor is now used in wxSTC in
the margin area.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 22:52:15 +00:00
Robin Dunn
c1fa2fda3c Changes needed for wxUSE_UNICODE for wxOGL to compile. I'm not
completely sure everything was converted right, but it at least
compiles now (and appears to work in wxPython.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 20:50:40 +00:00
Robin Dunn
1496068d02 Changes needed for wxUSE_UNICODE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 20:42:58 +00:00
Vadim Zeitlin
5d3769f50d fixed scrollbar shaft colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 19:46:53 +00:00
Robin Dunn
26e335b844 Some little tweaks and cleanups.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 18:30:21 +00:00
Robin Dunn
69ca6f3cd5 Updated unicode sample again. Added two more languages.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 18:29:26 +00:00
Vadim Zeitlin
55f095d4c1 fixed selecting the items in the combobox with a simple (not double) click
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 18:08:25 +00:00
Vadim Zeitlin
f9a853668a removed duplicate #include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 15:25:55 +00:00
Vadim Zeitlin
588b8b7037 compilation warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 15:18:42 +00:00
Vadim Zeitlin
069d493e84 header I forgot to commit yesterday (sorry) as part of statusbar flicker reduction change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 15:10:13 +00:00
Julian Smart
5a87039498 Use override_direct to remove decorations if wxNO_BORDER specified,
because some WMs don't respect the hints sufficiently.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 12:44:42 +00:00
Julian Smart
95d60b2429 Added sizer.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 12:42:54 +00:00
Julian Smart
4077bf8dc4 Added DoGetFieldRect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 12:41:13 +00:00
Jouk Jansen
de5fadb415 Committing in .
First try to compile wxUNIV (gtk-themes) on OpenVMS.

 Modified Files:
 	wxWindows/descrip.mms wxWindows/src/common/descrip.mms
 	wxWindows/src/generic/descrip.mms
 	wxWindows/src/gtk/descrip.mms wxWindows/src/html/descrip.mms
 	wxWindows/src/unix/descrip.mms
 Added Files:
 	wxWindows/lib/vms_gtk_univ.opt wxWindows/src/univ/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 09:02:01 +00:00
Robin Dunn
257f0da1af updated unicode sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 01:42:41 +00:00
Vadim Zeitlin
2d3cddaf52 draw toolbar separators in Win32 theme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 00:33:38 +00:00
Vadim Zeitlin
a9b33d6bb4 compilation fixes for wxUSE_TOOLBAR under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 00:33:05 +00:00
Robin Dunn
03d84e7af8 A Unicode sample for wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 00:27:45 +00:00
Robin Dunn
3048629765 Give wxScrolledWindow its own Layout method that takes into account
the virtual size and scrolled offset of the window.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 00:21:47 +00:00
Vadim Zeitlin
5057e65939 reduced flicker in the statusbar when resizing the window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 00:12:25 +00:00
Vadim Zeitlin
6a317e6188 compilation fixes for !wxUSE_TOOLBAR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-14 23:55:16 +00:00
Julian Smart
7ded318bef Added Layout() call to top level window Show() to prevent double-sizing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-14 22:03:43 +00:00
Vadim Zeitlin
73b0423d0f fix for what the patch 529900 was trying to fix (loading fonts with size -1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-14 21:38:33 +00:00
Robert Roebling
c7d8615553 Forgot to reset a flag.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-14 19:10:28 +00:00
Julian Smart
ae1daed073 Removed constraints check for wxDirDialog from configure (not needed).
Implemented solid drawing for DoDrawText, so text selection works


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-14 15:36:07 +00:00
Vadim Zeitlin
e34f4f195d applied the patch from Dimitri to prevent crashes with (some) interlaced GIFs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-14 13:55:04 +00:00
Julian Smart
15d5a9470b Compiles for Nano-X again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-14 11:43:38 +00:00
Julian Smart
16e8bf31bb Removed duplicate WM line from motif/frame.cpp
Added window style to minimal sample
Failed attempt to get border-only toplevel window style


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-14 10:21:07 +00:00
Robin Dunn
1a6a6043f7 Switched to DECLARE_NO_COPY_CLASS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-13 22:45:58 +00:00
Robin Dunn
a541c32586 Core wxPython (non-contrib) now fully works with Unicode!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-13 22:30:20 +00:00
Robin Dunn
e5dd90b137 More little demo updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-13 22:26:55 +00:00
Robin Dunn
031787ded7 Updated demo to be a more realistic dialog, to show tab traversal,
etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-13 22:25:56 +00:00
Robin Dunn
caa74ba3bb Updated demo to show EVT_COLOURSELECT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-13 22:25:18 +00:00
Robin Dunn
b9fdb3970d Added wxMemoryBuffer which is essentiall just a growable buffer of bytes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-13 22:05:05 +00:00
Vadim Zeitlin
be5fced5dd compilation error fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-13 21:10:29 +00:00
Robert Roebling
77df2fbce6 Send size events from top level windows in idle time,
this significantly improves the opaque resizing look
   and feel and seems to speed up dialog show up time.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-13 18:25:11 +00:00
Stefan Csomor
d1eebf4054 added correct fallback color settings for XP when used with a theme
having non-flat menu styles


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-13 16:44:45 +00:00
Vadim Zeitlin
ae409cb80e update focus rectangle width when the columns are being added/removed on the fly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-13 15:41:41 +00:00
Robin Dunn
4a09bc4e34 Some fixes for wxURLDataObject when wxUSE_UNICODE==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-13 00:21:34 +00:00
Václav Slavík
cb9965c3cc fixes to refreshing code in wxTreeCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 23:20:55 +00:00
Václav Slavík
3390759eb3 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 23:20:44 +00:00
Václav Slavík
8f71aafa07 implemented system menu handling in wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 23:20:24 +00:00
Václav Slavík
71cb2ca1e3 1. implemented system menu handling in wxUniv (win32 theme only)
2. fixes to interactive moving/resizing in wxUniv


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 23:19:55 +00:00
Václav Slavík
8014db4142 1. handle Alt-F4 in wxUniv, not wxMGL
2. safeguards to never warp pointer to out-of-screen location (MGL would crash)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 23:16:26 +00:00
Robert Roebling
120b822df1 Added dialog tabbing to wxX11.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 22:15:41 +00:00
Julian Smart
32f8e36335 Added GetWindow to make Blit compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 21:54:27 +00:00
Robert Roebling
b1633d20d6 Implemented DoBlit().
Some testing on exposure/configure compression.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 20:45:45 +00:00
Vadim Zeitlin
9e691f46b2 changes to make wxGTK compile with GTK+ 2.0: now it does but the minimal
sample crashes on startup


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 19:24:30 +00:00
Vadim Zeitlin
7fccee998d added more build dirs to the ignore list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 15:08:50 +00:00
Julian Smart
d5cf34f4dc Added constructor for wxColourRefData, else CloneRefData did a binary
copy which caused an assert in AllocExclusive (Add to Custom Colours in
Colour Dialog)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 12:45:52 +00:00
Julian Smart
21689736a7 Trivially implemented DoDrawIcon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 12:29:21 +00:00
Julian Smart
4b2424bcad treectrl -> treetest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 12:23:49 +00:00
Julian Smart
ec312631c6 Finally reverted treectrl name back to treetest after a long
history of problems with the name clash. This cures a link problem
with the sample compiled with wxX11.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 12:22:02 +00:00
Julian Smart
59db9cfaa7 Replaced Blit with DrawBitmap in wxPoem to make it run with wxX11
Added some XSyncs because it seems the only way to make
dialog sizing work


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 10:56:39 +00:00
Ron Lee
5541d1fda4 build fix. Need the full declaration for CLASSINFO().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 04:54:57 +00:00
Vadim Zeitlin
4c6b8d9e6f no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-11 22:44:39 +00:00
Julian Smart
046ba576a8 Only reparent first window if there are several children
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-11 15:47:44 +00:00
Julian Smart
b726509bdc Added a screenshot of wxEmulator showing the default emulator
configuration with wxToolBar demo running the 'matchbox'
window manager.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-11 14:31:27 +00:00
Julian Smart
d27294ac6e Added XPM icon; minor mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-11 12:50:06 +00:00
Vadim Zeitlin
62313c2788 right clicking outside any column sets the column in the list event to -1, not the last column
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-11 12:32:56 +00:00
Vadim Zeitlin
0fe5e8fea0 implemented menu drawing in the GTK theme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-11 12:26:35 +00:00
Julian Smart
d1b327e1f9 Tweaks to emulator and documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-11 12:10:03 +00:00
Vadim Zeitlin
2e7b0a1617 more GTK-ish toolbar drawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-11 11:50:10 +00:00
Vadim Zeitlin
8b3fddc493 ignore clicks on a toolbar but outside any button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-11 11:43:48 +00:00
Vadim Zeitlin
6a0fab3a3a added missing headers to fix compilation without PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-11 10:59:57 +00:00
Václav Slavík
fa03793d3b use AllocExclusive in wxAcceleratorTable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 23:11:46 +00:00
Václav Slavík
b82d2a004d wxAcceleratorEntry::MatchesEvent is NOT used by wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 23:11:18 +00:00
Vadim Zeitlin
326c7ea888 propagate the click dismissing a popup window to the window beneath it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 22:41:50 +00:00
Robert Roebling
9b8270da40 Next try on pop up menus. (#ifdef x11).
More SetFocus() work.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 20:35:55 +00:00
Vadim Zeitlin
ac92c7e948 better fix (i.e. one which actually works) for VC++ warnings in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 18:36:35 +00:00
Julian Smart
a81cf6f490 Added emulator screen; regenerated configure for utils
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 16:44:25 +00:00
Václav Slavík
9fcaaedd89 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 16:33:16 +00:00
Vadim Zeitlin
51c14c62de fix for using an invalid HWND in IsEditable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 14:46:25 +00:00
Julian Smart
0470b3826a Minor tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 14:41:07 +00:00
Julian Smart
ec0674452a Corrected image size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 14:31:47 +00:00
Julian Smart
3373d6bfaf Added emulator utility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 13:30:16 +00:00
Ron Lee
3aa5d53272 added optional parameter to SetSizer, to allow replacing a window's
sizer without deleting the existing one.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 11:19:16 +00:00
Julian Smart
e25f954b96 Moved Nano-X specific code from univ to x11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 09:25:35 +00:00
Robin Dunn
6824d4f9e0 Applied and merged patch 486364, which enables wxPython to be built in
unicode mode.  There are a number of things still missing in it and
not everything is converted correctly...  But it now builds and
functions properly again in non-unicode mode so this is a good time to
check in everything.  The previous version of all of wxPython sources
is tagged wxPy_B4_UNICODE.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 00:40:13 +00:00
Robin Dunn
c8bc7bb84d Applied and merged patch 486364, which enables wxPython to be built in
unicode mode.  There are a number of things still missing in it and
not everything is converted correctly...  But it now builds and
functions properly again in non-unicode mode so this is a good time to
check in everything.  The previous version of all of wxPython sources
is tagged wxPy_B4_UNICODE.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 00:29:04 +00:00
Václav Slavík
3b7bc64a2a htmlhelp.h no longer needed -> removed test in configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 00:01:33 +00:00
Robin Dunn
da0ddbd6df SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 23:55:25 +00:00
Vadim Zeitlin
c34bed1413 fixed a few VC++ warnings (release mode only)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 22:54:24 +00:00
Julian Smart
1f1a42a63c Removed README from old framelayout dir, since it was
more confusing than helpful to have the framelayout dir
appear


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 22:53:41 +00:00
Vadim Zeitlin
cd560c961a [this message is for the previous commit as well]
1. <htmlhelp.h> is not required any more
2. fixed memory leak


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 22:46:20 +00:00
Václav Slavík
771c7b4a4b reverted Robert's change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 22:07:52 +00:00
Vadim Zeitlin
3295e23873 don't include wx/wx.h unnecessarily
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 21:55:39 +00:00
Vadim Zeitlin
3d8daa0fb9 copy the variant name in the assignment operator as well!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 21:55:03 +00:00
Julian Smart
c978d36124 Added reparenting helper classes to help apps to grab the windows
of other applications.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 21:51:10 +00:00
Václav Slavík
39578f9cfc query MGL for resolution
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 21:30:49 +00:00
Robin Dunn
4be610641a New SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 21:19:28 +00:00
Robin Dunn
936bea5dc1 Reformatted some demo text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 21:18:55 +00:00
Robert Roebling
ee3510132b Various changes to make pop up menus work
under X11.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 20:22:44 +00:00
Vadim Zeitlin
96c21216a6 look at HOME and USERPROFILE in wxGetHomeDir() (patch 527210)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 17:26:48 +00:00
Vadim Zeitlin
68d95db4d0 compilation warning fix for the daily builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 16:54:42 +00:00
Václav Slavík
95d8a1da30 what about returning a value?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 16:40:12 +00:00
Václav Slavík
c109ef116d fixed to translatable strings output
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 16:35:00 +00:00
Vadim Zeitlin
e53191be32 compilation fix after the array changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 12:25:03 +00:00
Vadim Zeitlin
a070d8ce24 added support for non alphanumeric simple character accelerators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 12:23:11 +00:00
Robin Dunn
f9bd2c1bdf Added a reminder to myself for later
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 03:18:57 +00:00
Robin Dunn
633d5f82fc Removed redundant definitions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 03:18:40 +00:00
Ron Lee
34c3ffca5b Added GetMaxSize virtual method for use by sizers.
Modified wxSizer to use it instead of crushing all windows to
the display size.

Currently only top level windows are limited to display size,
all other windows are unlimited (inside the clipping region of
their tlw).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 02:58:13 +00:00
Robin Dunn
b36de7d0ce Visual C++ needs sys/stat.h too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 02:42:09 +00:00
Václav Slavík
d41adb6e05 corrections to the wxEditableListBox patch, removed conflict indicator checked in by mistake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:59:15 +00:00
Václav Slavík
dd1d4b137b applied patch to wxEditableListBox that adds wxEL_ALLOW_{EDIT,NEW,DELETE} with obvious meanings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:57:35 +00:00
Václav Slavík
d962864764 fixed MSVC compilation and warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:48:38 +00:00
Václav Slavík
5489a64378 fixed MSVC warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:48:16 +00:00
Václav Slavík
955c525d2c case insensitive <font face>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:47:48 +00:00
Václav Slavík
2e25e7b762 let the sample display existing page on start
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:43:39 +00:00
Václav Slavík
00251d9bf7 fixed bug in wxHtmlHelpFrame: didn't show HTML window when navigation panel was off
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:43:11 +00:00
Robin Dunn
91a64dfd31 Little tweaks and fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:06:21 +00:00
Robin Dunn
ff42dd6650 Changes for recent htmlhelp updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:05:27 +00:00
Robin Dunn
7248a051ef Added a wxIconFromBitmap "constructor" for wxIcon.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:04:56 +00:00
Mattia Barbon
4aebbc599e (Hopefully) last fix for daily builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 21:37:22 +00:00
Robin Dunn
d91535c47f Fixed compilation error.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 21:20:57 +00:00
Robin Dunn
6187ec8f45 Added patch that adds style flags for wxEditableListBox to not use
some of its standard buttons.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 21:10:04 +00:00
Ron Lee
04662def27 Added SetLogBuffer method.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 20:01:38 +00:00
Robin Dunn
c1beeb57cf Yet another update of XRCed. Fixes some display issues and some minor
buglets.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 17:55:41 +00:00
Vadim Zeitlin
df0dc216ad fixed typo (missing comma) in MIME test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 16:33:54 +00:00
Vadim Zeitlin
186cecd441 theoretically unnecessary but practically required fix for showing the selected filename in the text control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 12:27:00 +00:00
Julian Smart
086fd5603b ProcessXEvent now returns TRUE if processed, FALSE if not
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 12:06:12 +00:00
Ron Lee
6f8239de23 Moved assert to before the segfault.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 01:23:17 +00:00
Vadim Zeitlin
b547fe8721 added a const version of wxColourData::GetColour()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 23:36:44 +00:00
Robin Dunn
5cd16c0c45 Removed unneeded assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 22:42:02 +00:00
Robin Dunn
55d186514e SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 21:48:34 +00:00
Robin Dunn
3999941a70 Bugfix for wxTreeCtrl.InsertItemBefore and more SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 21:47:30 +00:00
Václav Slavík
5ecdcaa78f rewrote Chris' fix properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 21:45:03 +00:00
Robin Dunn
18fc9fa3b5 More XRCed updates from Roman
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 21:33:31 +00:00
Robin Dunn
f0972d1ea4 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 20:36:54 +00:00
Robin Dunn
7d0180d415 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 20:34:32 +00:00
Robin Dunn
e5d41db01a Added some anchor related methods to wxHtmlWindow as suggested on the
wxPython-users list.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 20:33:58 +00:00
Robin Dunn
c6ebc32af0 more updates for recent toolbar changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 20:32:21 +00:00
Robin Dunn
79f1d86caf Added python support for a virtual CanDismiss method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 20:32:00 +00:00
Robin Dunn
445365141a Added a Python-specific Append method to the wxListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 20:31:15 +00:00
Robin Dunn
88c7f3f938 rearrainging a few things
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 20:29:55 +00:00
Julian Smart
1b21409b36 Corrections in light of recent toolbar and other changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 18:48:03 +00:00
Julian Smart
cd72551c2b Added VC++ project files for remaining Gizmo samples
Corrected some precompiled header issues for dynsash samples
Corrected IMPLEMENT_ABSTRACT_CLASS in multicell.cpp
Added an event function typedef and used it in dynsash sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 10:06:23 +00:00
Gilles Depeyrot
41b3c9662d correction to float array declaration following array implementation changes (will compile and run as before but probably doesn't do what was intended)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 09:47:22 +00:00
Vadim Zeitlin
a12ffe1a35 define wxFRAME_FLOAT_ON_PARENT as wxFRAME_TOOL_WINDOW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 23:59:16 +00:00
Vadim Zeitlin
19f45995fb fixes for non interactive execution
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 23:18:43 +00:00
Gilles Depeyrot
6a1c4604fc fixed creation of Info.plist file for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 22:06:27 +00:00
Robin Dunn
f0c20d947b A new version of XRCed from Roman Rolinsky with a few tweaks by me.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 21:41:19 +00:00
Ron Lee
820b49cdbf removed superfluous assignment handled in base class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 20:43:07 +00:00
Mattia Barbon
1297925905 More fixes for daily builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 20:11:51 +00:00
Julian Smart
45da7759b8 Applied [ 516382 ] FL toolbar patch
This patch addresses following issues on FL dynamic
toolbar:

* Removes duplicate code in
wxNewBitmapButton::RenderLabelImage(). (The code
between line 452-500 and 502-550 is the same.)

* Adds wxNewBitmapButton::Enable() own method to proper
drawing of enabled/disabled buttons.

* Changes "focused" state (of wxNewBitmapButton)
implementation from EVT_MOTION to
EVT_ENTER/LEAVE_WINDOW pair, because capturing mouse in
EVT_MOTION handler blocks some key events (control
characters, function keys), so underlynig app doesn't
receive all key events when mouse pointer is above
toolbar button.
Also "prev" state member variables are removed by this
patch (and IMHO they should be removed regardles on
accepting this patch - they are initalized and used
only in wxNewBitmapButton::OnMouseMove() method).
(Note: Blocking some keys can be only MSW problem, but
I can't verify it.)

* Adds EVT_LEFT_DCLICK handler to wxNewBitmapButton -
without this handler, toolbar button loses second
clicks if user presses left mouse button "fast enough".
Unfortunately, it doesn't handle drawing of
pressed/released button - it's only one event in
contrast to EVT_LEFT_UP/DOWN.

* Enables tooltips (in proper
wxDynamicToolBar::AddTool() method).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 19:05:25 +00:00
Julian Smart
012a01fc1e Applied [ 520664 ] filedlg patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 18:58:01 +00:00
Julian Smart
fc7995487f Applied patch for Forty, print patch and wxHTML book patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 17:50:52 +00:00
Vadim Zeitlin
f1322419da fixes to the new pointer array implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 16:26:25 +00:00
Vadim Zeitlin
0eeeb25fee explained how the existing array declarations must be updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 15:52:08 +00:00
Vadim Zeitlin
17c89ef314 check for sizeof(void *), not sizeof(int *) - not really different but looks nicer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 14:05:57 +00:00
Vadim Zeitlin
cf72f75f8a forbid copying wxEvtHandlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 11:38:52 +00:00
Vadim Zeitlin
4e8e18e2b2 added missing include guards
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 11:17:14 +00:00
Julian Smart
75d7ef36eb Moved typedef to within public block to avoid compile error in VC++
(can't access privately declared typedef)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 09:34:59 +00:00
Gilles Depeyrot
5a1cad6ea4 wxArray<T> macros have been changed to fix runtime problems under 64 bit
architectures. The base class is now implemented once for each needed
primitive type in order to avoid invalid reference casts. Macros are
provided to implement new arrays using these primitive base arrays.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 06:31:34 +00:00
Vadim Zeitlin
434005ca85 fixed creation of the dialogs with a simple (non 3D, non resizeable) border; also fixed handling of minimize/maximize box style bits (but is this really needed for the dialogs?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 01:25:29 +00:00
Vadim Zeitlin
9b70bb91af fixed menu accel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 01:24:27 +00:00
Vadim Zeitlin
d1f33936ab removed the dialog templates unneeded/unused any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 01:23:58 +00:00
Vadim Zeitlin
d3f7a53b67 correct Insert() docs (bug #526172)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 00:24:33 +00:00
Mattia Barbon
7cfdeaadb8 More blind fixes for daily builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-05 21:23:47 +00:00
Vadim Zeitlin
bbee1b4abc added missing WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-05 18:55:22 +00:00
Vadim Zeitlin
bfe9b3dac0 compilation fix for WXWIN_COMPATIBILITY_2_2 == 0 case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-05 16:38:08 +00:00
Vadim Zeitlin
7d1f4c3ff0 changed charset to iso8859-2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-05 13:32:30 +00:00
Vadim Zeitlin
41ff8313b8 fix for wxScreenDC::GetSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-05 00:52:01 +00:00
Vadim Zeitlin
ba5aa38cad added missing default values for the 2nd argument of DeleteEntry()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-05 00:32:46 +00:00
Václav Slavík
f5c0e65719 fixed compilation for wxUSE_UNICODE=1, wxUSE_UNICODE_MSLU=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-05 00:18:28 +00:00
Mattia Barbon
0e7fa3a63f Blind fix for daily builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-04 20:22:47 +00:00
Vadim Zeitlin
42a6fe0e2f added Hungarian translations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-04 16:01:09 +00:00
Jouk Jansen
4b37e99afc Committing in .
OpenVMS updates

 Modified Files:
 	wxWindows/descrip.mms wxWindows/setup.h_vms
 	wxWindows/src/motif/utils.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-04 14:22:32 +00:00
Julian Smart
a5938d5945 Removed obsolete -WE flags from WIN32 BC++ makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-04 07:52:05 +00:00
Václav Slavík
718cf16095 fixed translatable strings handling in XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-03 23:25:58 +00:00
Václav Slavík
bd3b7e098d removed implicit dependency on wxPNGHandler from wxGTK's wxBitmapDataObject
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-03 23:25:28 +00:00
David Webster
bc5a847c1b This weeks interface and compile catchup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-01 19:50:08 +00:00
Robert Roebling
ea1ad04b43 Lots of things to make menus and submenus work.
Also added wxPopTransientWindow::CanDismiss() which will
    be needed for pop-up menus, although that actually
    still has to be done...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 22:42:14 +00:00
Vadim Zeitlin
4e89ceb11e don't allow clicking disabled buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 21:11:41 +00:00
Vadim Zeitlin
96e3c3d44a fix button double click handling (should be treated the same as single click)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 21:09:32 +00:00
Vadim Zeitlin
665274bb4a removed unnecessary include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 20:57:16 +00:00
Robin Dunn
dae710e70d fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 19:06:32 +00:00
Robin Dunn
96de41c2c5 Added wxPython.lib.rcsizer which contains RowColSizer. This sizer is
based on code from Niki Spahiev and lets you specify a row and column
for each item, as well as optional column or row spanning.  Cells with
not item assigned to it are just left blank.  Stretchable rows or
columns are specified and work the same as in wxFlexGridSizer.

A few other minor changes too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 19:01:19 +00:00
Vadim Zeitlin
5a73d082f0 fixes to toolbar, seems to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 18:07:03 +00:00
Vadim Zeitlin
cb78397f14 warnings fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 18:06:37 +00:00
Julian Smart
247194a3ae Added a test for lastH.IsOk()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 18:00:33 +00:00
Robin Dunn
5ae7602641 Moved declaratrions of wxPyInputStream and etc. into it's own header
file.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 17:05:56 +00:00
Robin Dunn
4152e8b9fd Moved declaratrions of wxPyInputStream and etc. into it's own header
file.

SWIGged updates for wxGTK


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 16:59:20 +00:00
Julian Smart
0a68bc6908 Corrected points to pixels calculation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 15:57:26 +00:00
Robin Dunn
cbf60e091e Moved declaratrions of wxPyInputStream and etc. into it's own header
file.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 15:53:14 +00:00
Ron Lee
772c017b2c Typo fix for GetSizer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 09:20:12 +00:00
Vadim Zeitlin
3216dbf5dc [start of] a wxUniversal implementation of wxToolBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-27 21:42:48 +00:00
Vadim Zeitlin
2b69aeaa92 removed the SetMargins call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-27 21:42:08 +00:00
Julian Smart
c246bd7c41 Added static wxBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-27 21:39:22 +00:00
Julian Smart
f22033e520 Nano-X: used drawable-to-wxImage function in wxBitmap::ConvertToImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-27 16:10:45 +00:00
Julian Smart
a20c04abf2 Nano-X: added function to copy from a drawable to a wxImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-27 16:01:46 +00:00
Julian Smart
888d3c8082 Nano-X: bitmap now showing in wxMessageBox, but it'll be a while
before masked drawing is possible.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-27 09:45:19 +00:00
Robin Dunn
afb810d936 Changed the img2py tool to use PNG instead of XPM for embedding image
data in Python source code, and the generated code now uses streams to
convert the image data to wxImage, wxBitmap, or wxIcon.

A few other changes to match recent additions to CVS.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-26 22:35:10 +00:00
Julian Smart
c2ff68d3fd Got dialog sizing to work, downsized fonts a bit (though it always returns
the same standard font right now)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-26 21:58:07 +00:00
Julian Smart
bc55104d9a Window management and sizer layout corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-26 18:28:34 +00:00
Vadim Zeitlin
cee14ca0c5 fixed a few warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-26 15:45:41 +00:00
Julian Smart
ff6b424a2e Fixed XGetWindowAttributes so 'mapped' is reported
correctly. About box now pops up, but is a mess.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-26 14:51:08 +00:00
Julian Smart
16d865f756 Attempt at creating appropriate fonts in Nano-X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-26 13:16:41 +00:00
Julian Smart
0b5c0e1ac1 Nano-X changes: removed spurious -O for Nano-X configuration;
got colour working in Nano-X (uses 8 bit RGB values, not 16 bit);
now sets font background mode correctly; window management
call correction


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-26 10:06:07 +00:00
Robert Roebling
bb312b54f6 New code for greying out.
Implemented wxTB_FLAT.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-25 22:56:19 +00:00
Julian Smart
70b8ab778f Compilation fixes for Nano-X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-25 20:32:37 +00:00
Vadim Zeitlin
5f7dd65ef8 fixed linking errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-25 18:45:47 +00:00
Julian Smart
25a1459592 Changed greying out to very crude algorithm, just draining colour
from the image.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-25 15:35:45 +00:00
Vadim Zeitlin
e3603065fd fixed error in mouse capture test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-25 15:21:13 +00:00
Julian Smart
a14a22278a Put tool disabling back in, but we need to debug wxCreateGreyedImage
since the scissors icon in the demo gets munged


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-25 11:35:52 +00:00
Julian Smart
011c17487e data_image -> mask_image, correcting some crashes in XPutImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-25 11:20:24 +00:00
Julian Smart
8262f9aecb Commented out the bitmap-greying code until I have time to debug it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-25 11:01:31 +00:00
Julian Smart
c18ac572db Corrected typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-25 10:19:11 +00:00
Julian Smart
c229e50dc7 Added middle mouse event macros to wxListCtrl doc; added wxCreateGreyedImage
and attempt to show disabled buttons in wxUniversal wxToolBar


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-25 10:11:10 +00:00
Václav Slavík
66a5865576 reverted wxMGL-specific code (didn't mean to commit this...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 23:27:52 +00:00
Vadim Zeitlin
9c9aeada3d added a note that wxStringList is obsolete
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 23:22:46 +00:00
Julian Smart
5e885a580a Reverted to my own solution; I think it's better because it distinguishes
between Universal and non-Universal solutions where menubars are
built in and don't affect client origin


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 23:18:35 +00:00
Julian Smart
16c9a4258f Fixed conflicts with Robert's similar fixes; fixed toolbar size calculation
and allowed for vertical toolbar


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 23:04:46 +00:00
Robert Roebling
d1017acfc3 Corrections to position and size for toolbar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 20:42:20 +00:00
Robert Roebling
c08a4f0068 Added simplistic wxToolBar to wxUniversal. It
still corrupts the non-client area.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 19:49:36 +00:00
Gilles Depeyrot
ae45f98300 take title of radiobox into account to calculate best size (SF #509963)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 19:32:11 +00:00
Gilles Depeyrot
983ceb3d12 removed obsolete CodeWarrior project file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 19:11:02 +00:00
Gilles Depeyrot
ef7f21894c added Mac OS X application bundle (framework) building
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 18:02:51 +00:00
Gilles Depeyrot
67087ab455 changes needed for compilation with Project Builder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 17:58:30 +00:00
Robert Roebling
f809133f9e Added expose event compression.
Made wxUniv scrollbars not accept any focus
    if they are owned by the window (in contrast
    to stand alone scrollbars).
  Further corrections to ScrollWindow()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 16:23:43 +00:00
Robert Roebling
9d2cef1c69 Done some work on wxFocusEvent::SetWindow(). Enough
at least solve the menu problem that dismissed
   menus when the parent menu (correctly) lost the
   focus.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 13:59:21 +00:00
Vadim Zeitlin
6c0d0845c2 only call GSocket_Init() when needed and do call it before using GAddress_XXX
functions (fixes bug 510722)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 13:51:43 +00:00
Robert Roebling
e88be8c942 More tests in erase sample.
Added wxControlStr to data.cpp.
  Fixed scrolling for window with a border. The
    area which was copied was off by the border
    width sometimes.
  Added two more AddTool() variants to wxToolBar
    when used with universal. It compiles now,
    but doesn't work...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 11:06:55 +00:00
Robin Dunn
d063802fcf more wxMac specific updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 04:18:57 +00:00
Vadim Zeitlin
6fb17fd518 correction to wxUSE_FSVOLUME handling, don't give #error if it is not set
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 00:21:18 +00:00
Vadim Zeitlin
05815ab32f added wxUSE_FSVOLUME
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 00:19:01 +00:00
Václav Slavík
20a1eea1fd made AdjustForParentClientOrigin const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 00:17:23 +00:00
Václav Slavík
0ecf47c409 removed AdjustForParentClientOrigin from wxMotif and all its forks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 00:15:02 +00:00
Václav Slavík
ddba340ddf made generic wxListCtrl work with well-behaved ports (wxGTK hack still in place)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 00:14:18 +00:00
Václav Slavík
6b5d017e8f removed AdjustForParentClientOrigin from wxMotif and all its forks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 00:08:45 +00:00
Václav Slavík
ea98f686a6 1. changed doubleclick events sequence to 'down,up,double,up' (turned out to be MGL's native one)
2. wxWindow::GetPosition() returns value relative to parent's client area origin now


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 00:06:33 +00:00
Václav Slavík
a014c34488 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 00:06:12 +00:00
Vadim Zeitlin
ccef86c75d added EVT_MENU_OPEN and EVT_MENU_CLOSE events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 23:16:32 +00:00
Vadim Zeitlin
7ab2c081d0 no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 21:56:55 +00:00
Vadim Zeitlin
4ab861e548 changed wxColourToRGB() to use RGB() instead of PALETTERGB() to fix the bug #503022
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 21:55:27 +00:00
Vadim Zeitlin
951cf90dfb part of the fix to the initial colour selection in the font picker dialog (the real fix was the change to wxColourToRGB() in msw/private.h)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 21:54:18 +00:00
Vadim Zeitlin
994a3786b9 implemented wxWindowDC and wxClientDC::GetSize() properly (fixes bug #503022)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 21:32:45 +00:00
Vadim Zeitlin
745e6cb915 temp linking quick fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 21:29:36 +00:00
Robert Roebling
9691c806e6 Implemented a simple modality under X11.
Filled wxDataFormat and wxDataObject etc.
  Added skeleton for X11 clipboard.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 21:26:16 +00:00
Vadim Zeitlin
731db70980 undef LoadMenu() (patch #521743)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 21:05:40 +00:00
Robin Dunn
a341e32e10 SIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 21:02:33 +00:00
Robin Dunn
94082a71f8 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 20:47:46 +00:00
Robin Dunn
2403536a34 Finished wrapping and providing typemaps for wxInputStream and also
added the stream ctor and other methods for wxImage so images can now
be loaded from any Python "file-like" object.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 19:59:59 +00:00
Robin Dunn
f74ff5efa5 Finished wrapping and providing typemaps for wxInputStream and also
added the stream ctor and other methods for wxImage so images can now
be loaded from any Python "file-like" object.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 19:50:01 +00:00
Robin Dunn
e531b73f89 Changes for wxOGL since wxFatalError has been deprecated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 19:16:07 +00:00
Robert Roebling
afbe906abd Some work on GTK focus handling and events.
Removed some code #ifdeffed for GTK from
    wxListCtrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 18:59:46 +00:00
Robert Roebling
890f8a7c00 Applied wxList::Prepend() patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 18:58:25 +00:00
Robert Roebling
9a9e73f6fd applied doc patch for wxPostEvent().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 18:57:57 +00:00
Robert Roebling
cbc906ceb7 Added new stream tests to typetest.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 18:57:11 +00:00
Julian Smart
0fccf28fe6 Added some notes on the Nano-X port.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 17:45:59 +00:00
Julian Smart
461e93f921 wxUSE_CONSTRAINTS now refers to constraints only, since sizers
are now crucial to wxWindows. Further Nano-X fixes; now
compiles and links in Nano-X mode.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 17:36:48 +00:00
Robert Roebling
adc350786e Minor fixes to buffered stream in connection
with ungetch. See comments in the code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 16:06:54 +00:00
Václav Slavík
8c21905b16 fix for (MSLU?) BEGIN/ENDEDITLABEL in Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 13:22:03 +00:00
Václav Slavík
6582b6ed83 removed libxpm
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 13:21:47 +00:00
David Webster
b9b1d6c8dd Style updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-22 23:30:31 +00:00
Gilles Depeyrot
229d3f1c1f Darwin dlopen functions is needed both for DYNLIB_CLASS and DYNAMIC_LOADER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-22 21:42:06 +00:00
Vadim Zeitlin
dbb846c622 fix for a nasty bug with colouor copying
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-22 18:48:19 +00:00
Vadim Zeitlin
73deed44e6 1. made wxDebugMsg, wxError and wxFatalError deprecated (still available
with WXWIN_COMPATIBILITY_2_2)
2. moved wxInternalErrorStr and wxFatalErrorStr to a common file
CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: 	include/wx/app.h include/wx/chkconf.h include/wx/utils.h
CVS: 	src/common/appcmn.cpp src/common/fontmap.cpp
CVS: 	src/common/utilscmn.cpp src/gtk/data.cpp src/mac/data.cpp
CVS: 	src/mac/utils.cpp src/msw/data.cpp src/msw/utils.cpp
CVS: 	src/os2/DATA.CPP src/os2/UTILS.CPP src/unix/utilsunx.cpp
CVS: ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-22 18:18:36 +00:00
Vadim Zeitlin
6962f34ea5 ensure that the compatibility defines are not set for wxBase which doesn't need them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-22 18:18:10 +00:00
Vadim Zeitlin
1800689f23 wxLogFatalError() now always aborts the program and doesn't use the active log target but always shows the standard message box
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-22 18:13:10 +00:00
Vadim Zeitlin
b795f9ca5f added a menu item to toggle live splitter update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-22 15:09:45 +00:00
Vadim Zeitlin
153b7996e5 fixed dead update splitters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-22 15:08:27 +00:00
Jouk Jansen
f1c8426195 Committing in .
OPENVMS MAKEFILE UPDATE

 Modified Files:
 	wxWindows/src/common/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-22 13:19:36 +00:00
Vadim Zeitlin
3a01bb1bce misc fixes for (absense of) the borders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-22 00:48:52 +00:00
Vadim Zeitlin
74c57d1ff6 fixes to handling of 0 and negative splitter position when splitting it initially
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-22 00:48:02 +00:00
Robin Dunn
689fceb7a7 Updated PyCrust from Patrick O'Brien
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-22 00:09:42 +00:00
Vadim Zeitlin
b8125adfd9 applied a fix for the patch 446325
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 16:19:33 +00:00
Vadim Zeitlin
2f159c5849 don't crash if editing of the cell wasn't started for whatever reason (patch 502692)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 16:17:13 +00:00
Vadim Zeitlin
bff4ec6360 wxCursor(wxImage) added (Chris Elliott, patch 517439)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 15:22:58 +00:00
Vadim Zeitlin
1af5934b54 fixes for big endiand machines (Chris Elliott, patch 520879)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 15:19:25 +00:00
Vadim Zeitlin
40e7f56c71 applied patch for calculating the tree items size with non default font (patch 520965)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 15:09:13 +00:00
Julian Smart
788519c605 Some more NanoX compile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 14:52:04 +00:00
Julian Smart
20bd88adbc Removed bizarre test code of which I have no recollection...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 14:46:19 +00:00
Robin Dunn
14afa2cbca Better wrapper for wxListCtrl.GetColumn, and some other cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 00:54:23 +00:00
Robin Dunn
c921c2cd3a Better doc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 00:51:11 +00:00
Robin Dunn
a1bfae9d83 A few tweaks and some cleanup for the wxPython demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 00:50:27 +00:00
Robin Dunn
ce22d615fe Fix so the Host: header in wxHTTP really works. With virtual hosts it
is vital that the original host name given in the URL is used in the
Host: header so the sever will use the right vhost config.  Previously
it was using the value returned from gethostbyaddr which will often
not be the same as the hostname in the URL.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 00:01:32 +00:00
Julian Smart
c79a329dcb NanoX modificati
NanoX modifications


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 23:19:40 +00:00
Robert Roebling
2e09dc2dc8 Always send an erase event to satisfy some users...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 21:50:17 +00:00
Vadim Zeitlin
6f0dd6b274 fixed SetForegroundColour() for the generic tree ctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 17:42:05 +00:00
Vadim Zeitlin
d88a24858a added tests for setting fg/bg colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 17:41:39 +00:00
Vadim Zeitlin
5c7766de90 added commands to rename the menus and menu items for testing various characters in the menu labels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 16:41:35 +00:00
Vadim Zeitlin
a66954a673 fix setting the font for a single-line text control (bug 508169)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 14:38:22 +00:00
Vadim Zeitlin
a8f6ef5190 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 13:52:46 +00:00
Vadim Zeitlin
fde5a86bda reverted the previous fix, it's no longer needed now after the change to the default base in wxString::ToULong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 13:27:38 +00:00
Vadim Zeitlin
538f35ccf4 use base 10 by default in wxString::To[U]Long
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 13:24:19 +00:00
Gilles Depeyrot
a8522481f7 corrected typo in Darwin specific code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 07:22:46 +00:00
Robin Dunn
c9468a241b Fix so the value given to wxTextEntryDialog::SetValue will actually be
used in the entry field.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 01:53:04 +00:00
Robin Dunn
59840ba3b1 Fix so OGL can build without wxBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 01:51:08 +00:00
Vadim Zeitlin
ee74faf934 *do* generate the LEAVE events even when the mouse is captured
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 01:39:20 +00:00
Vadim Zeitlin
30827629fa fixed mouse input handling in wxUniv: the static boxes ust be transparent
or the windows inside them don't get any mouse events at all


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 01:37:47 +00:00
Vadim Zeitlin
d1fe917ba0 don't use border styles for windows in wxUniversal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 00:52:19 +00:00
Vadim Zeitlin
cfa822b8f1 use WS_CLIPSIBLINGS for wxStaticLine as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 00:25:54 +00:00
Vadim Zeitlin
6c1285bb5b removed unused test code (no real changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 00:22:30 +00:00
Vadim Zeitlin
92b0a2a13c don't inherit the controls colours from the parent - at least for the background colour this is not the right thing to do
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 00:21:26 +00:00
Vadim Zeitlin
5b2f31eb30 1. always create the buttons with WS_CLIPSIBLINGS style, this prevetns them
from overwriting each other when the main window is resized
2. more tweaks to MSWGetStyle() and related code, added a new, easier to use,
   version of MSWCreateControl()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 00:02:51 +00:00
Václav Slavík
f7b0208507 added an image to wxHTML printing sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-19 23:58:39 +00:00
Robert Roebling
2b328fc942 Added test for default action (button normally)
to combo box when hittinh return. In a normal
    Find&Replace dialog, hitting enter in one of
    the two fields will usually mean "OK".
  Corrected the same test in wxTextCtrl.
  Removed some debug code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-19 21:48:03 +00:00
Vadim Zeitlin
d150404924 show the resize cursor when the mouse is above the grip and not only when it's just on it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-19 18:00:59 +00:00
Vadim Zeitlin
ec760ec9a0 added GetButton(), some cleanups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-19 17:50:47 +00:00
Vadim Zeitlin
564225a113 added an error message to wxCopyFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-19 16:41:27 +00:00
Vadim Zeitlin
e90867579b fixed Unicode-mode only bug in Validate()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-19 15:21:55 +00:00
Vadim Zeitlin
ec64d63207 added a note about parsing numbers with leading zeroes in ToLong/ToULong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-19 15:06:37 +00:00
Vadim Zeitlin
79067a961d fixed bug in ParseDateFormat() with numbers with leading zeroes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-19 15:03:00 +00:00
Vadim Zeitlin
072da98f10 don't crash in SetFocus()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-19 14:21:49 +00:00
Vadim Zeitlin
9ef63a4a59 typo in style definition fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-19 13:41:24 +00:00
Stefan Csomor
fb7b53892f respects wxFRAME_TOOL_WINDOW for floaters, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-19 10:45:27 +00:00
Stefan Csomor
761e1e0702 added default style wxFRAME_TOOL_WINDOW to creation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-19 10:44:34 +00:00
Václav Slavík
d96f63000a fixed a typo (_ instead of wxT)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-18 23:31:23 +00:00
Václav Slavík
ede7020ab3 better approach to centering windows (in absence of somebody else's solution...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-18 23:30:41 +00:00
Gilles Depeyrot
f9ee64b135 corrections to dynamic loading for Darwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-18 22:17:00 +00:00
Robert Roebling
887dd52f06 Added more wxRegion tests to erase sample.
Implemented "clear now, paint later".
  Corrected colour-by-name lookup.
  Corrected DrawRectangle code which produced
    redraw garbage under wxX11.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-18 22:13:23 +00:00
Václav Slavík
28f5082b32 checked in forgottern parts of MSLU changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-18 20:38:59 +00:00
David Webster
1c344e89c6 wxOS2 no longer relies on xpmlib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-18 04:32:01 +00:00
David Webster
98edf62696 Use xpmdecod instead of xpmhand.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-18 04:30:35 +00:00
Václav Slavík
136cb3c7a9 more MSLU fixes and moved MSLU stuff into separate file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 23:35:18 +00:00
Václav Slavík
4d90b8de01 Unicode fixes and warnings cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 23:34:51 +00:00
Václav Slavík
cb7acf9cc7 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 23:30:27 +00:00
Václav Slavík
3d5231db07 more MSLU fixes and moved MSLU stuff into separate file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 23:29:25 +00:00
Václav Slavík
6af638ed35 cache return value of wxGetOsVersion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 23:28:16 +00:00
Vadim Zeitlin
0c9a1c3279 set WXWIN_COMPATIBILITY_2_2 to 1 by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 22:59:27 +00:00
Vadim Zeitlin
0b06ac1f24 compilation fixes after the last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 22:53:41 +00:00
Vadim Zeitlin
c8531822d5 added SetString(), deprecated SetLabel()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 22:45:08 +00:00
Vadim Zeitlin
89c986535c compilation warnings fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 22:44:40 +00:00
Vadim Zeitlin
912c192f7b fixes for MSWGetCreateWindowFlags signature change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 22:44:29 +00:00
Vadim Zeitlin
b2d5a7ee00 better handling for the style changing during run-time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 22:43:43 +00:00
Robert Roebling
07215d86e0 Removed accidentally left in debug code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 22:19:23 +00:00
Robert Roebling
7e4501ee3c wxX11:
Corrected TLW positiong.
    Added experimental code for synthesizing focus events.
    Minor clean-ups.
    Added for-now unused code for default/focus widget.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 21:09:04 +00:00
Julian Smart
e941874b17 Added some Xlib replacement functions and structures for Nano-X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 20:49:14 +00:00
Vadim Zeitlin
2da6105611 added SetString(), deprecated SetLabel()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 19:14:54 +00:00
Vadim Zeitlin
bcebad81f1 enable WXWIN_COMPATIBILITY_2_2 by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 19:14:22 +00:00
Mattia Barbon
ed8a10f817 Blind fix for Win32 daily builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 16:07:39 +00:00
Václav Slavík
c331ac2ed7 use generic timer in wxMGL and wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 14:57:33 +00:00
Václav Slavík
a0cb0ba509 move wxMGL's wxTimer to src/generic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 14:55:41 +00:00
Václav Slavík
1aee06c5b7 cleaned a bit of mess in wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 14:53:58 +00:00
Václav Slavík
ef8c973beb corrected wxApp::GetStdIcon in wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 14:53:40 +00:00
Václav Slavík
60df0f9685 synthetize 'button up' event before doubleclick, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 14:53:31 +00:00
Václav Slavík
d558c90777 synced configure with configure.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 14:53:10 +00:00
Václav Slavík
5270a2f939 tell wxHTML users to initialize wxImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 14:52:35 +00:00
Václav Slavík
b239ffb941 added info about xpm.lib to changes.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 14:52:18 +00:00
Václav Slavík
a6d57d0388 fix for focus handling in generic wxListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 14:51:52 +00:00
Stefan Neis
c822ad5a5e Fixed OS/2 compilation problems.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 01:04:06 +00:00
Stefan Neis
c13b1125ef Fix typo from version 1.528.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 00:25:26 +00:00
Stefan Neis
e5ee4c908b Fixed typo in my last commit (it did break socket detection code :-( ).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 00:20:32 +00:00
Václav Slavík
36a56c6568 don't treat changing focus to popup's child as loosing it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 00:03:08 +00:00
Vadim Zeitlin
3e58dcb905 various splitter fixes:
1. generate the events from the event handlers, thus it is now possible to
   process the splitter events in the parent window
2. when double clicking the splitter which can't be unsplit it doesn't jump
   by a couple of pixels
3. misc code cleanup


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 21:53:52 +00:00
Stefan Neis
590b1a4d62 Changes to make wxBase configure on OS/2 correctly.
Added needed post-link operation for wxPM on OS/2 using LIBWXMACRESCOMP.
Add -lstdcpp to LIB for OS/2.
Avoid duplication of "-lsocket" on OS/2 (for a purely cosmetic result).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 21:03:47 +00:00
Mattia Barbon
9337b57819 Enable wxDynamicLoader
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 20:24:13 +00:00
Mattia Barbon
67fade3398 Fix Cygwin and MinGW compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 20:20:41 +00:00
Mattia Barbon
f538710f0b Fixed toolbar crash for MinGW/Cygwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 20:19:16 +00:00
Robert Roebling
79ad56d0b3 The last commit was too hasty.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 19:56:33 +00:00
Robert Roebling
fc9be1cf35 Forgot to move update and clear regions when scrolling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 19:23:59 +00:00
Robert Roebling
f566b4fe82 Put a wxRegion test into the erase sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 17:54:35 +00:00
Vadim Zeitlin
deb1de3003 refresh the item whose image depends on the expanded/collapsed state after expanding it to ensure that it is shown correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 15:32:10 +00:00
Stefan Csomor
22385679c4 new bitmap creation code for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 13:37:23 +00:00
Stefan Csomor
be2958285a new bitmap code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 13:36:29 +00:00
Václav Slavík
36aac19594 previous change to wxImage was wrong, it didn't account for saving same image twice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 11:37:50 +00:00
Stefan Csomor
528e22936a fixed inheritance info
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 11:17:11 +00:00
Stefan Csomor
0a6cce3b98 bracketed include def for CW nothrow flag for MAKINGDLL only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 11:16:38 +00:00
Robert Roebling
8ac7c50924 wxX11:
Made timer compile and maybe work.
    Fixed display bug in wxListCtrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 10:59:55 +00:00
Václav Slavík
ca39e4095a more fixes to wxSplitterWindow's initial sash position
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 01:51:06 +00:00
Václav Slavík
fd94e8aa45 A couple of changes to wxImage:
1. changed wxBMP_foo, wxCUR_foo to wxIMAGE_OPTION_{BMP,CUR}_foo
   (with backward compatiblity macros, of course)
2. applied Chris' patch to update hotspot when scaling an image
3. applied Chris' patch to write a filename in XPM and generalized it
   to pass wxIMAGE_OPTION_FILENAME to all saving handlers


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 01:45:30 +00:00
Václav Slavík
06534aa178 oops, commiting too fast, forgot to fix a small typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 01:44:38 +00:00
Robert Roebling
2739864340 wxX11:
Reorganized SetSize() code so that composite controls work.
    Removed call to XSync() in the same code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 22:18:49 +00:00
David Webster
f068b957f0 New def file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 22:15:14 +00:00
Mattia Barbon
1952358f23 spaces -> TAB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 22:08:38 +00:00
Mattia Barbon
9722642d5d Updated docs for wxProcessEvent
wxPerl docs updates
some minor fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 21:50:50 +00:00
Robert Roebling
4125131be6 wxX11:
Added new scrolling code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 20:25:40 +00:00
Václav Slavík
923d52d6fe fix visual artifact in wxMSW (why does it happen?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 19:42:12 +00:00
Václav Slavík
dbc38199c0 more MSLU fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 19:42:01 +00:00
Václav Slavík
ee1046d1cf don't translate accelerators in XRC menus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 19:41:43 +00:00
Václav Slavík
2d1efe3fec added Alt-PrintScreen handling (SciTech won't be happy till we do everything Windows do...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 19:41:16 +00:00
Václav Slavík
c60ba92d09 don't show size grip when maximized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 19:40:51 +00:00
Mattia Barbon
4dcd292c41 Updated MinGW build instructions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 18:11:17 +00:00
Vadim Zeitlin
56d0c5a6a7 made wxDateTimeDefault an object and not a reference to avoid (well, minimize) initialization order problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 16:36:04 +00:00
Vadim Zeitlin
fbfb3fb3c7 AIX compilation fixes from Paul Thiessen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 15:11:06 +00:00
Vadim Zeitlin
5737d05f86 fixed <strings.h> include and also removed the obsolete WXSTRING_IS_WXOBJECT setting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 15:06:17 +00:00
Julian Smart
642d2dc86b #ifdefs for wxMotif which doesn't have a wxTopLevelWindow implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 15:03:44 +00:00
Julian Smart
ea19087eec Fixed usage of wxXmString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 14:50:10 +00:00
Vadim Zeitlin
f80aa2dee1 dirty fix for the initial splitter position waiting for Vaclav's better one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 14:07:49 +00:00
Václav Slavík
df2f507bee leave in only Julian's version of CaptureMouse code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 12:49:44 +00:00
Julian Smart
e334d0eac8 Include XPM under wxX11 for some samples; added comment about
non-working images in dragimag sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 12:32:50 +00:00
Julian Smart
eb90fb3ee8 Fixed typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 11:25:14 +00:00
Julian Smart
5ed738a766 Added compatibility file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 11:15:22 +00:00
Julian Smart
256d631aaf Started some NanoX work (blind to begin with)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 11:14:42 +00:00
Václav Slavík
c41c20a566 copyright update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 01:07:52 +00:00
Václav Slavík
8f5e92dbe5 corrected double click events: wxMGL will now synthetize
second single click, so that events sequence is single-single-double as wxWindows
expects rather than single-double as MGL generates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 00:55:27 +00:00
Robin Dunn
be90c029fd As per the wx-dev discussion in early Jan, replaced
wxWindow::m_parentSizer with m_containingSizer which is used to track
which sizer this window is a member of.  Windows will now remove
themselves from a sizer when destroyed.  Also added accessors so
window classes can find out if they are in a sizer and do things like
reset their min size, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 23:34:46 +00:00
Vadim Zeitlin
9990cb50e4 undid my fix for loading 16x16 icons which results in ugly results when loaing 32x32 ones because LoadImage() scales them badly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 22:05:14 +00:00
Robert Roebling
7e085304e8 wxX11:
Added code for ScrollWindow(). This can easily be
       modified to scroll only a given rect.
     Made dialogs grey. :-)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 21:58:21 +00:00
Vadim Zeitlin
e3400e2eb9 cache various bitmaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 21:51:07 +00:00
Vadim Zeitlin
cc4bc3a06b no changes (de-TABified, undid some horrors with which someone replaced my ?: operators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 21:29:34 +00:00
Robert Roebling
ba696cfadf Updated the erase/paint event logic.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 21:08:45 +00:00
Vadim Zeitlin
2e8cc3e834 fixes to sash adjusting code to avoid setting it to 0 initially
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 21:00:41 +00:00
Vadim Zeitlin
58b434187d wxFrame base class is xTLW, not wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 20:58:31 +00:00
Václav Slavík
eea932674b fill wxFocusEvent::m_win properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 20:30:49 +00:00
Václav Slavík
52750c2e10 copyright update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 20:30:34 +00:00
Václav Slavík
094ca819f9 create wxSpinCtrl with default pos+size first, so that the subsequent call to DoSetSize is not a no-op
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 20:29:10 +00:00
Robert Roebling
90f501b16e Fixed bug with disappearing menus. They were
drawn under all other windows all but the
    first time.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 19:55:26 +00:00
Julian Smart
15c6934360 Stopped width = 0 fouling up window size change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 18:26:17 +00:00
Julian Smart
3a0b23eb74 Added some XSyncs to help size calculations, but positioning
dialog remains a mystery


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 18:06:50 +00:00
Václav Slavík
99ee04b97b implemented cursors cache, so that cursors are not loaded from file again and again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 17:11:53 +00:00
Václav Slavík
cebf2fec3d take const reference (thanks to Alberto Barbati)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 17:11:38 +00:00
Julian Smart
3edb5d305c Restored previous mouse release/capture behaviour for some ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 15:47:01 +00:00
Vadim Zeitlin
98c9194837 use the native wxImageList under Win32 as otherwise xUniv doesn't link currently
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 14:23:35 +00:00
Vadim Zeitlin
e3b7670bbe compilation fix for wxUSE_PALETTE == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 13:50:10 +00:00
Vadim Zeitlin
071e5fd9e8 #if wxUSE_PALETTE, not #ifdef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 13:47:33 +00:00
Robert Roebling
86fd8bda38 Some clean-ups which don't really solve any problem yet.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 13:13:08 +00:00
Julian Smart
307be31a92 Added border for top level windows with captions, though
this does seem to make it resizable also. Sizing of about dialog
wrong at present.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 12:07:54 +00:00
Julian Smart
edaf57a4da Added SetSize to toplevel window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 11:55:22 +00:00
Julian Smart
af2309c0fb Commented out XSetInputFocus for now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 11:37:19 +00:00
Julian Smart
45ff6421e6 Removed wxBuffer from several ports; added function to get XEvent name;
started on commandline parsing for wxX11


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 11:07:26 +00:00
Stefan Csomor
318fa6983d added .inited comparison as suggested by John McPherson to avoid comparison wxBlack to wxNullBitmap being true
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 09:02:54 +00:00
Robert Roebling
346d4fcde7 wxX11:
Don't add popup windows to wxTopLevelWindows,
       espially not if you don't delete them later.
     Corrected ReleaseMouse().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 00:45:13 +00:00
Václav Slavík
81762e79b8 handle accelerators for buttons, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 00:38:09 +00:00
Václav Slavík
d53fc7c96d 1. added wxUpdateUIEvent handling to wxMGL
2. added Alt-F4 and PrintScreen handling
3. removed accelerators handling (done by wxUniv)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 00:37:12 +00:00
Václav Slavík
cbe0afe09a added wxUpdateUIEvent handling to wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 00:36:33 +00:00
Vadim Zeitlin
ca1b5af1c4 delete the command if we failed to execute it (bug 515687)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 23:34:25 +00:00
Robin Dunn
ef2060faf3 SWIGged updates for wxGTK for recent changes
A few other little cleanups


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 22:17:33 +00:00
Robin Dunn
c0fbf24ba6 A little different fix for how to delay the call to __wxCleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 22:01:04 +00:00
Robin Dunn
154747f5be A fix for incorrect wrapping of wxPallet.GetRGB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 22:00:29 +00:00
Vadim Zeitlin
d973988695 return NULL from FindById() if the tool wasn't found (bug 508399)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 21:04:43 +00:00
Vadim Zeitlin
7183fd726e added wxFSVolume patch from George Policello (untested, unreferenced from the project files yet)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 21:01:50 +00:00
Vadim Zeitlin
bc7e0c92ad wxRESIZE_BOX -> wxRESIZE_BORDER (bug 515364)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 20:36:15 +00:00
Vadim Zeitlin
59c962bf54 don't use -q option with egrep, Solaris doesn't have it (bug 517145)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 20:31:55 +00:00
Robin Dunn
c2d516f260 Fix for the splashscreen bitmap not showing up in wxGTK.
NOTE:  This is just a band-aid fix.  Someone (Robert?) should really
check why the wxEraseEvent was not sent to this window at all!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 19:03:30 +00:00
Julian Smart
707440dc36 Allowed for wxHAVE_LIB_XPM or using wxXPMDecoder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 18:01:38 +00:00
Julian Smart
61aa560b2d Fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 17:23:13 +00:00
Julian Smart
f9488c6611 Include src/x11/utils.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 17:17:09 +00:00
Julian Smart
a1de932df0 Fixed typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 17:16:46 +00:00
Vadim Zeitlin
0feee163dc disable wxSocket for wxX11, doesn't link anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 16:47:43 +00:00
Robert Roebling
0d1dff0172 wxX11:
INtroduced OnInternalIdle as per wxGTK so that users
      cannot as easily lill the internals.
    Fixed pop-up transient window.
    Removed some #if 0 here and there.
    Made refresh code work in idle instead of directly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 16:43:18 +00:00
Vadim Zeitlin
ac0141634d warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 16:41:26 +00:00
Vadim Zeitlin
5f02e46732 do NOT hard code univ sources in x11 port
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 16:33:09 +00:00
Julian Smart
df9958f25a Added list of wxX11 files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 16:24:14 +00:00
Julian Smart
5e29f97a3c Added shared private declarations header privx.h, utils.cpp now shared
between wxMotif and wxX11; added some TODOs to toplevel.cpp, popupwin.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 16:17:29 +00:00
Vadim Zeitlin
3c011993ce clean ups to wxX11+wxUniv handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 16:12:49 +00:00
Robert Roebling
a11672a469 wxX11:
Lots of wxBitmap et al work.
     Adapted wxIcon, wxCursor to this.
     Split wxApp init things up so that the
       X11 display is available sooner.
     Changed initial display code accordingly.
     Corrected wxDC::DrawBitmap.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 08:38:54 +00:00
Václav Slavík
601964ff75 safety check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 00:36:27 +00:00
Václav Slavík
5a750e5a17 use wxLogTrace, not wxLogDebug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 00:35:47 +00:00
Vadim Zeitlin
fea2b62e8e fixed loading the icons with non default size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 00:31:29 +00:00
Václav Slavík
aa74396d46 don't allow dragging a window if it is maximized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 23:25:36 +00:00
Stefan Neis
c6712985be Some additional checks for building wxPM (OS/2) which doesn't support
wxTipWindow and wxPopupWindow yet.
Additionally check in libsocket for inet_addr (for all OS/2 builds).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 22:50:05 +00:00
Vadim Zeitlin
9e3229b777 added IsEditable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 22:42:35 +00:00
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
Václav Slavík
d65552318c use sunken border for wxHtmlHelpController's font preview
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 19:07:57 +00:00
Václav Slavík
55e0770e6f added default ctor to wxStaticText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 19:07:40 +00:00
Václav Slavík
b87c90c18c more wxMGL-aware samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 19:07:33 +00:00
Václav Slavík
7e5c1138b8 don't use wxGenericDirDialog in MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 19:04:22 +00:00
Robert Roebling
d02cb44ecf Killed various wxMotif things in wxX11.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 18:04:13 +00:00
Robert Roebling
74dc5eb60e wxX11:
Updated wxPen and wxBrush.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 17:24:14 +00:00
Robert Roebling
1934d291cd wxX11:
Rewrote wxRegion.
     Killed backing store Pixmap.
     Killed wxRectList.
     Adapted wxWindow to the above.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 16:42:42 +00:00
Vadim Zeitlin
c3e44503cf fix for wxUniv/GTK scrolling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 16:09:49 +00:00
Robert Roebling
4d7289e6b0 wxX11 compiles and links now. I wonder why there is
no wxToolBar class in /src/univ, though.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 14:31:12 +00:00
Robert Roebling
178572bba5 wxX11 might compile now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 13:54:59 +00:00
Robert Roebling
68e422780f More configure/compile things for X11.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 11:20:52 +00:00
Robert Roebling
b555c37c8e Removed menu.cpp and toolbar.cpp from X11.
Compile fixes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 10:53:07 +00:00
David Webster
859e65deb5 New positioning code, eliminating a lot of extra, unnecessary methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 04:34:34 +00:00
David Webster
1b7735e10f Removing OS/2 specific positioning methods, no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 04:33:20 +00:00
Julian Smart
b513212d2e More X11 code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 01:03:45 +00:00
Václav Slavík
6cecceddd8 compilation fix for wxUSE_TOOLTIPS=0 (i.e. wxUniv)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 23:29:36 +00:00
Václav Slavík
5465a788c8 fixes to wxTLW::Maximize in wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 23:29:30 +00:00
Václav Slavík
768f0c5a2c implemented titlebar doubleclick in win32 theme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 23:29:19 +00:00
Václav Slavík
6d7ee9e860 use AllocExclusive for reference counting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 23:29:05 +00:00
Václav Slavík
5c235ea098 use WXUNUSED(foo), not (void)foo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 23:28:19 +00:00
Václav Slavík
821860051a 1. make paint events debugging runtime switch instead of compile time
2. fixed incorrect rendering of wxListCtrl (newly created controls didn't account
   for parent's client origin)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 23:28:05 +00:00
Václav Slavík
21c3670fec fix for scrollbar's thumb update bug in wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 23:27:52 +00:00
Václav Slavík
7070053377 temporary hack to make wxMGL and SciTech happy...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 23:27:22 +00:00
Václav Slavík
186954b0af wxDC::DoDrawRectangle hack is no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 23:27:10 +00:00
Robert Roebling
47dddc2f4b Commiting remaining files of configure change for X11.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 23:17:41 +00:00
Robert Roebling
be0a4b9a2e X11 make stuff.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 19:39:20 +00:00
Robert Roebling
cb61c62d5e More make stuff for X11.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 19:38:13 +00:00
Robert Roebling
e6cec3db8c tmake update.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 18:47:20 +00:00
Robert Roebling
58f9a27b06 tmake update for x11.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 18:44:12 +00:00
Robert Roebling
49f7215796 Updates to tmake for X11. Damn lock in CVS.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 18:43:37 +00:00
Václav Slavík
1943c8778a fix for broken color parsing in wxXPMDecoder (thanks to H.H.Chou)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 15:58:00 +00:00
George Tasker
aef5844075 Patch #514838 - FL wxFrameLayout::SetBarState() patch - Tested by Hans
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 15:06:23 +00:00
George Tasker
db693128dd Patch #514836 - Tested by Hans
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 15:03:33 +00:00
Robin Dunn
167a4bb9fd New PyCrust source from Patrick's CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 00:41:10 +00:00
Robin Dunn
769a9cb2b8 The calltip window and autocomplete window in wxSTC will now use a
wxPopupWindow if available so they can extend beyond the client area
of the STC if needed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 00:40:42 +00:00
Robert Roebling
8f3e7ecc5d More refreshes are deferred to idle time.
Corrected redraw areas of native widgets
    if underlying wxWindows have been exposed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 23:43:35 +00:00
Václav Slavík
bc850f29e6 reverted revision 1.6 -- Mattia obviously knows better than I do...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 23:38:53 +00:00
Václav Slavík
d2aa096b6f compilation fix -- a better way
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 23:25:36 +00:00
Robin Dunn
ad07d019d6 Added notes for what to do if VC has an internal compiler error.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 22:23:55 +00:00
David Webster
eaf32690a6 new module definition file for OS/2 Dll build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 22:14:07 +00:00
Mattia Barbon
607f710e5d Blind fix for Watcom ( and VisualAge? )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 21:03:13 +00:00
Vadim Zeitlin
ed360bf94f wxBase readme file location changed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 19:15:11 +00:00
Vadim Zeitlin
433eae1e6d moved wxBase readme to its own directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 19:13:56 +00:00
Julian Smart
7266b67235 Now compiling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 17:44:23 +00:00
George Tasker
b2995a23bc Patch #514729 applied - adds missing RTTIs to wxToolLayoutItem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 13:36:14 +00:00
Julian Smart
39353a1c1c Added evtloop.cpp to file list, added X11 to makeall
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 12:56:26 +00:00
Julian Smart
1cf1393434 Added X11 readme & install docs, updates to Motif ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 12:15:09 +00:00
Julian Smart
1b0fb34be8 Added X11 wxEventLoop implementation; rearranged event processing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 12:00:11 +00:00
Vadim Zeitlin
b95edd4708 cleanups after SciTech commit :-(
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 00:18:10 +00:00
Václav Slavík
e0a76d8d8a make more wxImage methods const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 00:17:25 +00:00
Václav Slavík
d7af2feac4 changed wxImage::ComputeHistogram to use wxHashMap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 00:16:44 +00:00
Václav Slavík
844e5ad37f fixed wxPageSetupDialogData::SetPaperId() to take value, not reference
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 00:16:20 +00:00
Vadim Zeitlin
0371e9a826 added another overloaded DrawCircle() version for completeness and documented it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 23:24:05 +00:00
Robin Dunn
177b62bf4d Patch from Neil H.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 23:15:28 +00:00
Kendall Bennett
574c939ef1 Merges from Scitech Branch (George Davison):
Added wxDisplayChangedEvent and triggering in MSW, when display mode changes
this event gets triggered. I don't know what should happen with other OS's
since I am not familiar with how they handle mode changes.

Watcome Version 11 now compiles with wide character support.

Fixed watcom warnings in
	html/htmlwin.h
	imagbmp.h
	listctrl.h
	imagbmp.cpp
	quantize.cpp
	strconv.cpp
	variant.cpp
	dirctrlg.cpp
	treectlg.cpp
	m_style.cpp
	fontenum.cpp
	listctrl.cpp
	ole\dataobj.cpp
	textctrl.cpp
	window.cpp
	xml.cpp

msw/setup.h
	with watcom version 11 it now compiles with wide character support.

xrc/xml.cpp
	fixed memory leak and compile warnings


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 18:46:31 +00:00
Václav Slavík
952ae1e88b changed wxImage::ComputeHistogram to use wxHashMap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 18:11:39 +00:00
Julian Smart
d353bd452e Put ~/.mailcap to head of search list so local settings override
global ones.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 16:11:09 +00:00
Julian Smart
f79bd02d8e Various fixes for X11 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 15:40:02 +00:00
Julian Smart
45ce82f320 Fixes for X11 builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 14:51:23 +00:00
George Tasker
56e00fbc6e Applied patch #514037 from Paul Gammans to remove unneeded code in wxDbGridTableBase::CanSetValueAs()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 14:44:44 +00:00
Jouk Jansen
df744f4d6d Committing in .
Various patches to get the current CVS compile on OpenVMS

 Modified Files:
 	wxWindows/setup.h_vms wxWindows/src/generic/descrip.mms
 	wxWindows/src/gtk/app.cpp wxWindows/src/unix/threadpsx.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 14:41:48 +00:00
Vadim Zeitlin
5baa06bb62 wxMSW compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 14:22:42 +00:00
Julian Smart
7f5c07abb3 Added X11 support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 13:45:42 +00:00
Julian Smart
7c7b95f47a Added x11.t, changes to other config files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 13:45:14 +00:00
Gilles Depeyrot
7d08179a70 removed trailing comma for SunSoft compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 13:24:55 +00:00
Vadim Zeitlin
5b8643eace documented wxCOMPILE_TIME_ASSERT2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 12:53:34 +00:00
Vadim Zeitlin
8de1759c6f added wxCOMPILE_TIME_ASSERT2() macro allowing to give the unique name to the struct used by wxCOMPILE_TIME_ASSERT() and use it in dynarray.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 12:33:40 +00:00
Vadim Zeitlin
d77254fc5f a hack to fix the MSW build for now, pending better solution
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 12:24:57 +00:00
Vadim Zeitlin
17e656b003 fixed passing empty macro argument for VC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 12:08:25 +00:00
Julian Smart
bc797f4cc8 Stripped out miscellaneous Motif/Xt-specific code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 12:06:37 +00:00
Robin Dunn
fe40185d40 Check for existing colour names when adding to wxTheColourDatabase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 01:44:05 +00:00
Robin Dunn
1192dbd450 added sample (currently commented out) of how to veto column size events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 01:04:53 +00:00
Robin Dunn
96e5ef7631 Moved utils.i back into the core since it imports it anyway.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 01:04:20 +00:00
Robin Dunn
f54a35fe22 Updated the build docs a bit, added wxMetafileDataObject, and some
cleanup and fixes here and there.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 21:03:27 +00:00
Vadim Zeitlin
f2a139adfd oops, have to commit this after accidentally committing intl.cpp to not break compilation (contains unfinished code)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 20:14:25 +00:00
Vadim Zeitlin
1a931653f8 cleaned up the arrays declaration macros and added a new SORTED_ARRAY_CMP family; added tests for them to the console sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 20:12:24 +00:00
Vadim Zeitlin
cfb20656e1 use wxCOMPILE_TIME_ASSERT instead of the run-time checks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 20:11:32 +00:00
Vadim Zeitlin
8f5d910492 added and documented wxCOMPILE_TIME_ASSERT and wxASSERT_MIN_BITSIZE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 20:07:49 +00:00
Robin Dunn
6a7b1d6eaf Corrections for loss of XLOG2DEV and etc. macros in MSW. I assume
that switching to LogicalToDevicwX and etc. is correct??


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 19:19:02 +00:00
Vadim Zeitlin
d7c429142d fixes for METHODDEF definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 14:40:34 +00:00
Vadim Zeitlin
746c25ccaf fixed 2 minor warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 14:25:18 +00:00
Vadim Zeitlin
1abfd7f3dd added the missing (newly added) colours to the switch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 14:24:54 +00:00
Vadim Zeitlin
7dbf536065 typo in IMPLEMENT_DYNAMIC_CLASS fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 14:10:36 +00:00
Vadim Zeitlin
221e1181e8 compilation fix for BC++ (hopefully)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 14:04:54 +00:00
Vadim Zeitlin
6540eefca7 compilation fix after m_lDlgCode removal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 13:41:28 +00:00
Stefan Csomor
997200451b m_style.cpp added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 06:36:12 +00:00
Vadim Zeitlin
621b3e2127 IMPLEMENT_DYNAMIC_CLASS fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 01:42:02 +00:00
Vadim Zeitlin
1f42894286 assert when a base class of a class in wxRTTI system is not found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 01:38:48 +00:00
Vadim Zeitlin
f98bd52a3e added wxRTTI macros to wxList and wxStringList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 01:38:08 +00:00
Vadim Zeitlin
0cf5b09998 got rid of wxWindow::m_lDlgCode - now wxWANTS_CHARS style should work for all windows, even the native controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 00:58:11 +00:00
Mattia Barbon
c448540d81 * SPACE -> TAB in filelist.txt
* Added wxBase support to makefile.g95 makeg95.env
* Added FINAL=0|1 flag to makefile.g95 ( defaults to FINAL=0 )


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-05 21:35:10 +00:00
Robin Dunn
59ddac0109 Derive wxGridWindow from wxWindow instead of wxPanel so thw SetFocus
in HideCellEditControl() will actually set the focus to the grid
window instead of back to the cell editor which was just hidden.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-05 20:38:25 +00:00
George Tasker
8a77c0d769 Added WXDLLEXPORT_DATA() around several data elements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-05 19:07:20 +00:00
Vadim Zeitlin
7b82d78291 make the log dialog slightly taller when it is expanded to account for a possible horz scrollbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-05 19:05:49 +00:00
Julian Smart
7eaac9f513 First stabs at stripping out Xt/Motif code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-05 18:13:03 +00:00
Julian Smart
eddf46fea7 Fixed a couple of typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-05 16:44:39 +00:00
Julian Smart
83df96d63a Reformatted Motif headers; added __WXX11__ symbol support to common headers;
added place-holding src/x11 and include/wx/x11 files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-05 16:34:33 +00:00
David Webster
a4e17da546 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-05 14:15:36 +00:00
Julian Smart
ba09d3bb3b Applied Hans Van Leemputten's FL separator patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-05 12:18:49 +00:00
Vadim Zeitlin
1f86850d45 compilation fix for wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-05 00:16:07 +00:00
Vadim Zeitlin
ee058011bf don't compile this file under wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-05 00:14:48 +00:00
Vadim Zeitlin
b920c41b60 defined wxUSE_IFF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-05 00:14:21 +00:00
Vadim Zeitlin
77fac225ba fixed compilation without wxUSE_STREAMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-05 00:14:00 +00:00
Vadim Zeitlin
2c892c0b0c fixed VC++ compilation warnings in optimized build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-05 00:01:17 +00:00
David Webster
70b7bcd121 const fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 23:32:15 +00:00
Vadim Zeitlin
373658eb49 fixed for compilation without wxUSE_WCHAR_T and minor cleanups associated with this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 22:33:52 +00:00
Vadim Zeitlin
a9bf8315f6 no changes, just the file I forgot to commit...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 21:52:03 +00:00
Gilles Depeyrot
fc1f7cd5dd added missing system colours (exact colours to be defined)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 20:56:53 +00:00
Vadim Zeitlin
fa8a793a6f fixed crash when return is pressed in a spinctrl inside a parent which is not a GtkWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 19:37:02 +00:00
Vadim Zeitlin
9f14a81890 fixed size of the log dialog details drop down
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 19:15:35 +00:00
Robert Roebling
c89f5c02b1 Added missing test in wxObject::Ref() for already
equal objects (same m_refData).
  Implemented new ref counting for wxBrush, wxPen
    and wxColour (in addition to wxRegion). Also
    inlined some more functions and implemented
    real comparisons.
  Corrected refresh code to update GTK's window-less
    widgets if overdrawn after a wxWindow::Refresh().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 18:01:21 +00:00
Vadim Zeitlin
a407ff6ae8 added GAUGE standard colour and use it in DrawProgressBar() if the colour
hadn't bee nset explicitly


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 16:34:22 +00:00
Vadim Zeitlin
e269a9be19 minor fix to the constraints of the cancel button to improve its sizing under wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 16:33:05 +00:00
Vadim Zeitlin
86171954ec don't skip first/last node when pressing down/up arrow after opening the menu with the mouse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 15:40:34 +00:00
David Webster
107e4338b4 non const to const change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 14:09:12 +00:00
Robert Roebling
3bcc8d1581 Now updating and clearing are done in a delayed fashion.
The m_updateRegion gets updated and the (often much
    smaller) m_clearRegion gets cleared. This removes the
    flicker introduced by having delayed updates and
    immediate clearings.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 14:05:28 +00:00
Robert Roebling
3133cb9f53 Applied thread wakeup patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 12:38:11 +00:00
Vadim Zeitlin
1e3996b1bd base class of wxTreeItemData corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 12:21:08 +00:00
Robert Roebling
48850fa74d Big wxRegion clean up.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 12:04:23 +00:00
Robert Roebling
e0f0b19775 Ref counting fixes and compile fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 10:42:16 +00:00
David Webster
45e0dc9477 OS/2 scrolling support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 04:19:14 +00:00
Vadim Zeitlin
cafbad8f17 total wxBrush cleanup: made private stuff private, fixed data (un)sharing, create HBRUSH on demand only, added asserts/checks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 01:35:30 +00:00
Vadim Zeitlin
b802788865 changed CloneRefData() to take a const pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 01:34:18 +00:00
Vadim Zeitlin
f797e53d03 ScrollWindow() should use the rect it scrolls as the clipping rect as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 01:32:55 +00:00
Václav Slavík
97ddad38c5 Unicode compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-03 23:54:37 +00:00
Václav Slavík
20ae6f8d09 wxXmlInitXmlModule no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-03 23:53:43 +00:00
Vadim Zeitlin
6829b0e0f7 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-03 13:15:47 +00:00
Vadim Zeitlin
025763083a oops, Clone/CreateRefData() were not overridden in wxRegion as intended
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-03 12:31:32 +00:00
Vadim Zeitlin
d18700787f added asserts to Clone/CreateRefData()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-03 12:30:40 +00:00
George Tasker
56c3554ccc Added isql.h and isqlext.h to the "Base" target
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-03 12:25:46 +00:00
Vadim Zeitlin
9fe4c99cc5 fixed wxRegion::Offset() to not modify the shared regions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-03 11:49:31 +00:00
Václav Slavík
4d876ee3f7 wxXRC cleanup: removed .xmlbin format
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-02 23:17:38 +00:00
Václav Slavík
bf504f980a added cur and ico formats to the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-02 23:16:09 +00:00
Václav Slavík
0f04dbf324 generated makefiles no longer contain information about when they were generated
(you can still get this information from CVS/Entries and there will be fewer bogus revisions)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-02 23:15:23 +00:00
Václav Slavík
32a0d013e9 changed wxFileName::Normalize signature to allow or-combination of flags and reverted Julian's hack-fix to wxTextFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-02 23:14:45 +00:00
Vadim Zeitlin
fb57629105 added more commands for moving the logical origin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-02 16:08:48 +00:00
Vadim Zeitlin
1e2081a1b9 1. fixed bug in wxDC::SetMapMode() which broke the scrolling
2. some cleanups in wxDC code
3. SetAxisOrientation() still doesn't work...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-02 16:08:14 +00:00
Gilles Depeyrot
0d4d0e8d76 correction for compilation with ProjectBuilder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-02 13:34:09 +00:00
Gilles Depeyrot
d6263458e4 wxCommand is in cmdproc.h (SourceForge patch #511506)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-02 13:21:40 +00:00
Robin Dunn
d43d449bdd A little cleanup for this demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-02 01:10:06 +00:00
Robin Dunn
9e78f901dc Shouldn't call SetFont(wxNullFont) any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-02 01:09:47 +00:00
Vadim Zeitlin
5230934a95 wxDC::SetClippingRegion() in wxMSW works like in wxGTK, i.e. combines the given region with the old one (also documented this behaviour as the correct one)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-02 00:40:45 +00:00
Robin Dunn
8cb490124b wxPyEmptyStr --> wxEmptyString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-02 00:19:04 +00:00
Robin Dunn
23bed52041 wxPyEmptyStr --> wxEmptyString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 23:16:16 +00:00
Robin Dunn
faf82e9bd3 Updated contrib from Lorne White
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 23:14:14 +00:00
Robin Dunn
3f0d9059c6 better log messages for this demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 23:13:33 +00:00
Václav Slavík
9facc12633 wxDialog::Show has default argument value in wxUniv now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 23:01:47 +00:00
Václav Slavík
b7d5acd0fa wxRootWindow::AcceptsFocus must be const; added wxRTTI for wxRootWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 20:22:38 +00:00
Václav Slavík
ca50a0771a compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 20:22:17 +00:00
Vadim Zeitlin
9b0f84db4a removed GetString(), it doesn't belong here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 19:30:01 +00:00
Julian Smart
38fc0d9db9 Added missing '!' to HasCapture() in window.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 17:34:48 +00:00
David Webster
e90bc5bffe Makefile and mod def updates. Compile bug in Choice fixed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 15:50:29 +00:00
Vadim Zeitlin
60ce696e26 made wxCondition::Signal() queue the signals generated while there were no waiters and documented this behaviour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 15:43:37 +00:00
Vadim Zeitlin
2e1e7f9dfc some really ancient tips updated, mention make problems and flex version minimal requirments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 15:30:02 +00:00
Vadim Zeitlin
376e1129f7 various minor fixes to wxHashMap: compilation warnings suppressed, use calloc() instead of new[]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 14:58:55 +00:00
David Webster
e05c8fa7bb Got rid of the bad EOLs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 14:11:34 +00:00
Vadim Zeitlin
bc5879ef40 fixed Show() doc, added Hide()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 12:24:05 +00:00
Vadim Zeitlin
356c7bfad2 added default value for Show() argument
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 12:21:40 +00:00
David Webster
582381212e no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 03:28:28 +00:00
Robin Dunn
943ca23754 Fix for bug #511057
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 02:48:21 +00:00
Robin Dunn
4683727281 added wx type info macros for wxFSFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 02:08:19 +00:00
Robin Dunn
7faa9591f4 fixed compile bug for when threads are turned off
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 01:18:46 +00:00
Vadim Zeitlin
4cbcae1637 test wxRegion::Offset()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 00:25:07 +00:00
Julian Smart
ea45082521 Applied hash copy fix, BC++ makefile fix (though not the lib setup.h one we need to do).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-31 23:13:06 +00:00
David Webster
b3260bce47 Lots of fixes for scrolling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-31 22:48:09 +00:00
Julian Smart
ffd0623c11 Applied status bar sample patch to toggle status bar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-31 22:45:34 +00:00
Julian Smart
7eff657c07 Applied wxImage -> wxCursor patch, tool window event table fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-31 22:11:06 +00:00
Julian Smart
9fce8d2eee Applied wxPoem, wxSystemSettings, sizing, install doc patches
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-31 21:58:34 +00:00
Vadim Zeitlin
73b26a1c3b don't return HTCLIENT for radiobox - this breaks redrawing under Windows XP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-31 21:48:25 +00:00
Julian Smart
08a80932cb Applied patch to reset pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-31 21:27:53 +00:00
Julian Smart
6e8515a3e3 Regenerated FL docs; applied patch [ #511363 ] Dialogs no longer need wx.rc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-31 20:57:31 +00:00
Vadim Zeitlin
807d848702 added wxObject::AllocExclusive() and associated methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-31 16:01:09 +00:00
Vadim Zeitlin
0fb067bbe6 implemented wxRegion::Offset() for MSW and documented it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-31 16:00:13 +00:00
Julian Smart
aa21a09f91 Corrected Normalize invocation by casting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-31 12:29:54 +00:00
Julian Smart
baed107708 Removed wxPATH_NORM_CASE from Normalize or files won't be written
back as the same filename.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-31 12:25:50 +00:00
Mattia Barbon
ac6e54eee6 Add WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-30 21:43:02 +00:00
Robin Dunn
ca31b3da99 SWIG update for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-30 19:20:58 +00:00
Vadim Zeitlin
8d5eff606a attempts to make wxCondition::Broadcast() and Signal() work simultaneously - currently they do but something else doesn't
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-30 19:11:54 +00:00
Robert Roebling
35917d228a Added wxRegion::Offset(x,y)
Go to plan B: wxWindow::Scroll() now moved the
    m_updateRegion for later processing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-30 17:25:18 +00:00
Vadim Zeitlin
a2717c3d0c ignore the icon option in Netscape mime.type file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-30 16:38:30 +00:00
Robert Roebling
f47ae6e7e9 Added various calls to wxWindow::Update() to
wxScrolledWindow. This is ONE solution to
    the redraw problem of the new delayed refresh
    code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-30 16:01:34 +00:00
Robert Roebling
23716407e1 New Refresh()/Update() behaviour. As expected, scrolling
messes up the display.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-30 15:26:49 +00:00
Vadim Zeitlin
e45387bf10 build ODBC objects in wxBase build as well if --with-odbc was specified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-30 13:46:48 +00:00
Robert Roebling
beab25bde3 Some changes for new Update/Refresh behaviour. This
commit actually doesn't change anything. I just cleared
some code and added the new interface. I want this to
be seperate from the commit (if any) that introduces the
new behaviour.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-30 13:23:10 +00:00
Vadim Zeitlin
8c9892c2a8 added a wxCHECK(index is correct) to GetParam() (fix for patch #510614)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-30 10:38:44 +00:00
David Webster
626af8005c Finish basic dialog support and some scrolling fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-30 04:59:05 +00:00
Julian Smart
a7872dcd74 Removed references to helpxlp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 23:21:50 +00:00
Julian Smart
88bed4b484 Pruned some of txrc.tex; removed redundant helpxlp files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 23:08:49 +00:00
Vadim Zeitlin
2f2f3e2ab7 added wxCondition test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 22:50:27 +00:00
Vadim Zeitlin
547b93ab04 attempts to make wxCondition::Broadcast() work - it still doesn't
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 22:49:13 +00:00
Ron Lee
c22503ddb9 fix (dos) line endings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 22:41:22 +00:00
Ron Lee
dd177170f6 fix for mingw which has TBSTYLE_FLAT but not TBSTYLE_TRANSPARENT (yet).
(also submitted to win32api maintainers).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 22:30:57 +00:00
Mattia Barbon
d74b838cf3 Updated projects/makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 21:37:43 +00:00
Mattia Barbon
f21a3c4198 Updated target list in Makefile
Corrected comment in base.t ( creates src/files.lst, not src/common/files.lst )
Added new files to filelist.txt.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 21:35:01 +00:00
Mattia Barbon
e676441ff4 Documentation for wxHashMap, added deprecation to wxHashTable.
Quoted some unquoted _ here and there.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 21:31:16 +00:00
Mattia Barbon
aecca2c841 MSVC5 does not like extern "C" around windows.h .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 21:30:03 +00:00
George Tasker
4cf0b34ce7 Fixes some position issues of where to draw heart of the toolbar in the window - Submitted by Hans Van Leemputten
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 21:27:42 +00:00
George Tasker
4926b15b7d Fixes memory leaks that occur when dragging toolbars around... Dragging a toolbar so that it changes the dock state to reproduce the memory leak in old code - Submitted by Hans Van Leemputten
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 21:27:08 +00:00
Mattia Barbon
0508ba2a6b New wxHashMap class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 21:26:57 +00:00
George Tasker
8e33234f93 Fix for OnSize() redraw problems - Submitted by Hans Van Leemputten
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 21:25:33 +00:00
Gilles Depeyrot
8ddffcdaca added precisions for GetSize and GetClientSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 20:49:16 +00:00
Gilles Depeyrot
1387b68afb added SetAxisOrientation documentation and improved documentation of logical
to/from device relative coordinate conversions


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 20:48:07 +00:00
Julian Smart
c72fd53269 Updated vc.rsp file to include console.dsp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 10:32:24 +00:00
Gilles Depeyrot
ce9766917e correction for compilation with Apple DevTools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 06:57:31 +00:00
David Webster
2b7cd5325b Minor fix for owner drawn menu item.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 04:56:13 +00:00
Robin Dunn
92631ff273 make sure some types convert right in XRCed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 01:28:11 +00:00
Robin Dunn
5d4133915f SWIG updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 01:27:33 +00:00
Robin Dunn
e973de2ef6 Use the new icon for the frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 00:26:43 +00:00
Robin Dunn
c6c593e88d Updates for recent changes to wx, and some other little tweaks and fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 00:11:38 +00:00
David Webster
bdfd8d7776 Popup Menu processing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 23:10:25 +00:00
Robin Dunn
13b76aae87 Added icons for the demo and for XRCed, and added a shortcut to XRCed
to the program group when installing the dist.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 23:10:22 +00:00
Robin Dunn
7fa0effc0e Added an option to also ouput a function to create a wxIcon from the data.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 23:08:47 +00:00
Robin Dunn
033424480e Fix some compile errors and warnings when using gcc 3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 23:05:47 +00:00
Mattia Barbon
e02e8816c7 Fix MinGW compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 22:37:48 +00:00
Stefan Csomor
eb1d233694 bridged mapfile native path to filesys url paths for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 21:52:09 +00:00
Stefan Csomor
d77604c5a2 adjusted relative path composition for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 21:50:22 +00:00
Stefan Csomor
91b4bd6317 corrected path splitting for mac relative paths
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 21:44:47 +00:00
Stefan Csomor
8c68e84d42 help files added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 21:40:49 +00:00
Stefan Csomor
205830e23c for file based help we have mac separators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 21:38:00 +00:00
Stefan Csomor
0887f88e2d added export
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 21:29:40 +00:00
Vadim Zeitlin
af3062a8be changed the year to 2002
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 18:06:51 +00:00
Robert Roebling
06201c35d7 wxDC::Blit(): the source coordinates are logical coordinates
of the source DC now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 17:58:36 +00:00
Vadim Zeitlin
5a7fa9ed3b fix for a typo (== instead of =)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 17:57:57 +00:00
Vadim Zeitlin
a664d17e06 removed non existing unzip.h from the filelist.txt and regenerated everything
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 16:45:49 +00:00
Vadim Zeitlin
188b6ff729 wxWindows builds with Solaris and FreeBSD native makes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 16:43:29 +00:00
Vadim Zeitlin
421a017108 fixes to allow compilation with FreeBSD make
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 16:19:28 +00:00
Robert Roebling
5375a1f5e8 Change idle behvaiour with regard to wxIdleEvent::RequestMore().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 16:17:39 +00:00
Vadim Zeitlin
221ed5767f warning fixes in GetColor() for the newly added values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 16:09:49 +00:00
Vadim Zeitlin
aa0ffd1d92 more Unicode fixes for help files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 16:03:50 +00:00
Gilles Depeyrot
74de9ed64b axis orientation must not be taken into account for conversion of a distance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 15:02:25 +00:00
Vadim Zeitlin
7cc5a448dc Unicode compilation fixes, also moved private constants into the .cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 13:19:44 +00:00
Vadim Zeitlin
a28ae4096b don't call wxLogLastError() in wx{File|Path}Exists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 13:17:07 +00:00
Julian Smart
e85d194d55 Added wxUSE_GUI=0 to EXTRAFLAGS to make it compile on the command line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 11:28:21 +00:00
David Webster
239c2e9674 Various fixes for Textctrl and Popup Menus.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 03:25:45 +00:00
David Webster
b82186f0e7 Get the right dialogs into OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 03:24:34 +00:00
Vadim Zeitlin
359755491d no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 01:40:37 +00:00
Vadim Zeitlin
d23c8ba247 added another, more convenient, wxRGBToColour() overload
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 01:40:24 +00:00
Vadim Zeitlin
0423bdc761 fixed code in OpenURL() to actually use the result of OnOpeningURL()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 01:39:55 +00:00
Vadim Zeitlin
7d6d3bf31e Windows XP appearance fixes for status and tool bars (bug 501585)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 01:38:39 +00:00
Václav Slavík
094eb71aa4 XMLID->XRCID, XMLCTRL->XRCCTRL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 23:51:05 +00:00
Václav Slavík
5ed345b7ed XMLID->XRCID, XMLCTRL->XRCCTRL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 23:42:16 +00:00
Václav Slavík
20e453de9b use correct encoding in wxrcedit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 23:40:57 +00:00
Václav Slavík
1419ea47dd implemented writing in original encoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 23:40:43 +00:00
Václav Slavík
a679e1298b A couple of fixes to wxMGL's wxWindow:
1. fixed caret interference when painting the window
2. now calls SetFocus when you click on a window that doesn't have focus
3. hopefully correct translations of event for OnKeyDown vs. OnKey


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 23:40:12 +00:00
Václav Slavík
187c183c6a fixes to WXK_PRIOR/WXK_PAGEUP handling in wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 23:38:53 +00:00
Václav Slavík
ca5b5b49c8 small m_blinkedOut consistency corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 23:37:58 +00:00
Václav Slavík
ecde6016ef calling wxWindow::Update from wxWindowDC ctor wasn't good idea, interacts with carets...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 23:37:47 +00:00
Václav Slavík
9dc14ebce0 added skeleton of Port notes section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 23:37:06 +00:00
Julian Smart
1c0c339c2d Added first cut at sizer topic, based on Robert's manual and
individual class reference docs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 19:58:13 +00:00
Robert Roebling
2c990ec083 wxMiniFrame works again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 19:54:13 +00:00
Václav Slavík
31f3405236 added wxHtmlWindow::OnOpeningURL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 19:03:23 +00:00
Václav Slavík
6cc4e6b81a new wxHtmlWindow::OnOpeningURL API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 19:03:10 +00:00
Václav Slavík
d2b0092bed moved wxHtmlWindow flags out of defs.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 19:02:32 +00:00
Václav Slavík
b79e32cce7 wxUSE_MIMETYPE in src/unix/mimetype.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 19:02:14 +00:00
Vadim Zeitlin
526dbb9590 set extra margins to be 0 by default, not 50
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 13:58:35 +00:00
Julian Smart
b4bfa4522e Applied patch to implement wxChoice::SetString and to not send leave events
when window is captured.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 10:05:49 +00:00
Václav Slavík
9006f25eba prevent crash when trying to set global cursor too early
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 00:48:16 +00:00
Václav Slavík
45681cd72d ensure minimal mime support in wxHTML even without wxMimeTypesMananger
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 00:48:08 +00:00
Václav Slavík
b6e8d5a362 fixed rendering artifact in wxCaret
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 00:47:48 +00:00
Václav Slavík
350d006427 update the screen before gaining access to wxWindowDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 00:47:13 +00:00
Václav Slavík
869dabf8c3 move caret notification after sending the focus event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 00:46:32 +00:00
Václav Slavík
072a81babe (hacky) fix for bg colour handling in wxUniv's win32 theme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 00:45:24 +00:00
Vadim Zeitlin
8a9d5e5a73 removed assert(size != 0) from wxArrayString::Alloc(size) as it was inconsistent with wxArray::Alloc() and wxString::Alloc()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 23:53:47 +00:00
Vadim Zeitlin
9cf8de4c74 implemented IsFixedWidth() correctly for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 22:29:37 +00:00
Vadim Zeitlin
4ec6efd6ab use DEFAULT_CHARSET instead of ANSI_CHARSET
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 22:25:14 +00:00
Julian Smart
c72e7103e4 Changed test for INT32 to work with latest Cygwin. But might break other versions :-(
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 22:25:06 +00:00
Gilles Depeyrot
f63fb56d5e added missing return values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 22:11:02 +00:00
Gilles Depeyrot
2f056c85d1 tweaked conditional compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 22:05:56 +00:00
Vadim Zeitlin
e32d659d4d compilation fixes after previous check in (sorry)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 22:05:19 +00:00
Gilles Depeyrot
4ed09051a2 added include needed for ProjectBuilder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 22:04:08 +00:00
Gilles Depeyrot
0615b5e72a corrected conditional compilation to take wxUSE_POSTSCRIPT into account
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 22:02:08 +00:00
Gilles Depeyrot
853e3ce974 added missing public in declaration of wxMacToolTipTimer class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 22:01:05 +00:00
Gilles Depeyrot
434c9eb58a corrected includes when wxUSE_CMDLINE_PARSER is 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 21:59:52 +00:00
Vadim Zeitlin
2db300c664 Win16 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 21:59:13 +00:00
Julian Smart
d8908b52e6 Small doc changes and added missing files.lst to contrib.rsp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 21:52:55 +00:00
Vadim Zeitlin
3ffbc733a2 patch to fix various filename-related functions for cygwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 17:02:45 +00:00
Vadim Zeitlin
217f9d0767 fixed handling of "a:\" command line arguments, added comment explaining how the conversion from string to arguments array is supposed to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 12:50:06 +00:00
Vadim Zeitlin
734eda8ab9 fixed crash in wxGetCharacterSet when not using iconv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 12:31:55 +00:00
Julian Smart
83665b8122 Moved setup.h out of the way
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 10:59:51 +00:00
Vadim Zeitlin
ae1d0c6c46 fixed bug in wxGrid dimensions calculation (Staffan Ulfberg)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 01:33:47 +00:00
Vadim Zeitlin
dd0fba48ac fixed typo in dtor docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 00:54:53 +00:00
Václav Slavík
8f4fcc4ee0 wxFileCtrl::Update was hiding wxWindow::Update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 00:24:30 +00:00
Václav Slavík
497b78dfac workaround for MGL's weirdness: won't render rectangles of w=1 or h=1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 00:24:16 +00:00
Václav Slavík
69830d1f58 hide mouse when using wxScreenDC in wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 00:24:06 +00:00
Václav Slavík
f16ba4e6fa don't use GTK specific code in wxListCtrl when building wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 00:23:02 +00:00
Václav Slavík
1483041dab fix for wxSYS_COLOUR_LISTBOX representation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 00:22:23 +00:00
Václav Slavík
81809c07b4 don't check for libjpeg,libtiff and libpng when building wxMGL,
they are part of libmgl and we want to reuse them (for two reasons: one, they are
dynamically loaded at runtime; and two, we get symbols conflicts otherwise


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 00:21:42 +00:00
Václav Slavík
bdffd806c3 modified wxPNGHandler to not use png_struct.jmpbuf
(its size is compiler-dependant, so it wasn't possible to use libpng as a DLL,
and that's a problem since MGL exports it's own libpng)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 00:19:53 +00:00
Václav Slavík
b9c98327f7 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 00:19:17 +00:00
David Webster
1c54466d98 Fix to properly find OS/2 wx.rc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 22:49:51 +00:00
David Webster
9167e34072 New module def file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 22:49:14 +00:00
David Webster
f1633a8f6a Resource file updates and setup to configure for generic dirdlg.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 22:48:13 +00:00
David Webster
957aea456c OS/2 does not have a native dirdlg, use generic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 22:47:37 +00:00
Vadim Zeitlin
9b69526274 install wxUniv headers in make install and include wxUniv sources in make dist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 16:04:42 +00:00
Vadim Zeitlin
d7cff34d1f fix a crash when dismissing the popup window because of a key press
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 16:02:21 +00:00
Vadim Zeitlin
74f6bbf951 replaced DeleteEvtHandler with a call to RemoveEventHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 16:01:43 +00:00
Vadim Zeitlin
2e36d5cf81 added and documented wxWindow::RemoveEventHandler()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 16:01:15 +00:00
Vadim Zeitlin
4ccae30a4d compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 14:45:20 +00:00
Julian Smart
170a35e364 Re-added a minimal setup.h file that includes wx/msw/setup.h on Windows,
complains on Unix.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 14:38:45 +00:00
Julian Smart
99718b1776 Some doc tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 14:37:18 +00:00
Vadim Zeitlin
9cf2855015 handle 646 charset under Solaris as US-ASCII
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 14:30:30 +00:00
Vadim Zeitlin
307fd9567e don't crash, even if used incorrectly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 14:30:11 +00:00
Vadim Zeitlin
cafbf6fb1f fixes to handling of the 7 bit ASCII encoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 14:29:33 +00:00
Vadim Zeitlin
1c405bb510 oops, fixed typo breaking iconv constness detection in the previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 12:24:44 +00:00
Vadim Zeitlin
22c3fb2ba3 changes to allow making samples/demos with non GNU make as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 11:59:25 +00:00
Vadim Zeitlin
b7043674e7 don't output the entire iconv() declaration in configure messages, looks ugly and is useless anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 11:54:25 +00:00
Vadim Zeitlin
27fd024644 inserted @IF_GNU_MAKE@ to allow building with other make versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 11:31:21 +00:00
Jouk Jansen
35e92fbf1b Committing in .
Compile update for OpenVMS

 Modified Files:
 	wxWindows/setup.h_vms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 06:58:11 +00:00
David Webster
2c1e8f2ec2 Child positioning fixes and font adjustments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 04:48:36 +00:00
Vadim Zeitlin
9866d9c299 commented out many OnXXX() functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 00:36:43 +00:00
Vadim Zeitlin
c27c87be69 corrected a few bugs in OnGetItemXXX() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 00:36:17 +00:00
Vadim Zeitlin
5ef056a333 removed inexisting Index() version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 00:35:59 +00:00
Václav Slavík
01357b50cd reverted from wxStrdup back to strdup -- sorry SC, you have to find a better fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 00:08:07 +00:00
David Webster
e1146627e2 Fixing font utilities
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-24 23:24:32 +00:00
David Webster
59d77e8381 Removed a conflict indicator...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-24 23:22:26 +00:00
David Webster
2fe57169b5 Final OS/2 Native Font implementation changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-24 23:21:27 +00:00
Robin Dunn
e1a93f46d5 Ensure that endPos > startPos in a couple methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-24 22:47:42 +00:00
Václav Slavík
89a2818048 updates to XRC resources compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-24 21:14:52 +00:00
Václav Slavík
480505bc6d 1. added encodings handling to XRC, so that it is possible
to load resources that don't use English+wxLocale for i18n
2. expat interface can now read non-utf-8 encodings as well


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-24 21:14:42 +00:00
Václav Slavík
cc30b233fb added encodings handling to XRC, so that it is possible to load resources that don't use English+wxLocale for i18n
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-24 21:14:31 +00:00
Václav Slavík
4f61e22c77 iconv-based conversion works again, after being broken for a while
(the code always felt back to wxEncodingConverter)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-24 21:14:21 +00:00
Václav Slavík
c44fdc9401 added dummy <style> handler in order to hide CSS code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-24 21:13:38 +00:00
Václav Slavík
8e1aefe0f2 fixes to
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-24 21:11:46 +00:00
Vadim Zeitlin
fec679a4a7 fixed typo in EVT_WIZARD_HELP definition (patch from Kevin Burge)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-24 21:00:58 +00:00
David Webster
e3bfcacf3a Change up font selection process
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-24 05:45:40 +00:00
David Webster
f138704e73 Revert back to standard point size for fonts in OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-24 05:43:29 +00:00
Robin Dunn
6c5ae2d2a6 Demo cleanup and path issues.
other tweaks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-24 01:24:39 +00:00
David Webster
e58dab20ce Lots of fixes for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-23 23:12:33 +00:00
Julian Smart
bd330a69c9 Commented out deprecated classes: wxProp and wxTab classes; moved some chapters
into topics; removed double-quotes around Hello World section title;
some XRC doc additions


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-23 22:10:02 +00:00
Julian Smart
db0faf5895 Added missing 'break' which caused spurious </FONT></TD> markup before
list items


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-23 21:58:14 +00:00
Vadim Zeitlin
414eab6de6 don't test for VPATH support for GNU make - this is waste of time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-23 17:47:58 +00:00
Vadim Zeitlin
04e7a2161c cache the results of checks for make VPATH support and its GNUishness
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-23 17:35:51 +00:00
Vadim Zeitlin
613d09959e allow building wxWin with non-GNU make (which doesn't support -include)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-23 17:25:39 +00:00
Vadim Zeitlin
74ede4ebf0 replaced non existing wxTE_HSCROLL style with wxHSCROLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-23 15:58:39 +00:00
Vadim Zeitlin
d5f648a9d1 added 2nd wxEvent ctor argument
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-23 15:49:03 +00:00
Julian Smart
d958c9bd17 Added first cut at XRC docs; added font spec for wxWindows manual (new Tex2RTF feature!);
removed section on porting from 1.x.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-23 15:17:44 +00:00
Julian Smart
bebc39e35d Added #include "wx/utils.h" to make it compile for wxBase under Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-23 14:21:52 +00:00
David Webster
7d9211596f Fontutil wxFillLogFont change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-23 14:04:56 +00:00
Vadim Zeitlin
65d877d2b7 typos due to much cut-and-paste: colour -> font in the docs and comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-23 12:06:33 +00:00
Vadim Zeitlin
caa6e137ba recognize 646 charset as US-ASCII (this is how it is used by Solaris)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-23 12:02:40 +00:00
Julian Smart
273b399fe9 Some comments modified to help with documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-23 11:55:09 +00:00
David Webster
828621c2ea More bug fix updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-23 05:48:58 +00:00
Václav Slavík
995c1788f5 added wxGenericDirCtrl handler to XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-23 00:15:13 +00:00
Václav Slavík
6302ab2fa9 fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-23 00:14:31 +00:00
Václav Slavík
1c2e6a2812 added length argument to wxString::wxString(wchar_t*), just like in case of wxChar* one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-23 00:14:10 +00:00
Václav Slavík
4fd5055c0d fixed .cached files on big endian machines and cleaned the code up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-23 00:13:27 +00:00
David Webster
54ffa10747 OS/2 bug fixes and new mod file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-22 23:19:28 +00:00
David Webster
0c53263298 Font change for OS/2 to a smaller font.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-22 23:18:38 +00:00
David Webster
f140b3520b OS/2 bug fix updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-22 23:17:55 +00:00
Julian Smart
4805d825f8 Added screenshot and a few lines of explanation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-22 22:37:13 +00:00
Robin Dunn
85247b3671 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-22 21:00:33 +00:00
Robin Dunn
e00a2cc77a Added OnDragOver returning wxDragCopy so text can be dropped from IE 6.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-22 20:18:42 +00:00
Václav Slavík
b040e242e7 use AM_ICONV for iconv configure checks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-22 18:55:06 +00:00
Václav Slavík
a7b09001af added safety check to wxWindow::ReleaseMouse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-22 18:53:16 +00:00
Robin Dunn
844a4451f6 Fix for when Set is called with wxSameAs to behave just like calling SameAs()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-22 18:30:54 +00:00
Julian Smart
90b5abc1eb Added events topic.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-22 17:46:19 +00:00
Vadim Zeitlin
516cdd5433 added a hack to work around the dummy kill focus messages under GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-22 15:40:06 +00:00
Vadim Zeitlin
9dcd75f8da use standard colours in all ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-22 15:39:40 +00:00
Vadim Zeitlin
17d61cbfb4 added (dummy) implementation of GetMetric(wxSYS_CURSOR_[XY])
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-22 15:39:13 +00:00
Robin Dunn
ce914f7319 Changes to match recent CVS updates, added demo for wxGenericDirCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-22 03:22:03 +00:00
Václav Slavík
1811af8709 clarified legal stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-21 23:29:38 +00:00
Václav Slavík
8f50c527a8 changed WX_PREFIX to WXPREFIX (wasn't in 2.2, can do it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-21 23:29:21 +00:00
Vadim Zeitlin
d5e1f5e06e compilation fix for Borland (hopefully)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-21 22:45:50 +00:00
Julian Smart
4cbc57f086 Tidied/commented FL header files, regenerated docs and filled out Category section.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-21 22:34:42 +00:00
Robin Dunn
293a0a8677 Fixed a typemap.
Added a Python list --> wxArrayInt typemap and wxArrayInt --> Python
list helper.

Added wxMultiChoiceDialog.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-21 21:33:07 +00:00
Ron Lee
c9baf9d738 added missing header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-21 21:30:45 +00:00
David Webster
81d19f3ea5 New Mod Def file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-21 21:25:48 +00:00
Julian Smart
5bdad898eb Now adds 'include file' heading
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-21 21:18:50 +00:00
David Webster
1d3d992e5c More resource files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-21 19:57:54 +00:00
David Webster
98b67b810e More resource files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-21 19:51:49 +00:00
Václav Slavík
70c2fde399 fixed crash in wxSpinCtrl under wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-21 19:03:40 +00:00
Václav Slavík
5397911d62 fixed incorrect positioning of controls in generic wxSpinCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-21 19:03:31 +00:00
Václav Slavík
84c88a17c0 added TAB handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-21 19:03:23 +00:00
Václav Slavík
343e418c21 change WXDEBUG to WXSTDERR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-21 19:03:07 +00:00
David Webster
f3e4a2a414 Dialog updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-21 18:45:09 +00:00
Vadim Zeitlin
bf9adb3a20 added SetLabelFont() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-21 18:11:15 +00:00
Vadim Zeitlin
bf31fa26c7 added wxGetFontFromUser() similar to wxGetColourFromUser()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-21 17:53:00 +00:00
Vadim Zeitlin
d741c58382 added wxGetFontFromUser docs and links to it and wxGetColourFromUser from elsewhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-21 17:52:01 +00:00
Vadim Zeitlin
8a280d9ad3 added wxFont::Ok
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-21 17:49:49 +00:00
Vadim Zeitlin
50e42404fb added an explicit accessor to query the default key value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-21 15:52:03 +00:00
David Webster
c9b9e020ca Commit of merge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-21 14:32:57 +00:00
David Webster
e219d2bfa4 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-21 14:32:35 +00:00
Václav Slavík
50ccbaaa55 added first microscopic part of XRC format docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 23:14:39 +00:00
Stefan Neis
2aa607286c Added missing include for non-precompiled headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 22:02:52 +00:00
Stefan Neis
bd1a676876 Added missing include to os2/private.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 22:02:00 +00:00
Stefan Neis
d75262dbfe Fixed apparent typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 22:00:45 +00:00
Stefan Neis
a4a162522b Added various #includes for non-precompiled headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 22:00:11 +00:00
Stefan Neis
74707ecf7c - Added definition for struct SPBCDATA (missing in EMX).
- Added forward declaration of wxString.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 21:53:18 +00:00
Stefan Neis
0fe5619d25 Fixed compilation problems with gcc on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 21:50:56 +00:00
Stefan Neis
84dd58ce98 Added wchar handling for EMX (gcc on OS/2).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 21:47:45 +00:00
Stefan Neis
0e8455c909 New version with latest additions to filelist.txt.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 21:44:23 +00:00
Stefan Neis
b07a1cb525 Added toplevel.{h,c} to OS/2 files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 21:43:17 +00:00
Stefan Neis
7ee20d36af Added wxUSE_OWNER_DRAWN for wxPM (OS/2)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 21:42:16 +00:00
Gilles Depeyrot
6e73695c59 use wxMac provided wxGetOsDescription with Apple DevTools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 18:22:48 +00:00
Gilles Depeyrot
0e13e96566 added missing include files for Apple DevTools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 17:52:57 +00:00
Stefan Csomor
f152293279 new targets for shared libs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:47:24 +00:00
Stefan Csomor
7864205179 added shared libs targets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:46:37 +00:00
Stefan Csomor
bec721ec75 added proper bracketing of QDflushing for carbon only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:43:30 +00:00
Stefan Csomor
5dbb17e27f corrected wxKill signature, added Env methods (returning false)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:34:36 +00:00
Stefan Csomor
218f97d382 export statement added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:33:37 +00:00
Stefan Csomor
d09487dd4e removed non appearance implementations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:32:42 +00:00
Stefan Csomor
d9e054bc61 resource loader structure added for loading menu bar, apple menu will not get multiple entries under classic anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:32:03 +00:00
Stefan Csomor
fe3fcb057f resource loader structure added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:29:47 +00:00
Stefan Csomor
9b59f1a636 removed all resources that are not needed anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:28:01 +00:00
Stefan Csomor
ffd678371d moved patterns to static structures, added resouce loader struct where needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:27:34 +00:00
Stefan Csomor
53fd991c44 resource stack structure that sets up correct resource, new entry points for shared points
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:26:59 +00:00
Stefan Csomor
5b9255698a added constructor for compliance with wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:24:54 +00:00
Stefan Csomor
ca5e5bad86 menu help under classic was not giving back the correct help menu handle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:24:25 +00:00
Stefan Csomor
4b1c4c2181 naming corrections, scrolling amount fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:23:47 +00:00
Stefan Csomor
4b0b35f185 removed duplicate strdup definition for CW MSL V 7
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:18:51 +00:00
Stefan Csomor
337b24541e added missing string definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:16:02 +00:00
Stefan Csomor
fa15551ceb new static structure for using the correct resource file (needed for shared lib)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:14:11 +00:00
Stefan Csomor
dde587d9bd export statement needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:13:05 +00:00
Stefan Csomor
ac398c14e9 preparation for separated menu items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:12:22 +00:00
Stefan Csomor
9e336cc243 changed the usage of the member vars to be more consistent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:11:37 +00:00
Stefan Csomor
d1a8631363 added new constructor for wxpython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:10:45 +00:00
Stefan Csomor
f7c1de78f2 prefix files for shared library targets on cw mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:09:58 +00:00
Stefan Csomor
ab1437caac under metrowerks mac strdup is not exported
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:09:06 +00:00
Stefan Csomor
724f720f89 correct import and export statements for metrowerks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:06:55 +00:00
Stefan Csomor
f305525708 changed to wxStrdup, since strdup is not guaranteed to be defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:06:13 +00:00
Stefan Csomor
ff297bdd57 new headers for new shared lib targets on codewarrior
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:05:07 +00:00
Vadim Zeitlin
0e0bc92190 added Append(wxArrayString) to wxItemContainer (and so to wxChoice, wxComboBox, wxListBox, ...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 15:20:57 +00:00
Vadim Zeitlin
0fe1f685b4 tried to make wxArrayString(bool autosort) ctor more explicit, e.g. prevent it from being used in implicit conversions from char * to wxArrayString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 15:20:17 +00:00
Vadim Zeitlin
fb42d7c3b4 added support for wxArrayString data in wxVariant
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 15:19:04 +00:00
Václav Slavík
c43430bbac make sure gs_captureWindow is always set to NULL in DoReleaseMouse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 11:28:07 +00:00
Václav Slavík
1914413921 removed tracing from html sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 11:27:48 +00:00
Václav Slavík
349d19426c added tracing of ReleaseMouse and assertion to prevent releasing window with mouse capture
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 11:27:38 +00:00
Václav Slavík
697c5f5148 added WXTRACE env. variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 11:27:26 +00:00
Václav Slavík
786646f3c2 fixed compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 23:34:44 +00:00
Václav Slavík
ead95817ba moved 'show hidden dirs' checkbox elsewhere, the dialog was too wide for wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 23:24:00 +00:00
Václav Slavík
53cf79fa4b rewrote wxGenericFileDialog to use sizers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 23:23:51 +00:00
Václav Slavík
e03ca42681 documentation for wxHtmlWindow::OnOpeningURL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 23:23:28 +00:00
Václav Slavík
04db5c3f8f implemented URLs blocking in wxHtmlWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 23:23:15 +00:00
Václav Slavík
957686c882 don't crash if we can't detect g_wcCharset
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 23:22:48 +00:00
Vadim Zeitlin
dafbe8c0af added the possibility to hide the tip window automatically when the mouse leave the specified rectangle; fixed a few bugs with the window not disappearing automatically
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 21:49:39 +00:00
Vadim Zeitlin
60178eb439 dismiss the popup when an unprocessed key is pressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 21:48:30 +00:00
Vadim Zeitlin
47a9a87d51 documented new CaptureMouse() behaviour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 21:45:58 +00:00
Vadim Zeitlin
a83e14751f compilation/linking fixes for DoCaptureMouse() change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 19:39:53 +00:00
Vadim Zeitlin
4116c22156 Capture/ReleaseMouse() prefixed with Do for the other ports (OS/2, MGL, Motif, Mac)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 19:38:46 +00:00
Vadim Zeitlin
94633ad9f1 maintaint the mouse capture stack in all ports, not just wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 19:31:19 +00:00
Julian Smart
aa8a815b84 Corrected wxTextCtrl doc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 17:44:24 +00:00
Vadim Zeitlin
405d8f4657 fixed crash in iconv_close() as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 15:42:07 +00:00
Gilles Depeyrot
1d63fd6bce renamed wxLogXXX functions with va_list argument to wxVLogXXX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 15:30:39 +00:00
Gilles Depeyrot
3fe34ed0ab changed 'extern inline' to extern only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 15:10:30 +00:00
Gilles Depeyrot
012f2cb251 use "..." instead of <...> for wx includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 14:50:37 +00:00
Gilles Depeyrot
42f30fa288 corrections to XFontName accessors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 14:43:52 +00:00
Vadim Zeitlin
36acb88072 fixed crash in iconv_open() and cleaned up the code a bit further
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 13:15:56 +00:00
Vadim Zeitlin
855d6be778 fixed compilation with wxUSE_WCHAR_T=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 12:20:21 +00:00
Vadim Zeitlin
9ee966ecaf fixed GetDiskFreeSpaceEx calling convention (Markus Greither)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 12:19:43 +00:00
Gilles Depeyrot
8caf72d33e removed __DARWIN__ conditional tests (the help menu doesn't work otherwise)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 08:33:40 +00:00
Gilles Depeyrot
54cb42a69b added IFF image file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 07:48:48 +00:00
Gilles Depeyrot
df06d1a4a1 corrected includes when wxUSE_SOCKETS is not defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 07:36:57 +00:00
Václav Slavík
546b00063e slight corrections, moved bwd compat macros to the end of the file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 23:16:16 +00:00
David Webster
e37db69998 Dialog support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 23:16:16 +00:00
Julian Smart
e598303ae7 Started to improve header comments for FL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 22:34:01 +00:00
Vadim Zeitlin
2fe0ef8a1e fix for Sun CC bug with not calling temporary objects dtor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 20:31:40 +00:00
Vadim Zeitlin
409d5a5860 better native font support for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 20:01:49 +00:00
Václav Slavík
1542c42e72 safer destruction of wxXmlResource::ms_instance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 19:04:50 +00:00
David Webster
b386eeeebe Weekly module def file update.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 17:05:29 +00:00
David Webster
1b086de146 Various OS/2 changes to keep up with general library changes and some new dilaog support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 17:01:08 +00:00
David Webster
19f1a09ac9 TRUE, not true; FALSE, not false....
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 16:58:34 +00:00
David Webster
b4b830ec00 Compile in IFF stuff.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 16:57:51 +00:00
David Webster
289b295104 Various OS/2 changes to keep up with general library changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 16:57:12 +00:00
David Webster
60e2e6c0ff Some WXPM defs for dialog styles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 16:55:45 +00:00
Vadim Zeitlin
cc0e848087 IFF support off by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 16:44:12 +00:00
Jouk Jansen
54d06233d6 Updating OpenVMS makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 15:55:01 +00:00
Vadim Zeitlin
9c470b606a corrected wxHIDE_READONLY documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 15:47:05 +00:00
Julian Smart
847341dbeb Updated VC++ files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 14:33:01 +00:00
Julian Smart
59ae507561 Moved the popup menu event handlers to dialog event handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 11:50:14 +00:00
Vadim Zeitlin
dfb06c62ff don't set WS_POPUP for all windows (fix for my last fix)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 00:15:58 +00:00
Vadim Zeitlin
d297e8ff2a wxUSE_IFF 0 by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 23:57:22 +00:00
Vadim Zeitlin
e33e0b4444 recent MSW changes: wxFrame border styles and wxRadioButton dummy events fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 23:54:40 +00:00
Vadim Zeitlin
5f199b71e3 don't generate clicked events when we just get the focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 23:54:14 +00:00
Vadim Zeitlin
0e08299321 fixed frame border styles (allow creating a friend with a simple or without border, allow frames without captions)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 23:51:49 +00:00
Václav Slavík
6157794cc3 temporary Watcom fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 23:42:48 +00:00
Václav Slavík
7b9f73d205 end with fatal error if cannot start MGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 23:42:37 +00:00
Václav Slavík
20af94c86b Watcom wxMGL makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 23:42:27 +00:00
Václav Slavík
d2de0757b5 Watcom build system for wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 23:42:12 +00:00
Václav Slavík
b3470d76c3 put vertical space before <pre> section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 23:42:01 +00:00
Václav Slavík
824e8eaacc added singleton interface to wxXmlResource, replaces wxTheXmlResource
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 23:41:53 +00:00
Václav Slavík
d9ade1df2f rewrote wxTextFile::OnRead to handle variable-length encodings correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 23:41:02 +00:00
Václav Slavík
8e92ccef9c compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 19:41:33 +00:00
Václav Slavík
7a82af5fee partial update from gtk/changes.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 19:41:09 +00:00
Václav Slavík
f9a03a02b0 updated wxUSE_ICO_CUR comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 19:40:57 +00:00
Václav Slavík
63f8abca79 fixed to the IFF handler, moved into one file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 19:40:18 +00:00
Václav Slavík
1663afc011 added wxUSE_IFF test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 19:38:55 +00:00
Václav Slavík
f3437beb5d wxFont::IsFixedWidth for wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 19:38:39 +00:00
Václav Slavík
84664b4684 wxMGL Watcom makefiles fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 19:38:20 +00:00
Václav Slavík
2eebeb077b wxMGL Watcom makefiles fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 00:18:09 +00:00
Václav Slavík
47793ab85a implemented Alex's <object_ref> symlinks in XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 00:16:54 +00:00
Vadim Zeitlin
12353a277f more DLL compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-16 19:50:01 +00:00
Robin Dunn
32083aa0de Patch for using wxSTC with Borland, #504370
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-16 17:48:48 +00:00
Robin Dunn
5ff5710d55 UPdated the OSX build instructions a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-16 16:10:52 +00:00
Jouk Jansen
a7aef4a92a Committing in .
update OpenVMS compile support

 Modified Files:
 	wxWindows/setup.h_vms wxWindows/include/wx/thread.h
 	wxWindows/src/common/descrip.mms
 	wxWindows/src/common/iffdecod.cpp
 	wxWindows/src/unix/threadpsx.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-16 15:07:55 +00:00
George Tasker
8c71c62c87 Replaced "-erase" calls with "-$(RM)" calls
Defined RM as "erase" if it is not already defined


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-16 13:51:12 +00:00
George Tasker
46b8b00b5e Minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-16 13:40:19 +00:00
George Tasker
6535dbafaf Added checks for wxUSE_IOSTREAMH to determine which iostream(.h) to use
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-16 13:39:50 +00:00
George Tasker
b6e7d3e347 Fixed a '&' that should be an '&&'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-16 10:31:39 +00:00
Gilles Depeyrot
42fa962e31 added missing wxLogStatus function with variable argument list pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-16 10:04:05 +00:00
Robin Dunn
d1e76a376e SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-16 06:54:16 +00:00
Robin Dunn
ea736fec49 wxThread::GetCurrentId for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-16 06:32:40 +00:00
Robin Dunn
1fcfb40de3 wxThread::GetCurrentId() for Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-16 06:30:27 +00:00
Robin Dunn
4958ea8f7b Added wxThread::GetCurrentId(), which returns an ID for the current
thread, even if it is not a wxThread.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-16 06:28:11 +00:00
Robin Dunn
c17e761dc3 Compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-16 02:50:51 +00:00
Robin Dunn
db34b2d45d Regenerated SWIGged sources for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-16 01:03:43 +00:00
Robin Dunn
6556acfa56 Added wx/dirctrl.h to filelist.txt so it will get installed.
Regenerated makefiles and such.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-16 01:01:00 +00:00
Vadim Zeitlin
a53e32df70 added WXDIRREL needed for contrib samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-16 00:45:57 +00:00
Vadim Zeitlin
80e8062f67 lookup the classes in the hash table if it had been already set up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-16 00:34:41 +00:00
Václav Slavík
4a1b95962f merged another part of Alex's work (LoadMenuBar w/ parent)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-15 23:37:55 +00:00
George Tasker
1ad12a5699 Added /nologo to the CFLAGS to match other makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-15 21:31:54 +00:00
George Tasker
b311dc08be dummy(dll).obj is now created in wxWin/$D rather than wxWin/src/msw/$D
makefile.vc and makebase.vc no longer override the location of dummy(dll).obj that is specified in makevc.env
if wxWin/include/wx/msw/setup.h does not exist, setup0.h is copied to setup.h
[BASE builds]setup.h is no longer used from wxWin/include/wx, it is now used just like with makefile.vc.  setup.h is copied from wxWin/include/wx/msw into wxWin/lib/base(d)/wx and all references to setup.h now read this location


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-15 20:32:23 +00:00
George Tasker
2557f8d858 Changed version to 233
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-15 20:28:00 +00:00
Robert Roebling
4b6b4dfcf4 Added IFF handler.
Minor doc updates.
  Corrected configure for SGI OpenGL (wx-config related).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-15 17:57:08 +00:00
Vadim Zeitlin
13b1f8a7e6 added a fix for cygwin and cleaned up wxGetWorkingDirectory()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-15 17:36:20 +00:00
Vadim Zeitlin
ab2a521063 added more files to wxBase distrib (and unzip.h to the filelist)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-15 17:04:33 +00:00
Robert Roebling
9b72a74d94 gdk_rgb doesn't work on SGI.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-15 16:21:09 +00:00
Václav Slavík
3dde6c7293 case insensitive HHP files and fixed buffer overflow vulnerability
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-15 16:20:25 +00:00
George Tasker
4888e623a6 Added checks for wxUSE_IOSTREAMH to #include the correct header file based on setup.h settings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-15 14:49:31 +00:00
Robin Dunn
68320e40cd Added wxGenericDirCtrl and other varioius updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-15 04:54:19 +00:00
Václav Slavík
c7206e6424 reverted my locale change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-15 00:09:09 +00:00
Stefan Csomor
2c724d2535 changed processing of events to only process the events that were logged when entering wxMacProcessNotifierEvents, ignoring eventually added new ones during notifier processing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-14 21:04:31 +00:00
Stefan Csomor
4f5a32506a fixed MouseUp handling when window was captured
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-14 20:56:41 +00:00
Stefan Csomor
d11715669d added missing break in switch statement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-14 20:40:28 +00:00
George Tasker
7ac13b21fe Fixed '_' chars that were not quoted with a '\'
Fixed layout problems for functions that had overloaded \func{} defs for the function.  Problem was that there needs to be a blank line between them, or they all get concatenated
Changed a bunch of "char*" to "char *", as the (just slightly) larger number of occurances use "char *" rather than "char*" throughout the .tex files


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-14 20:32:08 +00:00
Robert Roebling
ed60b5022b Fix wxClipboard.
Fix enter and leave events.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-14 20:29:18 +00:00
Stefan Csomor
2078220ed6 since DoScreenToClient and ClientToScreen in toplvlcmn are implemented by calling the superclass implementation, we have to avoid shifting by the client origin twice. had to change MacWindowFromPoint therefore too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-14 20:23:49 +00:00
Vadim Zeitlin
42c95b077f make locale modified them, not me
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-14 19:10:41 +00:00
Vadim Zeitlin
53f6aab752 added wxFont::IsFixedWidth(), documented it and implemented for wxGTK/Motif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-14 19:04:35 +00:00
Stefan Csomor
f175912347 added flushing for MacOS X buffered window immediatly when using wxWindow::Update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-14 18:08:59 +00:00
Vadim Zeitlin
f6106dae23 made the alphabetic class order more alphabetic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-14 17:14:29 +00:00
Vadim Zeitlin
f3845e889c made the alphabetic class order more alphabetic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-14 16:40:44 +00:00
Stefan Csomor
a3590de1a3 corrected apple menu and help menu anomalies under carbon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-14 14:13:48 +00:00
Stefan Csomor
f1ba2ee8c1 expanded autotranslation of Exit-Quit to items having accelerators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-14 14:13:08 +00:00
Vadim Zeitlin
3d96d41115 added missing WXDLLEXPORTs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-14 12:14:38 +00:00
Vadim Zeitlin
ade7e576a1 fixed warnings about double to int conversions, defined PI as a constant, untabbed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-14 12:07:30 +00:00
Gilles Depeyrot
ea44a6310e added wxLog functions with a variable argument list pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-14 07:10:34 +00:00
Václav Slavík
7acfb99907 removed wxYield from wxHtmlWindow (seems to work w/o it and yielding caused reentrancy problems)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-14 00:22:17 +00:00
Václav Slavík
eeadb14c3d removed setup0.h artifacts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-14 00:22:03 +00:00
Vadim Zeitlin
409bd320f3 do NOT append extension to the library names which already have it!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-14 00:17:17 +00:00
Vadim Zeitlin
90c1530adf 0. extracted toolbar colour mapping stuff to its own function
1. wxToolBar adjusts the colours properly when the system colours change
2. wxImageList uses light grey as the transparent colour for the bitmaps


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 23:04:11 +00:00
Vadim Zeitlin
39ed8d8a14 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 21:00:28 +00:00
Vadim Zeitlin
684c68fd7e really fixed toolbar mapping bug (finally, it was the programmer bug...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 20:59:18 +00:00
Vadim Zeitlin
3a3898f8f1 fixed toolbar mapping bug (optimizer bug?) in the release build (bug 501485)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 20:45:53 +00:00
Stefan Csomor
513dad4531 reverted DoReadLong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 19:25:04 +00:00
Stefan Csomor
78500b7db1 corrected DoReadLong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 19:20:16 +00:00
Stefan Csomor
c99d6f997c corrected GetDepth method and wrong disposal calls for pixmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 19:16:14 +00:00
Vadim Zeitlin
66689a9ee9 removed MSWDetachWindowMenu() (part of the MDI change from yesterday which I forgot to commit)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 18:34:26 +00:00
Stefan Csomor
d60f101215 changed the MulDiv Macro removing macheader dep.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 17:56:22 +00:00
Gilles Depeyrot
67547666c9 use "..." instead of <...> for wx includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 17:41:56 +00:00
Stefan Csomor
4dfbcdd53d added type and creator routines for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 17:38:55 +00:00
Gilles Depeyrot
8cdb648efa corrections for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 17:37:23 +00:00
Stefan Csomor
adb1282e8e added missing functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 15:59:44 +00:00
Stefan Csomor
263a72f381 switched to proper const scheme for findfolder on mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 15:58:16 +00:00
Stefan Csomor
7002c07c86 corrected retrieval of a long
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 15:57:24 +00:00
Stefan Csomor
712abf6342 added correct printing headers for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 15:55:46 +00:00
Robert Roebling
dc9b623b95 Typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 14:55:59 +00:00
Robert Roebling
2328adbe8b A bit of translation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 14:54:47 +00:00
Robert Roebling
7b77507424 Remove surplus wxTheApp from wxApp...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 14:50:02 +00:00
Robert Roebling
6cfacd2b8a Remove more FreeType.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 14:48:49 +00:00
Robert Roebling
9c135b1ec7 Remove FreeType.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 14:44:42 +00:00
Gilles Depeyrot
36e80997f5 applied ANI images patch and added wxUSE_ICO_CUR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 14:22:02 +00:00
Václav Slavík
818ff14582 make all now compiles .mo catalogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 13:48:08 +00:00
Václav Slavík
658974ae66 applied ANI images patch and added wxUSE_ICO_CUR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 12:01:42 +00:00
Vadim Zeitlin
fafcf1271d fixed Set(month, day, year) docs (bug #502944)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 11:35:23 +00:00
Vadim Zeitlin
65c36a73c6 applied patch for safer GIF decoding (502103)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 01:26:57 +00:00
Vadim Zeitlin
4e152a239b fixed several resource leaks related to MDI menus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 01:26:04 +00:00
Vadim Zeitlin
28978e0c5a fixed wxRichEditModule::Load(): should return an error if the richedit DLL couldn't be loaded previously, not success
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 00:24:12 +00:00
Vadim Zeitlin
d4b45f48c6 fixed a huge memory leak in wxStreamBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 00:05:37 +00:00
Vadim Zeitlin
79d26b329e SetValue() doesn't call Clear()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-12 22:45:23 +00:00
Gilles Depeyrot
c97ff4d83d changed PPC struct alignement setting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-12 19:56:08 +00:00
Gilles Depeyrot
89a11b79f6 changed PPC struct alignement setting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-12 19:48:41 +00:00
Vadim Zeitlin
be93a00bb4 made XPMs const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-12 15:00:25 +00:00
Vadim Zeitlin
9dae7a0234 Sun warning and Unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-12 14:59:45 +00:00
Robert Roebling
005f5d1878 Some additions to the 12-bit patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-12 12:21:57 +00:00
Robert Roebling
8ab696e0a9 Applied patches for wxBU_EXACTFIT to button.cpp and tglbtn.cpp
Applied patch for SGI's 12-bit visuals to bitmap.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-12 11:36:43 +00:00
Robert Roebling
d491523b1f Corrected wxDialog event table under wxMac and wxOS2 as per the other ports.
Corrected generic validator for wxComboBox as per bug report.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-12 09:49:19 +00:00
Václav Slavík
5ce3910231 fixed m_OldAlign hiding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-12 00:50:59 +00:00
David Webster
5e5390ddfe Oops, left some personal stuff in here.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 23:12:32 +00:00
David Webster
81039e0de1 OS/2 Statusbar fixes in DC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 22:39:45 +00:00
David Webster
dd7d1435db OS/2 Statusbar fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 22:39:24 +00:00
Gilles Depeyrot
d569ea8dfb correction to shared library build command for HP (needs -fPIC to link)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 19:54:03 +00:00
Vadim Zeitlin
295272bdcd more Sun C++ compiler warning fixes: in particular, added an ugly but
necessary workaround for avoiding warning in the .xpm files


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 19:33:37 +00:00
Stefan Csomor
40325b2630 corrected wxMenuBar::Insert , ::Append for a correct title even when the menubar is already attached, also removed a menu->attach which is not necessary anymore.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 19:14:30 +00:00
Vadim Zeitlin
4d23a4bf41 added support for wxALIGN_XXX in wxStaticBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 18:59:48 +00:00
Robert Roebling
f283a57525 Corrected wxFrame::SetMenuBar() for repeated calls
including for NULL.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 18:06:08 +00:00
Stefan Csomor
ca165ce9af new libraries added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 18:03:35 +00:00
Stefan Csomor
b5ed33644a added new files from common
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 17:55:18 +00:00
Stefan Csomor
cf6674a42d include changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 17:50:01 +00:00
Stefan Csomor
6a17ca35f7 destructor fix in case it is not a real dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 17:49:04 +00:00
Gilles Depeyrot
912aaab35c added missing const for Apple DevTools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 16:13:56 +00:00
Vadim Zeitlin
cc422788b8 reverted stupid compilation breaking typo checked in previously
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 15:05:37 +00:00
Robert Roebling
60ec3e58b8 Move notebook size code for mac to mac/notebook.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 14:34:38 +00:00
Robert Roebling
5c92264250 Make log.cpp compilable under CW 5.2 non-Carbon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 14:33:03 +00:00
Stefan Csomor
66a09d4776 fixes for using non opaque structs under debug classic, support for ATSU and pixel pattern.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 14:07:02 +00:00
Stefan Csomor
5921f83f73 fewer standard includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 14:01:42 +00:00
Stefan Csomor
4f357b2f58 changed to non-opaque structs for debugging (makes debugging useful, otherwise we cannot view toolbox structs)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 13:49:41 +00:00
Stefan Csomor
e2aa719c68 additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 13:48:25 +00:00
Stefan Csomor
477594f737 ATSU Rendering Support added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 13:27:19 +00:00
Jouk Jansen
dae752d4b1 Committing in .
wxMOTIF updates for OpenVMS

 Modified Files:
 	wxWindows/setup.h_vms wxWindows/src/generic/descrip.mms
 	wxWindows/src/motif/descrip.mms
 	wxWindows/src/motif/glcanvas.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 07:37:33 +00:00
Vadim Zeitlin
335c9e32fe minor wxFRAME_EX_CONTEXTHELP updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 00:02:48 +00:00
Vadim Zeitlin
3a3ef0bf61 changes wxFRAME_EX_CONTEXTHELP value to avoid clash with wxWS_EX_TRANSIENT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 00:01:54 +00:00
Vadim Zeitlin
fe0d7697ca no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 00:01:20 +00:00
Vadim Zeitlin
68d02db3ed moved toolbar adjustments for the client size from wxTLWMSW to wxFrameMSW to fix problems in wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-10 23:58:31 +00:00
Václav Slavík
37fd1c97bd 1. finished porting wxDir/FileDialog to MS-DOS
2. added code to dynamically enable/disable controls in wxFileDialog depending on which
   actions are permitted at the moment (e.g. you can't click the 'Up' button if
   you're at / directory


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-10 23:25:07 +00:00
Vadim Zeitlin
8af27d1dee compilation fix for VC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-10 22:40:36 +00:00
Gilles Depeyrot
a3d3d3bf6c unified UMAPrOpen/UMAPrClose prototypes for session and non-session printing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-10 21:31:35 +00:00
Gilles Depeyrot
925ee99f10 disable MetroNub stuff for CodeWarrior 5.3 Carbon builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-10 21:09:29 +00:00
Gilles Depeyrot
9869abf7c1 changed PPC struct alignement setting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-10 21:09:23 +00:00
Gilles Depeyrot
ebef72d60c changed PPC struct alignement setting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-10 20:46:51 +00:00
David Webster
d0a6b27997 Consildation and cleanup of global variables. Mostly all delclared and all defined in one header and module.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-09 23:22:53 +00:00
David Webster
0eb529d9e4 Support for WXPM's native font info.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-09 23:18:07 +00:00
David Webster
511ac294da Lots of cleanup, mostly consolidating globals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-09 23:16:22 +00:00
Vadim Zeitlin
e297d36e02 a few things I'd like to do
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-09 21:18:24 +00:00
Robin Dunn
623ba2e118 Updated to use correct value for wxSTC_MASK_FOLDERS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-09 21:14:48 +00:00
Vadim Zeitlin
e9f692911d bug fix for wxBufferedInputStream::LastCount() after Read()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-09 20:18:20 +00:00
Robert Roebling
42dcacf02b wxDirDialog no longer shows hidden files. I don't
know yet how to implement the reparsing when the
    user checks/unchecks the "Show hidden directories"
    button. And my mail is down...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-09 18:00:39 +00:00
Vadim Zeitlin
01a63363e2 mention that wxDialog doesn't derive from wxPanel any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-09 17:03:42 +00:00
Vadim Zeitlin
40302bb5c8 winundef.h is needed for wxBase as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-09 13:09:06 +00:00
Vadim Zeitlin
2c36ec29ca copy dummy*.cpp files as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-09 13:04:37 +00:00
Vadim Zeitlin
903506828b fixes for the compilation warnings with Sun CC:
1. some fixes for "String literal to char * conversion" warnings (many
   more left in the *.xpm files)
2. fixes for "assignment of function to extern "C" function"
3. a few other miscellaneous ones


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-09 12:49:12 +00:00
Vadim Zeitlin
53fd33dcf1 no (real) changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-09 01:35:48 +00:00
Vadim Zeitlin
46d5292540 use wxTE_RICH for the log window now that it should scroll correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-09 01:34:11 +00:00
Vadim Zeitlin
a5aa80862c added, implemented, documented wxTE_RICH2 and wxTextCtrl::GetRange()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-09 01:32:02 +00:00
Vadim Zeitlin
88633ca7c6 make listbox taller
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-09 01:31:05 +00:00
Vadim Zeitlin
64b54de8dd exercise wxTextCtrl::GetRange
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-09 01:30:36 +00:00
Vadim Zeitlin
3e482a6486 wxNullFont shouldn't be passed to wxDC::SetFont()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-09 00:14:43 +00:00
Václav Slavík
a756f21001 use the new wxSystemSettings API everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:53:01 +00:00
Václav Slavík
5e673a6a2a more MS-DOS stuff in generic wxFileDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:38:11 +00:00
David Webster
f5b5c15cbe OS/2 NativeFontInfo support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:37:40 +00:00
Václav Slavík
6ed897586a disable long filenames under DJGPP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:37:32 +00:00
Václav Slavík
ab8d2b0278 expand . into cwd
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:36:57 +00:00
Václav Slavík
7a5df8619c MS-DOS fix to wxDir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:36:51 +00:00
Václav Slavík
db5333a545 wxDirDialog port to MS-DOS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:36:00 +00:00
Václav Slavík
984152a6be compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:35:42 +00:00
Václav Slavík
8a05370420 use the new wxSystemSettings API everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:35:26 +00:00
David Webster
cc95f4f947 OS/2 NativeFontInfo support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:33:27 +00:00
Vadim Zeitlin
6a41b213d2 don't allow setting an invalid font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:29:33 +00:00
Václav Slavík
e1c6c6aede use the new wxSystemSettings API everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:27:54 +00:00
Václav Slavík
babeff0d21 wxSystemSettings docs correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:26:01 +00:00
Václav Slavík
925fe73a20 backward-compatiblity functions must go to wxSystemSettings,
otherwise (non-virtual) wxSSNative version would be used :(


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:25:53 +00:00
Václav Slavík
9bd9afc71d reverted my previous fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:25:30 +00:00
Václav Slavík
159960c0e7 wxRTTI for wxPopupWindow in wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:25:23 +00:00
Václav Slavík
90c9fcc5fd DLL compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:25:01 +00:00
David Webster
293fbe1dc0 Getting rid of odd control characters at EOL in source.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 22:28:40 +00:00
Gilles Depeyrot
2ed76cd9b7 wxGenericDirDialog related corrections for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 22:05:42 +00:00
Václav Slavík
ed72fbf723 moved InteractiveMove to wxUniv's wxTopLevelWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 18:06:15 +00:00
Václav Slavík
34885a147b use UNIX wxDir if available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 18:03:14 +00:00
Václav Slavík
621b405fb5 infinite recursion fix in wxTLW/Univ
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 18:02:31 +00:00
Julian Smart
d7d176241e Moved include for Windows compilation; minor doc tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 14:15:57 +00:00
Jouk Jansen
ef338f9a93 Committing in .
Added [.src.common]dircmn.cpp in makefile for OpenVMS

 Modified Files:
 	wxWindows/src/common/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 10:13:46 +00:00
Gilles Depeyrot
799ea01170 implement out-of-line destructors where needed instead of using __DARWIN__
specific conditional compilation


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-07 21:52:28 +00:00
Robin Dunn
0926b2fcc2 Prevent crash when m_defGridAttr is NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-07 21:38:12 +00:00
Robin Dunn
3bbeffe4b0 Added sample of using client data to the wxComboBox demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-07 19:15:47 +00:00
Robin Dunn
e84d9dfaf6 Clean up $(WXDIR)\$D too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-07 18:35:37 +00:00
Vadim Zeitlin
2f294a9c38 added the splitter event processing and also cleaned up the sample a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-07 18:33:30 +00:00
David Webster
2dab12be49 clipboard update and latest module definition file of .dll build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-07 18:08:23 +00:00
David Webster
793c7f9b9c toplevel fixes to deal with base class fixes. Create interface change to support passing in stacksize and OS/2 SystemSettingsNative support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-07 16:51:01 +00:00
David Webster
5150c01688 OS/2 fix to support removal of WXPM ifdefs in header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-07 16:45:23 +00:00
David Webster
f9e507946d implemented OS/2's wxSystemSettingsNative
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-07 16:44:45 +00:00
David Webster
6e33b9aa26 Removal of WXPM ifdefs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-07 16:44:11 +00:00
David Webster
076d1afa4e toplevel fixes and USE_RUL and PRTOTCOL stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-07 16:40:17 +00:00
David Webster
cc8db99b15 No longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-07 16:18:19 +00:00
Vadim Zeitlin
08a9473bbf don't assign string literals to a char * variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-07 15:24:41 +00:00
Vadim Zeitlin
6363699a28 patch from Dimitri fixing crashes when decoding the invalid GIFs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-07 14:34:13 +00:00
Vadim Zeitlin
471944dcf6 fix for GL library soname under Solaris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-07 14:25:38 +00:00
David Webster
f45e4fad13 Toplevel window support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-07 00:49:52 +00:00
David Webster
5d44b24ee6 OS/2 scrolling support for controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-07 00:49:10 +00:00
David Webster
bdb2ce96bb Some things needed in the base class of OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-07 00:45:57 +00:00
David Webster
3011bf2bdc Support for Toplevel window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-07 00:44:31 +00:00
David Webster
c9782ca3af Some needed OS/2 things in the base class for OS/2 Toplevel support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-07 00:43:02 +00:00
Vadim Zeitlin
91b13a3ba4 unfortunately the fuzzy colour comparison is really needed (why?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-07 00:38:05 +00:00
Václav Slavík
0cd5da34b2 hasSubDirs already defined in dircmn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 23:11:52 +00:00
Václav Slavík
6b598e0551 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 23:11:47 +00:00
Václav Slavík
b42f739ab0 Nuked Sections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 23:11:29 +00:00
Václav Slavík
748fcded3c merged both implementations of wxGenericDirCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 23:10:56 +00:00
Vadim Zeitlin
e0fd69f760 removed extra erroneous DeleteContents()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 22:46:12 +00:00
Gilles Depeyrot
a7ae711258 moved TARGET_CARBON to mac private header
disabled MacOS X -cpp-precomp option which has problems with _T macro and
precompiled Carbon headers (order of includes has changed)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 16:13:48 +00:00
Gilles Depeyrot
24885e9bf9 unified Carbon/Classic and Session/Port printing member name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 16:00:22 +00:00
Gilles Depeyrot
f1f6d4659c removed conditional for Apple DevTools now that mac headers are not included
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 15:59:13 +00:00
Gilles Depeyrot
f2b6a31a9e removing dependancy on mac headers from public wx headers (eventually adding wx/
mac/private and typecasts)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 15:54:13 +00:00
Gilles Depeyrot
1d78308f90 unified Carbon/Classic and Session/Port printing member name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 15:49:54 +00:00
Gilles Depeyrot
88fe14c06f removing dependancy on mac headers from public wx headers (eventually adding wx/
mac/private and typecasts)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 15:48:16 +00:00
Gilles Depeyrot
bcaba9a036 unified Carbon/Classic and Session/Port printing member name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 15:43:29 +00:00
Gilles Depeyrot
fa9d617ba4 moved TARGET_CARBON define to private include for MacOS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 15:42:13 +00:00
Gilles Depeyrot
a2e9bc18a8 use "..." instead of <...> for wx headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 15:40:15 +00:00
Gilles Depeyrot
dea106e532 removing dependancy on mac headers from public wx headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 15:38:43 +00:00
Václav Slavík
192e6679f6 copyright update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 14:51:28 +00:00
Václav Slavík
a039ccbfc5 1. fixed CR/LF mess (sorry)
2. applied Dimitri's patch for foo..bar case
3. explained while my workaround for MSLU bug will have to stay here forever


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 14:50:55 +00:00
Gilles Depeyrot
bc0de1ee82 correction for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 14:48:08 +00:00
Robert Roebling
5d68475643 Further correction to wxListCtrl line wrapping.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 14:39:37 +00:00
Gilles Depeyrot
f052d487e3 removed unneeded ;
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 14:12:51 +00:00
Gilles Depeyrot
ea48aff392 added missing virtual for overidden function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 14:12:11 +00:00
Robin Dunn
d4539c1a92 Updated wxPython version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 01:43:46 +00:00
Robin Dunn
ff06420077 Updated DLL version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 01:41:55 +00:00
Robin Dunn
1893b02945 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 01:40:50 +00:00
Robin Dunn
7cdecac3b7 Some compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 01:14:49 +00:00
Robin Dunn
6abe8375ac SWIGged code updates for wxMAC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 01:14:26 +00:00
Robin Dunn
b5a5d6473c Some updates to go with changes in current CVS.
Added wxSplashScreen.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-05 23:45:33 +00:00
Václav Slavík
cf31a1d7b6 fix order of initializiton of rootless treectrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-05 23:27:42 +00:00
Václav Slavík
c7c72b4192 fix for root behavior under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-05 23:26:51 +00:00
Julian Smart
5c5a3c4130 Added bone structure for Gizmos docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-05 23:16:44 +00:00
Julian Smart
3680bcc640 Added makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-05 23:02:30 +00:00
Julian Smart
499b2ed82c Added bone structure for FL documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-05 22:59:59 +00:00
Robin Dunn
bec17edf4e Fixed an off-by-one error in the rectangle converter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-05 22:49:02 +00:00
Robin Dunn
fc29e86ef7 Fixed gs_metricsMap so the constants line up correctly, there was an
off-by-one since the wx enum starts at 1 instead of 0.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-05 22:48:25 +00:00
Robin Dunn
36e2bb4eed Added missing wxNativeFontInfo::GetFamily(). I think I did it right
but somebody who knows should check it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-05 22:47:13 +00:00
Václav Slavík
739fa5c49f move wxMGL cursor files to Scitech MGL itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-05 19:30:29 +00:00
Václav Slavík
0b8e5844ce MSLU fixes for RichEdit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-05 19:30:05 +00:00
Stefan Csomor
0d54461f4e corrected the non masked blitting code, brush hatched colors corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-05 16:40:58 +00:00
Stefan Csomor
573ac9dc6e made sure the alignment for the non-carbon fake list def resource is always 68k
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-05 16:40:14 +00:00
Stefan Csomor
12cd5f34e7 memory leak fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-05 16:39:22 +00:00
Stefan Csomor
9c152f8094 when the system is not yet start fully (macos not inited) mutexes and critical sections take shortcuts, these are ok since at this time there is always only on thread
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-05 16:37:49 +00:00
Stefan Csomor
0e5a4d2032 added method for finding out, whether the macos system is fully initialized for this app (e.g. it is not during static initialization)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-05 16:36:46 +00:00
Václav Slavík
c6603ac2ff MSLU fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-05 16:25:58 +00:00
Václav Slavík
2ef44ad563 REALLY fixed the leak (Dimitri)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-05 16:25:51 +00:00
Robert Roebling
bf632eddcd Recorrected calculation of client size in wxListCtrl.
Also added comments on why this is correct.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-05 15:58:52 +00:00
Gilles Depeyrot
8c23ed4e21 removed obsolete files and added missing ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-05 12:06:53 +00:00
Vadim Zeitlin
8e9ff81573 fixed incorrect calls to SelectObject(hdc, NULL)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-05 01:34:29 +00:00
Vadim Zeitlin
70d0f9359e fixed resource leak in CreateIconFromBitmap() (Dimitri)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-05 01:25:09 +00:00
Václav Slavík
24c41ec5a0 fixed memory leak when saving XPMs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-04 22:51:55 +00:00
Stefan Csomor
b34039cf55 removing dependancy on mac headers from public wx headers (eventually adding wx/mac/private and typecasts), carbon additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-04 22:06:19 +00:00
Gilles Depeyrot
26e83d4ff1 added missing include file for Apple DevTools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-04 21:52:39 +00:00
Gilles Depeyrot
962cbf2ee0 added missing casts after removal of dependancy on mac headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-04 21:51:02 +00:00
Julian Smart
6dcc2372e8 Reversed breakage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-04 17:47:18 +00:00
Julian Smart
7fc0bd1c05 Fixes for GNUPro 00r1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-04 17:36:18 +00:00
Vadim Zeitlin
a4e2b27676 fixed assert failure in wxStaticCast()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-04 17:27:15 +00:00
Stefan Csomor
76a5e5d21e removing dependancy on mac headers from public wx headers (eventually adding wx/mac/private and typecasts)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-04 17:26:02 +00:00
Stefan Csomor
5128e3be68 removing dependancy on mac headers from public wx headers (eventually adding wx/mac/private)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-04 17:19:28 +00:00
Stefan Csomor
5273bf2fd3 removing dependancy on mac headers from public wx headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-04 17:13:39 +00:00
Stefan Csomor
fd1bc7fcb3 removing dependany on mac headers from public wx headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-04 17:09:59 +00:00
Stefan Csomor
f2c16a0b2c removing dependany on mac headers from public wx headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-04 17:00:38 +00:00
Vadim Zeitlin
138e15024a fixed the dialog event table (bug #498611)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-04 15:20:01 +00:00
Julian Smart
abad53678b Corrected (maybe) the object.h token syntax; corrected typo in makefile.g95
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-04 14:18:59 +00:00
Vadim Zeitlin
44b62d54c6 always make the name of the file to replace absolute before using it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-04 13:06:28 +00:00
Vadim Zeitlin
3752e0abf1 typo which prevented TMP env var from being used in CreateTempFile fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-04 13:04:42 +00:00
Julian Smart
df6e7577e3 Fixed missing membersections bug and also bug with functions not being written
in the right class


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-04 11:06:09 +00:00
Vadim Zeitlin
903b61cc9d fixed wxIsPathSeparator() to work for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-04 01:39:22 +00:00
Václav Slavík
c6b3a07ceb fixed MSW makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 23:16:06 +00:00
Václav Slavík
d394f4791d made wxImageHander's default values consistent with wxImage (doesn't matter, wxImage passes index explicitly)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 23:08:59 +00:00
Václav Slavík
6a253da1fb (Hopefully) fixed bad MSW makefiles (Vadim, can you please check if I haven't screw up something in that executable noise?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 23:08:41 +00:00
Vadim Zeitlin
414c639cc2 moved Watcom thread stack size fix from .h to the .cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 19:07:32 +00:00
Julian Smart
bf16085dc0 Added ignoreBadRefs so e.g. the PMF manual doesn't generate bad references to
wxWindows classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 18:23:35 +00:00
Robin Dunn
4aaef122cb PyCrust updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 18:19:16 +00:00
Robin Dunn
1278f7fcc5 Fix for Python 2.2 issue
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 18:18:55 +00:00
Robin Dunn
5a2930ab79 Move [GS]etDefaultItem up to wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 18:17:19 +00:00
Robin Dunn
c4c2f218f1 use proper style name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 18:16:35 +00:00
Vadim Zeitlin
0a33446c8e don't crash in UnselectAll() if the tree has no root
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 17:39:28 +00:00
Vadim Zeitlin
2fb203e6ef fixed memory leak in wxHTTP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 17:18:38 +00:00
Vadim Zeitlin
761df41e86 compilation fix for recent commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 17:16:27 +00:00
Vadim Zeitlin
6c3422e909 added wxRTTI macros to wxPopupComboWindow and wxPopupTransientWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 16:01:02 +00:00
Vadim Zeitlin
b0fc883297 rearranged functions by topics, got rid of the macros section and reduced the miscellaneous one and also added the alphabetical function list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 15:59:27 +00:00
Julian Smart
eb4200905f Added code to make it not duplicate membersections for overloaded functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 14:23:33 +00:00
Jouk Jansen
8f52ea33e9 Committing in .
Updated OpenVMS compile support

 Modified Files:
 	wxWindows/setup.h_vms wxWindows/src/common/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 14:15:25 +00:00
Julian Smart
3689307fd1 Added FlushAll to CloseClass, otherwise text was only flushed right at the end,
and appeared in one file.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 13:34:12 +00:00
Gilles Depeyrot
f703588066 added missing include file for Apple DevTools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 12:47:14 +00:00
Julian Smart
31dc7e4995 Added main() and corrected VC++ project settings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 12:02:47 +00:00
Stefan Csomor
1c66f293b6 added plain "*" as wildcard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 10:25:42 +00:00
Stefan Csomor
4c4d66e1e4 added correct temp folder path for mac classic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 09:47:22 +00:00
Stefan Csomor
c9fdc1071b corrected graying out, only to be executed when background is gray or white
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 09:29:20 +00:00
Ron Lee
19f478fdd7 Changed test to reflect the real current state of dynamic loading
dependencies.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 06:34:21 +00:00
Ron Lee
deab45402f Use GetFullPath not GetFullName in OnWrite else we'll always write the
file to the cwd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 06:22:38 +00:00
Ron Lee
6fe7378863 Added (and documented :) optional stack size specification for wxThread.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 05:53:39 +00:00
Vadim Zeitlin
f882d57e93 fixed SetInsertionPoint() for the rich text controls (ugly hack)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 00:49:05 +00:00
Vadim Zeitlin
309824154b log textctrl should be readonly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 00:45:22 +00:00
Vadim Zeitlin
5262eb0a98 suppressed wrong debug error messages from SetFocus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 00:42:57 +00:00
Vadim Zeitlin
6386110d02 some brush tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 00:13:35 +00:00
Vadim Zeitlin
eb729cd37a added wxRTII macros to wxPopupWindow under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-02 23:18:11 +00:00
Vadim Zeitlin
15ce54dae1 fixed NotMSW flag handling in the common files (now for the makefiles)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-02 23:08:56 +00:00
Vadim Zeitlin
bb16e81453 fixed NotMSW flag handling in the common files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-02 23:05:22 +00:00
Julian Smart
7fd62be2af Attempted to alter project settings for wxBase, Release mode, with only partial success
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-02 18:14:54 +00:00
Václav Slavík
649d13e837 fixing effects of my lack of English skills: GetImagesCount back to GetImageCount
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-02 17:09:43 +00:00
Václav Slavík
f02ff0a7bd updated tags info
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-02 17:09:01 +00:00
Václav Slavík
9d4ca3aa8f fixed missing wxprec.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-02 17:08:49 +00:00
George Tasker
3fb676f87d Replaced 'delete' calls with wxDELETE() calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-02 15:25:17 +00:00
Václav Slavík
2e8b69c748 regenerated makefiles (forgot to do it after changing filelist.txt... so much for advantages of having everything in the CVS...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-01 23:14:52 +00:00
Václav Slavík
a7061e3dc0 wrong directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-01 23:14:11 +00:00
Václav Slavík
a61d25e639 multiple images support in wxImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-01 23:13:54 +00:00
Václav Slavík
60d43ad883 support for multiple images in one file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-01 23:13:37 +00:00
Václav Slavík
05813ada9a 1. applied (heavily modified) patch for reading CUR files by Chris
2. fixed MIME types (changed to image/x-{bmp,ico,cur})
3. (hopefully) reduced excessive amount of spaces used in code formatting
4. made error messages human readable


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-01 23:13:02 +00:00
Gilles Depeyrot
a103111bae wxSystemSettings class API face lift: better names for its methods (wxMOTIF)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-01 17:28:50 +00:00
Gilles Depeyrot
563f868d38 implemented native font stuff for wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-01 17:27:49 +00:00
Stefan Csomor
1ff301c4eb added correct pen styles for wxDOT etc as well as wxSTIPPLE implementation for 8x8 patterns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-01 14:47:12 +00:00
Stefan Csomor
dd47b3d3f3 changed layout hints to proper determining aqua layout presence before
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-01 14:36:05 +00:00
Stefan Csomor
0888ccc71f detection of aqua layout scheme added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-01 14:35:27 +00:00
Stefan Csomor
75f7bc3bb4 corrected hatched brushes emulation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-01 09:58:11 +00:00
Stefan Csomor
2b65eb68b8 added stipple opaque mask detection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-01 09:56:37 +00:00
Stefan Csomor
ba723d98a8 added wxcompliant patterns for hatched brushes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-01 09:55:45 +00:00
Stefan Csomor
99890e74a7 added null bytes to carb(0) resource, added comment about plst(0) resource
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-01 09:55:10 +00:00
Stefan Csomor
78c0e83b30 added detection of aqua layout scheme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-01 09:54:17 +00:00
Václav Slavík
3954f9cadb don't use --enable-protocol(-xxx) w/o sockets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 23:51:37 +00:00
Václav Slavík
ef0e85f3f1 compilation fix for wxUSE_PROTOCOL_FILE=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 23:30:38 +00:00
Václav Slavík
f16fa52657 removed previously unused and now uncompilable code from wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 23:30:29 +00:00
Gilles Depeyrot
a174f139e1 wxSystemSettings class API face lift: better names for its methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 21:09:47 +00:00
Gilles Depeyrot
4a92500a05 drag and drop is now implemented in wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 20:48:19 +00:00
Gilles Depeyrot
ff14359841 added missing include file for Apple DevTools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 20:15:51 +00:00
Gilles Depeyrot
456c94e194 added missing include files for Apple DevTools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 19:42:49 +00:00
Gilles Depeyrot
5ca463a8f9 added bmpbase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 19:42:06 +00:00
Gilles Depeyrot
69d06d69ad added wxUSE_PROTOCOL/wxUSE_URL defines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 19:25:02 +00:00
Julian Smart
d7552cab98 Removed debug comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 18:38:09 +00:00
Stefan Csomor
af6e3af656 d&d implementation and checklistbox enabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 16:49:59 +00:00
Stefan Csomor
8c2d34bb97 d&d implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 16:43:22 +00:00
Stefan Csomor
fb7c3e57b9 wxMAC added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 16:42:29 +00:00
Stefan Csomor
a07c12126f drag and drop implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 16:37:42 +00:00
Stefan Csomor
dbfc5b9763 checklist implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 16:35:41 +00:00
Stefan Csomor
73969f3fad redraws added when value changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 16:34:25 +00:00
Stefan Csomor
0adad2d72f mac codewarrior implementation updated, avoids sending debugstr when no mw debugger is running
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 16:33:26 +00:00
Stefan Csomor
8400ad1ed6 drag & drop implemented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 16:31:23 +00:00
Stefan Csomor
f5705626fe checklist implemented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 16:30:54 +00:00
Václav Slavík
1daa0751db remove settings.h from wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 11:56:51 +00:00
Václav Slavík
4cdb0ab00b finished Vadim's new wxUSEs under Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 11:54:23 +00:00
Václav Slavík
c72619486d compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 11:53:40 +00:00
Václav Slavík
39b50fdaea wxSystemSettings mods in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 11:53:31 +00:00
Václav Slavík
0ab5e0e88f wxSystemSettings mods in wxMGL and wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 11:53:21 +00:00
Václav Slavík
77c7d0f787 wxSystemSettings mods in wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 11:53:13 +00:00
Václav Slavík
bf9dfac51c wxSystemSettings mods in wxGTK and wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 11:53:00 +00:00
Václav Slavík
55c43a7cbb wxSystemSettings mods in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 11:52:53 +00:00
Vadim Zeitlin
566fb29935 attemps to speed up wxToolBar::MapBitmap() - failed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 02:41:49 +00:00
Vadim Zeitlin
251244a020 fixed a harmless buglet in wxSysErrorMsg() under Win32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 02:41:25 +00:00
Václav Slavík
6415c4fe8a cosmetic fix to bmpbase.cpp entry
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 00:50:42 +00:00
Václav Slavík
96873b794c use wxTR_HIDE_ROOT in wxHtmlHelpFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 00:46:31 +00:00
Václav Slavík
c9ecda60f5 use better check for drives even with Mingw32 (and, later, MSDOS)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 00:46:17 +00:00
Václav Slavík
23213f1811 compilation fix (use int instead of wxDLFlags as parameter type, since the flags are used in OR-combinations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 00:46:04 +00:00
Václav Slavík
6de5b59919 added workaround for Unicode functions not working under MSLU
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 00:45:29 +00:00
Vadim Zeitlin
53991381a9 removed a stray ^M - how do they keep getting into the sources?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 23:12:31 +00:00
Vadim Zeitlin
481fcc780d compilation fix for wxUSE_DYNLOAD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 22:35:44 +00:00
Vadim Zeitlin
091225b4a7 added a few useful utility classes: MemoryHDC and SelectInHDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 22:35:14 +00:00
Vadim Zeitlin
7516ed26c9 1. wxSystemSettings class API face lift: better names for its methods
2. wxSystemSettings under wxUniv uses the wxTheme and wxColourScheme


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 22:34:36 +00:00
Vadim Zeitlin
a1622950a6 regenerated from .in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 22:31:21 +00:00
Vadim Zeitlin
60f523207e Unicode test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 22:30:53 +00:00
Vadim Zeitlin
e7e52b6d2f compilation fixes for !wxUSE_FONTMAP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 22:29:44 +00:00
Vadim Zeitlin
a5d46b7362 added wxUSE_PROTOCOL[_XXX] and wxUSE_URL settings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 22:27:24 +00:00
Vadim Zeitlin
aaf46fd6fc compilation fixes for !wxUSE_STREAMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 22:26:15 +00:00
Vadim Zeitlin
33a201363a added Close All command support to wxDocView (patch 496068)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 17:35:07 +00:00
Vadim Zeitlin
d06a66f526 wxDocument::SaveAs sets m_savedYet flag correctly (patch 494838)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 17:28:12 +00:00
Vadim Zeitlin
51fad246ff fixed memory leak in wxDocManager::CreateDocument (patch 494842)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 17:24:00 +00:00
Vadim Zeitlin
1df4050d11 fixed uninitialized wxGridCellAttr::m_defGridAttr (patch 491231)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 17:22:03 +00:00
Vadim Zeitlin
db34b14756 fixed wxComboBox initial autosizing (patch 496702)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 17:15:21 +00:00
Vadim Zeitlin
98e6fc816f wxFontEnumerator returns all fonts, not TrueType only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 17:07:21 +00:00
Václav Slavík
17ade085be complain about nonexistent directory in wxDir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 15:51:30 +00:00
Václav Slavík
636e7e5d6f fixed stupid typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 15:51:20 +00:00
Václav Slavík
a204e0b5da Ehm... fixed my comment about DJGPP to say what I wanted it to say
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 12:31:03 +00:00
Stefan Csomor
de04398425 drawing methods cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 12:24:16 +00:00
Stefan Csomor
a0ed798d69 carbon debugging lib added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 09:52:42 +00:00
Stefan Csomor
ad9c5aeec6 new files added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 09:51:12 +00:00
Stefan Csomor
86556aa099 setting and restoring the graf port
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 09:50:28 +00:00
Stefan Csomor
249128027a getting rid of several graf port handling routines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 09:44:31 +00:00
Stefan Csomor
246c920686 added theme savvy store/restore grafport
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 09:43:15 +00:00
Vadim Zeitlin
ef2f095a5f don't make wxBitmapButtons same size as all the other buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 00:31:23 +00:00
Václav Slavík
4b00a53837 fix for DJGPP returning unix/like/paths instead of what\you'd\expect\under\dos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 00:05:49 +00:00
Václav Slavík
fd4bc54da0 fix for a fatal bug in wxMGL's wxDir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 00:05:35 +00:00
Václav Slavík
a3e76614ad extended display mode handling to accept WXMODE env. variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 00:05:18 +00:00
Václav Slavík
733b954753 typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 00:05:04 +00:00
Václav Slavík
75ec8bd423 making generic file dialog less Unixcentric
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 00:04:46 +00:00
Robert Roebling
4e9ed3647c compile fix for bitmap.cpp under Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-29 18:34:17 +00:00
Václav Slavík
544fee32ee use a programmer-friendly macro for subclassing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-29 16:14:04 +00:00
Václav Slavík
daa85ee3af implemented subclassing in XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-29 16:13:43 +00:00
Ron Lee
4f89dbc48e removed dependency on windows.h from dynload.h
Moved dlopen implementation into wxDynamicLibrary.
Wrapped wxDllLoader in 2.2 compat guards and defined it in terms
of the new classes.
Added link option flags to wxDL and other missing functionality
previously implemented in wxDllLoader.
Modified wxDL++ classes to use wxDL base class implementation.
Replaced all uses of wxDllLoader in wx classes by the new
classes as appropriate.

def'd out (unimplemented) wxSystemSettingsBase so wxMSW would link.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-29 14:50:36 +00:00
Stefan Csomor
7d9d1fd708 corrections for theme brush alignments under X (no more SetOrigin calls)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-29 09:59:59 +00:00
Stefan Csomor
5b36f53bd1 corrections for theme brush alignments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-29 09:57:11 +00:00
David Webster
06519806e3 Add some missing methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-28 23:06:51 +00:00
Vadim Zeitlin
bad606fa33 a draft of wxSSBase class - it is yet unused and hopefully doesn't break anything [just yet]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-28 22:25:15 +00:00
Vadim Zeitlin
ebc3437c5f removed my timing code accidentally committed before
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-28 21:47:18 +00:00
Vadim Zeitlin
60ce06808d disable native font stuff for wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-28 21:27:42 +00:00
Stefan Csomor
94abc21fde new redrawing code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-28 19:20:25 +00:00
Stefan Csomor
34dc8f910f added debugging code for redrawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-28 19:19:39 +00:00
Stefan Csomor
40d601782e adjusted for new visible region code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-28 19:18:31 +00:00
Stefan Csomor
a5a8ff8aab cleaned drawing code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-28 19:17:59 +00:00
Stefan Csomor
1dcbbdcf92 appearance brush support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-28 19:16:56 +00:00
Stefan Csomor
bb356c9ea7 removed redundant code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-28 19:16:05 +00:00
Stefan Csomor
06acc7d9a6 corrected return value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-28 19:15:24 +00:00
Stefan Csomor
755d980deb code changes for redrawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-28 19:14:01 +00:00
Stefan Csomor
dc8f5bd687 added support for appearance brushes, corrected blitting origin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-28 19:13:16 +00:00
Stefan Csomor
0ff8e4b5c9 added support for appearance brushes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-28 19:12:34 +00:00
David Webster
f9efbe3a98 Scrolling updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-28 07:00:16 +00:00
Vadim Zeitlin
c914e99ed5 fix to wxLocale::GetString() calld with empty argument
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-27 23:24:02 +00:00
Václav Slavík
f258818045 Changes to the XRC library:
1. preparation of XRC handlers for subclassing (Alex)
2. fixed incorrect use of _() in couple of places
3. wxFrame and wxDialog positioning fixes
4. menus and toolbars attach themselves to the parent frame
5. style unification: let all _T()s be wxT()s


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-27 23:16:48 +00:00
Václav Slavík
7ee7772018 fixed bug in wxHTML that certainly prevented it from working with most web servers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-27 23:16:37 +00:00
Václav Slavík
98a5281903 fixed another 2 instances of wxStrncpy bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-27 23:16:30 +00:00
Václav Slavík
49eb2344d5 Idiot I am; my previous commit certainly broke non-Unicode builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-27 23:16:18 +00:00
Václav Slavík
a72a4bfaf3 1. libunicows support in configure
2. applied ac-2.5x compatibility patch (#497048)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-27 23:15:52 +00:00
Václav Slavík
9b7f3e3023 fix for Unicode build -- wxMB2WXbuf cannot be initialized with NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-27 18:07:04 +00:00
Václav Slavík
fe1bdf10a6 removed obsolete docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-27 18:06:52 +00:00
Václav Slavík
5d32001b32 fix for unicode crashes by Dimitri
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-27 18:06:34 +00:00
Ron Lee
2e0b1b1114 removed macro magic that causes build problems on some
platforms and was apparently unneeded elsewhere after all..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-26 23:23:12 +00:00
Václav Slavík
e3f3984bca fixes for misplaced radio buttons in wxRadioBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-25 23:35:11 +00:00
Václav Slavík
c2ef70ec8a fixed misplaced subcontrols of wxComboBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-25 23:34:57 +00:00
Václav Slavík
5acaf196e7 better wxMGL wxSystemSettings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-25 23:34:49 +00:00
Vadim Zeitlin
d0eb7e5699 fixed compilation for strict ANSI compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-25 22:38:01 +00:00
Vadim Zeitlin
29e1cfc224 emphasized that SetValue() doesn't make the control dirty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-25 22:36:48 +00:00
Vadim Zeitlin
104d7404b9 don't make control dirty after a call to SetValue()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-25 22:32:55 +00:00
Vadim Zeitlin
8b4a9377b0 fixed crash when an item didn't have any data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-25 22:31:13 +00:00
Vadim Zeitlin
28ca76100e documented Number() as obsolete and added GetCount()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-25 22:29:48 +00:00
Vadim Zeitlin
17b898bb84 don't crash if bitmaps are not found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 16:34:51 +00:00
Vadim Zeitlin
97a9929e8f fixed Fit() to avoid showing scrollbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 16:28:18 +00:00
Vadim Zeitlin
d6a9730667 DoSetClientSize() may take 4 iterations to set the right size sometimes, not 3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 16:26:47 +00:00
Vadim Zeitlin
3cf883a26a really fixed GetRenderer() and GetEditor() methods, they were both broken in some strange and twisted (and different) ways
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 14:15:11 +00:00
Vadim Zeitlin
248d771ce4 fixed memory leak when SetTargetWindow() was called more than once and made DeleteEvtHandler() more robust
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 14:14:11 +00:00
Václav Slavík
f7b301fa5b fixes to wxFont mods for the case w/o native fontinfo struct
(could never possibly compile)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 14:08:38 +00:00
Václav Slavík
ef243e708a typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 14:06:23 +00:00
Václav Slavík
444d61ba4a compilation fix for DJGPP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 14:06:09 +00:00
Vadim Zeitlin
3f1d13738e typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 12:56:55 +00:00
Ron Lee
33c5b54b68 added slightly more informative failure reporting.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 12:12:30 +00:00
Ron Lee
9d155f504e Added GetStringArray method.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 11:16:46 +00:00
Vadim Zeitlin
5e968b7452 changed the default font facename for the decorative family - is it correct for Win9x?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 01:18:06 +00:00
Vadim Zeitlin
7936354da7 code clean up, avoid duplicating the same code in font.cpp and fontutil.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 01:06:15 +00:00
Vadim Zeitlin
bff67a6a81 use wxFontMapper when setting the encoding (fix to restore the behaviour broken by the native font info change)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-23 23:53:46 +00:00
Mattia Barbon
cbc95b2cc9 Updated docs for wxGrid: added events, event macros, default editors and renderers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-23 21:26:11 +00:00
Robert Roebling
a7b51bc869 Removed warning for Darwin compilation from datetime.inl
Added wxFileName::SetPath() and set m_relative if no dir is given
  Corrected wxFrame::Enable() in wxMac.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-23 15:52:29 +00:00
Vadim Zeitlin
cf48ccc00c fixed handling of the items with indirect data broken yesterday
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-23 13:38:23 +00:00
Vadim Zeitlin
59ff46cb36 create masks even (slightly) faster
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-23 11:47:22 +00:00
Ron Lee
016105291a Added missing header and missing logic. :)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-23 08:04:06 +00:00
Vadim Zeitlin
a99966fb32 sped up the mask creation by a factor of 40
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-23 02:03:55 +00:00
Ron Lee
59bd4c3881 Added missing compile define.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-23 02:01:45 +00:00
Vadim Zeitlin
a230101e23 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-23 01:56:31 +00:00
Vadim Zeitlin
51ddb341ee sped up the mask creation by a factor of 40
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-23 01:56:08 +00:00
Vadim Zeitlin
25faedaa98 applied patch fixing some graphical glitches from Dimitri
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-23 01:09:20 +00:00
Vadim Zeitlin
502a2b1810 fixed sorting the items which have indirect data (i.e. images set for open/closed state) and made indirect data handling much simpler and more efficient as a side effect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-23 01:00:32 +00:00
Vadim Zeitlin
d6acfcb5f6 fixed wrong return value of wxComboBox::GetClientObject
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-22 23:22:55 +00:00
Mattia Barbon
1c79904b9e Made wxPD_AUTO_HIDE work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-22 21:20:34 +00:00
Julian Smart
62e1ba759a More tweaks to wxMicroWi
More tweaks to MicroWindows


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-22 19:43:44 +00:00
Vadim Zeitlin
a9249b2eb2 wxFont can now raelly use the native fonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-22 03:31:48 +00:00
Vadim Zeitlin
7c349adb6e fixed wxProgressDialog for ranges > 65535
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-22 02:14:38 +00:00
Václav Slavík
1ccabb813a use wxBusyCursor in wxHtmlWindow instead of SetCursor (the next step is figuring out if removing wxYield from LoadPage will break anything)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-22 00:02:32 +00:00
Robert Roebling
631748a7f9 Removed two more files from wxMicroWindows compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 22:26:54 +00:00
Vadim Zeitlin
ab5fe83396 add more methods to wxNativeFontInfo: To/FromUserString and all the
accessor methods and implemented some of them


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 21:39:45 +00:00
David Webster
7993e67c75 Update makefile and module def for new dynlib stuff. Also some control colouring stuff for OS/2 controls to better mesh with Panel backgrounds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 20:43:33 +00:00
David Webster
1908260b42 Latest updates for compiling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 20:42:20 +00:00
Vadim Zeitlin
7e67a05520 minor optical fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 19:54:40 +00:00
Vadim Zeitlin
31d1b66e95 oops, forgot to commit wxFontBase::SetNativeFontInfo implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 19:54:23 +00:00
Robert Roebling
79d8a51cb2 Forgot to add this one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 19:28:36 +00:00
Robert Roebling
1725144d37 Added configure support for wxMicroWindows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 19:22:48 +00:00
Julian Smart
54a96d029f More tinkering
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 18:15:53 +00:00
David Webster
3a50d19cae Headers to support 'Y' positioning fixes for OS/2 controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 18:09:02 +00:00
David Webster
d8a3f66ca7 'Y' positioning fixes for OS/2 controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 18:08:31 +00:00
Vadim Zeitlin
dccb75b60d added wxFont::SetNativeFontInfo(string) and documented the native font info stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 17:39:13 +00:00
Julian Smart
e640f8231f MicroWindows tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 17:01:02 +00:00
Julian Smart
d2913c40ab MicroWindows mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 14:58:00 +00:00
Vadim Zeitlin
d0166913d8 fix the old code for dlerror() returning const char as well (why was it changed?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 14:52:18 +00:00
Vadim Zeitlin
6bff71f85f fix for last commit which accidentally disabled wxDynamicLibrary class as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 14:43:47 +00:00
Julian Smart
2d92dfdb40 Added some #defines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 14:35:32 +00:00
Julian Smart
2a7449f409 Added updated patch, clarified the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 14:30:01 +00:00
Vadim Zeitlin
466367bedc disable new DL code by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 14:07:49 +00:00
Vadim Zeitlin
a170659240 compilation fix for dlerror() returning const char *
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 13:43:00 +00:00
Robin Dunn
8916d00747 Tools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-20 17:07:50 +00:00
Robin Dunn
0e2ff151af SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-20 17:01:09 +00:00
George Tasker
6ff1cefa22 Fixed a typo in the sample code of wxDbTable::Insert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-20 16:30:31 +00:00
Ron Lee
b4a5319e83 added missing DYNLIB_CLASS define.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-20 13:21:12 +00:00
Ron Lee
60b73526d6 ugh. Nesting the (per class) plugin sentries can require them to
have user export syntax under win32 (unlike the old method which
had it's own uglyness though).  Consider this a quickfix for win32,
will look at better solutions after some sleep.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-20 13:11:11 +00:00
Ron Lee
7c1e2b4401 reimplemented sanity checks that were lost/broken in the regrettably
far to hasty last minute pushmepullyou api changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-20 12:06:11 +00:00
Stefan Csomor
1c469f7f4e MacOS conforming activate/deactivate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-20 07:50:22 +00:00
Gilles Depeyrot
422644a317 corrections to includes for compilation under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-20 07:36:21 +00:00
Robin Dunn
474c48f92e wxGTK SWIGged updates for:
Changed (again) how the Python global interpreter lock is handled as
well as the Python thread state.  This time it works on SMP machines
without barfing and is also still compatible with Python debuggers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-20 07:08:06 +00:00
Stefan Csomor
e8788ed0c6 corrected bug in MacRedraw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-20 06:42:38 +00:00
Stefan Csomor
c59ceaaaf0 added additional setters for the current clip region
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-20 06:41:57 +00:00
Ron Lee
0316942268 moved dynamic loader option checks to chkconf.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-20 02:39:38 +00:00
Vadim Zeitlin
90a683695b fix for temp file creation under Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-20 00:40:57 +00:00
Robin Dunn
44f685055e Forgot to recomment this out
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 23:51:46 +00:00
Ron Lee
a0d927d1e2 Bumped version and soname for 2.3.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 23:47:53 +00:00
Julian Smart
9ed42c2d63 Patch mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 23:32:48 +00:00
Ron Lee
1405f2dd88 More PYTHON_DIST fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 23:21:42 +00:00
Robert Roebling
d6c8d7e907 Updated changes.txt.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 22:14:42 +00:00
Stefan Csomor
4159f685e2 toplevel adaptions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 22:03:32 +00:00
Stefan Csomor
0f431bd221 GetMacXXXX renamed to MacGetXXXXX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 22:03:00 +00:00
Stefan Csomor
ffba56edb7 implemented clipping using native regions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 22:00:14 +00:00
Stefan Csomor
8dba8632c5 added SetStatusText method (avoiding dc.Clear)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:59:04 +00:00
Stefan Csomor
607f6d2b4f removed clearing (done anyway)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:54:35 +00:00
Stefan Csomor
cd9bcf8a6e GetMacXXXX to MacGetXXXX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:53:44 +00:00
Stefan Csomor
a7b04cfc5b started macosx compliant implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:52:40 +00:00
Stefan Csomor
5f0b2f22d3 code moved from window to toplevel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:51:14 +00:00
Stefan Csomor
22e751a559 corrected control functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:50:05 +00:00
Stefan Csomor
1c31098539 Adaptions for new redrawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:49:03 +00:00
Stefan Csomor
41c9a21f8c GetMacXXXX renamed MacGetXXXX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:46:53 +00:00
George Tasker
e2e8cc69f6 Updated versions to 2.3.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:43:09 +00:00
Vadim Zeitlin
68c97af3c3 blind fix for temp file creation problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:40:50 +00:00
Stefan Csomor
a3722eeb81 toplevel adaptions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:37:53 +00:00
Stefan Csomor
5dafa778e7 added missing code files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:36:52 +00:00
Stefan Csomor
88594d02eb toplevel code transferred to wxTopLevelWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:35:08 +00:00
Stefan Csomor
efaf6efce2 added UMAHideControl again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:33:33 +00:00
Stefan Csomor
6ed63f8bbc moved all code concerning toplevel code from the window file to toplevel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:32:27 +00:00
Stefan Csomor
ae9283da23 added SetStatusText method for proper drawing, because dc.Clear is not yet using themes properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:30:54 +00:00
Stefan Csomor
bf56779564 changed clipping to use native mac regions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:27:34 +00:00
Stefan Csomor
642163b5a0 changed return type of RGBColor to const Reference (avoiding compiler warnings)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:26:25 +00:00
Robin Dunn
4268f79856 Changed (again) how the Python global interpreter lock is handled as
well as the Python thread state.  This time it works on SMP machines
without barfing and is also still compatible with Python debuggers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:25:11 +00:00
Robin Dunn
706b3c8ce4 Patches, updates from contributors, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:23:53 +00:00
Robin Dunn
8511226549 Updated build instructions for win32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:17:48 +00:00
Vadim Zeitlin
2f3eee099f added missing default param value for Enable()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 20:36:33 +00:00
Ron Lee
0d7b3f0a80 updated for changes to wxPython and contrib.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 20:19:55 +00:00
Ron Lee
38befbee1a Fixed silly cut n paste error.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 19:16:46 +00:00
Julian Smart
922ba68045 Emptied patch.rsp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 13:37:26 +00:00
Vadim Zeitlin
c74d8df09d compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 13:10:10 +00:00
Ron Lee
0b9ab0bd82 Added new dynamic loading classes. (which handle proper
wxRTTI and wxModule initialisation and unloading)
Removed serialisation code from wxObject and elsewhere.
Added USER_EXPORTED hash and list macros.
Added *_PLUGGABLE_CLASS defines for exporting dynamic wxObjects
from dlls.

 ----------------------------------------------------------------------
 Modified Files:
 	Makefile.in configure configure.in setup.h.in debian/changelog
 	distrib/msw/tmake/filelist.txt include/wx/defs.h
 	include/wx/docview.h include/wx/dynlib.h include/wx/fileconf.h
 	include/wx/hash.h include/wx/list.h include/wx/module.h
 	include/wx/object.h include/wx/resource.h include/wx/stream.h
 	include/wx/gtk/setup0.h include/wx/msw/setup0.h src/files.lst
 	src/wxBase.dsp src/wxUniv.dsp src/wxWindows.dsp
 	src/common/dynlib.cpp src/common/filename.cpp
 	src/common/module.cpp src/common/object.cpp
 	src/common/stream.cpp src/gtk/files.lst src/mac/files.lst
 	src/mgl/files.lst src/mgl/makefile.wat src/motif/files.lst
 	src/msw/dialup.cpp src/msw/files.lst src/msw/helpchm.cpp
 	src/msw/makefile.b32 src/msw/makefile.bcc src/msw/makefile.dos
 	src/msw/makefile.g95 src/msw/makefile.sc src/msw/makefile.vc
 	src/msw/makefile.wat src/os2/files.lst src/univ/files.lst
 Added Files:
 	include/wx/dynload.h src/common/dynload.cpp
 Removed Files:
 	include/wx/objstrm.h include/wx/serbase.h
 	src/common/objstrm.cpp src/common/serbase.cpp
 	utils/serialize/.cvsignore utils/serialize/makefile.b32
 	utils/serialize/sercore.cpp utils/serialize/sercore.h
 	utils/serialize/serctrl.cpp utils/serialize/serctrl.h
 	utils/serialize/serext.cpp utils/serialize/serext.h
 	utils/serialize/sergdi.cpp utils/serialize/sergdi.h
 	utils/serialize/sermain.cpp utils/serialize/serwnd.cpp
 	utils/serialize/serwnd.h
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 07:09:58 +00:00
Jouk Jansen
955b11918b Committing in .
Updating VMS setup conforming the Unix-setup

 Modified Files:
 	wxWindows/setup.h_vms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 07:06:19 +00:00
Vadim Zeitlin
0cb50c83aa suppress some warnings appearing in the optimized build only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 01:56:38 +00:00
Vadim Zeitlin
c848b2f955 compilation fix for Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 01:31:27 +00:00
Vadim Zeitlin
1e3a888e72 fixed redraw problems in wxStaticText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 01:27:26 +00:00
Václav Slavík
5b96a71a56 send Host header in HTTP requests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-18 23:12:52 +00:00
Václav Slavík
3f2eabd59d fixed i18n handling of _ in XRC texts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-18 23:12:40 +00:00
Vadim Zeitlin
48f72114ba fix for the X fatal error when closing frames
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-18 20:40:25 +00:00
Julian Smart
b59da6c285 Minor doc changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-18 20:25:32 +00:00
Vadim Zeitlin
33754c4d83 fix for using wxDataObjectComposite with the clipboard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-18 18:43:10 +00:00
Vadim Zeitlin
5ece068d9f compilation fix for old mingw32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-18 18:26:52 +00:00
Vadim Zeitlin
df22f86063 1. fixed file descriptors leak in wxFileName::CreateTempFileName()
2. really made it race-safe (provided we have mkstemp())


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-18 17:47:27 +00:00
David Webster
32334453e7 Fixed a linking problem as some virtuals and static not properly defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-18 17:35:58 +00:00
David Webster
5c8835b94c Taking out __WXPM__ ifdef around wxUSE_UNICODE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-18 16:36:22 +00:00
Vadim Zeitlin
17154fc8aa fix for handling the standard X toolkit options
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-18 16:07:15 +00:00
Robert Roebling
e044f6001e The mac toolbar was redrawing buttons when not shown -
making them appear at arbitrary times.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-18 11:31:55 +00:00
Václav Slavík
501d97d4fe it doesn't make sense to have translatable string in wxFAIL_MSG...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 23:42:59 +00:00
Václav Slavík
13b1472fdd updated message catalogs from sources and translated the rest of Czech messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 23:42:22 +00:00
Václav Slavík
dfc40ef343 comment clarification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 23:39:23 +00:00
Václav Slavík
639692727b present, not past sense
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 23:39:01 +00:00
David Webster
c26d72f10d OS/2 common controls code def file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 23:19:25 +00:00
David Webster
3c299c3ab6 OS/2 common controls code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 22:56:41 +00:00
David Webster
4c53d9ece2 OS/2 does not support Unicode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 22:55:44 +00:00
Vadim Zeitlin
8f684821f6 slightly expanded and updated the Unicode overview
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 16:52:22 +00:00
Vadim Zeitlin
be03c0ec26 fixes error/usage messages given by the cmd line parsing logic in wxApp;
also fixed the handling of long-only options in the usage messages


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 12:21:03 +00:00
Vadim Zeitlin
a250392c48 don't discard the informational log messages given after an error one in
wxLogGui (only those given before)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 12:17:27 +00:00
Robert Roebling
3355efa93c MacOS 9 seems to clear the background itself, too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 10:06:33 +00:00
Robert Roebling
00500f403c MAcOS X clears the background (with stripes) for
us, so there is no need to do it again. This
    solves to optical bugs for the wxStatusBar and
    wxStaticText.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 09:42:22 +00:00
Robert Roebling
d21d2e5adf Smooth Aqua buttons in wxTreeCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 01:20:25 +00:00
Robert Roebling
754c44ae38 Header change for smooth Aqua buttons in wxTreeCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 01:18:47 +00:00
Vadim Zeitlin
9d7de3c2b8 don't use EM_STREAMIN at all in Unicode mode, it's not needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 01:06:55 +00:00
Vadim Zeitlin
c640e407d5 add missing header for !wxUSE_PCH case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 01:06:21 +00:00
Vadim Zeitlin
3f562374f1 added __TDATE__ and __TTIME__ and use them instead of __DATE__ and __TIME__ for Unicode-friendliness
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 01:05:37 +00:00
Robert Roebling
5fc67e5cf4 Forgot to unset m_relative in wxFilename::Normalize().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 00:37:49 +00:00
Václav Slavík
7613582bcc fixed Unicode compilation (please use wxT()...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 00:30:55 +00:00
Václav Slavík
33984936de added sample showing wxTR_FULL_ROW_HIGHLIGHT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 00:30:43 +00:00
Václav Slavík
c6f4913a76 applied patch that adds wxTR_FULL_ROW_HIGHLIGHT to wxTreeCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 00:30:23 +00:00
Václav Slavík
db3272a001 added wxUSE_UNICODE_MSLU
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 00:29:52 +00:00
Václav Slavík
c4d596ea01 safety check for wxUSE_UNICODE and wxUSE_UNICODE_MSLU
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 00:29:04 +00:00
Václav Slavík
eb5e4d9ac1 making wxMSW MSLU(unicows)-friendly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 00:28:31 +00:00
Václav Slavík
e168b6acfd fixes to wxFindFirstFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-16 20:38:01 +00:00
Václav Slavík
df16a53ef9 another segfault fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-16 20:37:49 +00:00
Václav Slavík
783fab59e5 a mistake; djgpp doesn't have vsnprintf at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-16 20:35:22 +00:00
Václav Slavík
c4e1b7f244 cache return value of ftime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-16 20:35:05 +00:00
Robert Roebling
353f41cb3b Reimplemented wxFileName with m_relative field.
Adapted wxFileDialog to trailing slashes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-16 12:07:44 +00:00
Václav Slavík
c04857dd6a removed platform-specific code for wxFindFirst/NextFile and replaced it with a generic implementation that uses wxDir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-16 11:20:16 +00:00
Václav Slavík
c4bcd8fcdd fixed a segfaulting bug in wxUniv: invalid assumption that every window has a parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-15 23:18:45 +00:00
Václav Slavík
65d48d095f fix for stupid segfault
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-15 23:18:31 +00:00
Václav Slavík
c1725ec7f3 DJGPP support in libtiff (what else can I do that to touch libtiff headers?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-15 23:18:18 +00:00
Václav Slavík
d3b4d71020 DOS compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-15 23:18:08 +00:00
Václav Slavík
147043343e DJGPP compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-15 23:17:56 +00:00
Václav Slavík
865c589e50 correct platform detection with DJGPP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-15 23:17:40 +00:00
Václav Slavík
b916f80933 DJGPP compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-15 23:17:04 +00:00
Václav Slavík
713a0efc61 timezone is not defined in DJGPP in any form, use ftime() to get it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-15 23:16:33 +00:00
Václav Slavík
9283436576 long long for DJGPP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-15 23:16:10 +00:00
Václav Slavík
f9bc168497 MS-DOS cross-compilation w/ DJGPP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-15 23:15:39 +00:00
Vadim Zeitlin
d00407b2c6 fixed flicker in wxTreeCtrl::SetItemXXX()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-15 22:20:54 +00:00
Václav Slavík
2e351786c5 compilation with DJGPP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-15 16:45:57 +00:00
Václav Slavík
b0c4280587 blind fix for Unicode compilation of wxTextCtrl/msw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-15 16:45:34 +00:00
Václav Slavík
c16d276354 oops, wxGTK.spec missed clean section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-15 16:45:18 +00:00
Václav Slavík
7070f55b2c Oops, Watcom doesn't have _mktemp in DOS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-15 16:44:43 +00:00
Robert Roebling
17d5bdf9e9 Aqua gets Aqua tree buttons automatically now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-15 13:49:05 +00:00
Vadim Zeitlin
4b614012da added EVT_CUSTOM test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-14 23:45:17 +00:00
Vadim Zeitlin
4ec2df6cbc added custom events demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-14 23:38:33 +00:00
Vadim Zeitlin
3f345b477e 1. define -D_THREAD_SAFE, not -D_REENTRANT for MT programs under FreeBSD
(not as if it really helped with my test system, they still crash)
2. don't link with gthread if --disable-threads was specified


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-14 19:34:00 +00:00
Václav Slavík
e7ca6139d0 don't include windows.h unless neccessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-14 19:25:48 +00:00
Václav Slavík
ffd10d5da7 implemented wxDir as pure MGL code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-14 19:25:39 +00:00
Václav Slavík
8ff1234234 wxFindFirstFile and friends for wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-14 19:25:16 +00:00
Václav Slavík
abb855613b unimportant DOS fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-14 19:24:59 +00:00
Václav Slavík
7332adf035 move pmapi.h to mgl/private.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-14 19:24:49 +00:00
Václav Slavík
dccaf28056 Oops, Watcom doesn't have _mktemp in DOS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-14 19:24:32 +00:00
Václav Slavík
9210a48a33 filled-in DOS parts of wxMGL utils
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-14 19:24:24 +00:00
Václav Slavík
dbdcff5102 Watcom compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-14 19:24:15 +00:00
Václav Slavík
f05605ff4d fixes to wxMGL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-14 19:24:04 +00:00
David Webster
24eb81cbcf OS/2 compile fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-14 17:09:03 +00:00
Vadim Zeitlin
2ba4130573 wxConfig clean up and bug fix for record defaults
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-14 00:58:59 +00:00
Vadim Zeitlin
4a0f7f3f17 got rid of ^Ms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-14 00:28:47 +00:00
Robert Roebling
01ec8f969d Verbose languages such as German need a big
wxFileDialog (like it already was in the
  2.2.X tree).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-13 23:36:32 +00:00
Robert Roebling
e856571123 More on announcing wxWindows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-13 23:35:36 +00:00
1120 changed files with 91088 additions and 638748 deletions

206
docs/latex/wx/accel.tex Normal file
View File

@@ -0,0 +1,206 @@
\section{\class{wxAcceleratorEntry}}\label{wxacceleratorentry}
An object used by an application wishing to create an \helpref{accelerator table}{wxacceleratortable}.
\wxheading{Derived from}
None
\wxheading{Include files}
<wx/accel.h>
\wxheading{See also}
\helpref{wxAcceleratorTable}{wxacceleratortable}, \helpref{wxWindow::SetAcceleratorTable}{wxwindowsetacceleratortable}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxAcceleratorEntry::wxAcceleratorEntry}\label{wxacceleratorentryconstr}
\func{}{wxAcceleratorEntry}{\void}
Default constructor.
\func{}{wxAcceleratorEntry}{\param{int}{ flags}, \param{int}{ keyCode}, \param{int}{ cmd}}
Constructor.
\wxheading{Parameters}
\docparam{flags}{One of wxACCEL\_ALT, wxACCEL\_SHIFT, wxACCEL\_CTRL and wxACCEL\_NORMAL. Indicates
which modifier key is held down.}
\docparam{keyCode}{The keycode to be detected. See \helpref{Keycodes}{keycodes} for a full list of keycodes.}
\docparam{cmd}{The menu or control command identifier.}
\membersection{wxAcceleratorEntry::GetCommand}\label{wxacceleratorentrygetcommand}
\constfunc{int}{GetCommand}{\void}
Returns the command identifier for the accelerator table entry.
\membersection{wxAcceleratorEntry::GetFlags}\label{wxacceleratorentrygetflags}
\constfunc{int}{GetFlags}{\void}
Returns the flags for the accelerator table entry.
\membersection{wxAcceleratorEntry::GetKeyCode}\label{wxacceleratorentrygetkeycode}
\constfunc{int}{GetKeyCode}{\void}
Returns the keycode for the accelerator table entry.
\membersection{wxAcceleratorEntry::Set}\label{wxacceleratorentryset}
\func{void}{Set}{\param{int}{ flags}, \param{int}{ keyCode}, \param{int}{ cmd}}
Sets the accelerator entry parameters.
\wxheading{Parameters}
\docparam{flags}{One of wxACCEL\_ALT, wxACCEL\_SHIFT, wxACCEL\_CTRL and wxACCEL\_NORMAL. Indicates
which modifier key is held down.}
\docparam{keyCode}{The keycode to be detected. See \helpref{Keycodes}{keycodes} for a full list of keycodes.}
\docparam{cmd}{The menu or control command identifier.}
\section{\class{wxAcceleratorTable}}\label{wxacceleratortable}
An accelerator table allows the application to specify a table of keyboard shortcuts for
menus or other commands. On Windows, menu or button commands are supported; on GTK,
only menu commands are supported.
The object {\bf wxNullAcceleratorTable} is defined to be a table with no data, and is the
initial accelerator table for a window.
\wxheading{Derived from}
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/accel.h>
\wxheading{Example}
{\small%
\begin{verbatim}
wxAcceleratorEntry entries[4];
entries[0].Set(wxACCEL_CTRL, (int) 'N', ID_NEW_WINDOW);
entries[1].Set(wxACCEL_CTRL, (int) 'X', wxID_EXIT);
entries[2].Set(wxACCEL_SHIFT, (int) 'A', ID_ABOUT);
entries[3].Set(wxACCEL_NORMAL, WXK_DELETE, wxID_CUT);
wxAcceleratorTable accel(4, entries);
frame->SetAcceleratorTable(accel);
\end{verbatim}
}
\wxheading{Remarks}
An accelerator takes precedence over normal processing and can be a convenient way to program some event handling.
For example, you can use an accelerator table to enable a dialog with a multi-line text control to
accept CTRL-Enter as meaning `OK' (but not in GTK at present).
\wxheading{See also}
\helpref{wxAcceleratorEntry}{wxacceleratorentry}, \helpref{wxWindow::SetAcceleratorTable}{wxwindowsetacceleratortable}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxAcceleratorTable::wxAcceleratorTable}\label{wxacceleratortableconstr}
\func{}{wxAcceleratorTable}{\void}
Default constructor.
\func{}{wxAcceleratorTable}{\param{const wxAcceleratorTable\& }{bitmap}}
Copy constructor.
\func{}{wxAcceleratorTable}{\param{int}{ n}, \param{wxAcceleratorEntry}{ entries[]}}
Creates from an array of \helpref{wxAcceleratorEntry}{wxacceleratorentry} objects.
\func{}{wxAcceleratorTable}{\param{const wxString\&}{ resource}}
Loads the accelerator table from a Windows resource (Windows only).
\wxheading{Parameters}
\docparam{n}{Number of accelerator entries.}
\docparam{entries}{The array of entries.}
\docparam{resource}{Name of a Windows accelerator.}
\pythonnote{The wxPython constructor accepts a list of
wxAcceleratorEntry objects, or 3-tuples consisting of flags, keyCode,
and cmd values like you would construct wxAcceleratorEntry objects with.}
\perlnote{The wxPerl constructor accepts a list of either
Wx::AcceleratorEntry objects or references to 3-element arrays
( flags, keyCode, cmd ), like the parameters of Wx::AcceleratorEntry::new.}
\membersection{wxAcceleratorTable::\destruct{wxAcceleratorTable}}
\func{}{\destruct{wxAcceleratorTable}}{\void}
Destroys the wxAcceleratorTable object.
\membersection{wxAcceleratorTable::Ok}\label{wxacceleratortableok}
\constfunc{bool}{Ok}{\void}
Returns TRUE if the accelerator table is valid.
\membersection{wxAcceleratorTable::operator $=$}
\func{wxAcceleratorTable\& }{operator $=$}{\param{const wxAcceleratorTable\& }{accel}}
Assignment operator. This operator does not copy any data, but instead
passes a pointer to the data in {\it accel} and increments a reference
counter. It is a fast operation.
\wxheading{Parameters}
\docparam{accel}{Accelerator table to assign.}
\wxheading{Return value}
Returns reference to this object.
\membersection{wxAcceleratorTable::operator $==$}
\func{bool}{operator $==$}{\param{const wxAcceleratorTable\& }{accel}}
Equality operator. This operator tests whether the internal data pointers are
equal (a fast test).
\wxheading{Parameters}
\docparam{accel}{Accelerator table to compare with}
\wxheading{Return value}
Returns TRUE if the accelerator tables were effectively equal, FALSE otherwise.
\membersection{wxAcceleratorTable::operator $!=$}
\func{bool}{operator $!=$}{\param{const wxAcceleratorTable\& }{accel}}
Inequality operator. This operator tests whether the internal data pointers are
unequal (a fast test).
\wxheading{Parameters}
\docparam{accel}{Accelerator table to compare with}
\wxheading{Return value}
Returns TRUE if the accelerator tables were unequal, FALSE otherwise.

View File

@@ -0,0 +1,61 @@
\section{\class{wxActivateEvent}}\label{wxactivateevent}
An activate event is sent when a window or application is being activated
or deactivated.
\wxheading{Derived from}
\helpref{wxEvent}{wxevent}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/event.h>
\wxheading{Event table macros}
To process an activate event, use these event handler macros to direct input to a member
function that takes a wxActivateEvent argument.
\twocolwidtha{7cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{{\bf EVT\_ACTIVATE(func)}}{Process a wxEVT\_ACTIVATE event.}
\twocolitem{{\bf EVT\_ACTIVATE\_APP(func)}}{Process a wxEVT\_ACTIVATE\_APP event.}
\end{twocollist}%
\wxheading{Remarks}
A top-level window (a dialog or frame) receives an activate event when is
being activated or deactivated. This is indicated visually by the title
bar changing colour, and a subwindow gaining the keyboard focus.
An application is activated or deactivated when one of its frames becomes activated,
or a frame becomes inactivate resulting in all application frames being inactive. (Windows only)
\wxheading{See also}
%\helpref{wxWindow::OnActivate}{wxwindowonactivate},\rtfsp
%% GD: OnXXX functions are not documented
%%\helpref{wxApp::OnActivate}{wxapponactivate},\rtfsp
\helpref{Event handling overview}{eventhandlingoverview}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxActivateEvent::wxActivateEvent}
\func{}{wxActivateEvent}{\param{WXTYPE }{eventType = 0}, \param{bool}{ active = TRUE}, \param{int }{id = 0}}
Constructor.
\membersection{wxActivateEvent::m\_active}
\member{bool}{m\_active}
TRUE if the window or application was activated.
\membersection{wxActivateEvent::GetActive}\label{wxactivateeventgetactive}
\constfunc{bool}{GetActive}{\void}
Returns TRUE if the application or window is being activated, FALSE otherwise.

636
docs/latex/wx/app.tex Normal file
View File

@@ -0,0 +1,636 @@
\section{\class{wxApp}}\label{wxapp}
The {\bf wxApp} class represents the application itself. It is used
to:
\begin{itemize}\itemsep=0pt
\item set and get application-wide properties;
\item implement the windowing system message or event loop;
\item initiate application processing via \helpref{wxApp::OnInit}{wxapponinit};
\item allow default processing of events not handled by other
objects in the application.
\end{itemize}
You should use the macro IMPLEMENT\_APP(appClass) in your application implementation
file to tell wxWindows how to create an instance of your application class.
Use DECLARE\_APP(appClass) in a header file if you want the wxGetApp function (which returns
a reference to your application object) to be visible to other files.
\wxheading{Derived from}
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/app.h>
\wxheading{See also}
\helpref{wxApp overview}{wxappoverview}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxApp::wxApp}
\func{void}{wxApp}{\void}
Constructor. Called implicitly with a definition of a wxApp object.
\membersection{wxApp::\destruct{wxApp}}
\func{void}{\destruct{wxApp}}{\void}
Destructor. Will be called implicitly on program exit if the wxApp
object is created on the stack.
\membersection{wxApp::argc}\label{wxappargc}
\member{int}{argc}
Number of command line arguments (after environment-specific processing).
\membersection{wxApp::argv}\label{wxappargv}
\member{char **}{argv}
Command line arguments (after environment-specific processing).
\membersection{wxApp::CreateLogTarget}\label{wxappcreatelogtarget}
\func{virtual wxLog*}{CreateLogTarget}{\void}
Creates a wxLog class for the application to use for logging errors. The default
implementation returns a new wxLogGui class.
\wxheading{See also}
\helpref{wxLog}{wxlog}
\membersection{wxApp::Dispatch}\label{wxappdispatch}
\func{void}{Dispatch}{\void}
Dispatches the next event in the windowing system event queue.
This can be used for programming event loops, e.g.
\begin{verbatim}
while (app.Pending())
Dispatch();
\end{verbatim}
\wxheading{See also}
\helpref{wxApp::Pending}{wxapppending}
\membersection{wxApp::FilterEvent}\label{wxappfilterevent}
\func{int}{FilterEvent}{\param{wxEvent\& }{event}}
This function is called before processing any event and allows the application
to preempt the processing of some events. If this method returns $-1$ the event
is processed normally, otherwise either {\tt TRUE} or {\tt FALSE} should be
returned and the event processing stops immediately considering that the event
had been already processed (for the former return value) or that it is not
going to be processed at all (for the latter one).
\membersection{wxApp::GetAppName}\label{wxappgetappname}
\constfunc{wxString}{GetAppName}{\void}
Returns the application name.
\wxheading{Remarks}
wxWindows sets this to a reasonable default before
calling \helpref{wxApp::OnInit}{wxapponinit}, but the application can reset it at will.
\membersection{wxApp::GetAuto3D}\label{wxappgetauto3d}
\constfunc{bool}{GetAuto3D}{\void}
Returns TRUE if 3D control mode is on, FALSE otherwise.
\wxheading{See also}
\helpref{wxApp::SetAuto3D}{wxappsetauto3d}
\membersection{wxApp::GetClassName}\label{wxappgetclassname}
\constfunc{wxString}{GetClassName}{\void}
Gets the class name of the application. The class name may be used in a platform specific
manner to refer to the application.
\wxheading{See also}
\helpref{wxApp::SetClassName}{wxappsetclassname}
\membersection{wxApp::GetExitOnFrameDelete}\label{wxappgetexitonframedelete}
\constfunc{bool}{GetExitFrameOnDelete}{\void}
Returns TRUE if the application will exit when the top-level window is deleted, FALSE
otherwise.
\wxheading{See also}
\helpref{wxApp::SetExitOnFrameDelete}{wxappsetexitonframedelete},\\
\helpref{wxApp shutdown overview}{wxappshutdownoverview}
\membersection{wxApp::GetTopWindow}\label{wxappgettopwindow}
\constfunc{virtual wxWindow *}{GetTopWindow}{\void}
Returns a pointer to the top window.
\wxheading{Remarks}
If the top window hasn't been set using \helpref{wxApp::SetTopWindow}{wxappsettopwindow}, this
function will find the first top-level window (frame or dialog) and return that.
\wxheading{See also}
\helpref{SetTopWindow}{wxappsettopwindow}
\membersection{wxApp::GetUseBestVisual}\label{wxappgetusebestvisual}
\constfunc{bool}{GetUseBestVisual}{\void}
Returns TRUE if the application will use the best visual on systems that support
different visuals, FALSE otherwise.
\wxheading{See also}
\helpref{SetUseBestVisual}{wxappsetusebestvisual}
\membersection{wxApp::GetVendorName}\label{wxappgetvendorname}
\constfunc{wxString}{GetVendorName}{\void}
Returns the application's vendor name.
\membersection{wxApp::ExitMainLoop}\label{wxappexitmainloop}
\func{void}{ExitMainLoop}{\void}
Call this to explicitly exit the main message (event) loop.
You should normally exit the main loop (and the application) by deleting
the top window.
\membersection{wxApp::Initialized}\label{wxappinitialized}
\func{bool}{Initialized}{\void}
Returns TRUE if the application has been initialized (i.e. if\rtfsp
\helpref{wxApp::OnInit}{wxapponinit} has returned successfully). This can be useful for error
message routines to determine which method of output is best for the
current state of the program (some windowing systems may not like
dialogs to pop up before the main loop has been entered).
\membersection{wxApp::MainLoop}\label{wxappmainloop}
\func{int}{MainLoop}{\void}
Called by wxWindows on creation of the application. Override this if you wish
to provide your own (environment-dependent) main loop.
\wxheading{Return value}
Returns 0 under X, and the wParam of the WM\_QUIT message under Windows.
%% VZ: OnXXX() functions should *not* be documented
%%
%%\membersection{wxApp::OnActivate}\label{wxapponactivate}
%%
%%\func{void}{OnActivate}{\param{wxActivateEvent\& }{event}}
%%
%%Provide this member function to know whether the application is being
%%activated or deactivated (Windows only).
%%
%%\wxheading{See also}
%%
%%\helpref{wxWindow::OnActivate}{wxwindowonactivate}, \helpref{wxActivateEvent}{wxactivateevent}
%%
%%\membersection{wxApp::OnCharHook}\label{wxapponcharhook}
%%
%%\func{void}{OnCharHook}{\param{wxKeyEvent\&}{ event}}
%%
%%This event handler function is called (under Windows only) to allow the window to intercept keyboard events
%%before they are processed by child windows.
%%
%%\wxheading{Parameters}
%%
%%\docparam{event}{The keypress event.}
%%
%%\wxheading{Remarks}
%%
%%Use the wxEVT\_CHAR\_HOOK macro in your event table.
%%
%%If you use this member, you can selectively consume keypress events by calling\rtfsp
%%\helpref{wxEvent::Skip}{wxeventskip} for characters the application is not interested in.
%%
%%\wxheading{See also}
%%
%%\helpref{wxKeyEvent}{wxkeyevent}, \helpref{wxWindow::OnChar}{wxwindowonchar},\rtfsp
%%\helpref{wxWindow::OnCharHook}{wxwindowoncharhook}, \helpref{wxDialog::OnCharHook}{wxdialogoncharhook}
\membersection{wxApp::OnAssert}\label{wxapponassert}
\func{void}{OnAssert}{\param{const wxChar }{*file}, \param{int }{line}, \param{const wxChar }{*cond}, \param{const wxChar }{*msg}}
This function is called when an assert failure occurs, i.e. the condition
specified in \helpref{wxASSERT}{wxassert} macro evaluated to {\tt FALSE}.
It is only called in debug mode (when {\tt \_\_WXDEBUG\_\_} is defined) as
asserts are not left in the release code at all.
The base class version show the default assert failure dialog box proposing to
the user to stop the program, continue or ignore all subsequent asserts.
\wxheading{Parameters}
\docparam{file}{the name of the source file where the assert occured}
\docparam{line}{the line number in this file where the assert occured}
\docparam{cond}{the condition of the failed assert in string form}
\docparam{msg}{the message specified as argument to
\helpref{wxASSERT\_MSG}{wxassertmsg} or \helpref{wxFAIL\_MSG}{wxfailmsg}, will
be {\tt NULL} if just \helpref{wxASSERT}{wxassert} or \helpref{wxFAIL}{wxfail}
was used}
\membersection{wxApp::OnExit}\label{wxapponexit}
\func{int}{OnExit}{\void}
Provide this member function for any processing which needs to be
done as the application is about to exit. OnExit is called after
destroying all application windows and controls, but before
wxWindows cleanup.
\membersection{wxApp::OnCmdLineError}\label{wxapponcmdlineerror}
\func{bool}{OnCmdLineError}{\param{wxCmdLineParser\& }{parser}}
Called when command line parsing fails (i.e. an incorrect command line option
was specified by the user). The default behaviour is to show the program usage
text and abort the program.
Return {\tt TRUE} to continue normal execution or {\tt FALSE} to return
{\tt FALSE} from \helpref{OnInit}{wxapponinit} thus terminating the program.
\wxheading{See also}
\helpref{OnInitCmdLine}{wxapponinitcmdline}
\membersection{wxApp::OnCmdLineHelp}\label{wxapponcmdlinehelp}
\func{bool}{OnCmdLineHelp}{\param{wxCmdLineParser\& }{parser}}
Called when the help option ({\tt --help}) was specified on the command line.
The default behaviour is to show the program usage text and abort the program.
Return {\tt TRUE} to continue normal execution or {\tt FALSE} to return
{\tt FALSE} from \helpref{OnInit}{wxapponinit} thus terminating the program.
\wxheading{See also}
\helpref{OnInitCmdLine}{wxapponinitcmdline}
\membersection{wxApp::OnCmdLineParsed}\label{wxapponcmdlineparsed}
\func{bool}{OnCmdLineParsed}{\param{wxCmdLineParser\& }{parser}}
Called after the command line had been successfully parsed. You may override
this method to test for the values of the various parameters which could be
set from the command line.
Don't forget to call the base class version unless you want to suppress
processing of the standard command line options.
Return {\tt TRUE} to continue normal execution or {\tt FALSE} to return
{\tt FALSE} from \helpref{OnInit}{wxapponinit} thus terminating the program.
\wxheading{See also}
\helpref{OnInitCmdLine}{wxapponinitcmdline}
\membersection{wxApp::OnFatalException}\label{wxapponfatalexception}
\func{void}{OnFatalException}{\void}
This function may be called if something fatal happens: an unhandled
exception under Win32 or a a fatal signal under Unix, for example. However,
this will not happen by default: you have to explicitly call
\helpref{wxHandleFatalExceptions}{wxhandlefatalexceptions} to enable this.
Generally speaking, this function should only show a message to the user and
return. You may attempt to save unsaved data but this is not guaranteed to
work and, in fact, probably won't.
\wxheading{See also}
\helpref{wxHandleFatalExcetions}{wxhandlefatalexceptions}
%% VZ: the wxApp event handler are private and should not be documented here!
%%
%%\membersection{wxApp::OnIdle}\label{wxapponidle}
%%
%%\func{void}{OnIdle}{\param{wxIdleEvent\& }{event}}
%%
%%Override this member function for any processing which needs to be done
%%when the application is idle. You should call wxApp::OnIdle from your own function,
%%since this forwards OnIdle events to windows and also performs garbage collection for
%%windows whose destruction has been delayed.
%%
%%wxWindows' strategy for OnIdle processing is as follows. After pending user interface events for an
%%application have all been processed, wxWindows sends an OnIdle event to the application object. wxApp::OnIdle itself
%%sends an OnIdle event to each application window, allowing windows to do idle processing such as updating
%%their appearance. If either wxApp::OnIdle or a window OnIdle function requested more time, by
%%calling \helpref{wxIdleEvent::RequestMore}{wxidleeventrequestmore}, wxWindows will send another OnIdle
%%event to the application object. This will occur in a loop until either a user event is found to be
%%pending, or OnIdle requests no more time. Then all pending user events are processed until the system
%%goes idle again, when OnIdle is called, and so on.
%%
%%\wxheading{See also}
%%
%%\helpref{wxWindow::OnIdle}{wxwindowonidle}, \helpref{wxIdleEvent}{wxidleevent},\rtfsp
%%\helpref{wxWindow::SendIdleEvents}{wxappsendidleevents}
%%
%%\membersection{wxApp::OnEndSession}\label{wxapponendsession}
%%
%%\func{void}{OnEndSession}{\param{wxCloseEvent\& }{event}}
%%
%%This is an event handler function called when the operating system or GUI session is
%%about to close down. The application has a chance to silently save information,
%%and can optionally close itself.
%%
%%Use the EVT\_END\_SESSION event table macro to handle query end session events.
%%
%%The default handler calls \helpref{wxWindow::Close}{wxwindowclose} with a TRUE argument
%%(forcing the application to close itself silently).
%%
%%\wxheading{Remarks}
%%
%%Under X, OnEndSession is called in response to the `die' event.
%%
%%Under Windows, OnEndSession is called in response to the WM\_ENDSESSION message.
%%
%%\wxheading{See also}
%%
%%\helpref{wxWindow::Close}{wxwindowclose},\rtfsp
%%\helpref{wxWindow::OnCloseWindow}{wxwindowonclosewindow},\rtfsp
%%\helpref{wxCloseEvent}{wxcloseevent},\rtfsp
%%\helpref{wxApp::OnQueryEndSession}{wxapponqueryendsession}
\membersection{wxApp::OnInit}\label{wxapponinit}
\func{bool}{OnInit}{\void}
This must be provided by the application, and will usually create the
application's main window, optionally calling
\helpref{wxApp::SetTopWindow}{wxappsettopwindow}.
Notice that if you want to to use the command line processing provided by
wxWindows you have to call the base class version in the derived class
OnInit().
Return TRUE to continue processing, FALSE to exit the application.
\membersection{wxApp::OnInitCmdLine}\label{wxapponinitcmdline}
\func{void}{OnInitCmdLine}{\param{wxCmdLineParser\& }{parser}}
Called from \helpref{OnInit}{wxapponinit} and may be used to initialize the
parser with the command line options for this application. The base class
versions adds support for a few standard options only.
\membersection{wxApp::OnQueryEndSession}\label{wxapponqueryendsession}
\func{void}{OnQueryEndSession}{\param{wxCloseEvent\& }{event}}
This is an event handler function called when the operating system or GUI session is
about to close down. Typically, an application will try to save unsaved documents
at this point.
If \helpref{wxCloseEvent::CanVeto}{wxcloseeventcanveto} returns TRUE, the application
is allowed to veto the shutdown by calling \helpref{wxCloseEvent::Veto}{wxcloseeventveto}.
The application might veto the shutdown after prompting for documents to be saved, and the
user has cancelled the save.
Use the EVT\_QUERY\_END\_SESSION event table macro to handle query end session events.
You should check whether the application is forcing the deletion of the window
using \helpref{wxCloseEvent::GetForce}{wxcloseeventgetforce}. If this is TRUE,
destroy the window using \helpref{wxWindow::Destroy}{wxwindowdestroy}.
If not, it is up to you whether you respond by destroying the window.
The default handler calls \helpref{wxWindow::Close}{wxwindowclose} on the top-level window,
and vetoes the shutdown if Close returns FALSE. This will be sufficient for many applications.
\wxheading{Remarks}
Under X, OnQueryEndSession is called in response to the `save session' event.
Under Windows, OnQueryEndSession is called in response to the WM\_QUERYENDSESSION message.
\wxheading{See also}
\helpref{wxWindow::Close}{wxwindowclose},\rtfsp
\helpref{wxCloseEvent}{wxcloseevent}
%% GD: OnXXX functions are not documented
%%\helpref{wxApp::OnEndSession}{wxapponendsession}
\membersection{wxApp::ProcessMessage}\label{wxappprocessmessage}
\func{bool}{ProcessMessage}{\param{WXMSG *}{msg}}
Windows-only function for processing a message. This function
is called from the main message loop, checking for windows that
may wish to process it. The function returns TRUE if the message
was processed, FALSE otherwise. If you use wxWindows with another class
library with its own message loop, you should make sure that this
function is called to allow wxWindows to receive messages. For example,
to allow co-existence with the Microsoft Foundation Classes, override
the PreTranslateMessage function:
\begin{verbatim}
// Provide wxWindows message loop compatibility
BOOL CTheApp::PreTranslateMessage(MSG *msg)
{
if (wxTheApp && wxTheApp->ProcessMessage((WXMSW *)msg))
return TRUE;
else
return CWinApp::PreTranslateMessage(msg);
}
\end{verbatim}
\membersection{wxApp::Pending}\label{wxapppending}
\func{bool}{Pending}{\void}
Returns TRUE if unprocessed events are in the window system event queue.
\wxheading{See also}
\helpref{wxApp::Dispatch}{wxappdispatch}
\membersection{wxApp::SendIdleEvents}\label{wxappsendidleevents}
\func{bool}{SendIdleEvents}{\void}
Sends idle events to all top-level windows.
\func{bool}{SendIdleEvents}{\param{wxWindow*}{ win}}
Sends idle events to a window and its children.
\wxheading{Remarks}
These functions poll the top-level windows, and their children, for idle event processing.
If TRUE is returned, more OnIdle processing is requested by one or more window.
\wxheading{See also}
%% GD: OnXXX functions are not documented
%%\helpref{wxApp::OnIdle}{wxapponidle}
\helpref{wxIdleEvent}{wxidleevent}
\membersection{wxApp::SetAppName}\label{wxappsetappname}
\func{void}{SetAppName}{\param{const wxString\& }{name}}
Sets the name of the application. The name may be used in dialogs
(for example by the document/view framework). A default name is set by
wxWindows.
\wxheading{See also}
\helpref{wxApp::GetAppName}{wxappgetappname}
\membersection{wxApp::SetAuto3D}\label{wxappsetauto3d}
\func{void}{SetAuto3D}{\param{const bool}{ auto3D}}
Switches automatic 3D controls on or off.
\wxheading{Parameters}
\docparam{auto3D}{If TRUE, all controls will be created with 3D appearances unless
overridden for a control or dialog. The default is TRUE}
\wxheading{Remarks}
This has an effect on Windows only.
\wxheading{See also}
\helpref{wxApp::GetAuto3D}{wxappgetauto3d}
\membersection{wxApp::SetClassName}\label{wxappsetclassname}
\func{void}{SetClassName}{\param{const wxString\& }{name}}
Sets the class name of the application. This may be used in a platform specific
manner to refer to the application.
\wxheading{See also}
\helpref{wxApp::GetClassName}{wxappgetclassname}
\membersection{wxApp::SetExitOnFrameDelete}\label{wxappsetexitonframedelete}
\func{void}{SetExitOnFrameDelete}{\param{bool}{ flag}}
Allows the programmer to specify whether the application will exit when the
top-level frame is deleted.
\wxheading{Parameters}
\docparam{flag}{If TRUE (the default), the application will exit when the top-level frame is
deleted. If FALSE, the application will continue to run.}
\wxheading{See also}
\helpref{wxApp::GetExitOnFrameDelete}{wxappgetexitonframedelete},\\
\helpref{wxApp shutdown overview}{wxappshutdownoverview}
\membersection{wxApp::SetTopWindow}\label{wxappsettopwindow}
\func{void}{SetTopWindow}{\param{wxWindow* }{window}}
Sets the `top' window. You can call this from within \helpref{wxApp::OnInit}{wxapponinit} to
let wxWindows know which is the main window. You don't have to set the top window;
it is only a convenience so that (for example) certain dialogs without parents can use a
specific window as the top window. If no top window is specified by the application,
wxWindows just uses the first frame or dialog in its top-level window list, when it
needs to use the top window.
\wxheading{Parameters}
\docparam{window}{The new top window.}
\wxheading{See also}
\helpref{wxApp::GetTopWindow}{wxappgettopwindow}, \helpref{wxApp::OnInit}{wxapponinit}
\membersection{wxApp::SetVendorName}\label{wxappsetvendorname}
\func{void}{SetVendorName}{\param{const wxString\& }{name}}
Sets the name of application's vendor. The name will be used
in registry access. A default name is set by
wxWindows.
\wxheading{See also}
\helpref{wxApp::GetVendorName}{wxappgetvendorname}
\membersection{wxApp::SetUseBestVisual}\label{wxappsetusebestvisual}
\func{void}{SetUseBestVisual}{\param{bool}{ flag}}
Allows the programmer to specify whether the application will use the best visual
on systems that support several visual on the same display. This is typically the
case under Solaris and IRIX, where the default visual is only 8-bit whereas certain
applications are supposed to run in TrueColour mode.
Note that this function has to be called in the constructor of the {\tt wxApp}
instance and won't have any effect when called later on.
This function currently only has effect under GTK.
\wxheading{Parameters}
\docparam{flag}{If TRUE, the app will use the best visual.}
\membersection{wxApp::Yield}\label{wxappyield}
\func{bool}{Yield}{\param{bool}{ onlyIfNeeded = FALSE}}
Yields control to pending messages in the windowing system. This can be useful, for example, when a
time-consuming process writes to a text window. Without an occasional
yield, the text window will not be updated properly, and on systems with
cooperative multitasking, such as Windows 3.1 other processes will not respond.
Caution should be exercised, however, since yielding may allow the
user to perform actions which are not compatible with the current task.
Disabling menu items or whole menus during processing can avoid unwanted
reentrance of code: see \helpref{::wxSafeYield}{wxsafeyield} for a better
function.
Note that Yield() will not flush the message logs. This is intentional as
calling Yield() is usually done to quickly update the screen and popping up a
message box dialog may be undesirable. If you do wish to flush the log
messages immediately (otherwise it will be done during the next idle loop
iteration), call \helpref{wxLog::FlushActive}{wxlogflushactive}.
Calling Yield() recursively is normally an error and an assert failure is
raised in debug build if such situation is detected. However if the the
{\it onlyIfNeeded} parameter is {\tt TRUE}, the method will just silently
return {\tt FALSE} instead.

620
docs/latex/wx/array.tex Normal file
View File

@@ -0,0 +1,620 @@
\section{\class{wxArray}}\label{wxarray}
This section describes the so called {\it dynamic arrays}. This is a C
array-like data structure i.e. the member access time is constant (and not
linear according to the number of container elements as for linked lists). However, these
arrays are dynamic in the sense that they will automatically allocate more
memory if there is not enough of it for adding a new element. They also perform
range checking on the index values but in debug mode only, so please be sure to
compile your application in debug mode to use it (see \helpref{debugging overview}{debuggingoverview} for
details). So, unlike the arrays in some other
languages, attempt to access an element beyond the arrays bound doesn't
automatically expand the array but provokes an assertion failure instead in
debug build and does nothing (except possibly crashing your program) in the
release build.
The array classes were designed to be reasonably efficient, both in terms of
run-time speed and memory consumption and the executable size. The speed of
array item access is, of course, constant (independent of the number of elements)
making them much more efficient than linked lists (\helpref{wxList}{wxlist}).
Adding items to the arrays is also implemented in more or less constant time -
but the price is preallocating the memory in advance. In the \helpref{memory management}{wxarraymemorymanagement} section
you may find some useful hints about optimizing wxArray memory usage. As for executable size, all
wxArray functions are inline, so they do not take {\it any space at all}.
wxWindows has three different kinds of array. All of them derive from
wxBaseArray class which works with untyped data and can not be used directly.
The standard macros WX\_DEFINE\_ARRAY(), WX\_DEFINE\_SORTED\_ARRAY() and
WX\_DEFINE\_OBJARRAY() are used to define a new class deriving from it. The
classes declared will be called in this documentation wxArray, wxSortedArray and
wxObjArray but you should keep in mind that no classes with such names actually
exist, each time you use one of WX\_DEFINE\_XXXARRAY macro you define a class
with a new name. In fact, these names are "template" names and each usage of one
of the macros mentioned above creates a template specialization for the given
element type.
wxArray is suitable for storing integer types and pointers which it does not
treat as objects in any way, i.e. the element pointed to by the pointer is not
deleted when the element is removed from the array. It should be noted that
all of wxArray's functions are inline, so it costs strictly nothing to define as
many array types as you want (either in terms of the executable size or the
speed) as long as at least one of them is defined and this is always the case
because wxArrays are used by wxWindows internally. This class has one serious
limitation: it can only be used for storing integral types (bool, char, short,
int, long and their unsigned variants) or pointers (of any kind). An attempt
to use with objects of sizeof() greater than sizeof(long) will provoke a
runtime assertion failure, however declaring a wxArray of floats will not (on
the machines where sizeof(float) <= sizeof(long)), yet it will {\bf not} work,
please use wxObjArray for storing floats and doubles (NB: a more efficient
wxArrayDouble class is scheduled for the next release of wxWindows).
wxSortedArray is a wxArray variant which should be used when searching in the
array is a frequently used operation. It requires you to define an additional
function for comparing two elements of the array element type and always stores
its items in the sorted order (according to this function). Thus, it is
\helpref{Index()}{wxarrayindex} function execution time is $O(log(N))$ instead of
$O(N)$ for the usual arrays but the \helpref{Add()}{wxarrayadd} method is
slower: it is $O(log(N))$ instead of constant time (neglecting time spent in
memory allocation routine). However, in a usual situation elements are added to
an array much less often than searched inside it, so wxSortedArray may lead to
huge performance improvements compared to wxArray. Finally, it should be
noticed that, as wxArray, wxSortedArray can be only used for storing integral
types or pointers.
wxObjArray class treats its elements like "objects". It may delete them when
they are removed from the array (invoking the correct destructor) and copies
them using the objects copy constructor. In order to implement this behaviour
the definition of the wxObjArray arrays is split in two parts: first, you should
declare the new wxObjArray class using WX\_DECLARE\_OBJARRAY() macro and then
you must include the file defining the implementation of template type:
<wx/arrimpl.cpp> and define the array class with WX\_DEFINE\_OBJARRAY() macro
from a point where the full (as opposed to `forward') declaration of the array
elements class is in scope. As it probably sounds very complicated here is an
example:
\begin{verbatim}
#include <wx/dynarray.h>
// we must forward declare the array because it is used inside the class
// declaration
class MyDirectory;
class MyFile;
// this defines two new types: ArrayOfDirectories and ArrayOfFiles which can be
// now used as shown below
WX_DECLARE_OBJARRAY(MyDirectory, ArrayOfDirectories);
WX_DECLARE_OBJARRAY(MyFile, ArrayOfFiles);
class MyDirectory
{
...
ArrayOfDirectories m_subdirectories; // all subdirectories
ArrayOfFiles m_files; // all files in this directory
};
...
// now that we have MyDirectory declaration in scope we may finish the
// definition of ArrayOfDirectories -- note that this expands into some C++
// code and so should only be compiled once (i.e., don't put this in the
// header, but into a source file or you will get linking errors)
#include <wx/arrimpl.cpp> // this is a magic incantation which must be done!
WX_DEFINE_OBJARRAY(ArrayOfDirectories);
// that's all!
\end{verbatim}
It is not as elegant as writing
\begin{verbatim}
typedef std::vector<MyDirectory> ArrayOfDirectories;
\end{verbatim}
but is not that complicated and allows the code to be compiled with any, however
dumb, C++ compiler in the world.
Things are much simpler for wxArray and wxSortedArray however: it is enough
just to write
\begin{verbatim}
WX_DEFINE_ARRAY(MyDirectory *, ArrayOfDirectories);
WX_DEFINE_SORTED_ARRAY(MyFile *, ArrayOfFiles);
\end{verbatim}
\wxheading{See also:}
\helpref{Container classes overview}{wxcontaineroverview}, \helpref{wxList}{wxlist}
\wxheading{Include files}
<wx/dynarray.h> for wxArray and wxSortedArray and additionally <wx/arrimpl.cpp>
for wxObjArray.
\latexignore{\rtfignore{\wxheading{Function groups}}}
\membersection{Macros for template array definition}
To use an array you must first define the array class. This is done with the
help of the macros in this section. The class of array elements must be (at
least) forward declared for WX\_DEFINE\_ARRAY, WX\_DEFINE\_SORTED\_ARRAY and
WX\_DECLARE\_OBJARRAY macros and must be fully declared before you use
WX\_DEFINE\_OBJARRAY macro.
\helpref{WX\_DEFINE\_ARRAY}{wxdefinearray}\\
\helpref{WX\_DEFINE\_EXPORTED\_ARRAY}{wxdefinearray}\\
\helpref{WX\_DEFINE\_USER\_EXPORTED\_ARRAY}{wxdefinearray}\\
\helpref{WX\_DEFINE\_SORTED\_ARRAY}{wxdefinesortedarray}\\
\helpref{WX\_DEFINE\_SORTED\_EXPORTED\_ARRAY}{wxdefinesortedarray}\\
\helpref{WX\_DEFINE\_SORTED\_USER\_EXPORTED\_ARRAY}{wxdefinesortedarray}\\
\helpref{WX\_DECLARE\_EXPORTED\_OBJARRAY}{wxdeclareobjarray}\\
\helpref{WX\_DECLARE\_USER\_EXPORTED\_OBJARRAY}{wxdeclareobjarray}\\
\helpref{WX\_DEFINE\_OBJARRAY}{wxdefineobjarray}\\
\helpref{WX\_DEFINE\_EXPORTED\_OBJARRAY}{wxdefineobjarray}\\
\helpref{WX\_DEFINE\_USER\_EXPORTED\_OBJARRAY}{wxdefineobjarray}
\membersection{Constructors and destructors}
Array classes are 100\% C++ objects and as such they have the appropriate copy
constructors and assignment operators. Copying wxArray just copies the elements
but copying wxObjArray copies the arrays items. However, for memory-efficiency
sake, neither of these classes has virtual destructor. It is not very important
for wxArray which has trivial destructor anyhow, but it does mean that you
should avoid deleting wxObjArray through a wxBaseArray pointer (as you would
never use wxBaseArray anyhow it shouldn't be a problem) and that you should not
derive your own classes from the array classes.
\helpref{wxArray default constructor}{wxarrayctordef}\\
\helpref{wxArray copy constructors and assignment operators}{wxarrayctorcopy}\\
\helpref{\destruct{wxArray}}{wxarraydtor}
\membersection{Memory management}\label{wxarraymemorymanagement}
Automatic array memory management is quite trivial: the array starts by
preallocating some minimal amount of memory (defined by
WX\_ARRAY\_DEFAULT\_INITIAL\_SIZE) and when further new items exhaust already
allocated memory it reallocates it adding 50\% of the currently allocated
amount, but no more than some maximal number which is defined by
ARRAY\_MAXSIZE\_INCREMENT constant. Of course, this may lead to some memory
being wasted (ARRAY\_MAXSIZE\_INCREMENT in the worst case, i.e. 4Kb in the
current implementation), so the \helpref{Shrink()}{wxarrayshrink} function is
provided to deallocate the extra memory. The \helpref{Alloc()}{wxarrayalloc}
function can also be quite useful if you know in advance how many items you are
going to put in the array and will prevent the array code from reallocating the
memory more times than needed.
\helpref{Alloc}{wxarrayalloc}\\
\helpref{Shrink}{wxarrayshrink}
\membersection{Number of elements and simple item access}
Functions in this section return the total number of array elements and allow to
retrieve them - possibly using just the C array indexing $[]$ operator which
does exactly the same as \helpref{Item()}{wxarrayitem} method.
\helpref{Count}{wxarraycount}\\
\helpref{GetCount}{wxarraygetcount}\\
\helpref{IsEmpty}{wxarrayisempty}\\
\helpref{Item}{wxarrayitem}\\
\helpref{Last}{wxarraylast}
\membersection{Adding items}
\helpref{Add}{wxarrayadd}\\
\helpref{Insert}{wxarrayinsert}\\
\helpref{WX\_APPEND\_ARRAY}{wxappendarray}
\membersection{Removing items}
\helpref{WX\_CLEAR\_ARRAY}{wxcleararray}\\
\helpref{Empty}{wxarrayempty}\\
\helpref{Clear}{wxarrayclear}\\
\helpref{RemoveAt}{wxarrayremoveat}\\
\helpref{Remove}{wxarrayremove}
\membersection{Searching and sorting}
\helpref{Index}{wxarrayindex}\\
\helpref{Sort}{wxarraysort}
%%%%% MEMBERS HERE %%%%%
\helponly{\insertatlevel{2}{
\wxheading{Members}
}}
\membersection{WX\_DEFINE\_ARRAY}\label{wxdefinearray}
\func{}{WX\_DEFINE\_ARRAY}{\param{}{T}, \param{}{name}}
\func{}{WX\_DEFINE\_EXPORTED\_ARRAY}{\param{}{T}, \param{}{name}}
\func{}{WX\_DEFINE\_USER\_EXPORTED\_ARRAY}{\param{}{T}, \param{}{name}, \param{}{exportspec}}
This macro defines a new array class named {\it name} and containing the
elements of type {\it T}. The second form is used when compiling wxWindows as
a DLL under Windows and array needs to be visible outside the DLL. The third is
needed for exporting an array from a user DLL.
Example:
\begin{verbatim}
WX_DEFINE_ARRAY(int, wxArrayInt);
class MyClass;
WX_DEFINE_ARRAY(MyClass *, wxArrayOfMyClass);
\end{verbatim}
Note that wxWindows predefines the following standard array classes: wxArrayInt,
wxArrayLong and wxArrayPtrVoid.
\membersection{WX\_DEFINE\_SORTED\_ARRAY}\label{wxdefinesortedarray}
\func{}{WX\_DEFINE\_SORTED\_ARRAY}{\param{}{T}, \param{}{name}}
\func{}{WX\_DEFINE\_SORTED\_EXPORTED\_ARRAY}{\param{}{T}, \param{}{name}}
\func{}{WX\_DEFINE\_SORTED\_USER\_EXPORTED\_ARRAY}{\param{}{T}, \param{}{name}}
This macro defines a new sorted array class named {\it name} and containing
the elements of type {\it T}. The second form is used when compiling wxWindows as
a DLL under Windows and array needs to be visible outside the DLL. The third is
needed for exporting an array from a user DLL.
Example:
\begin{verbatim}
WX_DEFINE_SORTED_ARRAY(int, wxSortedArrayInt);
class MyClass;
WX_DEFINE_SORTED_ARRAY(MyClass *, wxArrayOfMyClass);
\end{verbatim}
You will have to initialize the objects of this class by passing a comparison
function to the array object constructor like this:
\begin{verbatim}
int CompareInts(int n1, int n2)
{
return n1 - n2;
}
wxSortedArrayInt sorted(CompareInts);
int CompareMyClassObjects(MyClass *item1, MyClass *item2)
{
// sort the items by their address...
return Stricmp(item1->GetAddress(), item2->GetAddress());
}
wxArrayOfMyClass another(CompareMyClassObjects);
\end{verbatim}
\membersection{WX\_DECLARE\_OBJARRAY}\label{wxdeclareobjarray}
\func{}{WX\_DECLARE\_OBJARRAY}{\param{}{T}, \param{}{name}}
\func{}{WX\_DECLARE\_EXPORTED\_OBJARRAY}{\param{}{T}, \param{}{name}}
\func{}{WX\_DECLARE\_USER\_EXPORTED\_OBJARRAY}{\param{}{T}, \param{}{name}}
This macro declares a new object array class named {\it name} and containing
the elements of type {\it T}. The second form is used when compiling wxWindows as
a DLL under Windows and array needs to be visible outside the DLL. The third is
needed for exporting an array from a user DLL.
Example:
\begin{verbatim}
class MyClass;
WX_DEFINE_OBJARRAY(MyClass, wxArrayOfMyClass); // note: not "MyClass *"!
\end{verbatim}
You must use \helpref{WX\_DEFINE\_OBJARRAY()}{wxdefineobjarray} macro to define
the array class - otherwise you would get link errors.
\membersection{WX\_DEFINE\_OBJARRAY}\label{wxdefineobjarray}
\func{}{WX\_DEFINE\_OBJARRAY}{\param{}{name}}
\func{}{WX\_DEFINE\_EXPORTED\_OBJARRAY}{\param{}{name}}
\func{}{WX\_DEFINE\_USER\_EXPORTED\_OBJARRAY}{\param{}{name}}
This macro defines the methods of the array class {\it name} not defined by the
\helpref{WX\_DECLARE\_OBJARRAY()}{wxdeclareobjarray} macro. You must include the
file <wx/arrimpl.cpp> before using this macro and you must have the full
declaration of the class of array elements in scope! If you forget to do the
first, the error will be caught by the compiler, but, unfortunately, many
compilers will not give any warnings if you forget to do the second - but the
objects of the class will not be copied correctly and their real destructor will
not be called. The latter two forms are merely aliases of the first to satisfy
some people's sense of symmetry when using the exported declarations.
Example of usage:
\begin{verbatim}
// first declare the class!
class MyClass
{
public:
MyClass(const MyClass&);
...
virtual ~MyClass();
};
#include <wx/arrimpl.cpp>
WX_DEFINE_OBJARRAY(wxArrayOfMyClass);
\end{verbatim}
\membersection{WX\_APPEND\_ARRAY}\label{wxappendarray}
\func{void}{WX\_APPEND\_ARRAY}{\param{wxArray\& }{array}, \param{wxArray\& }{other}}
This macro may be used to append all elements of the {\it other} array to the
{\it array}. The two arrays must be of the same type.
\membersection{WX\_CLEAR\_ARRAY}\label{wxcleararray}
\func{void}{WX\_CLEAR\_ARRAY}{\param{wxArray\& }{array}}
This macro may be used to delete all elements of the array before emptying it.
It can not be used with wxObjArrays - but they will delete their elements anyhow
when you call Empty().
\membersection{Default constructors}\label{wxarrayctordef}
\func{}{wxArray}{\void}
\func{}{wxObjArray}{\void}
Default constructor initializes an empty array object.
\func{}{wxSortedArray}{\param{int (*)(T first, T second)}{compareFunction}}
There is no default constructor for wxSortedArray classes - you must initialize it
with a function to use for item comparison. It is a function which is passed
two arguments of type {\it T} where {\it T} is the array element type and which
should return a negative, zero or positive value according to whether the first
element passed to it is less than, equal to or greater than the second one.
\membersection{wxArray copy constructor and assignment operator}\label{wxarrayctorcopy}
\func{}{wxArray}{\param{const wxArray\& }{array}}
\func{}{wxSortedArray}{\param{const wxSortedArray\& }{array}}
\func{}{wxObjArray}{\param{const wxObjArray\& }{array}}
\func{wxArray\&}{operator$=$}{\param{const wxArray\& }{array}}
\func{wxSortedArray\&}{operator$=$}{\param{const wxSortedArray\& }{array}}
\func{wxObjArray\&}{operator$=$}{\param{const wxObjArray\& }{array}}
The copy constructors and assignment operators perform a shallow array copy
(i.e. they don't copy the objects pointed to even if the source array contains
the items of pointer type) for wxArray and wxSortedArray and a deep copy (i.e.
the array element are copied too) for wxObjArray.
\membersection{wxArray::\destruct{wxArray}}\label{wxarraydtor}
\func{}{\destruct{wxArray}}{\void}
\func{}{\destruct{wxSortedArray}}{\void}
\func{}{\destruct{wxObjArray}}{\void}
The wxObjArray destructor deletes all the items owned by the array. This is not
done by wxArray and wxSortedArray versions - you may use
\helpref{WX\_CLEAR\_ARRAY}{wxcleararray} macro for this.
\membersection{wxArray::Add}\label{wxarrayadd}
\func{void}{Add}{\param{T }{item}, \param{size\_t}{ copies = $1$}}
\func{void}{Add}{\param{T *}{item}}
\func{void}{Add}{\param{T \&}{item}, \param{size\_t}{ copies = $1$}}
Appends the given number of {\it copies} of the {\it item} to the array
consisting of the elements of type {\it T}.
The first version is used with wxArray and wxSortedArray. The second and the
third are used with wxObjArray. There is an important difference between
them: if you give a pointer to the array, it will take ownership of it, i.e.
will delete it when the item is deleted from the array. If you give a reference
to the array, however, the array will make a copy of the item and will not take
ownership of the original item. Once again, it only makes sense for wxObjArrays
because the other array types never take ownership of their elements. Also note
that you cannot append more than one pointer as reusing it would lead to
deleting it twice (or more) and hence to a crash.
You may also use \helpref{WX\_APPEND\_ARRAY}{wxappendarray} macro to append all
elements of one array to another one but it is more efficient to use
{\it copies} parameter and modify the elements in place later if you plan to
append a lot of items.
\membersection{wxArray::Alloc}\label{wxarrayalloc}
\func{void}{Alloc}{\param{size\_t }{count}}
Preallocates memory for a given number of array elements. It is worth calling
when the number of items which are going to be added to the array is known in
advance because it will save unneeded memory reallocation. If the array already
has enough memory for the given number of items, nothing happens.
\membersection{wxArray::Clear}\label{wxarrayclear}
\func{void}{Clear}{\void}
This function does the same as \helpref{Empty()}{wxarrayempty} and additionally
frees the memory allocated to the array.
\membersection{wxArray::Count}\label{wxarraycount}
\constfunc{size\_t}{Count}{\void}
Same as \helpref{GetCount()}{wxarraygetcount}. This function is deprecated -
it exists only for compatibility.
\membersection{wxObjArray::Detach}\label{wxobjarraydetach}
\func{T *}{Detach}{\param{size\_t }{index}}
Removes the element from the array, but, unlike,
\helpref{Remove()}{wxarrayremove} doesn't delete it. The function returns the
pointer to the removed element.
\membersection{wxArray::Empty}\label{wxarrayempty}
\func{void}{Empty}{\void}
Empties the array. For wxObjArray classes, this destroys all of the array
elements. For wxArray and wxSortedArray this does nothing except marking the
array of being empty - this function does not free the allocated memory, use
\helpref{Clear()}{wxarrayclear} for this.
\membersection{wxArray::GetCount}\label{wxarraygetcount}
\constfunc{size\_t}{GetCount}{\void}
Return the number of items in the array.
\membersection{wxArray::Index}\label{wxarrayindex}
\func{int}{Index}{\param{T\& }{item}, \param{bool }{searchFromEnd = FALSE}}
\func{int}{Index}{\param{T\& }{item}}
The first version of the function is for wxArray and wxObjArray, the second is
for wxSortedArray only.
Searches the element in the array, starting from either beginning or the end
depending on the value of {\it searchFromEnd} parameter. wxNOT\_FOUND is
returned if the element is not found, otherwise the index of the element is
returned.
Linear search is used for the wxArray and wxObjArray classes but binary search
in the sorted array is used for wxSortedArray (this is why searchFromEnd
parameter doesn't make sense for it).
{\bf NB:} even for wxObjArray classes, the operator==() of the elements in the
array is {\bf not} used by this function. It searches exactly the given
element in the array and so will only succeed if this element had been
previously added to the array, but fail even if another, identical, element is
in the array.
\membersection{wxArray::Insert}\label{wxarrayinsert}
\func{void}{Insert}{\param{T }{item}, \param{size\_t }{n}, \param{size\_t }{copies = $1$}}
\func{void}{Insert}{\param{T *}{item}, \param{size\_t }{n}}
\func{void}{Insert}{\param{T \&}{item}, \param{size\_t }{n}, \param{size\_t }{copies = $1$}}
Insert the given number of {\it copies} of the {\it item} into the array before
the existing item {\it n} - thus, {\it Insert(something, 0u)} will insert an
item in such way that it will become the first array element.
Please see \helpref{Add()}{wxarrayadd} for explanation of the differences
between the overloaded versions of this function.
\membersection{wxArray::IsEmpty}\label{wxarrayisempty}
\constfunc{bool}{IsEmpty}{\void}
Returns TRUE if the array is empty, FALSE otherwise.
\membersection{wxArray::Item}\label{wxarrayitem}
\constfunc{T\&}{Item}{\param{size\_t }{index}}
Returns the item at the given position in the array. If {\it index} is out of
bounds, an assert failure is raised in the debug builds but nothing special is
done in the release build.
The returned value is of type "reference to the array element type" for all of
the array classes.
\membersection{wxArray::Last}\label{wxarraylast}
\constfunc{T\&}{Last}{\void}
Returns the last element in the array, i.e. is the same as Item(GetCount() - 1).
An assert failure is raised in the debug mode if the array is empty.
The returned value is of type "reference to the array element type" for all of
the array classes.
\membersection{wxArray::Remove}\label{wxarrayremove}
\func{\void}{Remove}{\param{T }{item}}
Removes an element from the array by value: the first item of the
array equal to {\it item} is removed, an assert failure will result from an
attempt to remove an item which doesn't exist in the array.
When an element is removed from wxObjArray it is deleted by the array - use
\helpref{Detach()}{wxobjarraydetach} if you don't want this to happen. On the
other hand, when an object is removed from a wxArray nothing happens - you
should delete it manually if required:
\begin{verbatim}
T *item = array[n];
delete item;
array.Remove(n)
\end{verbatim}
See also \helpref{WX\_CLEAR\_ARRAY}{wxcleararray} macro which deletes all
elements of a wxArray (supposed to contain pointers).
\membersection{wxArray::RemoveAt}\label{wxarrayremoveat}
\func{\void}{RemoveAt}{\param{size\_t }{index}, \param{size\_t }{count = $1$}}
Removes {\it count} elements starting at {\it index} from the array. When an
element is removed from wxObjArray it is deleted by the array - use
\helpref{Detach()}{wxobjarraydetach} if you don't want this to happen. On
the other hand, when an object is removed from a wxArray nothing happens -
you should delete it manually if required:
\begin{verbatim}
T *item = array[n];
delete item;
array.RemoveAt(n)
\end{verbatim}
See also \helpref{WX\_CLEAR\_ARRAY}{wxcleararray} macro which deletes all
elements of a wxArray (supposed to contain pointers).
\membersection{wxArray::Shrink}\label{wxarrayshrink}
\func{void}{Shrink}{\void}
Frees all memory unused by the array. If the program knows that no new items
will be added to the array it may call Shrink() to reduce its memory usage.
However, if a new item is added to the array, some extra memory will be
allocated again.
\membersection{wxArray::Sort}\label{wxarraysort}
\func{void}{Sort}{\param{CMPFUNC<T> }{compareFunction}}
The notation CMPFUNC<T> should be read as if we had the following declaration:
\begin{verbatim}
template int CMPFUNC(T *first, T *second);
\end{verbatim}
where {\it T} is the type of the array elements. I.e. it is a function returning
{\it int} which is passed two arguments of type {\it T *}.
Sorts the array using the specified compare function: this function should
return a negative, zero or positive value according to whether the first element
passed to it is less than, equal to or greater than the second one.
wxSortedArray doesn't have this function because it is always sorted.

288
docs/latex/wx/arrstrng.tex Normal file
View File

@@ -0,0 +1,288 @@
\section{\class{wxArrayString}}\label{wxarraystring}
wxArrayString is an efficient container for storing
\helpref{wxString}{wxstring} objects. It has the same features as all
\helpref{wxArray}{wxarray} classes, i.e. it dynamically expands when new items
are added to it (so it is as easy to use as a linked list), but the access
time to the elements is constant, instead of being linear in number of
elements as in the case of linked lists. It is also very size efficient and
doesn't take more space than a C array {\it wxString[]} type (wxArrayString
uses its knowledge of internals of wxString class to achieve this).
This class is used in the same way as other dynamic \helpref{arrays}{wxarray},
except that no {\it WX\_DEFINE\_ARRAY} declaration is needed for it. When a
string is added or inserted in the array, a copy of the string is created, so
the original string may be safely deleted (e.g. if it was a {\it char *}
pointer the memory it was using can be freed immediately after this). In
general, there is no need to worry about string memory deallocation when using
this class - it will always free the memory it uses itself.
The references returned by \helpref{Item}{wxarraystringitem},
\helpref{Last}{wxarraystringlast} or
\helpref{operator[]}{wxarraystringoperatorindex} are not constant, so the
array elements may be modified in place like this
\begin{verbatim}
array.Last().MakeUpper();
\end{verbatim}
There is also a variant of wxArrayString called wxSortedArrayString which has
exactly the same methods as wxArrayString, but which always keeps the string
in it in (alphabetical) order. wxSortedArrayString uses binary search in its
\helpref{Index}{wxarraystringindex} function (instead of linear search for
wxArrayString::Index) which makes it much more efficient if you add strings to
the array rarely (because, of course, you have to pay for Index() efficiency
by having Add() be slower) but search for them often. Several methods should
not be used with sorted array (basically, all which break the order of items)
which is mentioned in their description.
Final word: none of the methods of wxArrayString is virtual including its
destructor, so this class should not be used as a base class.
\wxheading{Derived from}
Although this is not true strictly speaking, this class may be considered as a
specialization of \helpref{wxArray}{wxarray} class for the wxString member
data: it is not implemented like this, but it does have all of the wxArray
functions.
\wxheading{Include files}
<wx/string.h>
\wxheading{See also}
\helpref{wxArray}{wxarray}, \helpref{wxString}{wxstring}, \helpref{wxString overview}{wxstringoverview}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxArrayString::wxArrayString}\label{wxarraystringctor}
\func{}{wxArrayString}{\void}
\func{}{wxArrayString}{\param{const wxArrayString\&}{ array}}
Default and copy constructors.
Note that when an array is assigned to a sorted array, its contents is
automatically sorted during construction.
\membersection{wxArrayString::\destruct{wxArrayString}}\label{wxarraystringdtor}
\func{}{\destruct{wxArrayString}}{}
Destructor frees memory occupied by the array strings. For the performance
reasons it is not virtual, so this class should not be derived from.
\membersection{wxArrayString::operator=}\label{wxarraystringoperatorassign}
\func{wxArrayString \&}{operator $=$}{\param{const wxArrayString\&}{ array}}
Assignment operator.
\membersection{wxArrayString::operator==}\label{wxarraystringoperatorequal}
\constfunc{bool}{operator $==$}{\param{const wxArrayString\&}{ array}}
Compares 2 arrays respecting the case. Returns TRUE only if the arrays have
the same number of elements and the same strings in the same order.
\membersection{wxArrayString::operator!=}\label{wxarraystringoperatornotequal}
\constfunc{bool}{operator $!=$}{\param{const wxArrayString\&}{ array}}
Compares 2 arrays respecting the case. Returns TRUE if the arrays have
different number of elements or if the elements don't match pairwise.
\membersection{wxArrayString::operator[]}\label{wxarraystringoperatorindex}
\func{wxString\&}{operator[]}{\param{size\_t }{nIndex}}
Return the array element at position {\it nIndex}. An assert failure will
result from an attempt to access an element beyond the end of array in debug
mode, but no check is done in release mode.
This is the operator version of \helpref{Item}{wxarraystringitem} method.
\membersection{wxArrayString::Add}\label{wxarraystringadd}
\func{size\_t}{Add}{\param{const wxString\& }{str}, \param{size\_t}{ copies = $1$}}
Appends the given number of {\it copies} of the new item {\it str} to the
array and returns the index of the first new item in the array.
{\bf Warning:} For sorted arrays, the index of the inserted item will not be,
in general, equal to \helpref{GetCount()}{wxarraystringgetcount} - 1 because
the item is inserted at the correct position to keep the array sorted and not
appended.
See also: \helpref{Insert}{wxarraystringinsert}
\membersection{wxArrayString::Alloc}\label{wxarraystringalloc}
\func{void}{Alloc}{\param{size\_t }{nCount}}
Preallocates enough memory to store {\it nCount} items. This function may be
used to improve array class performance before adding a known number of items
consecutively.
See also: \helpref{Dynamic array memory management}{wxarraymemorymanagement}
\membersection{wxArrayString::Clear}\label{wxarraystringclear}
\func{void}{Clear}{\void}
Clears the array contents and frees memory.
See also: \helpref{Empty}{wxarraystringempty}
\membersection{wxArrayString::Count}\label{wxarraystringcount}
\constfunc{size\_t}{Count}{\void}
Returns the number of items in the array. This function is deprecated and is
for backwards compatibility only, please use
\helpref{GetCount}{wxarraystringgetcount} instead.
\membersection{wxArrayString::Empty}\label{wxarraystringempty}
\func{void}{Empty}{\void}
Empties the array: after a call to this function
\helpref{GetCount}{wxarraystringgetcount} will return $0$. However, this
function does not free the memory used by the array and so should be used when
the array is going to be reused for storing other strings. Otherwise, you
should use \helpref{Clear}{wxarraystringclear} to empty the array and free
memory.
\membersection{wxArrayString::GetCount}\label{wxarraystringgetcount}
\constfunc{size\_t}{GetCount}{\void}
Returns the number of items in the array.
\membersection{wxArrayString::Index}\label{wxarraystringindex}
\func{int}{Index}{\param{const char *}{ sz}, \param{bool}{ bCase = TRUE}, \param{bool}{ bFromEnd = FALSE}}
Search the element in the array, starting from the beginning if
{\it bFromEnd} is FALSE or from end otherwise. If {\it bCase}, comparison is
case sensitive (default), otherwise the case is ignored.
This function uses linear search for wxArrayString and binary search for
wxSortedArrayString, but it ignores the {\it bCase} and {\it bFromEnd}
parameters in the latter case.
Returns index of the first item matched or wxNOT\_FOUND if there is no match.
\membersection{wxArrayString::Insert}\label{wxarraystringinsert}
\func{void}{Insert}{\param{const wxString\& }{str}, \param{size\_t}{ nIndex}, \param{size\_t }{copies = $1$}}
Insert the given number of {\it copies} of the new element in the array before the position {\it nIndex}. Thus, for
example, to insert the string in the beginning of the array you would write
\begin{verbatim}
Insert("foo", 0);
\end{verbatim}
If {\it nIndex} is equal to {\it GetCount()} this function behaves as
\helpref{Add}{wxarraystringadd}.
{\bf Warning:} this function should not be used with sorted arrays because it
could break the order of items and, for example, subsequent calls to
\helpref{Index()}{wxarraystringindex} would then not work!
\membersection{wxArrayString::IsEmpty}\label{wxarraystringisempty}
\func{}{IsEmpty}{}
Returns TRUE if the array is empty, FALSE otherwise. This function returns the
same result as {\it GetCount() == 0} but is probably easier to read.
\membersection{wxArrayString::Item}\label{wxarraystringitem}
\constfunc{wxString\&}{Item}{\param{size\_t }{nIndex}}
Return the array element at position {\it nIndex}. An assert failure will
result from an attempt to access an element beyond the end of array in debug
mode, but no check is done in release mode.
See also \helpref{operator[]}{wxarraystringoperatorindex} for the operator
version.
\membersection{wxArrayString::Last}\label{wxarraystringlast}
\func{}{Last}{}
Returns the last element of the array. Attempt to access the last element of
an empty array will result in assert failure in debug build, however no checks
are done in release mode.
\membersection{wxArrayString::Remove}\label{wxarraystringremove}
\func{void}{Remove}{\param{const char *}{ sz}}
Removes the first item matching this value. An assert failure is provoked by
an attempt to remove an element which does not exist in debug build.
See also: \helpref{Index}{wxarraystringindex}
\func{void}{Remove}{\param{size\_t }{nIndex}, \param{size\_t }{count = $1$}}
Removes {\it count} items starting at position {\it nIndex} from the array.
\membersection{wxArrayString::Shrink}\label{wxarraystringshrink}
\func{void}{Shrink}{\void}
Releases the extra memory allocated by the array. This function is useful to
minimize the array memory consumption.
See also: \helpref{Alloc}{wxarraystringalloc}, \helpref{Dynamic array memory management}{wxarraymemorymanagement}
\membersection{wxArrayString::Sort}\label{wxarraystringsort}
\func{void}{Sort}{\param{bool}{ reverseOrder = FALSE}}
Sorts the array in alphabetical order or in reverse alphabetical order if
{\it reverseOrder} is TRUE.
{\bf Warning:} this function should not be used with sorted array because it
could break the order of items and, for example, subsequent calls to
\helpref{Index()}{wxarraystringindex} would then not work!
\func{void}{Sort}{\param{CompareFunction }{compareFunction}}
Sorts the array using the specified {\it compareFunction} for item comparison.
{\it CompareFunction} is defined as a function taking two {\it const
wxString\&} parameters and returning an {\it int} value less than, equal to or
greater than 0 if the first string is less than, equal to or greater than the
second one.
\wxheading{Example}
The following example sorts strings by their length.
\begin{verbatim}
static int CompareStringLen(const wxString& first, const wxString& second)
{
return first.length() - second.length();
}
...
wxArrayString array;
array.Add("one");
array.Add("two");
array.Add("three");
array.Add("four");
array.Sort(CompareStringLen);
\end{verbatim}
{\bf Warning:} this function should not be used with sorted array because it
could break the order of items and, for example, subsequent calls to
\helpref{Index()}{wxarraystringindex} would then not work!

182
docs/latex/wx/artprov.tex Normal file
View File

@@ -0,0 +1,182 @@
%
% automatically generated by HelpGen $Revision$ from
% artprov.h at 08/Apr/02 17:44:57
%
\section{\class{wxArtProvider}}\label{wxartprovider}
wxArtProvider class is used to customize the look of wxWindows application.
When wxWindows need to display an icon or a bitmap (e.g. in the standard file
dialog), it does not use hard-coded resource but asks wxArtProvider for it
instead. This way the users can plug in own wxArtProvider class and easily
replace standard art with his/her own version. It is easy thing to do: all
that is needed is to derive a class from wxArtProvider, override it's
\helpref{CreateBitmap}{wxartprovidercreatebitmap} method and register the
provider with
\helpref{wxArtProvider::PushProvider}{wxartproviderpushprovider}:
\begin{verbatim}
class MyProvider : public wxArtProvider
{
protected:
wxBitmap CreateBitmap(const wxArtID& id,
const wxArtClient& client,
const wxSize size)
{ ... }
};
...
wxArtProvider::PushProvider(new MyProvider);
\end{verbatim}
There's another way of taking advantage of this class: you can use it in your code and use
platform native icons as provided by
\helpref{wxArtProvider::GetBitmap}{wxartprovidergetbitmap} or
\helpref{wxArtProvider::GetIcon}{wxartprovidergeticon} (NB: this is not yet really
possible as of wxWindows 2.3.3, the set of wxArtProvider bitmaps is too
small).
\membersection{Identifying art resources}
Every bitmap is known to wxArtProvider under an unique ID that is used by when
requesting a resource from it. The ID is represented by wxArtID type and can
have one of these predefined values (you can see bitmaps represented by these
constants in the \helpref{artprov}{sampleartprovider} sample):
\begin{itemize}\itemsep=0pt
\item wxART\_ADD\_BOOKMARK
\item wxART\_DEL\_BOOKMARK
\item wxART\_HELP\_SIDE\_PANEL
\item wxART\_HELP\_SETTINGS
\item wxART\_HELP\_BOOK
\item wxART\_HELP\_FOLDER
\item wxART\_HELP\_PAGE
\item wxART\_GO\_BACK
\item wxART\_GO\_FORWARD
\item wxART\_GO\_UP
\item wxART\_GO\_DOWN
\item wxART\_GO\_TO\_PARENT
\item wxART\_GO\_HOME
\item wxART\_FILE\_OPEN
\item wxART\_PRINT
\item wxART\_HELP
\item wxART\_TIP
\item wxART\_REPORT\_VIEW
\item wxART\_LIST\_VIEW
\item wxART\_NEW\_DIR
\item wxART\_FOLDER
\item wxART\_GO\_DIR\_UP
\item wxART\_EXECUTABLE\_FILE
\item wxART\_NORMAL\_FILE
\item wxART\_TICK\_MARK
\item wxART\_CROSS\_MARK
\item wxART\_ERROR
\item wxART\_QUESTION
\item wxART\_WARNING
\item wxART\_INFORMATION
\end{itemize}
\membersection{Clients}
Client is the entity that calls wxArtProvider's GetBitmap or GetIcon
function. It is represented by wxClientID type and can have one of these
values:
\begin{itemize}\itemsep=0pt
\item wxART\_TOOLBAR
\item wxART\_MENU
\item wxART\_FRAME\_ICON
\item wxART\_CMN\_DIALOG
\item wxART\_HELP\_BROWSER
\item wxART\_MESSAGE\_BOX
\item wxART\_OTHER (used for all requests that don't fit into any of the categories above)
\end{itemize}
Client ID servers as a hint to wxArtProvider that is supposed to help it to
choose the best looking bitmap. For example it is often desirable to use
slightly different icons in menus and toolbars even though they represent the
same action (e.g. {\tt wx\_ART\_FILE\_OPEN}). Remember that this is really
only a hint for wxArtProvider -- it is common that
\helpref{wxArtProvider::GetBitmap}{wxartprovidergetbitmap}
returns identical bitmap for different {\it client} values!
\wxheading{See also}
See the \helpref{artprov}{sampleartprovider} sample for an example of wxArtProvider usage.
\wxheading{Derived from}
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/artprov.h>
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxArtProvider::CreateBitmap}\label{wxartprovidercreatebitmap}
\func{wxBitmap}{CreateBitmap}{\param{const wxArtID\& }{id}, \param{const wxArtClient\& }{client}, \param{const wxSize\& }{size}}
Derived art provider classes must override this method to create requested
art resource. Note that returned bitmaps are cached by wxArtProvider and it is therefore
not neccessary to optimize CreateBitmap for speed (e.g. you may create wxBitmap objects
from XPMs here).
\wxheading{Parameters}
\docparam{id}{wxArtID unique identifier of the bitmap.}
\docparam{client}{wxArtClient identifier of the client (i.e. who is asking for the bitmap).
This only servers as a hint.}
\docparam{size}{Prefered size of the bitmap. The function may return a bitmap of different
dimensions, it will be automatically rescaled to meet client's request.}
\wxheading{Note}
This is {\bf not} part of wxArtProvider's public API, use
\helpref{wxArtProvider::GetBitmap}{wxartprovidergetbitmap} or
\helpref{wxArtProvider::GetIcon}{wxartprovidergeticon}
to query wxArtProvider for a resource.
\membersection{wxArtProvider::GetBitmap}\label{wxartprovidergetbitmap}
\func{static wxBitmap}{GetBitmap}{\param{const wxArtID\& }{id}, \param{const wxArtClient\& }{client = wxART\_OTHER}, \param{const wxSize\& }{size = wxDefaultSize}}
Query registered providers for bitmap with given ID.
\wxheading{Parameters}
\docparam{id}{wxArtID unique identifier of the bitmap.}
\docparam{client}{wxArtClient identifier of the client (i.e. who is asking for the bitmap).}
\docparam{size}{Size of the returned bitmap or {\tt wxDefaultSize} if size doesn't matter.}
\wxheading{Return value}
The bitmap if one of registered providers recognizes the ID or wxNullBitmap otherwise.
\membersection{wxArtProvider::GetIcon}\label{wxartprovidergeticon}
\func{static wxIcon}{GetIcon}{\param{const wxArtID\& }{id}, \param{const wxArtClient\& }{client = wxART\_OTHER}, \param{const wxSize\& }{size = wxDefaultSize}}
Same as \helpref{wxArtProvider::GetBitmap}{wxartprovidergetbitmap}, but
return a wxIcon object (or wxNullIcon on failure).
\membersection{wxArtProvider::PopProvider}\label{wxartproviderpopprovider}
\func{static bool}{PopProvider}{\void}
Remove latest added provider and delete it.
\membersection{wxArtProvider::PushProvider}\label{wxartproviderpushprovider}
\func{static void}{PushProvider}{\param{wxArtProvider* }{provider}}
Register new art provider (add it to the top of providers stack).
\membersection{wxArtProvider::RemoveProvider}\label{wxartproviderremoveprovider}
\func{static bool}{RemoveProvider}{\param{wxArtProvider* }{provider}}
Remove a provider from the stack. The provider must have been added previously
and is {\it not} deleted.

201
docs/latex/wx/autoobj.tex Normal file
View File

@@ -0,0 +1,201 @@
\section{\class{wxAutomationObject}}\label{wxautomationobject}
The {\bf wxAutomationObject} class represents an OLE automation object containing a single data member,
an IDispatch pointer. It contains a number of functions that make it easy to perform
automation operations, and set and get properties. The class makes heavy use of the \helpref{wxVariant}{wxvariant} class.
The usage of these classes is quite close to OLE automation usage in Visual Basic. The API is
high-level, and the application can specify multiple properties in a single string. The following example
gets the current Excel instance, and if it exists, makes the active cell bold.
{\small
\begin{verbatim}
wxAutomationObject excelObject;
if (excelObject.GetInstance("Excel.Application"))
excelObject.PutProperty("ActiveCell.Font.Bold", TRUE);
\end{verbatim}
}
Note that this class works under Windows only, and currently only for Visual C++.
\wxheading{Derived from}
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/msw/ole/automtn.h>
\wxheading{See also}
\helpref{wxVariant}{wxvariant}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxAutomationObject::wxAutomationObject}\label{wxautomationobjectctor}
\func{}{wxAutomationObject}{\param{WXIDISPATCH*}{ dispatchPtr = NULL}}
Constructor, taking an optional IDispatch pointer which will be released when the
object is deleted.
\membersection{wxAutomationObject::\destruct{wxAutomationObject}}\label{wxautomationobjectdtor}
\func{}{\destruct{wxAutomationObject}}{\void}
Destructor. If the internal IDispatch pointer is non-null, it will be released.
\membersection{wxAutomationObject::CallMethod}\label{wxautomationobjectcallmethod}
\constfunc{wxVariant}{CallMethod}{\param{const wxString\&}{ method}, \param{int}{ noArgs},
\param{wxVariant }{args[]}}
\constfunc{wxVariant}{CallMethod}{\param{const wxString\&}{ method}, \param{...}{}}
Calls an automation method for this object. The first form takes a method name, number of
arguments, and an array of variants. The second form takes a method name and zero to six
constant references to variants. Since the variant class has constructors for the basic
data types, and C++ provides temporary objects automatically, both of the following lines
are syntactically valid:
{\small
\begin{verbatim}
wxVariant res = obj.CallMethod("Sum", wxVariant(1.2), wxVariant(3.4));
wxVariant res = obj.CallMethod("Sum", 1.2, 3.4);
\end{verbatim}
}
Note that {\it method} can contain dot-separated property names, to save the application
needing to call GetProperty several times using several temporary objects. For example:
{\small
\begin{verbatim}
object.CallMethod("ActiveCell.Font.ShowDialog", "My caption");
\end{verbatim}
}
\membersection{wxAutomationObject::CreateInstance}\label{wxautomationobjectcreateinstance}
\constfunc{bool}{CreateInstance}{\param{const wxString\&}{ classId}}
Creates a new object based on the class id, returning TRUE if the object was successfully created,
or FALSE if not.
\membersection{wxAutomationObject::GetDispatchPtr}\label{wxautomationobjectgetdispatchptr}
\constfunc{IDispatch*}{GetDispatchPtr}{\void}
Gets the IDispatch pointer.
\membersection{wxAutomationObject::GetInstance}\label{wxautomationobjectgetinstance}
\constfunc{bool}{GetInstance}{\param{const wxString\&}{ classId}}
Retrieves the current object associated with a class id, and attaches the IDispatch pointer
to this object. Returns TRUE if a pointer was successfully retrieved, FALSE otherwise.
Note that this cannot cope with two instances of a given OLE object being active simultaneously,
such as two copies of Excel running. Which object is referenced cannot currently be specified.
\membersection{wxAutomationObject::GetObject}\label{wxautomationobjectgetobject}
\constfunc{bool}{GetObject}{\param{wxAutomationObject\&}{obj} \param{const wxString\&}{ property},
\param{int}{ noArgs = 0}, \param{wxVariant }{args[] = NULL}}
Retrieves a property from this object, assumed to be a dispatch pointer, and initialises {\it obj} with it.
To avoid having to deal with IDispatch pointers directly, use this function in preference
to \helpref{wxAutomationObject::GetProperty}{wxautomationobjectgetproperty} when retrieving objects
from other objects.
Note that an IDispatch pointer is stored as a void* pointer in wxVariant objects.
\wxheading{See also}
\helpref{wxAutomationObject::GetProperty}{wxautomationobjectgetproperty}
\membersection{wxAutomationObject::GetProperty}\label{wxautomationobjectgetproperty}
\constfunc{wxVariant}{GetProperty}{\param{const wxString\&}{ property}, \param{int}{ noArgs},
\param{wxVariant }{args[]}}
\constfunc{wxVariant}{GetProperty}{\param{const wxString\&}{ property}, \param{...}{}}
Gets a property value from this object. The first form takes a property name, number of
arguments, and an array of variants. The second form takes a property name and zero to six
constant references to variants. Since the variant class has constructors for the basic
data types, and C++ provides temporary objects automatically, both of the following lines
are syntactically valid:
{\small
\begin{verbatim}
wxVariant res = obj.GetProperty("Range", wxVariant("A1"));
wxVariant res = obj.GetProperty("Range", "A1");
\end{verbatim}
}
Note that {\it property} can contain dot-separated property names, to save the application
needing to call GetProperty several times using several temporary objects.
\membersection{wxAutomationObject::Invoke}\label{wxautomationobjectinvoke}
\constfunc{bool}{Invoke}{\param{const wxString\&}{ member}, \param{int}{ action},
\param{wxVariant\& }{retValue}, \param{int}{ noArgs}, \param{wxVariant}{ args[]},
\param{const wxVariant*}{ ptrArgs[] = 0}}
This function is a low-level implementation that allows access to the IDispatch Invoke function.
It is not meant to be called directly by the application, but is used by other convenience functions.
\wxheading{Parameters}
\docparam{member}{The member function or property name.}
\docparam{action}{Bitlist: may contain DISPATCH\_PROPERTYPUT, DISPATCH\_PROPERTYPUTREF,
DISPATCH\_METHOD.}
\docparam{retValue}{Return value (ignored if there is no return value)}.
\docparam{noArgs}{Number of arguments in {\it args} or {\it ptrArgs}.}
\docparam{args}{If non-null, contains an array of variants.}
\docparam{ptrArgs}{If non-null, contains an array of constant pointers to variants.}
\wxheading{Return value}
TRUE if the operation was successful, FALSE otherwise.
\wxheading{Remarks}
Two types of argument array are provided, so that when possible pointers are used for efficiency.
\membersection{wxAutomationObject::PutProperty}\label{wxautomationobjectputproperty}
\constfunc{bool}{PutProperty}{\param{const wxString\&}{ property}, \param{int}{ noArgs},
\param{wxVariant }{args[]}}
\func{bool}{PutProperty}{\param{const wxString\&}{ property}, \param{...}{}}
Puts a property value into this object. The first form takes a property name, number of
arguments, and an array of variants. The second form takes a property name and zero to six
constant references to variants. Since the variant class has constructors for the basic
data types, and C++ provides temporary objects automatically, both of the following lines
are syntactically valid:
{\small
\begin{verbatim}
obj.PutProperty("Value", wxVariant(23));
obj.PutProperty("Value", 23);
\end{verbatim}
}
Note that {\it property} can contain dot-separated property names, to save the application
needing to call GetProperty several times using several temporary objects.
\membersection{wxAutomationObject::SetDispatchPtr}\label{wxautomationobjectsetdispatchptr}
\func{void}{SetDispatchPtr}{\param{WXIDISPATCH*}{ dispatchPtr}}
Sets the IDispatch pointer. This function does not check if there is already an IDispatch pointer.
You may need to cast from IDispatch* to WXIDISPATCH* when calling this function.

245
docs/latex/wx/bbutton.tex Normal file
View File

@@ -0,0 +1,245 @@
\section{\class{wxBitmapButton}}\label{wxbitmapbutton}
A bitmap button is a control that contains a bitmap.
It may be placed on a \helpref{dialog box}{wxdialog} or \helpref{panel}{wxpanel}, or indeed
almost any other window.
\wxheading{Derived from}
\helpref{wxButton}{wxbutton}\\
\helpref{wxControl}{wxcontrol}\\
\helpref{wxWindow}{wxwindow}\\
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/bmpbuttn.h>
\wxheading{Remarks}
A bitmap button can be supplied with a single bitmap, and wxWindows will draw
all button states using this bitmap. If the application needs more control, additional bitmaps for
the selected state, unpressed focused state, and greyed-out state may be supplied.
\wxheading{Window styles}
\twocolwidtha{5cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\windowstyle{wxBU\_AUTODRAW}}{If
this is specified, the button will be drawn automatically using the label bitmap only, providing
a 3D-look border. If this style is not specified, the button will be drawn without borders and using all
provided bitmaps. WIN32 only.}
\twocolitem{\windowstyle{wxBU\_LEFT}}{Left-justifies the bitmap label. WIN32 only.}
\twocolitem{\windowstyle{wxBU\_TOP}}{Aligns the bitmap label to the top of the button. WIN32 only.}
\twocolitem{\windowstyle{wxBU\_RIGHT}}{Right-justifies the bitmap label. WIN32 only.}
\twocolitem{\windowstyle{wxBU\_BOTTOM}}{Aligns the bitmap label to the bottom of the button. WIN32 only.}
\end{twocollist}
See also \helpref{window styles overview}{windowstyles}.
\wxheading{Event handling}
\twocolwidtha{7cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{{\bf EVT\_BUTTON(id, func)}}{Process a wxEVT\_COMMAND\_BUTTON\_CLICKED event,
when the button is clicked.}
\end{twocollist}
\wxheading{See also}
\helpref{wxButton}{wxbutton}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxBitmapButton::wxBitmapButton}\label{wxbitmapbuttonconstr}
\func{}{wxBitmapButton}{\void}
Default constructor.
\func{}{wxBitmapButton}{
\param{wxWindow* }{parent},
\param{wxWindowID }{id},
\param{const wxBitmap\& }{bitmap},\rtfsp
\param{const wxPoint\& }{pos = wxDefaultPosition},
\param{const wxSize\& }{size = wxDefaultSize},\rtfsp
\param{long }{style = wxBU\_AUTODRAW},
\param{const wxValidator\& }{validator = wxDefaultValidator},
\param{const wxString\& }{name = ``button"}}
Constructor, creating and showing a button.
\wxheading{Parameters}
\docparam{parent}{Parent window. Must not be NULL.}
\docparam{id}{Button identifier. A value of -1 indicates a default value.}
\docparam{bitmap}{Bitmap to be displayed.}
\docparam{pos}{Button position.}
\docparam{size}{Button size. If the default size (-1, -1) is specified then the button is sized
appropriately for the bitmap.}
\docparam{style}{Window style. See \helpref{wxBitmapButton}{wxbitmapbutton}.}
\docparam{validator}{Window validator.}
\docparam{name}{Window name.}
\wxheading{Remarks}
The {\it bitmap} parameter is normally the only bitmap you need to provide, and wxWindows will
draw the button correctly in its different states. If you want more control, call
any of the functions \helpref{wxBitmapButton::SetBitmapSelected}{wxbitmapbuttonsetbitmapselected},\rtfsp
\helpref{wxBitmapButton::SetBitmapFocus}{wxbitmapbuttonsetbitmapfocus},\rtfsp
\helpref{wxBitmapButton::SetBitmapDisabled}{wxbitmapbuttonsetbitmapdisabled}.
Note that the bitmap passed is smaller than the actual button created.
\wxheading{See also}
\helpref{wxBitmapButton::Create}{wxbitmapbuttoncreate}, \helpref{wxValidator}{wxvalidator}
\membersection{wxBitmapButton::\destruct{wxBitmapButton}}
\func{}{\destruct{wxBitmapButton}}{\void}
Destructor, destroying the button.
\membersection{wxBitmapButton::Create}\label{wxbitmapbuttoncreate}
\func{bool}{Create}{\param{wxWindow* }{parent}, \param{wxWindowID}{ id}, \param{const wxBitmap\& }{bitmap},\rtfsp
\param{const wxPoint\& }{pos}, \param{const wxSize\& }{size = wxDefaultSize},\rtfsp
\param{long}{ style = 0}, \param{const wxValidator\& }{validator}, \param{const wxString\& }{name = ``button"}}
Button creation function for two-step creation. For more details, see \helpref{wxBitmapButton::wxBitmapButton}{wxbitmapbuttonconstr}.
\membersection{wxBitmapButton::GetBitmapDisabled}\label{wxbitmapbuttongetbitmapdisabled}
\constfunc{wxBitmap\&}{GetBitmapDisabled}{\void}
Returns the bitmap for the disabled state.
\wxheading{Return value}
A reference to the disabled state bitmap.
\wxheading{See also}
\helpref{wxBitmapButton::SetBitmapDisabled}{wxbitmapbuttonsetbitmapdisabled}
\membersection{wxBitmapButton::GetBitmapFocus}\label{wxbitmapbuttongetbitmapfocus}
\constfunc{wxBitmap\&}{GetBitmapFocus}{\void}
Returns the bitmap for the focused state.
\wxheading{Return value}
A reference to the focused state bitmap.
\wxheading{See also}
\helpref{wxBitmapButton::SetBitmapFocus}{wxbitmapbuttonsetbitmapfocus}
\membersection{wxBitmapButton::GetBitmapLabel}\label{wxbitmapbuttongetbitmaplabel}
\constfunc{wxBitmap\&}{GetBitmapLabel}{\void}
Returns the label bitmap (the one passed to the constructor).
\wxheading{Return value}
A reference to the button's label bitmap.
\wxheading{See also}
\helpref{wxBitmapButton::SetBitmapLabel}{wxbitmapbuttonsetbitmaplabel}
\membersection{wxBitmapButton::GetBitmapSelected}\label{wxbitmapbuttongetbitmapselected}
\constfunc{wxBitmap\&}{GetBitmapSelected}{\void}
Returns the bitmap for the selected state.
\wxheading{Return value}
A reference to the selected state bitmap.
\wxheading{See also}
\helpref{wxBitmapButton::SetBitmapSelected}{wxbitmapbuttonsetbitmapselected}
\membersection{wxBitmapButton::SetBitmapDisabled}\label{wxbitmapbuttonsetbitmapdisabled}
\func{void}{SetBitmapDisabled}{\param{const wxBitmap\& }{bitmap}}
Sets the bitmap for the disabled button appearance.
\wxheading{Parameters}
\docparam{bitmap}{The bitmap to set.}
\wxheading{See also}
\helpref{wxBitmapButton::GetBitmapDisabled}{wxbitmapbuttongetbitmapdisabled},\rtfsp
\helpref{wxBitmapButton::SetBitmapLabel}{wxbitmapbuttonsetbitmaplabel},\rtfsp
\helpref{wxBitmapButton::SetBitmapSelected}{wxbitmapbuttonsetbitmapselected},\rtfsp
\helpref{wxBitmapButton::SetBitmapFocus}{wxbitmapbuttonsetbitmapfocus}
\membersection{wxBitmapButton::SetBitmapFocus}\label{wxbitmapbuttonsetbitmapfocus}
\func{void}{SetBitmapFocus}{\param{const wxBitmap\& }{bitmap}}
Sets the bitmap for the button appearance when it has the keyboard focus.
\wxheading{Parameters}
\docparam{bitmap}{The bitmap to set.}
\wxheading{See also}
\helpref{wxBitmapButton::GetBitmapFocus}{wxbitmapbuttongetbitmapfocus},\rtfsp
\helpref{wxBitmapButton::SetBitmapLabel}{wxbitmapbuttonsetbitmaplabel},\rtfsp
\helpref{wxBitmapButton::SetBitmapSelected}{wxbitmapbuttonsetbitmapselected},\rtfsp
\helpref{wxBitmapButton::SetBitmapDisabled}{wxbitmapbuttonsetbitmapdisabled}
\membersection{wxBitmapButton::SetBitmapLabel}\label{wxbitmapbuttonsetbitmaplabel}
\func{void}{SetBitmapLabel}{\param{const wxBitmap\& }{bitmap}}
Sets the bitmap label for the button.
\wxheading{Parameters}
\docparam{bitmap}{The bitmap label to set.}
\wxheading{Remarks}
This is the bitmap used for the unselected state, and for all other states
if no other bitmaps are provided.
\wxheading{See also}
\helpref{wxBitmapButton::GetBitmapLabel}{wxbitmapbuttongetbitmaplabel}
\membersection{wxBitmapButton::SetBitmapSelected}\label{wxbitmapbuttonsetbitmapselected}
\func{void}{SetBitmapSelected}{\param{const wxBitmap\& }{bitmap}}
Sets the bitmap for the selected (depressed) button appearance.
\wxheading{Parameters}
\docparam{bitmap}{The bitmap to set.}
\wxheading{See also}
\helpref{wxBitmapButton::GetBitmapSelected}{wxbitmapbuttongetbitmapselected},\rtfsp
\helpref{wxBitmapButton::SetBitmapLabel}{wxbitmapbuttonsetbitmaplabel},\rtfsp
\helpref{wxBitmapButton::SetBitmapFocus}{wxbitmapbuttonsetbitmapfocus},\rtfsp
\helpref{wxBitmapButton::SetBitmapDisabled}{wxbitmapbuttonsetbitmapdisabled}

615
docs/latex/wx/bitmap.tex Normal file
View File

@@ -0,0 +1,615 @@
\section{\class{wxBitmap}}\label{wxbitmap}
%\overview{Overview}{wxbitmapoverview}
%
This class encapsulates the concept of a platform-dependent bitmap,
either monochrome or colour.
\wxheading{Derived from}
\helpref{wxGDIObject}{wxgdiobject}\\
\helpref{wxObject}{wxobject}
\wxheading{Include file}
<wx/bitmap.h>
\wxheading{Predefined objects}
Objects:
{\bf wxNullBitmap}
\wxheading{See also}
\helpref{wxBitmap overview}{wxbitmapoverview},
\helpref{supported bitmap file formats}{supportedbitmapformats},
\helpref{wxDC::Blit}{wxdcblit},
\helpref{wxIcon}{wxicon}, \helpref{wxCursor}{wxcursor}, \helpref{wxBitmap}{wxbitmap},
\helpref{wxMemoryDC}{wxmemorydc}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxBitmap::wxBitmap}\label{wxbitmapconstr}
\func{}{wxBitmap}{\void}
Default constructor.
\func{}{wxBitmap}{\param{const wxBitmap\& }{bitmap}}
Copy constructor.
\func{}{wxBitmap}{\param{void*}{ data}, \param{int}{ type}, \param{int}{ width}, \param{int}{ height}, \param{int}{ depth = -1}}
Creates a bitmap from the given data which is interpreted in platform-dependent
manner.
\func{}{wxBitmap}{\param{const char}{ bits[]}, \param{int}{ width}, \param{int}{ height}\\
\param{int}{ depth = 1}}
Creates a bitmap from an array of bits.
You should only use this function for monochrome bitmaps ({\it depth} 1) in
portable programs: in this case the {\it bits} parameter should contain an XBM
image.
For other bit depths, the behaviour is platform dependent: under Windows, the
data is passed without any changes to the underlying {\tt CreateBitmap()} API.
Under other platforms, only monochrome bitmaps may be created using this
constructor and \helpref{wxImage}{wximage} should be used for creating colour
bitmaps from static data.
\func{}{wxBitmap}{\param{int}{ width}, \param{int}{ height}, \param{int}{ depth = -1}}
Creates a new bitmap. A depth of -1 indicates the depth of the current screen
or visual. Some platforms only support 1 for monochrome and -1 for the current
colour setting.
\func{}{wxBitmap}{\param{const char**}{ bits}}
Creates a bitmap from XPM data.
\func{}{wxBitmap}{\param{const wxString\& }{name}, \param{long}{ type}}
Loads a bitmap from a file or resource.
\func{}{wxBitmap}{\param{const wxImage\&}{ img}, \param{int}{ depth = -1}}
Creates bitmap object from the image. This has to be done
to actually display an image as you cannot draw an image directly on a window.
The resulting bitmap will use the provided colour depth (or that of the
current system if depth is -1) which entails that a colour reduction has
to take place.
When in 8-bit mode (PseudoColour mode), the GTK port will use a color cube created
on program start-up to look up colors. This ensures a very fast conversion, but
the image quality won't be perfect (and could be better for photo images using more
sophisticated dithering algorithms).
On Windows, if there is a palette present (set with SetPalette), it will be used when
creating the wxBitmap (most useful in 8-bit display mode). On other platforms,
the palette is currently ignored.
\wxheading{Parameters}
\docparam{bits}{Specifies an array of pixel values.}
\docparam{width}{Specifies the width of the bitmap.}
\docparam{height}{Specifies the height of the bitmap.}
\docparam{depth}{Specifies the depth of the bitmap. If this is omitted, the display depth of the
screen is used.}
\docparam{name}{This can refer to a resource name under MS Windows, or a filename under MS Windows and X.
Its meaning is determined by the {\it type} parameter.}
\docparam{type}{May be one of the following:
\twocolwidtha{5cm}
\begin{twocollist}
\twocolitem{\indexit{wxBITMAP\_TYPE\_BMP}}{Load a Windows bitmap file.}
\twocolitem{\indexit{wxBITMAP\_TYPE\_BMP\_RESOURCE}}{Load a Windows bitmap from the resource database.}
\twocolitem{\indexit{wxBITMAP\_TYPE\_GIF}}{Load a GIF bitmap file.}
\twocolitem{\indexit{wxBITMAP\_TYPE\_XBM}}{Load an X bitmap file.}
\twocolitem{\indexit{wxBITMAP\_TYPE\_XPM}}{Load an XPM bitmap file.}
\twocolitem{\indexit{wxBITMAP\_TYPE\_RESOURCE}}{Load a Windows resource name.}
\end{twocollist}
The validity of these flags depends on the platform and wxWindows configuration.
If all possible wxWindows settings are used, the Windows platform supports BMP file, BMP resource,
XPM data, and XPM. Under wxGTK, the available formats are BMP file, XPM data, XPM file, and PNG file.
Under wxMotif, the available formats are XBM data, XBM file, XPM data, XPM file.
In addition, wxBitmap can read all formats that \helpref{wxImage}{wximage} can, which currently include
wxBITMAP\_TYPE\_JPEG, wxBITMAP\_TYPE\_TIF, wxBITMAP\_TYPE\_PNG, wxBITMAP\_TYPE\_GIF, wxBITMAP\_TYPE\_PCX,
and wxBITMAP\_TYPE\_PNM. Of course, you must have wxImage handlers loaded. }
\docparam{img}{Platform-independent wxImage object.}
\wxheading{Remarks}
The first form constructs a bitmap object with no data; an assignment or another member function such as Create
or LoadFile must be called subsequently.
The second and third forms provide copy constructors. Note that these do not copy the
bitmap data, but instead a pointer to the data, keeping a reference count. They are therefore
very efficient operations.
The fourth form constructs a bitmap from data whose type and value depends on
the value of the {\it type} argument.
The fifth form constructs a (usually monochrome) bitmap from an array of pixel values, under both
X and Windows.
The sixth form constructs a new bitmap.
The seventh form constructs a bitmap from pixmap (XPM) data, if wxWindows has been configured
to incorporate this feature.
To use this constructor, you must first include an XPM file. For
example, assuming that the file {\tt mybitmap.xpm} contains an XPM array
of character pointers called mybitmap:
\begin{verbatim}
#include "mybitmap.xpm"
...
wxBitmap *bitmap = new wxBitmap(mybitmap);
\end{verbatim}
The eighth form constructs a bitmap from a file or resource. {\it name} can refer
to a resource name under MS Windows, or a filename under MS Windows and X.
Under Windows, {\it type} defaults to wxBITMAP\_TYPE\_BMP\_RESOURCE.
Under X, {\it type} defaults to wxBITMAP\_TYPE\_XPM.
\wxheading{See also}
\helpref{wxBitmap::LoadFile}{wxbitmaploadfile}
\pythonnote{Constructors supported by wxPython are:\par
\indented{2cm}{\begin{twocollist}
\twocolitem{{\bf wxBitmap(name, flag)}}{Loads a bitmap from a file}
\twocolitem{{\bf wxEmptyBitmap(width, height, depth = -1)}}{Creates an
empty bitmap with the given specifications}
\twocolitem{{\bf wxBitmapFromXPMData(listOfStrings)}}{Create a bitmap
from a Python list of strings whose contents are XPM data.}
\twocolitem{{\bf wxBitmapFromBits(bits, width, height,
depth=-1)}}{Create a bitmap from an array of bits contained in a
string.}
\twocolitem{{\bf wxBitmapFromImage(image, depth=-1)}}{Convert a
wxImage to a wxBitmap.}
\end{twocollist}}
}
\perlnote{Constructors supported by wxPerl are:\par
\begin{itemize}
\item{Wx::Bitmap->new( width, height, depth = -1 )}
\item{Wx::Bitmap->new( name, type )}
\item{Wx::Bitmap->new( icon )}
\item{Wx::Bitmap->newFromBits( bits, width, height, depth = 1 )}
\item{Wx::Bitmap->newFromXPM( data )}
\end{itemize}
}
\membersection{wxBitmap::\destruct{wxBitmap}}
\func{}{\destruct{wxBitmap}}{\void}
Destroys the wxBitmap object and possibly the underlying bitmap data.
Because reference counting is used, the bitmap may not actually be
destroyed at this point - only when the reference count is zero will the
data be deleted.
If the application omits to delete the bitmap explicitly, the bitmap will be
destroyed automatically by wxWindows when the application exits.
Do not delete a bitmap that is selected into a memory device context.
\membersection{wxBitmap::AddHandler}\label{wxbitmapaddhandler}
\func{static void}{AddHandler}{\param{wxBitmapHandler*}{ handler}}
Adds a handler to the end of the static list of format handlers.
\docparam{handler}{A new bitmap format handler object. There is usually only one instance
of a given handler class in an application session.}
\wxheading{See also}
\helpref{wxBitmapHandler}{wxbitmaphandler}
\membersection{wxBitmap::CleanUpHandlers}
\func{static void}{CleanUpHandlers}{\void}
Deletes all bitmap handlers.
This function is called by wxWindows on exit.
\membersection{wxBitmap::ConvertToImage}\label{wxbitmapconverttoimage}
\func{wxImage}{ConvertToImage}{\void}
Creates an image from a platform-dependent bitmap. This preserves
mask information so that bitmaps and images can be converted back
and forth without loss in that respect.
\membersection{wxBitmap::Create}\label{wxbitmapcreate}
\func{virtual bool}{Create}{\param{int}{ width}, \param{int}{ height}, \param{int}{ depth = -1}}
Creates a fresh bitmap. If the final argument is omitted, the display depth of
the screen is used.
\func{virtual bool}{Create}{\param{void*}{ data}, \param{int}{ type}, \param{int}{ width}, \param{int}{ height}, \param{int}{ depth = -1}}
Creates a bitmap from the given data, which can be of arbitrary type.
\wxheading{Parameters}
\docparam{width}{The width of the bitmap in pixels.}
\docparam{height}{The height of the bitmap in pixels.}
\docparam{depth}{The depth of the bitmap in pixels. If this is -1, the screen depth is used.}
\docparam{data}{Data whose type depends on the value of {\it type}.}
\docparam{type}{A bitmap type identifier - see \helpref{wxBitmap::wxBitmap}{wxbitmapconstr} for a list
of possible values.}
\wxheading{Return value}
TRUE if the call succeeded, FALSE otherwise.
\wxheading{Remarks}
The first form works on all platforms. The portability of the second form depends on the
type of data.
\wxheading{See also}
\helpref{wxBitmap::wxBitmap}{wxbitmapconstr}
\membersection{wxBitmap::FindHandler}
\func{static wxBitmapHandler*}{FindHandler}{\param{const wxString\& }{name}}
Finds the handler with the given name.
\func{static wxBitmapHandler*}{FindHandler}{\param{const wxString\& }{extension}, \param{long}{ bitmapType}}
Finds the handler associated with the given extension and type.
\func{static wxBitmapHandler*}{FindHandler}{\param{long }{bitmapType}}
Finds the handler associated with the given bitmap type.
\docparam{name}{The handler name.}
\docparam{extension}{The file extension, such as ``bmp".}
\docparam{bitmapType}{The bitmap type, such as wxBITMAP\_TYPE\_BMP.}
\wxheading{Return value}
A pointer to the handler if found, NULL otherwise.
\wxheading{See also}
\helpref{wxBitmapHandler}{wxbitmaphandler}
\membersection{wxBitmap::GetDepth}
\constfunc{int}{GetDepth}{\void}
Gets the colour depth of the bitmap. A value of 1 indicates a
monochrome bitmap.
\membersection{wxBitmap::GetHandlers}
\func{static wxList\&}{GetHandlers}{\void}
Returns the static list of bitmap format handlers.
\wxheading{See also}
\helpref{wxBitmapHandler}{wxbitmaphandler}
\membersection{wxBitmap::GetHeight}\label{wxbitmapgetheight}
\constfunc{int}{GetHeight}{\void}
Gets the height of the bitmap in pixels.
\membersection{wxBitmap::GetPalette}\label{wxbitmapgetpalette}
\constfunc{wxPalette*}{GetPalette}{\void}
Gets the associated palette (if any) which may have been loaded from a file
or set for the bitmap.
\wxheading{See also}
\helpref{wxPalette}{wxpalette}
\membersection{wxBitmap::GetMask}\label{wxbitmapgetmask}
\constfunc{wxMask*}{GetMask}{\void}
Gets the associated mask (if any) which may have been loaded from a file
or set for the bitmap.
\wxheading{See also}
\helpref{wxBitmap::SetMask}{wxbitmapsetmask}, \helpref{wxMask}{wxmask}
\membersection{wxBitmap::GetWidth}\label{wxbitmapgetwidth}
\constfunc{int}{GetWidth}{\void}
Gets the width of the bitmap in pixels.
\wxheading{See also}
\helpref{wxBitmap::GetHeight}{wxbitmapgetheight}
\membersection{wxBitmap::GetSubBitmap}\label{wxbitmapgetsubbitmap}
\constfunc{wxBitmap}{GetSubBitmap}{\param{const wxRect\&}{rect}}
Returns a sub bitmap of the current one as long as the rect belongs entirely to
the bitmap. This function preserves bit depth and mask information.
\membersection{wxBitmap::InitStandardHandlers}
\func{static void}{InitStandardHandlers}{\void}
Adds the standard bitmap format handlers, which, depending on wxWindows
configuration, can be handlers for Windows bitmap, Windows bitmap resource, and XPM.
This function is called by wxWindows on startup.
\wxheading{See also}
\helpref{wxBitmapHandler}{wxbitmaphandler}
\membersection{wxBitmap::InsertHandler}
\func{static void}{InsertHandler}{\param{wxBitmapHandler*}{ handler}}
Adds a handler at the start of the static list of format handlers.
\docparam{handler}{A new bitmap format handler object. There is usually only one instance
of a given handler class in an application session.}
\wxheading{See also}
\helpref{wxBitmapHandler}{wxbitmaphandler}
\membersection{wxBitmap::LoadFile}\label{wxbitmaploadfile}
\func{bool}{LoadFile}{\param{const wxString\&}{ name}, \param{long}{ type}}
Loads a bitmap from a file or resource.
\wxheading{Parameters}
\docparam{name}{Either a filename or a Windows resource name.
The meaning of {\it name} is determined by the {\it type} parameter.}
\docparam{type}{One of the following values:
\twocolwidtha{5cm}
\begin{twocollist}
\twocolitem{{\bf wxBITMAP\_TYPE\_BMP}}{Load a Windows bitmap file.}
\twocolitem{{\bf wxBITMAP\_TYPE\_BMP\_RESOURCE}}{Load a Windows bitmap from the resource database.}
\twocolitem{{\bf wxBITMAP\_TYPE\_GIF}}{Load a GIF bitmap file.}
\twocolitem{{\bf wxBITMAP\_TYPE\_XBM}}{Load an X bitmap file.}
\twocolitem{{\bf wxBITMAP\_TYPE\_XPM}}{Load an XPM bitmap file.}
\end{twocollist}
The validity of these flags depends on the platform and wxWindows configuration.
In addition, wxBitmap can read all formats that \helpref{wxImage}{wximage} can
(wxBITMAP\_TYPE\_JPEG, wxBITMAP\_TYPE\_PNG, wxBITMAP\_TYPE\_GIF, wxBITMAP\_TYPE\_PCX, wxBITMAP\_TYPE\_PNM).
(Of course you must have wxImage handlers loaded.) }
\wxheading{Return value}
TRUE if the operation succeeded, FALSE otherwise.
\wxheading{Remarks}
A palette may be associated with the bitmap if one exists (especially for
colour Windows bitmaps), and if the code supports it. You can check
if one has been created by using the \helpref{GetPalette}{wxbitmapgetpalette} member.
\wxheading{See also}
\helpref{wxBitmap::SaveFile}{wxbitmapsavefile}
\membersection{wxBitmap::Ok}\label{wxbitmapok}
\constfunc{bool}{Ok}{\void}
Returns TRUE if bitmap data is present.
\membersection{wxBitmap::RemoveHandler}
\func{static bool}{RemoveHandler}{\param{const wxString\& }{name}}
Finds the handler with the given name, and removes it. The handler
is not deleted.
\docparam{name}{The handler name.}
\wxheading{Return value}
TRUE if the handler was found and removed, FALSE otherwise.
\wxheading{See also}
\helpref{wxBitmapHandler}{wxbitmaphandler}
\membersection{wxBitmap::SaveFile}\label{wxbitmapsavefile}
\func{bool}{SaveFile}{\param{const wxString\& }{name}, \param{int}{ type}, \param{wxPalette* }{palette = NULL}}
Saves a bitmap in the named file.
\wxheading{Parameters}
\docparam{name}{A filename. The meaning of {\it name} is determined by the {\it type} parameter.}
\docparam{type}{One of the following values:
\twocolwidtha{5cm}
\begin{twocollist}
\twocolitem{{\bf wxBITMAP\_TYPE\_BMP}}{Save a Windows bitmap file.}
\twocolitem{{\bf wxBITMAP\_TYPE\_GIF}}{Save a GIF bitmap file.}
\twocolitem{{\bf wxBITMAP\_TYPE\_XBM}}{Save an X bitmap file.}
\twocolitem{{\bf wxBITMAP\_TYPE\_XPM}}{Save an XPM bitmap file.}
\end{twocollist}
The validity of these flags depends on the platform and wxWindows configuration.
In addition, wxBitmap can save all formats that \helpref{wxImage}{wximage} can
(wxBITMAP\_TYPE\_JPEG, wxBITMAP\_TYPE\_PNG).
(Of course you must have wxImage handlers loaded.) }
\docparam{palette}{An optional palette used for saving the bitmap.}
% TODO: this parameter should
%probably be eliminated; instead the app should set the palette before saving.
\wxheading{Return value}
TRUE if the operation succeeded, FALSE otherwise.
\wxheading{Remarks}
Depending on how wxWindows has been configured, not all formats may be available.
\wxheading{See also}
\helpref{wxBitmap::LoadFile}{wxbitmaploadfile}
\membersection{wxBitmap::SetDepth}\label{wxbitmapsetdepth}
\func{void}{SetDepth}{\param{int }{depth}}
Sets the depth member (does not affect the bitmap data).
\wxheading{Parameters}
\docparam{depth}{Bitmap depth.}
\membersection{wxBitmap::SetHeight}\label{wxbitmapsetheight}
\func{void}{SetHeight}{\param{int }{height}}
Sets the height member (does not affect the bitmap data).
\wxheading{Parameters}
\docparam{height}{Bitmap height in pixels.}
\membersection{wxBitmap::SetMask}\label{wxbitmapsetmask}
\func{void}{SetMask}{\param{wxMask* }{mask}}
Sets the mask for this bitmap.
\wxheading{Remarks}
The bitmap object owns the mask once this has been called.
\wxheading{See also}
\helpref{wxBitmap::GetMask}{wxbitmapgetmask}, \helpref{wxMask}{wxmask}
%% VZ: this function is an implementation detail and shouldn't be documented
%%\membersection{wxBitmap::SetOk}
%%
%%\func{void}{SetOk}{\param{int }{isOk}}
%%
%%Sets the validity member (does not affect the bitmap data).
%%
%%\wxheading{Parameters}
%%
%%\docparam{isOk}{Validity flag.}
\membersection{wxBitmap::SetPalette}\label{wxbitmapsetpalette}
\func{void}{SetPalette}{\param{const wxPalette\& }{palette}}
Sets the associated palette.
\wxheading{Parameters}
\docparam{palette}{The palette to set.}
\wxheading{See also}
\helpref{wxPalette}{wxpalette}
\membersection{wxBitmap::SetWidth}
\func{void}{SetWidth}{\param{int }{width}}
Sets the width member (does not affect the bitmap data).
\wxheading{Parameters}
\docparam{width}{Bitmap width in pixels.}
\membersection{wxBitmap::operator $=$}
\func{wxBitmap\& }{operator $=$}{\param{const wxBitmap\& }{bitmap}}
Assignment operator. This operator does not copy any data, but instead
passes a pointer to the data in {\it bitmap} and increments a reference
counter. It is a fast operation.
\wxheading{Parameters}
\docparam{bitmap}{Bitmap to assign.}
\wxheading{Return value}
Returns 'this' object.
\membersection{wxBitmap::operator $==$}
\func{bool}{operator $==$}{\param{const wxBitmap\& }{bitmap}}
Equality operator. This operator tests whether the internal data pointers are
equal (a fast test).
\wxheading{Parameters}
\docparam{bitmap}{Bitmap to compare with 'this'}
\wxheading{Return value}
Returns TRUE if the bitmaps were effectively equal, FALSE otherwise.
\membersection{wxBitmap::operator $!=$}
\func{bool}{operator $!=$}{\param{const wxBitmap\& }{bitmap}}
Inequality operator. This operator tests whether the internal data pointers are
unequal (a fast test).
\wxheading{Parameters}
\docparam{bitmap}{Bitmap to compare with 'this'}
\wxheading{Return value}
Returns TRUE if the bitmaps were unequal, FALSE otherwise.

View File

@@ -0,0 +1,60 @@
\section{\class{wxBitmapDataObject}}\label{wxbitmapdataobject}
wxBitmapDataObject is a specialization of wxDataObject for bitmap data. It can
be used without change to paste data into the
\helpref{wxClipboard}{wxclipboard} or a \helpref{wxDropSource}{wxdropsource}. A
user may wish to derive a new class from this class for providing a bitmap
on-demand in order to minimize memory consumption when offering data in several
formats, such as a bitmap and GIF.
\pythonnote{If you wish to create a derived wxBitmapDataObject class in
wxPython you should derive the class from wxPyBitmapDataObject
in order to get Python-aware capabilities for the various virtual
methods.}
\wxheading{Virtual functions to override}
This class may be used as is, but
\helpref{GetBitmap}{wxbitmapdataobjectgetbitmap} may be overridden to increase
efficiency.
\wxheading{Derived from}
\helpref{wxDataObjectSimple}{wxdataobjectsimple}\\
\helpref{wxDataObject}{wxdataobject}
\wxheading{Include files}
<wx/dataobj.h>
\wxheading{See also}
\helpref{Clipboard and drag and drop overview}{wxdndoverview},
\helpref{wxDataObject}{wxdataobject},
\helpref{wxDataObjectSimple}{wxdataobjectsimple},
\helpref{wxFileDataObject}{wxfiledataobject},
\helpref{wxTextDataObject}{wxtextdataobject},
\helpref{wxDataObject}{wxdataobject}
\func{}{wxBitmapDataObject}{\param{const wxBitmap\& }{bitmap = wxNullBitmap}}
Constructor, optionally passing a bitmap (otherwise use
\helpref{SetBitmap}{wxbitmapdataobjectsetbitmap} later).
\membersection{wxBitmapDataObject::GetBitmap}\label{wxbitmapdataobjectgetbitmap}
\constfunc{virtual wxBitmap}{GetBitmap}{\void}
Returns the bitmap associated with the data object. You may wish to override
this method when offering data on-demand, but this is not required by
wxWindows' internals. Use this method to get data in bitmap form from
the \helpref{wxClipboard}{wxclipboard}.
\membersection{wxBitmapDataObject::SetBitmap}\label{wxbitmapdataobjectsetbitmap}
\func{virtual void}{SetBitmap}{\param{const wxBitmap\& }{bitmap}}
Sets the bitmap associated with the data object. This method is called when the
data object receives data. Usually there will be no reason to override this
function.

165
docs/latex/wx/bmphand.tex Normal file
View File

@@ -0,0 +1,165 @@
\section{\class{wxBitmapHandler}}\label{wxbitmaphandler}
\overview{Overview}{wxbitmapoverview}
This is the base class for implementing bitmap file loading/saving, and bitmap creation from data.
It is used within wxBitmap and is not normally seen by the application.
If you wish to extend the capabilities of wxBitmap, derive a class from wxBitmapHandler
and add the handler using \helpref{wxBitmap::AddHandler}{wxbitmapaddhandler} in your
application initialisation.
\wxheading{Derived from}
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/bitmap.h>
\wxheading{See also}
\helpref{wxBitmap}{wxbitmap}, \helpref{wxIcon}{wxicon}, \helpref{wxCursor}{wxcursor}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxBitmapHandler::wxBitmapHandler}\label{wxbitmaphandlerconstr}
\func{}{wxBitmapHandler}{\void}
Default constructor. In your own default constructor, initialise the members
m\_name, m\_extension and m\_type.
\membersection{wxBitmapHandler::\destruct{wxBitmapHandler}}
\func{}{\destruct{wxBitmapHandler}}{\void}
Destroys the wxBitmapHandler object.
\membersection{wxBitmapHandler::Create}
\func{virtual bool}{Create}{\param{wxBitmap* }{bitmap}, \param{void*}{ data}, \param{int}{ type}, \param{int}{ width}, \param{int}{ height}, \param{int}{ depth = -1}}
Creates a bitmap from the given data, which can be of arbitrary type. The wxBitmap object {\it bitmap} is
manipulated by this function.
\wxheading{Parameters}
\docparam{bitmap}{The wxBitmap object.}
\docparam{width}{The width of the bitmap in pixels.}
\docparam{height}{The height of the bitmap in pixels.}
\docparam{depth}{The depth of the bitmap in pixels. If this is -1, the screen depth is used.}
\docparam{data}{Data whose type depends on the value of {\it type}.}
\docparam{type}{A bitmap type identifier - see \helpref{wxBitmapHandler::wxBitmapHandler}{wxbitmapconstr} for a list
of possible values.}
\wxheading{Return value}
TRUE if the call succeeded, FALSE otherwise (the default).
\membersection{wxBitmapHandler::GetName}
\constfunc{wxString}{GetName}{\void}
Gets the name of this handler.
\membersection{wxBitmapHandler::GetExtension}
\constfunc{wxString}{GetExtension}{\void}
Gets the file extension associated with this handler.
\membersection{wxBitmapHandler::GetType}
\constfunc{long}{GetType}{\void}
Gets the bitmap type associated with this handler.
\membersection{wxBitmapHandler::LoadFile}\label{wxbitmaphandlerloadfile}
\func{bool}{LoadFile}{\param{wxBitmap* }{bitmap}, \param{const wxString\&}{ name}, \param{long}{ type}}
Loads a bitmap from a file or resource, putting the resulting data into {\it bitmap}.
\wxheading{Parameters}
\docparam{bitmap}{The bitmap object which is to be affected by this operation.}
\docparam{name}{Either a filename or a Windows resource name.
The meaning of {\it name} is determined by the {\it type} parameter.}
\docparam{type}{See \helpref{wxBitmap::wxBitmap}{wxbitmapconstr} for values this can take.}
\wxheading{Return value}
TRUE if the operation succeeded, FALSE otherwise.
\wxheading{See also}
\helpref{wxBitmap::LoadFile}{wxbitmaploadfile}\\
\helpref{wxBitmap::SaveFile}{wxbitmapsavefile}\\
\helpref{wxBitmapHandler::SaveFile}{wxbitmaphandlersavefile}
\membersection{wxBitmapHandler::SaveFile}\label{wxbitmaphandlersavefile}
\func{bool}{SaveFile}{\param{wxBitmap* }{bitmap}, \param{const wxString\& }{name}, \param{int}{ type}, \param{wxPalette* }{palette = NULL}}
Saves a bitmap in the named file.
\wxheading{Parameters}
\docparam{bitmap}{The bitmap object which is to be affected by this operation.}
\docparam{name}{A filename. The meaning of {\it name} is determined by the {\it type} parameter.}
\docparam{type}{See \helpref{wxBitmap::wxBitmap}{wxbitmapconstr} for values this can take.}
\docparam{palette}{An optional palette used for saving the bitmap.}
\wxheading{Return value}
TRUE if the operation succeeded, FALSE otherwise.
\wxheading{See also}
\helpref{wxBitmap::LoadFile}{wxbitmaploadfile}\\
\helpref{wxBitmap::SaveFile}{wxbitmapsavefile}\\
\helpref{wxBitmapHandler::LoadFile}{wxbitmaphandlerloadfile}
\membersection{wxBitmapHandler::SetName}
\func{void}{SetName}{\param{const wxString\& }{name}}
Sets the handler name.
\wxheading{Parameters}
\docparam{name}{Handler name.}
\membersection{wxBitmapHandler::SetExtension}
\func{void}{SetExtension}{\param{const wxString\& }{extension}}
Sets the handler extension.
\wxheading{Parameters}
\docparam{extension}{Handler extension.}
\membersection{wxBitmapHandler::SetType}
\func{void}{SetType}{\param{long }{type}}
Sets the handler type.
\wxheading{Parameters}
\docparam{name}{Handler type.}

723
docs/latex/wx/body.tex Normal file
View File

@@ -0,0 +1,723 @@
\chapter{Introduction}\label{introduction}
\pagenumbering{arabic}%
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
\setfooter{\thepage}{}{}{}{}{\thepage}%
\section{What is wxWindows?}
wxWindows is a C++ framework providing GUI (Graphical User
Interface) and other facilities on more than one platform. Version 2 currently
supports all desktop versions of MS Windows, Unix with GTK+, Unix with Motif,
and MacOS. An OS/2 port is in progress.
wxWindows was originally developed at the Artificial Intelligence
Applications Institute, University of Edinburgh, for internal use,
and was first made publicly available in 1992.
Version 2 is a vastly improved version written and maintained by
Julian Smart, Robert Roebling, Vadim Zeitlin, Vaclav Slavik and many others.
This manual contains a class reference and topic overviews.
For a selection of wxWindows tutorials, please see the documentation page on the \urlref{wxWindows web site}{http://www.wxwindows.org}.
Please note that in the following, ``MS Windows" often refers to all
platforms related to Microsoft Windows, including 16-bit and 32-bit
variants, unless otherwise stated. All trademarks are acknowledged.
\section{Why another cross-platform development tool?}
wxWindows was developed to provide a cheap and flexible way to maximize
investment in GUI application development. While a number of commercial
class libraries already existed for cross-platform development,
none met all of the following criteria:
\begin{enumerate}\itemsep=0pt
\item low price;
\item source availability;
\item simplicity of programming;
\item support for a wide range of compilers.
\end{enumerate}
Since wxWindows was started, several other free or almost-free
GUI frameworks have emerged. However, none has the range of
features, flexibility, documentation and the well-established
development team that wxWindows has.
As open source software, wxWindows has benefited from comments,
ideas, bug fixes, enhancements and the sheer enthusiasm of
users. This gives wxWindows a certain advantage over its
commercial competitors (and over free libraries without an
independent development team), plus a robustness against the
transience of one individual or company. This openness and
availability of source code is especially important when the
future of thousands of lines of application code may depend upon
the longevity of the underlying class library.
Version 2 goes much further than previous versions in terms of
generality and features, allowing applications to be produced
that are often indistinguishable from those produced using
single-platform toolkits such as Motif, GTK+ and MFC.
The importance of using a platform-independent class library
cannot be overstated, since GUI application development is very
time-consuming, and sustained popularity of particular GUIs
cannot be guaranteed. Code can very quickly become obsolete if
it addresses the wrong platform or audience. wxWindows helps to
insulate the programmer from these winds of change. Although
wxWindows may not be suitable for every application (such as an
OLE-intensive program), it provides access to most of the
functionality a GUI program normally requires, plus many extras
such as network programming, PostScript output, and HTML
rendering; and it can of course be extended as needs dictate.
As a bonus, it provides a far cleaner and easier programming
interface than the native APIs. Programmers may find it
worthwhile to use wxWindows even if they are developing on only
one platform.
It is impossible to sum up the functionality of wxWindows in a few paragraphs, but
here are some of the benefits:
\begin{itemize}\itemsep=0pt
\item Low cost (free, in fact!)
\item You get the source.
\item Available on a variety of popular platforms.
\item Works with almost all popular C++ compilers and Python.
\item Over 50 example programs.
\item Over 1000 pages of printable and on-line documentation.
\item Includes Tex2RTF, to allow you to produce your own documentation
in Windows Help, HTML and Word RTF formats.
\item Simple-to-use, object-oriented API.
\item Flexible event system.
\item Graphics calls include lines, rounded rectangles, splines, polylines, etc.
\item Constraint-based and sizer-based layouts.
\item Print/preview and document/view architectures.
\item Toolbar, notebook, tree control, advanced list control classes.
\item PostScript generation under Unix, normal MS Windows printing on the PC.
\item MDI (Multiple Document Interface) support.
\item Can be used to create DLLs under Windows, dynamic libraries on Unix.
\item Common dialogs for file browsing, printing, colour selection, etc.
\item Under MS Windows, support for creating metafiles and copying
them to the clipboard.
\item An API for invoking help from applications.
\item Ready-to-use HTML window (supporting a subset of HTML).
\item Dialog Editor for building dialogs.
\item Network support via a family of socket and protocol classes.
\item Support for platform independent image processing.
\item Built-in support for many file formats (BMP, PNG, JPEG, GIF, XPM, PNM, PCX).
\end{itemize}
\begin{comment}
\section{Changes from version 2.0}\label{versionchanges20}
These are a few of the differences between versions 2.0 and 2.2.
Removals:
\begin{itemize}\itemsep=0pt
\item GTK 1.0 no longer supported.
\end{itemize}
Additions and changes:
\begin{itemize}\itemsep=0pt
\item Corrected many classes to conform better to documented behaviour.
\item Added handlers for more image formats (Now GIF, JPEG, PCX, BMP, XPM, PNG, PNM).
\item Improved support for socket and network functions.
\item Support for different national font encodings.
\item Sizer based layout system.
\item HTML widget and help system.
\item Added some controls (e.g. wxSpinCtrl) and supplemented many.
\item Many optical improvements to GTK port.
\item Support for menu accelerators in GTK port.
\item Enhanced and improved support for scrolling, including child windows.
\item Complete rewrite of clipboard and drag and drop classes.
\item Improved support for ODBC databases.
\item Improved tab traversal in dialogs.
\end{itemize}
\end{comment}
\section{wxWindows requirements}\label{requirements}
To make use of wxWindows, you currently need one of the following setups.
(a) MS-Windows:
\begin{enumerate}\itemsep=0pt
\item A 486 or higher PC running MS Windows.
\item A Windows compiler: most are supported, but please see {\tt install.txt} for
details. Supported compilers include Microsoft Visual C++ 4.0 or higher, Borland C++, Cygwin,
Metrowerks CodeWarrior.
\item At least 60 MB of disk space.
\end{enumerate}
(b) Unix:
\begin{enumerate}\itemsep=0pt
\item Almost any C++ compiler, including GNU C++ (EGCS 1.1.1 or above).
\item Almost any Unix workstation, and one of: GTK+ 1.2, GTK+ 2.0, Motif 1.2 or higher, Lesstif.
\item At least 60 MB of disk space.
\end{enumerate}
(c) Mac OS/Mac OS X:
\begin{enumerate}\itemsep=0pt
\item A PowerPC Mac running Mac OS 8.6/9.x (eg. Classic) or Mac OS X 10.x.
\item CodeWarrior 5.3, 6 or 7 for Classic Mac OS.
\item The Apple Developer Tools (eg. GNU C++) or CodeWarrior 7 for Mac OS X.
\item At least 60 MB of disk space.
\end{enumerate}
\section{Availability and location of wxWindows}
\winhelponly{wxWindows is available by anonymous FTP and World Wide Web
from ftp://biolpc22.york.ac.uk/pub and/or http://www.wxwindows.org.}
\winhelpignore{wxWindows is available by anonymous FTP and World Wide Web
from \urlref{ftp://biolpc22.york.ac.uk/pub}{ftp://biolpc22.york.ac.uk/pub}
and/or \urlref{http://www.wxwindows.org}{http://www.wxwindows.org}.}
You can also buy a CD-ROM using the form on the Web site.
\section{Acknowledgements}
Thanks are due to AIAI for being willing to release the original version of
wxWindows into the public domain, and to our patient partners.
We would particularly like to thank the following for their contributions to wxWindows, and the many others who have been involved in
the project over the years. Apologies for any unintentional omissions from this list.
Yiorgos Adamopoulos, Jamshid Afshar, Alejandro Aguilar-Sierra, AIAI, Patrick Albert, Karsten Ballueder, Michael Bedward, Kai Bendorf, Yura Bidus, Keith
Gary Boyce, Chris Breeze, Pete Britton, Ian Brown, C. Buckley, Dmitri Chubraev, Robin Corbet, Cecil Coupe, Andrew Davison, Neil Dudman, Robin
Dunn, Hermann Dunkel, Jos van Eijndhoven, Tom Felici, Thomas Fettig, Matthew Flatt, Pasquale Foggia, Josep Fortiana, Todd Fries, Dominic Gallagher,
Guillermo Rodriguez Garcia, Wolfram Gloger, Norbert Grotz, Stefan Gunter, Bill Hale, Patrick Halke, Stefan Hammes, Guillaume Helle, Harco de Hilster, Cord Hockemeyer, Markus
Holzem, Olaf Klein, Leif Jensen, Bart Jourquin, Guilhem Lavaux, Jan Lessner, Nicholas Liebmann, Torsten Liermann, Per Lindqvist, Thomas Runge, Tatu
M\"{a}nnist\"{o}, Scott Maxwell, Thomas Myers, Oliver Niedung, Stefan Neis, Hernan Otero, Ian Perrigo, Timothy Peters, Giordano Pezzoli, Harri Pasanen, Thomaso Paoletti,
Garrett Potts, Marcel Rasche, Robert Roebling, Dino Scaringella, Jobst Schmalenbach, Arthur Seaton, Paul Shirley, Vaclav Slavik, Stein Somers, Petr Smilauer, Neil Smith,
Kari Syst\"{a}, Arthur Tetzlaff-Deas, Jonathan Tonberg, Jyrki Tuomi, David Webster, Janos Vegh, Andrea Venturoli, Vadim Zeitlin, Xiaokun Zhu, Edward Zimmermann.
`Graphplace', the basis for the wxGraphLayout library, is copyright Dr. Jos
T.J. van Eijndhoven of Eindhoven University of Technology. The code has
been used in wxGraphLayout with his permission.
We also acknowledge the author of XFIG, the excellent Unix drawing tool,
from the source of which we have borrowed some spline drawing code.
His copyright is included below.
{\it XFig2.1 is copyright (c) 1985 by Supoj Sutanthavibul. Permission to
use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided
that the above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear in supporting
documentation, and that the name of M.I.T. not be used in advertising or
publicity pertaining to distribution of the software without specific,
written prior permission. M.I.T. makes no representations about the
suitability of this software for any purpose. It is provided ``as is''
without express or implied warranty.}
\chapter{Multi-platform development with wxWindows}\label{multiplat}
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
\setfooter{\thepage}{}{}{}{}{\thepage}%
This chapter describes the practical details of using wxWindows. Please
see the file install.txt for up-to-date installation instructions, and
changes.txt for differences between versions.
\section{Include files}
The main include file is {\tt "wx/wx.h"}; this includes the most commonly
used modules of wxWindows.
To save on compilation time, include only those header files relevant to the
source file. If you are using precompiled headers, you should include
the following section before any other includes:
\begin{verbatim}
// For compilers that support precompilation, includes "wx.h".
#include <wx/wxprec.h>
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#ifndef WX_PRECOMP
// Include your minimal set of headers here, or wx.h
#include <wx/wx.h>
#endif
... now your other include files ...
\end{verbatim}
The file {\tt "wx/wxprec.h"} includes {\tt "wx/wx.h"}. Although this incantation
may seem quirky, it is in fact the end result of a lot of experimentation,
and several Windows compilers to use precompilation (those tested are Microsoft Visual C++, Borland C++
and Watcom C++).
Borland precompilation is largely automatic. Visual C++ requires specification of {\tt "wx/wxprec.h"} as
the file to use for precompilation. Watcom C++ is automatic apart from the specification of
the .pch file. Watcom C++ is strange in requiring the precompiled header to be used only for
object files compiled in the same directory as that in which the precompiled header was created.
Therefore, the wxWindows Watcom C++ makefiles go through hoops deleting and recreating
a single precompiled header file for each module, thus preventing an accumulation of many
multi-megabyte .pch files.
\section{Libraries}
The GTK and Motif ports of wxWindow can create either a static library or a shared
library on most Unix or Unix-like systems. The static library is called libwx\_gtk.a
and libwx\_motif.a whereas the name of the shared library is dependent on the
system it is created on and the version you are using. The library name for the
GTK version of wxWindows 2.2 on Linux and Solaris will be libwx\_gtk-2.2.so.0.0.0,
on HP-UX, it will be libwx\_gtk-2.2.sl, on AIX just libwx\_gtk.a etc.
Under Windows, use the library wx.lib (release) or wxd.lib (debug) for stand-alone Windows
applications, or wxdll.lib (wxdlld.lib) for creating DLLs.
\section{Configuration}
Options are configurable in the file
\rtfsp{\tt "wx/XXX/setup.h"} where XXX is the required platform (such as msw, motif, gtk, mac). Some
settings are a matter of taste, some help with platform-specific problems, and
others can be set to minimize the size of the library. Please see the setup.h file
and {\tt install.txt} files for details on configuration.
Under Unix (GTK and Motif) the corresponding setup.h files are generated automatically
when configuring the wxWindows using the "configure" script. When using the RPM packages
for installing wxWindows on Linux, a correct setup.h is shipped in the package and
this must not be changed.
\section{Makefiles}
At the moment there is no attempt to make Unix makefiles and
PC makefiles compatible, i.e. one makefile is required for
each environment. The Unix ports use a sophisticated system based
on the GNU autoconf tool and this system will create the
makefiles as required on the respective platform. Although the
makefiles are not identical in Windows, Mac and Unix, care has
been taken to make them relatively similar so that moving from
one platform to another will be painless.
Sample makefiles for Unix (suffix .unx), MS C++ (suffix .DOS and .NT), Borland
C++ (.BCC and .B32) and Symantec C++ (.SC) are included for the library, demos
and utilities.
The controlling makefile for wxWindows is in the MS-Windows
directory {\tt src/msw} for the different Windows compiler and
in the build directory when using the Unix ports. The build
directory can be chosen by the user. It is the directory in
which the "configure" script is run. This can be the normal
base directory (by running {\tt ./configure} there) or any other
directory (e.g. {\tt ../configure} after creating a build-directory
in the directory level above the base directory).
Please see the platform-specific {\tt install.txt} file for further details.
\section{Windows-specific files}
wxWindows application compilation under MS Windows requires at least two
extra files, resource and module definition files.
\subsection{Resource file}\label{resources}
The least that must be defined in the Windows resource file (extension RC)
is the following statement:
\begin{verbatim}
rcinclude "wx/msw/wx.rc"
\end{verbatim}
which includes essential internal wxWindows definitions. The resource script
may also contain references to icons, cursors, etc., for example:
\begin{verbatim}
wxicon icon wx.ico
\end{verbatim}
The icon can then be referenced by name when creating a frame icon. See
the MS Windows SDK documentation.
\normalbox{Note: include wx.rc {\it after} any ICON statements
so programs that search your executable for icons (such
as the Program Manager) find your application icon first.}
\subsection{Module definition file}
A module definition file (extension DEF) is required for 16-bit applications, and
looks like the following:
\begin{verbatim}
NAME Hello
DESCRIPTION 'Hello'
EXETYPE WINDOWS
STUB 'WINSTUB.EXE'
CODE PRELOAD MOVEABLE DISCARDABLE
DATA PRELOAD MOVEABLE MULTIPLE
HEAPSIZE 1024
STACKSIZE 8192
\end{verbatim}
The only lines which will usually have to be changed per application are
NAME and DESCRIPTION.
\section{Allocating and deleting wxWindows objects}
In general, classes derived from wxWindow must dynamically allocated
with {\it new} and deleted with {\it delete}. If you delete a window,
all of its children and descendants will be automatically deleted,
so you don't need to delete these descendants explicitly.
When deleting a frame or dialog, use {\bf Destroy} rather than {\bf delete} so
that the wxWindows delayed deletion can take effect. This waits until idle time
(when all messages have been processed) to actually delete the window, to avoid
problems associated with the GUI sending events to deleted windows.
Don't create a window on the stack, because this will interfere
with delayed deletion.
If you decide to allocate a C++ array of objects (such as wxBitmap) that may
be cleaned up by wxWindows, make sure you delete the array explicitly
before wxWindows has a chance to do so on exit, since calling {\it delete} on
array members will cause memory problems.
wxColour can be created statically: it is not automatically cleaned
up and is unlikely to be shared between other objects; it is lightweight
enough for copies to be made.
Beware of deleting objects such as a wxPen or wxBitmap if they are still in use.
Windows is particularly sensitive to this: so make sure you
make calls like wxDC::SetPen(wxNullPen) or wxDC::SelectObject(wxNullBitmap) before deleting
a drawing object that may be in use. Code that doesn't do this will probably work
fine on some platforms, and then fail under Windows.
\section{Architecture dependency}
A problem which sometimes arises from writing multi-platform programs is that
the basic C types are not defined the same on all platforms. This holds true
for both the length in bits of the standard types (such as int and long) as
well as their byte order, which might be little endian (typically
on Intel computers) or big endian (typically on some Unix workstations). wxWindows
defines types and macros that make it easy to write architecture independent
code. The types are:
wxInt32, wxInt16, wxInt8, wxUint32, wxUint16 = wxWord, wxUint8 = wxByte
where wxInt32 stands for a 32-bit signed integer type etc. You can also check
which architecture the program is compiled on using the wxBYTE\_ORDER define
which is either wxBIG\_ENDIAN or wxLITTLE\_ENDIAN (in the future maybe wxPDP\_ENDIAN
as well).
The macros handling bit-swapping with respect to the applications endianness
are described in the \helpref{Byte order macros}{byteordermacros} section.
\section{Conditional compilation}
One of the purposes of wxWindows is to reduce the need for conditional
compilation in source code, which can be messy and confusing to follow.
However, sometimes it is necessary to incorporate platform-specific
features (such as metafile use under MS Windows). The symbols
listed in the file {\tt symbols.txt} may be used for this purpose,
along with any user-supplied ones.
\section{C++ issues}
The following documents some miscellaneous C++ issues.
\subsection{Templates}
wxWindows does not use templates since it is a notoriously unportable feature.
\subsection{RTTI}
wxWindows does not use run-time type information since wxWindows provides
its own run-time type information system, implemented using macros.
\subsection{Type of NULL}
Some compilers (e.g. the native IRIX cc) define NULL to be 0L so that
no conversion to pointers is allowed. Because of that, all these
occurrences of NULL in the GTK port use an explicit conversion such
as
{\small
\begin{verbatim}
wxWindow *my_window = (wxWindow*) NULL;
\end{verbatim}
}
It is recommended to adhere to this in all code using wxWindows as
this make the code (a bit) more portable.
\subsection{Precompiled headers}
Some compilers, such as Borland C++ and Microsoft C++, support
precompiled headers. This can save a great deal of compiling time. The
recommended approach is to precompile {\tt "wx.h"}, using this
precompiled header for compiling both wxWindows itself and any
wxWindows applications. For Windows compilers, two dummy source files
are provided (one for normal applications and one for creating DLLs)
to allow initial creation of the precompiled header.
However, there are several downsides to using precompiled headers. One
is that to take advantage of the facility, you often need to include
more header files than would normally be the case. This means that
changing a header file will cause more recompilations (in the case of
wxWindows, everything needs to be recompiled since everything includes {\tt "wx.h"}!)
A related problem is that for compilers that don't have precompiled
headers, including a lot of header files slows down compilation
considerably. For this reason, you will find (in the common
X and Windows parts of the library) conditional
compilation that under Unix, includes a minimal set of headers;
and when using Visual C++, includes {\tt wx.h}. This should help provide
the optimal compilation for each compiler, although it is
biased towards the precompiled headers facility available
in Microsoft C++.
\section{File handling}
When building an application which may be used under different
environments, one difficulty is coping with documents which may be
moved to different directories on other machines. Saving a file which
has pointers to full pathnames is going to be inherently unportable. One
approach is to store filenames on their own, with no directory
information. The application searches through a number of locally
defined directories to find the file. To support this, the class {\bf
wxPathList} makes adding directories and searching for files easy, and
the global function {\bf wxFileNameFromPath} allows the application to
strip off the filename from the path if the filename must be stored.
This has undesirable ramifications for people who have documents of the
same name in different directories.
As regards the limitations of DOS 8+3 single-case filenames versus
unrestricted Unix filenames, the best solution is to use DOS filenames
for your application, and also for document filenames {\it if} the user
is likely to be switching platforms regularly. Obviously this latter
choice is up to the application user to decide. Some programs (such as
YACC and LEX) generate filenames incompatible with DOS; the best
solution here is to have your Unix makefile rename the generated files
to something more compatible before transferring the source to DOS.
Transferring DOS files to Unix is no problem, of course, apart from EOL
conversion for which there should be a utility available (such as
dos2unix).
See also the File Functions section of the reference manual for
descriptions of miscellaneous file handling functions.
\chapter{Utilities and libraries supplied with wxWindows}\label{utilities}
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
\setfooter{\thepage}{}{}{}{}{\thepage}%
In addition to the core wxWindows library, a number of further
libraries and utilities are supplied with each distribution.
Some are under the 'contrib' hierarchy which mirrors the
structure of the main wxWindows hierarchy. See also the 'utils'
hierarchy. The first place to look for documentation about
these tools and libraries is under the wxWindows 'docs' hierarchy,
for example {\tt docs/htmlhelp/fl.chm}.
For other user-contributed packages, please see the Contributions page
on the \urlref{wxWindows Web site}{http://www.wxwindows.org}.
\begin{description}\itemsep=0pt
\item[{\bf Helpview}]
Helpview is a program for displaying wxWindows HTML
Help files. In many cases, you may wish to use the wxWindows HTML
Help classes from within your application, but this provides a
handy stand-alone viewer. See \helpref{wxHTML Notes}{wxhtml} for more details.
You can find it in {\tt samples/html/helpview}.
\item[{\bf Tex2RTF}]
Supplied with wxWindows is a utility called Tex2RTF for converting\rtfsp
\LaTeX\ manuals HTML, MS HTML Help, wxHTML Help, RTF, and Windows
Help RTF formats. Tex2RTF is used for the wxWindows manuals and can be used independently
by authors wishing to create on-line and printed manuals from the same\rtfsp
\LaTeX\ source. Please see the separate documentation for Tex2RTF.
You can find it under {\tt utils/tex2rtf}.
\item[{\bf Helpgen}]
Helpgen takes C++ header files and generates a Tex2RTF-compatible
documentation file for each class it finds, using comments as appropriate.
This is a good way to start a reference for a set of classes.
\item[{\bf Dialog Editor}]
Dialog Editor allows interactive construction of dialogs using
absolute positioning, producing WXR output files. This tool is generally deprecated
in favour of sizer-based tools. You can find Dialog Editor
in {\tt utils/dialoged}.
\item[{\bf XRC resource system}]
This is the sizer-aware replacement for the WXR resource system, and uses
XML-based resource specifications that can be generated by tools
such as \urlref{wxDesigner}{http://www.roebling.de} and XRC's own wxrcedit.
You can find this in {\tt contrib/src/xrc}, {\tt contrib/include/wx/xrc}, {\tt contrib/samples/xrc}, and {\tt contrib/utils/wxrcedit}.
For more information, see the \helpref{XML-based resource system overview}{xrcoverview}.
\item[{\bf Object Graphics Library}]
OGL defines an API for applications that need to display objects connected by lines.
The objects can be moved around and interacted with.
You can find this in {\tt contrib/src/ogl}, {\tt contrib/include/wx/ogl}, and {\tt contrib/samples/ogl}.
\item[{\bf Frame Layout library}]
FL provides sophisticated pane dragging and docking facilities.
You can find this in {\tt contrib/src/fl}, {\tt contrib/include/wx/fl}, and {\tt contrib/samples/fl}.
\item[{\bf Gizmos library}]
Gizmos is a collection of useful widgets and other classes. Classes include wxLEDNumberCtrl,
wxEditableListBox, wxMultiCellCanvas.
You can find this in {\tt contrib/src/fl}, {\tt contrib/include/wx/fl}, and {\tt contrib/samples/fl}.
\item[{\bf Net library}]
Net is a collection of very simple mail and web related classes. Currently
there is only wxEmail, which makes it easy to send email messages via MAPI on Windows or sendmail on Unix.
You can find this in {\tt contrib/src/net} and {\tt contrib/include/wx/net}.
\item[{\bf Animate library}]
Animate allows you to load animated GIFs and play them on a window. The library can be extended
to use other animation formats.
You can find this in {\tt contrib/src/animate}, {\tt contrib/include/wx/animate}, and {\tt contrib/samples/animate}.
\item[{\bf Canvas library}]
Canvas supports high-level, double-buffered drawing operations with transformations.
You can find this in {\tt contrib/src/canvas}, {\tt contrib/include/wx/canvas}, and {\tt contrib/samples/canvas}.
\item[{\bf MMedia library}]
Mmedia supports a variety of multimedia functionality. The status of this library is currently unclear.
You can find this in {\tt contrib/src/mmedia}, {\tt contrib/include/wx/mmedia}, and {\tt contrib/samples/mmedia}.
\item[{\bf Styled Text Control library}]
STC is a wrapper around Scintilla, a syntax-highlighting text editor.
You can find this in {\tt contrib/src/stc}, {\tt contrib/include/wx/stc}, and {\tt contrib/samples/stc}.
\item[{\bf Plot}]
Plot is a simple curve plotting library.
You can find this in {\tt contrib/src/plot}, {\tt contrib/include/wx/plot}, and {\tt contrib/samples/plot}.
\end{description}
\chapter{Programming strategies}\label{strategies}
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
\setfooter{\thepage}{}{}{}{}{\thepage}%
This chapter is intended to list strategies that may be useful when
writing and debugging wxWindows programs. If you have any good tips,
please submit them for inclusion here.
\section{Strategies for reducing programming errors}
\subsection{Use ASSERT}
Although I haven't done this myself within wxWindows, it is good
practice to use ASSERT statements liberally, that check for conditions that
should or should not hold, and print out appropriate error messages.
These can be compiled out of a non-debugging version of wxWindows
and your application. Using ASSERT is an example of `defensive programming':
it can alert you to problems later on.
\subsection{Use wxString in preference to character arrays}
Using wxString can be much safer and more convenient than using char *.
Again, I haven't practiced what I'm preaching, but I'm now trying to use
wxString wherever possible. You can reduce the possibility of memory
leaks substantially, and it is much more convenient to use the overloaded
operators than functions such as strcmp. wxString won't add a significant
overhead to your program; the overhead is compensated for by easier
manipulation (which means less code).
The same goes for other data types: use classes wherever possible.
\section{Strategies for portability}
\subsection{Use relative positioning or constraints}
Don't use absolute panel item positioning if you can avoid it. Different GUIs have
very differently sized panel items. Consider using the constraint system, although this
can be complex to program.
Alternatively, you could use alternative .wrc (wxWindows resource files) on different
platforms, with slightly different dimensions in each. Or space your panel items out
to avoid problems.
\subsection{Use wxWindows resource files}
Use .wrc (wxWindows resource files) where possible, because they can be easily changed
independently of source code. Bitmap resources can be set up to load different
kinds of bitmap depending on platform (see the section on resource files).
\section{Strategies for debugging}\label{debugstrategies}
\subsection{Positive thinking}
It is common to blow up the problem in one's imagination, so that it seems to threaten
weeks, months or even years of work. The problem you face may seem insurmountable:
but almost never is. Once you have been programming for some time, you will be able
to remember similar incidents that threw you into the depths of despair. But
remember, you always solved the problem, somehow!
Perseverance is often the key, even though a seemingly trivial problem
can take an apparently inordinate amount of time to solve. In the end,
you will probably wonder why you worried so much. That's not to say it
isn't painful at the time. Try not to worry -- there are many more important
things in life.
\subsection{Simplify the problem}
Reduce the code exhibiting the problem to the smallest program possible
that exhibits the problem. If it is not possible to reduce a large and
complex program to a very small program, then try to ensure your code
doesn't hide the problem (you may have attempted to minimize the problem
in some way: but now you want to expose it).
With luck, you can add a small amount of code that causes the program
to go from functioning to non-functioning state. This should give a clue
to the problem. In some cases though, such as memory leaks or wrong
deallocation, this can still give totally spurious results!
\subsection{Use a debugger}
This sounds like facetious advice, but it is surprising how often people
don't use a debugger. Often it is an overhead to install or learn how to
use a debugger, but it really is essential for anything but the most
trivial programs.
\subsection{Use logging functions}
There is a variety of logging functions that you can use in your program:
see \helpref{Logging functions}{logfunctions}.
Using tracing statements may be more convenient than using the debugger
in some circumstances (such as when your debugger doesn't support a lot
of debugging code, or you wish to print a bunch of variables).
\subsection{Use the wxWindows debugging facilities}
You can use wxDebugContext to check for
memory leaks and corrupt memory: in fact in debugging mode, wxWindows will
automatically check for memory leaks at the end of the program if wxWindows is suitably
configured. Depending on the operating system and compiler, more or less
specific information about the problem will be logged.
You should also use \helpref{debug macros}{debugmacros} as part of a `defensive programming' strategy,
scattering wxASSERTs liberally to test for problems in your code as early as possible. Forward thinking
will save a surprising amount of time in the long run.
See the \helpref{debugging overview}{debuggingoverview} for further information.
\subsection{Check Windows debug messages}
Under Windows, it is worth running your program with
\urlref{DbgView}{http://www.sysinternals.com} running or
some other program that shows Windows-generated debug messages. It is
possible it will show invalid handles being used. You may have fun seeing
what commercial programs cause these normally hidden errors! Microsoft
recommend using the debugging version of Windows, which shows up even
more problems. However, I doubt it is worth the hassle for most
applications. wxWindows is designed to minimize the possibility of such
errors, but they can still happen occasionally, slipping through unnoticed
because they are not severe enough to cause a crash.
\subsection{Genetic mutation}
If we had sophisticated genetic algorithm tools that could be applied
to programming, we could use them. Until then, a common -- if rather irrational --
technique is to just make arbitrary changes to the code until something
different happens. You may have an intuition why a change will make a difference;
otherwise, just try altering the order of code, comment lines out, anything
to get over an impasse. Obviously, this is usually a last resort.

View File

@@ -0,0 +1,46 @@
\section{\class{wxBoxSizer}}\label{wxboxsizer}
The basic idea behind a box sizer is that windows will most often be laid out in rather
simple basic geometry, typically in a row or a column or several hierarchies of either.
For more information, please see \helpref{Programming with wxBoxSizer}{boxsizerprogramming}.
\wxheading{Derived from}
\helpref{wxSizer}{wxsizer}\\
\helpref{wxObject}{wxobject}
\wxheading{See also}
\helpref{wxSizer}{wxsizer}, \helpref{Sizer overview}{sizeroverview}
\membersection{wxBoxSizer::wxBoxSizer}\label{wxboxsizerwxboxsizer}
\func{}{wxBoxSizer}{\param{int }{orient}}
Constructor for a wxBoxSizer. {\it orient} may be either of wxVERTICAL
or wxHORIZONTAL for creating either a column sizer or a row sizer.
\membersection{wxBoxSizer::RecalcSizes}\label{wxboxsizerrecalcsizes}
\func{void}{RecalcSizes}{\void}
Implements the calculation of a box sizer's dimensions and then sets
the size of its its children (calling \helpref{wxWindow::SetSize}{wxwindowsetsize}
if the child is a window). It is used internally only and must not be called
by the user. Documented for information.
\membersection{wxBoxSizer::CalcMin}\label{wxboxsizercalcmin}
\func{wxSize}{CalcMin}{\void}
Implements the calculation of a box sizer's minimal. It is used internally
only and must not be called by the user. Documented for information.
\membersection{wxBoxSizer::GetOrientation}\label{wxboxsizergetorientation}
\func{int}{GetOrientation}{\void}
Returns the orientation of the box sizer, either wxVERTICAL
or wxHORIZONTAL.

371
docs/latex/wx/brush.tex Normal file
View File

@@ -0,0 +1,371 @@
\section{\class{wxBrush}}\label{wxbrush}
A brush is a drawing tool for filling in areas. It is used for painting
the background of rectangles, ellipses, etc. It has a colour and a
style.
\wxheading{Derived from}
\helpref{wxGDIObject}{wxgdiobject}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/brush.h>
\wxheading{Predefined objects}
Objects:
{\bf wxNullBrush}
Pointers:
{\bf wxBLUE\_BRUSH\\
wxGREEN\_BRUSH\\
wxWHITE\_BRUSH\\
wxBLACK\_BRUSH\\
wxGREY\_BRUSH\\
wxMEDIUM\_GREY\_BRUSH\\
wxLIGHT\_GREY\_BRUSH\\
wxTRANSPARENT\_BRUSH\\
wxCYAN\_BRUSH\\
wxRED\_BRUSH}
\wxheading{Remarks}
On a monochrome display, wxWindows shows
all brushes as white unless the colour is really black.
Do not initialize objects on the stack before the program commences,
since other required structures may not have been set up yet. Instead,
define global pointers to objects and create them in \helpref{wxApp::OnInit}{wxapponinit} or
when required.
An application may wish to create brushes with different
characteristics dynamically, and there is the consequent danger that a
large number of duplicate brushes will be created. Therefore an
application may wish to get a pointer to a brush by using the global
list of brushes {\bf wxTheBrushList}, and calling the member function
\rtfsp{\bf FindOrCreateBrush}.
wxBrush uses a reference counting system, so assignments between brushes are very
cheap. You can therefore use actual wxBrush objects instead of pointers without
efficiency problems. Once one wxBrush object changes its data it will create its
own brush data internally so that other brushes, which previously shared the
data using the reference counting, are not affected.
%TODO: an overview for wxBrush.
\wxheading{See also}
\helpref{wxBrushList}{wxbrushlist}, \helpref{wxDC}{wxdc}, \helpref{wxDC::SetBrush}{wxdcsetbrush}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxBrush::wxBrush}
\func{}{wxBrush}{\void}
Default constructor. The brush will be uninitialised, and \helpref{wxBrush::Ok}{wxbrushok} will
return FALSE.
\func{}{wxBrush}{\param{const wxColour\&}{ colour}, \param{int}{ style}}
Constructs a brush from a colour object and style.
\func{}{wxBrush}{\param{const wxString\& }{colourName}, \param{int}{ style}}
Constructs a brush from a colour name and style.
\func{}{wxBrush}{\param{const wxBitmap\& }{stippleBitmap}}
Constructs a stippled brush using a bitmap.
\func{}{wxBrush}{\param{const wxBrush\&}{ brush}}
Copy constructor. This uses reference counting so is a cheap operation.
\wxheading{Parameters}
\docparam{colour}{Colour object.}
\docparam{colourName}{Colour name. The name will be looked up in the colour database.}
\docparam{style}{One of:
\begin{twocollist}\itemsep=0pt
\twocolitem{{\bf wxTRANSPARENT}}{Transparent (no fill).}
\twocolitem{{\bf wxSOLID}}{Solid.}
\twocolitem{{\bf wxBDIAGONAL\_HATCH}}{Backward diagonal hatch.}
\twocolitem{{\bf wxCROSSDIAG\_HATCH}}{Cross-diagonal hatch.}
\twocolitem{{\bf wxFDIAGONAL\_HATCH}}{Forward diagonal hatch.}
\twocolitem{{\bf wxCROSS\_HATCH}}{Cross hatch.}
\twocolitem{{\bf wxHORIZONTAL\_HATCH}}{Horizontal hatch.}
\twocolitem{{\bf wxVERTICAL\_HATCH}}{Vertical hatch.}
\end{twocollist}}
\docparam{brush}{Pointer or reference to a brush to copy.}
\docparam{stippleBitmap}{A bitmap to use for stippling.}
\wxheading{Remarks}
If a stipple brush is created, the brush style will be set to wxSTIPPLE.
\wxheading{See also}
\helpref{wxBrushList}{wxbrushlist}, \helpref{wxColour}{wxcolour}, \helpref{wxColourDatabase}{wxcolourdatabase}
\membersection{wxBrush::\destruct{wxBrush}}
\func{void}{\destruct{wxBrush}}{\void}
Destructor.
\wxheading{Remarks}
The destructor may not delete the underlying brush object of the native windowing
system, since wxBrush uses a reference counting system for efficiency.
Although all remaining brushes are deleted when the application exits,
the application should try to clean up all brushes itself. This is because
wxWindows cannot know if a pointer to the brush object is stored in an
application data structure, and there is a risk of double deletion.
\membersection{wxBrush::GetColour}\label{wxbrushgetcolour}
\constfunc{wxColour\&}{GetColour}{\void}
Returns a reference to the brush colour.
\wxheading{See also}
\helpref{wxBrush::SetColour}{wxbrushsetcolour}
\membersection{wxBrush::GetStipple}\label{wxbrushgetstipple}
\constfunc{wxBitmap *}{GetStipple}{\void}
Gets a pointer to the stipple bitmap. If the brush does not have a wxSTIPPLE style,
this bitmap may be non-NULL but uninitialised (\helpref{wxBitmap::Ok}{wxbitmapok} returns FALSE).
\wxheading{See also}
\helpref{wxBrush::SetStipple}{wxbrushsetstipple}
\membersection{wxBrush::GetStyle}\label{wxbrushgetstyle}
\constfunc{int}{GetStyle}{\void}
Returns the brush style, one of:
\begin{twocollist}\itemsep=0pt
\twocolitem{{\bf wxTRANSPARENT}}{Transparent (no fill).}
\twocolitem{{\bf wxSOLID}}{Solid.}
\twocolitem{{\bf wxBDIAGONAL\_HATCH}}{Backward diagonal hatch.}
\twocolitem{{\bf wxCROSSDIAG\_HATCH}}{Cross-diagonal hatch.}
\twocolitem{{\bf wxFDIAGONAL\_HATCH}}{Forward diagonal hatch.}
\twocolitem{{\bf wxCROSS\_HATCH}}{Cross hatch.}
\twocolitem{{\bf wxHORIZONTAL\_HATCH}}{Horizontal hatch.}
\twocolitem{{\bf wxVERTICAL\_HATCH}}{Vertical hatch.}
\twocolitem{{\bf wxSTIPPLE}}{Stippled using a bitmap.}
\twocolitem{{\bf wxSTIPPLE\_MASK\_OPAQUE}}{Stippled using a bitmap's mask.}
\end{twocollist}
\wxheading{See also}
\helpref{wxBrush::SetStyle}{wxbrushsetstyle}, \helpref{wxBrush::SetColour}{wxbrushsetcolour},\rtfsp
\helpref{wxBrush::SetStipple}{wxbrushsetstipple}
\membersection{wxBrush::Ok}\label{wxbrushok}
\constfunc{bool}{Ok}{\void}
Returns TRUE if the brush is initialised. It will return FALSE if the default
constructor has been used (for example, the brush is a member of a class, or
NULL has been assigned to it).
\membersection{wxBrush::SetColour}\label{wxbrushsetcolour}
\func{void}{SetColour}{\param{wxColour\& }{colour}}
Sets the brush colour using a reference to a colour object.
\func{void}{SetColour}{\param{const wxString\& }{colourName}}
Sets the brush colour using a colour name from the colour database.
\func{void}{SetColour}{\param{const unsigned char}{ red}, \param{const unsigned char}{ green}, \param{const unsigned char}{ blue}}
Sets the brush colour using red, green and blue values.
\wxheading{See also}
\helpref{wxBrush::GetColour}{wxbrushgetcolour}
\membersection{wxBrush::SetStipple}\label{wxbrushsetstipple}
\func{void}{SetStipple}{\param{const wxBitmap\&}{ bitmap}}
Sets the stipple bitmap.
\wxheading{Parameters}
\docparam{bitmap}{The bitmap to use for stippling.}
\wxheading{Remarks}
The style will be set to wxSTIPPLE, unless the bitmap has a mask associated
to it, in which case the style will be set to wxSTIPPLE\_MASK\_OPAQUE.
If the wxSTIPPLE variant is used, the bitmap will be used to fill out the
area to be drawn. If the wxSTIPPLE\_MASK\_OPAQUE is used, the current
text foreground and text background determine what colours are used for
displaying and the bits in the mask (which is a mono-bitmap actually)
determine where to draw what.
Note that under Windows 95, only 8x8 pixel large stipple bitmaps are
supported, Windows 98 and NT as well as GTK support arbitrary bitmaps.
\wxheading{See also}
\helpref{wxBitmap}{wxbitmap}
\membersection{wxBrush::SetStyle}\label{wxbrushsetstyle}
\func{void}{SetStyle}{\param{int}{ style}}
Sets the brush style.
\docparam{style}{One of:
\begin{twocollist}\itemsep=0pt
\twocolitem{{\bf wxTRANSPARENT}}{Transparent (no fill).}
\twocolitem{{\bf wxSOLID}}{Solid.}
\twocolitem{{\bf wxBDIAGONAL\_HATCH}}{Backward diagonal hatch.}
\twocolitem{{\bf wxCROSSDIAG\_HATCH}}{Cross-diagonal hatch.}
\twocolitem{{\bf wxFDIAGONAL\_HATCH}}{Forward diagonal hatch.}
\twocolitem{{\bf wxCROSS\_HATCH}}{Cross hatch.}
\twocolitem{{\bf wxHORIZONTAL\_HATCH}}{Horizontal hatch.}
\twocolitem{{\bf wxVERTICAL\_HATCH}}{Vertical hatch.}
\twocolitem{{\bf wxSTIPPLE}}{Stippled using a bitmap.}
\twocolitem{{\bf wxSTIPPLE\_MASK\_OPAQUE}}{Stippled using a bitmap's mask.}
\end{twocollist}}
\wxheading{See also}
\helpref{wxBrush::GetStyle}{wxbrushgetstyle}
\membersection{wxBrush::operator $=$}\label{wxbrushassignment}
\func{wxBrush\&}{operator $=$}{\param{const wxBrush\& }{brush}}
Assignment operator, using reference counting. Returns a reference
to `this'.
\membersection{wxBrush::operator $==$}\label{wxbrushequals}
\func{bool}{operator $==$}{\param{const wxBrush\& }{brush}}
Equality operator. Two brushes are equal if they contain pointers
to the same underlying brush data. It does not compare each attribute,
so two independently-created brushes using the same parameters will
fail the test.
\membersection{wxBrush::operator $!=$}\label{wxbrushnotequals}
\func{bool}{operator $!=$}{\param{const wxBrush\& }{brush}}
Inequality operator. Two brushes are not equal if they contain pointers
to different underlying brush data. It does not compare each attribute.
\section{\class{wxBrushList}}\label{wxbrushlist}
A brush list is a list containing all brushes which have been created.
\wxheading{Derived from}
\helpref{wxList}{wxlist}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/gdicmn.h>
\wxheading{Remarks}
There is only one instance of this class: {\bf wxTheBrushList}. Use
this object to search for a previously created brush of the desired
type and create it if not already found. In some windowing systems,
the brush may be a scarce resource, so it can pay to reuse old
resources if possible. When an application finishes, all brushes will
be deleted and their resources freed, eliminating the possibility of
`memory leaks'. However, it is best not to rely on this automatic
cleanup because it can lead to double deletion in some circumstances.
There are two mechanisms in recent versions of wxWindows which make the
brush list less useful than it once was. Under Windows, scarce resources
are cleaned up internally if they are not being used. Also, a referencing
counting mechanism applied to all GDI objects means that some sharing
of underlying resources is possible. You don't have to keep track of pointers,
working out when it is safe delete a brush, because the referencing counting does
it for you. For example, you can set a brush in a device context, and then
immediately delete the brush you passed, because the brush is `copied'.
So you may find it easier to ignore the brush list, and instead create
and copy brushes as you see fit. If your Windows resource meter suggests
your application is using too many resources, you can resort to using
GDI lists to share objects explicitly.
The only compelling use for the brush list is for wxWindows to keep
track of brushes in order to clean them up on exit. It is also kept for
backward compatibility with earlier versions of wxWindows.
\wxheading{See also}
\helpref{wxBrush}{wxbrush}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxBrushList::wxBrushList}\label{wxbrushlistconstr}
\func{void}{wxBrushList}{\void}
Constructor. The application should not construct its own brush list:
use the object pointer {\bf wxTheBrushList}.
\membersection{wxBrushList::AddBrush}\label{wxbrushlistaddbrush}
\func{void}{AddBrush}{\param{wxBrush *}{brush}}
Used internally by wxWindows to add a brush to the list.
\membersection{wxBrushList::FindOrCreateBrush}\label{wxbrushlistfindorcreatebrush}
\func{wxBrush *}{FindOrCreateBrush}{\param{const wxColour\& }{colour}, \param{int}{ style}}
Finds a brush with the specified attributes and returns it, else creates a new brush, adds it
to the brush list, and returns it.
\func{wxBrush *}{FindOrCreateBrush}{\param{const wxString\& }{colourName}, \param{int}{ style}}
Finds a brush with the specified attributes and returns it, else creates a new brush, adds it
to the brush list, and returns it.
Finds a brush of the given specification, or creates one and adds it to the list.
\wxheading{Parameters}
\docparam{colour}{Colour object.}
\docparam{colourName}{Colour name, which should be in the colour database.}
\docparam{style}{Brush style. See \helpref{wxBrush::SetStyle}{wxbrushsetstyle} for a list of styles.}
\membersection{wxBrushList::RemoveBrush}\label{wxbrushlistremovebrush}
\func{void}{RemoveBrush}{\param{wxBrush *}{brush}}
Used by wxWindows to remove a brush from the list.

View File

@@ -0,0 +1,46 @@
\section{\class{wxBusyCursor}}\label{wxbusycursor}
This class makes it easy to tell your user that the program is temporarily busy.
Just create a wxBusyCursor object on the stack, and within the current scope,
the hourglass will be shown.
For example:
\begin{verbatim}
wxBusyCursor wait;
for (int i = 0; i < 100000; i++)
DoACalculation();
\end{verbatim}
It works by calling \helpref{wxBeginBusyCursor}{wxbeginbusycursor} in the constructor,
and \helpref{wxEndBusyCursor}{wxendbusycursor} in the destructor.
\wxheading{Derived from}
None
\wxheading{Include files}
<wx/utils.h>
\wxheading{See also}
\helpref{wxBeginBusyCursor}{wxbeginbusycursor},\rtfsp
\helpref{wxEndBusyCursor}{wxendbusycursor},\rtfsp
\helpref{wxWindowDisabler}{wxwindowdisabler}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxBusyCursor::wxBusyCursor}
\func{}{wxBusyCursor}{\param{wxCursor*}{ cursor = wxHOURGLASS\_CURSOR}}
Constructs a busy cursor object, calling \helpref{wxBeginBusyCursor}{wxbeginbusycursor}.
\membersection{wxBusyCursor::\destruct{wxBusyCursor}}
\func{}{\destruct{wxBusyCursor}}{\void}
Destroys the busy cursor object, calling \helpref{wxEndBusyCursor}{wxendbusycursor}.

View File

@@ -0,0 +1,69 @@
\section{\class{wxBusyInfo}}\label{wxbusyinfo}
This class makes it easy to tell your user that the program is temporarily busy.
Just create a wxBusyInfo object on the stack, and within the current scope,
a message window will be shown.
For example:
\begin{verbatim}
wxBusyInfo wait("Please wait, working...");
for (int i = 0; i < 100000; i++)
{
DoACalculation();
}
\end{verbatim}
It works by creating a window in the constructor,
and deleting it in the destructor.
You may also want to call wxTheApp->Yield() to refresh the window
periodically (in case it had been obscured by other windows, for
example) like this:
\begin{verbatim}
wxWindowDisabler disableAll;
wxBusyInfo wait("Please wait, working...");
for (int i = 0; i < 100000; i++)
{
DoACalculation();
if ( !(i % 1000) )
wxTheApp->Yield();
}
\end{verbatim}
but take care to not cause undesirable reentrancies when doing it (see
\helpref{wxApp::Yield()}{wxappyield} for more details). The simplest way to do
it is to use \helpref{wxWindowDisabler}{wxwindowdisabler} class as illustrated
in the above example.
\wxheading{Derived from}
None
\wxheading{Include files}
<wx/busyinfo.h>
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxBusyInfo::wxBusyInfo}
\func{}{wxBusyInfo}{\param{const wxString\&}{ msg}, \param{wxParent }{*parent = NULL}}
Constructs a busy info window as child of {\it parent} and displays {\it msg}
in it.
{\bf NB:} If {\it parent} is not {\tt NULL} you must ensure that it is not
closed while the busy info is shown.
\membersection{wxBusyInfo::\destruct{wxBusyInfo}}
\func{}{\destruct{wxBusyInfo}}{\void}
Hides and closes the window containing the information text.

153
docs/latex/wx/button.tex Normal file
View File

@@ -0,0 +1,153 @@
\section{\class{wxButton}}\label{wxbutton}
A button is a control that contains a text string,
and is one of the commonest elements of a GUI. It may be placed on a
\rtfsp\helpref{dialog box}{wxdialog} or \helpref{panel}{wxpanel}, or indeed
almost any other window.
\wxheading{Derived from}
\helpref{wxControl}{wxcontrol}\\
\helpref{wxWindow}{wxwindow}\\
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/button.h>
\wxheading{Window styles}
\twocolwidtha{5cm}%
\begin{twocollist}\itemsep=0pt
\twocolitem{\windowstyle{wxBU\_LEFT}}{Left-justifies the label. WIN32 only.}
\twocolitem{\windowstyle{wxBU\_TOP}}{Aligns the label to the top of the button. WIN32 only.}
\twocolitem{\windowstyle{wxBU\_RIGHT}}{Right-justifies the bitmap label. WIN32 only.}
\twocolitem{\windowstyle{wxBU\_BOTTOM}}{Aligns the label to the bottom of the button. WIN32 only.}
\twocolitem{\windowstyle{wxBU\_EXACTFIT}}{Creates the button as small as possible instead of making it of the standard size (which is the default behaviour ).}
\end{twocollist}
See also \helpref{window styles overview}{windowstyles}.
\wxheading{Event handling}
\twocolwidtha{7cm}%
\begin{twocollist}\itemsep=0pt
\twocolitem{{\bf EVT\_BUTTON(id, func)}}{Process a wxEVT\_COMMAND\_BUTTON\_CLICKED event,
when the button is clicked.}
\end{twocollist}
\wxheading{See also}
\helpref{wxBitmapButton}{wxbitmapbutton}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxButton::wxButton}\label{wxbuttonconstr}
\func{}{wxButton}{\void}
Default constructor.
\func{}{wxButton}{\param{wxWindow* }{parent}, \param{wxWindowID}{ id}, \param{const wxString\& }{label},\rtfsp
\param{const wxPoint\& }{pos}, \param{const wxSize\& }{size = wxDefaultSize},\rtfsp
\param{long}{ style = 0}, \param{const wxValidator\& }{validator}, \param{const wxString\& }{name = ``button"}}
Constructor, creating and showing a button.
\wxheading{Parameters}
\docparam{parent}{Parent window. Must not be NULL.}
\docparam{id}{Button identifier. A value of -1 indicates a default value.}
\docparam{label}{Text to be displayed on the button.}
\docparam{pos}{Button position.}
\docparam{size}{Button size. If the default size (-1, -1) is specified then the button is sized
appropriately for the text.}
\docparam{style}{Window style. See \helpref{wxButton}{wxbutton}.}
\docparam{validator}{Window validator.}
\docparam{name}{Window name.}
\wxheading{See also}
\helpref{wxButton::Create}{wxbuttoncreate}, \helpref{wxValidator}{wxvalidator}
\membersection{wxButton::\destruct{wxButton}}
\func{}{\destruct{wxButton}}{\void}
Destructor, destroying the button.
\membersection{wxButton::Create}\label{wxbuttoncreate}
\func{bool}{Create}{\param{wxWindow* }{parent}, \param{wxWindowID}{ id}, \param{const wxString\& }{label},\rtfsp
\param{const wxPoint\& }{pos}, \param{const wxSize\& }{size = wxDefaultSize},\rtfsp
\param{long}{ style = 0}, \param{const wxValidator\& }{validator}, \param{const wxString\& }{name = ``button"}}
Button creation function for two-step creation. For more details, see \helpref{wxButton::wxButton}{wxbuttonconstr}.
\membersection{wxButton::GetLabel}\label{wxbuttongetlabel}
\constfunc{wxString}{GetLabel}{\void}
Returns the string label for the button.
\wxheading{Return value}
The button's label.
\wxheading{See also}
\helpref{wxButton::SetLabel}{wxbuttonsetlabel}
\membersection{wxButton::GetDefaultSize}\label{wxbuttongetdefaultsize}
\func{wxSize}{GetDefaultSize}{\void}
Returns the default size for the buttons. It is advised to make all the dialog
buttons of the same size and this function allows to retrieve the (platform and
current font dependent size) which should be the best suited for this.
\membersection{wxButton::SetDefault}\label{wxbuttonsetdefault}
\func{void}{SetDefault}{\void}
This sets the button to be the default item for the panel or dialog
box.
\wxheading{Remarks}
Under Windows, only dialog box buttons respond to this function. As
normal under Windows and Motif, pressing return causes the default button to
be depressed when the return key is pressed. See also \helpref{wxWindow::SetFocus}{wxwindowsetfocus}\rtfsp
which sets the keyboard focus for windows and text panel items,\rtfsp
and \helpref{wxPanel::SetDefaultItem}{wxpanelsetdefaultitem}.
Note that under Motif, calling this function immediately after
creation of a button and before the creation of other buttons
will cause misalignment of the row of buttons, since default
buttons are larger. To get around this, call {\it SetDefault}\rtfsp
after you have created a row of buttons: wxWindows will
then set the size of all buttons currently on the panel to
the same size.
\membersection{wxButton::SetLabel}\label{wxbuttonsetlabel}
\func{void}{SetLabel}{\param{const wxString\& }{label}}
Sets the string label for the button.
\wxheading{Parameters}
\docparam{label}{The label to set.}
\wxheading{See also}
\helpref{wxButton::GetLabel}{wxbuttongetlabel}

View File

@@ -0,0 +1,64 @@
\section{\class{wxCalculateLayoutEvent}}\label{wxcalculatelayoutevent}
This event is sent by \helpref{wxLayoutAlgorithm}{wxlayoutalgorithm} to
calculate the amount of the remaining client area that the window should
occupy.
\wxheading{Derived from}
\helpref{wxEvent}{wxevent}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/laywin.h>
\wxheading{Event table macros}
\twocolwidtha{7cm}%
\begin{twocollist}\itemsep=0pt
\twocolitem{{\bf EVT\_CALCULATE\_LAYOUT(func)}}{Process a wxEVT\_CALCULATE\_LAYOUT event,
which asks the window to take a 'bite' out of a rectangle provided by the algorithm.}
\end{twocollist}
\wxheading{See also}
\helpref{wxQueryLayoutInfoEvent}{wxquerylayoutinfoevent},\rtfsp
\helpref{wxSashLayoutWindow}{wxsashlayoutwindow},\rtfsp
\helpref{wxLayoutAlgorithm}{wxlayoutalgorithm}.
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxCalculateLayoutEvent::wxCalculateLayoutEvent}
\func{}{wxCalculateLayoutEvent}{\param{wxWindowID }{id = 0}}
Constructor.
\membersection{wxCalculateLayoutEvent::GetFlags}\label{wxcalculatelayouteventgetflags}
\constfunc{int}{GetFlags}{\void}
Returns the flags associated with this event. Not currently used.
\membersection{wxCalculateLayoutEvent::GetRect}\label{wxcalculatelayouteventgetrect}
\constfunc{wxRect}{GetRect}{\void}
Before the event handler is entered, returns the remaining parent client area that the window
could occupy. When the event handler returns, this should contain the remaining parent client rectangle,
after the event handler has subtracted the area that its window occupies.
\membersection{wxCalculateLayoutEvent::SetFlags}\label{wxcalculatelayouteventsetflags}
\func{void}{SetFlags}{\param{int }{flags}}
Sets the flags associated with this event. Not currently used.
\membersection{wxCalculateLayoutEvent::SetRect}\label{wxcalculatelayouteventsetrect}
\func{void}{SetRect}{\param{const wxRect\& }{rect}}
Call this to specify the new remaining parent client area, after the space occupied by the
window has been subtracted.

453
docs/latex/wx/calctrl.tex Normal file
View File

@@ -0,0 +1,453 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Name: calctrl.tex
%% Purpose: wxCalendarCtrl documentation
%% Author: Vadim Zeitlin
%% Modified by:
%% Created: 03.01.00
%% RCS-ID: $Id$
%% Copyright: (c) Vadim Zeitlin
%% License: wxWindows license
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{\class{wxCalendarCtrl}}\label{wxcalendarctrl}
The calendar control allows the user to pick a date interactively. For this,
it displays a window containing several parts: the control to pick the month
and the year at the top (either or both of them may be disabled) and a month
area below them which shows all the days in the month. The user can move the
current selection using the keyboard and select the date (generating
{\tt EVT\_CALENDAR} event) by pressing {\tt <Return>} or double clicking it.
It has advanced possibilities for the customization of its display. All global
settings (such as colours and fonts used) can, of course, be changed. But
also, the display style for each day in the month can be set independently
using \helpref{wxCalendarDateAttr}{wxcalendardateattr} class.
An item without custom attributes is drawn with the default colours and
font and without border, but setting custom attributes with
\helpref{SetAttr}{wxcalendarctrlsetattr} allows to modify its appearance. Just
create a custom attribute object and set it for the day you want to be
displayed specially (note that the control will take ownership of the pointer,
i.e. it will delete it itself). A day may be marked as being a holiday, even
if it is not recognized as one by \helpref{wxDateTime}{tdateholidays} using
\helpref{SetHoliday}{wxcalendardateattrsetholiday} method.
As the attributes are specified for each day, they may change when the month
is changed, so you will often want to update them in
{\tt EVT\_CALENDAR\_MONTH} event handler.
\wxheading{Derived from}
\helpref{wxControl}{wxcontrol}\\
\helpref{wxWindow}{wxwindow}\\
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/calctrl.h>
\wxheading{Window styles}
\twocolwidtha{5cm}
\begin{twocollist}\itemsep=4pt
\twocolitem{\windowstyle{wxCAL\_SUNDAY\_FIRST}}{Show Sunday as the first day in the week}
\twocolitem{\windowstyle{wxCAL\_MONDAY\_FIRST}}{Show Monday as the first day in the week}
\twocolitem{\windowstyle{wxCAL\_SHOW\_HOLIDAYS}}{Highlight holidays in the calendar}
\twocolitem{\windowstyle{wxCAL\_NO\_YEAR\_CHANGE}}{Disable the year changing}
\twocolitem{\windowstyle{wxCAL\_NO\_MONTH\_CHANGE}}{Disable the month (and, implicitly, the year) changing}
\twocolitem{\windowstyle{wxCAL\_SHOW\_SURROUNDING\_WEEKS}}{Show the neighbouring weeks in the previous and next months}
\twocolitem{\windowstyle{wxCAL\_SEQUENTIAL\_MONTH\_SELECTION}}{Use alternative, more compact, style for the month and year selection controls.}
\end{twocollist}
The default calendar style is {\tt wxCAL\_SHOW\_HOLIDAYS}.
\wxheading{Event table macros}
To process input from a calendar control, use these event handler macros to
direct input to member functions that take a
\helpref{wxCalendarEvent}{wxcalendarevent} argument.
\twocolwidtha{7cm}
\begin{twocollist}\itemsep=7pt
\twocolitem{{\bf EVT\_CALENDAR(id, func)}}{A day was double clicked in the calendar.}
\twocolitem{{\bf EVT\_CALENDAR\_SEL\_CHANGED(id, func)}}{The selected date changed.}
\twocolitem{{\bf EVT\_CALENDAR\_DAY(id, func)}}{The selected day changed.}
\twocolitem{{\bf EVT\_CALENDAR\_MONTH(id, func)}}{The selected month changed.}
\twocolitem{{\bf EVT\_CALENDAR\_YEAR(id, func)}}{The selected year changed.}
\twocolitem{{\bf EVT\_CALENDAR\_WEEKDAY\_CLICKED(id, func)}}{User clicked on the week day header}
\end{twocollist}%
Note that changing the selected date will result in either of
{\tt EVT\_CALENDAR\_DAY}, {\tt MONTH} or {\tt YEAR} events and
{\tt EVT\_CALENDAR\_SEL\_CHANGED} one.
\wxheading{Constants}
The following are the possible return values for
\helpref{HitTest}{wxcalendarctrlhittest} method:
{\small
\begin{verbatim}
enum wxCalendarHitTestResult
{
wxCAL_HITTEST_NOWHERE, // outside of anything
wxCAL_HITTEST_HEADER, // on the header (weekdays)
wxCAL_HITTEST_DAY // on a day in the calendar
}
\end{verbatim}
}
\wxheading{See also}
\helpref{Calendar sample}{samplecalendar}\\
\helpref{wxCalendarDateAttr}{wxcalendardateattr}\\
\helpref{wxCalendarEvent}{wxcalendarevent}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxCalendarCtrl::wxCalendarCtrl}\label{wxcalendarctrlwxcalendarctrldef}
\func{}{wxCalendarCtrl}{\void}
Default constructor, use \helpref{Create}{wxcalendarctrlcreate} after it.
\membersection{wxCalendarCtrl::wxCalendarCtrl}\label{wxcalendarctrlwxcalendarctrl}
\func{}{wxCalendarCtrl}{\param{wxWindow* }{parent}, \param{wxWindowID }{id}, \param{const wxDateTime\& }{date = wxDefaultDateTime}, \param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize}, \param{long }{style = wxCAL\_SHOW\_HOLIDAYS}, \param{const wxString\& }{name = wxCalendarNameStr}}
Does the same as \helpref{Create}{wxcalendarctrlcreate} method.
\membersection{wxCalendarCtrl::Create}\label{wxcalendarctrlcreate}
\func{bool}{Create}{\param{wxWindow* }{parent}, \param{wxWindowID }{id}, \param{const wxDateTime\& }{date = wxDefaultDateTime}, \param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize}, \param{long }{style = wxCAL\_SHOW\_HOLIDAYS}, \param{const wxString\& }{name = wxCalendarNameStr}}
Creates the control. See \helpref{wxWindow}{wxwindowctor} for the meaning of
the parameters and the control overview for the possible styles.
\membersection{wxCalendarCtrl::\destruct{wxCalendarCtrl}}\label{wxcalendarctrldtor}
\func{}{\destruct{wxCalendarCtrl}}{\void}
Destroys the control.
\membersection{wxCalendarCtrl::SetDate}\label{wxcalendarctrlsetdate}
\func{void}{SetDate}{\param{const wxDateTime\& }{date}}
Sets the current date.
\membersection{wxCalendarCtrl::GetDate}\label{wxcalendarctrlgetdate}
\constfunc{const wxDateTime\&}{GetDate}{\void}
Gets the currently selected date.
\membersection{wxCalendarCtrl::EnableYearChange}\label{wxcalendarctrlenableyearchange}
\func{void}{EnableYearChange}{\param{bool }{enable = TRUE}}
This function should be used instead of changing {\tt wxCAL\_NO\_YEAR\_CHANGE}
style bit directly. It allows or disallows the user to change the year
interactively.
\membersection{wxCalendarCtrl::EnableMonthChange}\label{wxcalendarctrlenablemonthchange}
\func{void}{EnableMonthChange}{\param{bool }{enable = TRUE}}
This function should be used instead of changing
{\tt wxCAL\_NO\_MONTH\_CHANGE} style bit. It allows or disallows the user to
change the month interactively. Note that if the month can not be changed, the
year can not be changed neither.
\membersection{wxCalendarCtrl::EnableHolidayDisplay}\label{wxcalendarctrlenableholidaydisplay}
\func{void}{EnableHolidayDisplay}{\param{bool }{display = TRUE}}
This function should be used instead of changing {\tt wxCAL\_SHOW\_HOLIDAYS}
style bit directly. It enables or disables the special highlighting of the
holidays.
\membersection{wxCalendarCtrl::SetHeaderColours}\label{wxcalendarctrlsetheadercolours}
\func{void}{SetHeaderColours}{\param{const wxColour\& }{colFg}, \param{const wxColour\& }{colBg}}
Set the colours used for painting the weekdays at the top of the control.
\membersection{wxCalendarCtrl::GetHeaderColourFg}\label{wxcalendarctrlgetheadercolourfg}
\constfunc{const wxColour\&}{GetHeaderColourFg}{\void}
Gets the foreground colour of the header part of the calendar window.
\wxheading{See also}
\helpref{SetHeaderColours}{wxcalendarctrlsetheadercolours}
\membersection{wxCalendarCtrl::GetHeaderColourBg}\label{wxcalendarctrlgetheadercolourbg}
\constfunc{const wxColour\&}{GetHeaderColourBg}{\void}
Gets the background colour of the header part of the calendar window.
\wxheading{See also}
\helpref{SetHeaderColours}{wxcalendarctrlsetheadercolours}
\membersection{wxCalendarCtrl::SetHighlightColours}\label{wxcalendarctrlsethighlightcolours}
\func{void}{SetHighlightColours}{\param{const wxColour\& }{colFg}, \param{const wxColour\& }{colBg}}
Set the colours to be used for highlighting the currently selected date.
\membersection{wxCalendarCtrl::GetHighlightColourFg}\label{wxcalendarctrlgethighlightcolourfg}
\constfunc{const wxColour\&}{GetHighlightColourFg}{\void}
Gets the foreground highlight colour.
\wxheading{See also}
\helpref{SetHighlightColours}{wxcalendarctrlsethighlightcolours}
\membersection{wxCalendarCtrl::GetHighlightColourBg}\label{wxcalendarctrlgethighlightcolourbg}
\constfunc{const wxColour\&}{GetHighlightColourBg}{\void}
Gets the background highlight colour.
\wxheading{See also}
\helpref{SetHighlightColours}{wxcalendarctrlsethighlightcolours}
\membersection{wxCalendarCtrl::SetHolidayColours}\label{wxcalendarctrlsetholidaycolours}
\func{void}{SetHolidayColours}{\param{const wxColour\& }{colFg}, \param{const wxColour\& }{colBg}}
Sets the colours to be used for the holidays highlighting (only used if the
window style includes {\tt wxCAL\_SHOW\_HOLIDAYS} flag).
\membersection{wxCalendarCtrl::GetHolidayColourFg}\label{wxcalendarctrlgetholidaycolourfg}
\constfunc{const wxColour\&}{GetHolidayColourFg}{\void}
Return the foreground colour currently used for holiday highlighting.
\wxheading{See also}
\helpref{SetHolidayColours}{wxcalendarctrlsetholidaycolours}
\membersection{wxCalendarCtrl::GetHolidayColourBg}\label{wxcalendarctrlgetholidaycolourbg}
\constfunc{const wxColour\&}{GetHolidayColourBg}{\void}
Return the background colour currently used for holiday highlighting.
\wxheading{See also}
\helpref{SetHolidayColours}{wxcalendarctrlsetholidaycolours}
\membersection{wxCalendarCtrl::GetAttr}\label{wxcalendarctrlgetattr}
\constfunc{wxCalendarDateAttr *}{GetAttr}{\param{size\_t }{day}}
Returns the attribute for the given date (should be in the range $1\ldots31$).
The returned pointer may be {\tt NULL}.
\membersection{wxCalendarCtrl::SetAttr}\label{wxcalendarctrlsetattr}
\func{void}{SetAttr}{\param{size\_t }{day}, \param{wxCalendarDateAttr* }{attr}}
Associates the attribute with the specified date (in the range $1\ldots31$).
If the pointer is {\tt NULL}, the items attribute is cleared.
\membersection{wxCalendarCtrl::SetHoliday}\label{wxcalendarctrlsetholiday}
\func{void}{SetHoliday}{\param{size\_t }{day}}
Marks the specified day as being a holiday in the current month.
\membersection{wxCalendarCtrl::ResetAttr}\label{wxcalendarctrlresetattr}
\func{void}{ResetAttr}{\param{size\_t }{day}}
Clears any attributes associated with the given day (in the range
$1\ldots31$).
\membersection{wxCalendarCtrl::HitTest}\label{wxcalendarctrlhittest}
\func{wxCalendarHitTestResult}{HitTest}{\param{const wxPoint\& }{pos}, \param{wxDateTime* }{date = NULL}, \param{wxDateTime::WeekDay* }{wd = NULL}}
Returns one of {\tt wxCAL\_HITTEST\_XXX}
\helpref{constants}{wxcalendarctrl} and fills either {\it date} or
{\it wd} pointer with the corresponding value depending on the hit test code.
\section{\class{wxCalendarDateAttr}}\label{wxcalendardateattr}
wxCalendarDateAttr is a custom attributes for a calendar date. The objects of
this class are used with \helpref{wxCalendarCtrl}{wxcalendarctrl}.
\wxheading{Derived from}
No base class
\wxheading{Constants}
Here are the possible kinds of borders which may be used to decorate a date:
\begin{verbatim}
enum wxCalendarDateBorder
{
wxCAL_BORDER_NONE, // no border (default)
wxCAL_BORDER_SQUARE, // a rectangular border
wxCAL_BORDER_ROUND // a round border
}
\end{verbatim}
\wxheading{See also}
\helpref{wxCalendarCtrl}{wxcalendarctrl}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxCalendarDateAttr::wxCalendarDateAttr}\label{wxcalendardateattrwxcalendardateattr}
\func{}{wxCalendarDateAttr}{\void}
\func{}{wxCalendarDateAttr}{\param{const wxColour\& }{colText}, \param{const wxColour\& }{colBack = wxNullColour}, \param{const wxColour\& }{colBorder = wxNullColour}, \param{const wxFont\& }{font = wxNullFont}, \param{wxCalendarDateBorder }{border = wxCAL\_BORDER\_NONE}}
\func{}{wxCalendarDateAttr}{\param{wxCalendarDateBorder }{border}, \param{const wxColour\& }{colBorder = wxNullColour}}
The constructors.
\membersection{wxCalendarDateAttr::SetTextColour}\label{wxcalendardateattrsettextcolour}
\func{void}{SetTextColour}{\param{const wxColour\& }{colText}}
Sets the text (foreground) colour to use.
\membersection{wxCalendarDateAttr::SetBackgroundColour}\label{wxcalendardateattrsetbackgroundcolour}
\func{void}{SetBackgroundColour}{\param{const wxColour\& }{colBack}}
Sets the text background colour to use.
\membersection{wxCalendarDateAttr::SetBorderColour}\label{wxcalendardateattrsetbordercolour}
\func{void}{SetBorderColour}{\param{const wxColour\& }{col}}
Sets the border colour to use.
\membersection{wxCalendarDateAttr::SetFont}\label{wxcalendardateattrsetfont}
\func{void}{SetFont}{\param{const wxFont\& }{font}}
Sets the font to use.
\membersection{wxCalendarDateAttr::SetBorder}\label{wxcalendardateattrsetborder}
\func{void}{SetBorder}{\param{wxCalendarDateBorder }{border}}
Sets the \helpref{border kind}{wxcalendardateattr}
\membersection{wxCalendarDateAttr::SetHoliday}\label{wxcalendardateattrsetholiday}
\func{void}{SetHoliday}{\param{bool }{holiday}}
Display the date with this attribute as a holiday.
\membersection{wxCalendarDateAttr::HasTextColour}\label{wxcalendardateattrhastextcolour}
\constfunc{bool}{HasTextColour}{\void}
Returns {\tt TRUE} if this item has a non default text foreground colour.
\membersection{wxCalendarDateAttr::HasBackgroundColour}\label{wxcalendardateattrhasbackgroundcolour}
\constfunc{bool}{HasBackgroundColour}{\void}
Returns {\tt TRUE} if this attribute specifies a non default text background colour.
\membersection{wxCalendarDateAttr::HasBorderColour}\label{wxcalendardateattrhasbordercolour}
\constfunc{bool}{HasBorderColour}{\void}
Returns {\tt TRUE} if this attribute specifies a non default border colour.
\membersection{wxCalendarDateAttr::HasFont}\label{wxcalendardateattrhasfont}
\constfunc{bool}{HasFont}{\void}
Returns {\tt TRUE} if this attribute specifies a non default font.
\membersection{wxCalendarDateAttr::HasBorder}\label{wxcalendardateattrhasborder}
\constfunc{bool}{HasBorder}{\void}
Returns {\tt TRUE} if this attribute specifies a non default (i.e. any) border.
\membersection{wxCalendarDateAttr::IsHoliday}\label{wxcalendardateattrisholiday}
\constfunc{bool}{IsHoliday}{\void}
Returns {\tt TRUE} if this attribute specifies that this item should be
displayed as a holiday.
\membersection{wxCalendarDateAttr::GetTextColour}\label{wxcalendardateattrgettextcolour}
\constfunc{const wxColour\&}{GetTextColour}{\void}
Returns the text colour to use for the item with this attribute.
\membersection{wxCalendarDateAttr::GetBackgroundColour}\label{wxcalendardateattrgetbackgroundcolour}
\constfunc{const wxColour\&}{GetBackgroundColour}{\void}
Returns the background colour to use for the item with this attribute.
\membersection{wxCalendarDateAttr::GetBorderColour}\label{wxcalendardateattrgetbordercolour}
\constfunc{const wxColour\&}{GetBorderColour}{\void}
Returns the border colour to use for the item with this attribute.
\membersection{wxCalendarDateAttr::GetFont}\label{wxcalendardateattrgetfont}
\constfunc{const wxFont\&}{GetFont}{\void}
Returns the font to use for the item with this attribute.
\membersection{wxCalendarDateAttr::GetBorder}\label{wxcalendardateattrgetborder}
\constfunc{wxCalendarDateBorder}{GetBorder}{\void}
Returns the \helpref{border}{wxcalendardateattr} to use for the item with this attribute.
\section{\class{wxCalendarEvent}}\label{wxcalendarevent}
The wxCalendarEvent class is used together with
\helpref{wxCalendarCtrl}{wxcalendarctrl}.
\wxheading{See also}
\helpref{wxCalendarCtrl}{wxcalendarctrl}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxCalendarEvent::GetDate}{wxcalendareventgetdate}
\constfunc{const wxDateTime\&}{GetDate}{\void}
Returns the date. This function may be called for all event types except
{\tt EVT\_CALENDAR\_WEEKDAY\_CLICKED} one for which it doesn't make sense.
\membersection{wxCalendarEvent::GetWeekDay}{wxcalendareventgetweekday}
\constfunc{wxDateTime::WeekDay}{GetWeekDay}{\void}
Returns the week day on which the user clicked in
{\tt EVT\_CALENDAR\_WEEKDAY\_CLICKED} handler. It doesn't make sense to call
this function in other handlers.

165
docs/latex/wx/caret.tex Normal file
View File

@@ -0,0 +1,165 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Name: caret.tex
%% Purpose: wxCaret documentation
%% Author: Vadim Zeitlin
%% Modified by:
%% Created: 20.06.00
%% RCS-ID: $Id$
%% Copyright: (c) Vadim Zeitlin
%% License: wxWindows license
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{\class{wxCaret}}\label{wxcaret}
A caret is a blinking cursor showing the position where the typed text will
appear. The text controls usually have a caret but wxCaret class also allows
to use a caret in other windows.
Currently, the caret appears as a rectangle of the given size. In the future,
it will be possible to specify a bitmap to be used for the caret shape.
A caret is always associated with a window and the current caret can be
retrieved using \helpref{wxWindow::GetCaret}{wxwindowgetcaret}. The same caret
can't be reused in two different windows.
\wxheading{Derived from}
No base class
\wxheading{Include files}
<wx/caret.h>
\wxheading{Data structures}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxCaret::wxCaret}\label{wxcaretwxcaret}
\func{}{wxCaret}{\void}
Default constructor: you must use one of Create() functions later.
\func{}{wxCaret}{\param{wxWindow* }{window}, \param{int }{width}, \param{int }{height}}
\func{}{wxCaret}{\param{wxWindowBase* }{window}, \param{const wxSize\& }{size}}
Create the caret of given (in pixels) width and height and associates it
with the given window.
\membersection{wxCaret::Create}\label{wxcaretcreate}
\func{bool}{Create}{\param{wxWindowBase* }{window}, \param{int }{width}, \param{int }{height}}
\func{bool}{Create}{\param{wxWindowBase* }{window}, \param{const wxSize\& }{size}}
Create the caret of given (in pixels) width and height and associates it
with the given window (same as constructor).
\membersection{wxCaret::GetBlinkTime}\label{wxcaretgetblinktime}
\func{static int}{GetBlinkTime}{\void}
Returns the blink time which is measured in milliseconds and is the time elapsed
between 2 inversions of the caret (blink time of the caret is the same
for all carets, so this functions is static).
\membersection{wxCaret::GetPosition}\label{wxcaretgetposition}
\constfunc{void}{GetPosition}{\param{int* }{x}, \param{int* }{y}}
\constfunc{wxPoint}{GetPosition}{\void}
Get the caret position (in pixels).
\perlnote{In wxPerl there are two methods instead of a single overloaded
method:\par
\indented{2cm}{\begin{twocollist}
\twocolitem{{\bf GetPosition()}}{Returns a Wx::Point}
\twocolitem{{\bf GetPositionXY()}}{Returns a 2-element list
{\tt ( x, y )}}
\end{twocollist}
}}
\membersection{wxCaret::GetSize}\label{wxcaretgetsize}
\constfunc{void}{GetSize}{\param{int* }{width}, \param{int* }{height}}
\constfunc{wxSize}{GetSize}{\void}
Get the caret size.
\perlnote{In wxPerl there are two methods instead of a single overloaded
method:\par
\indented{2cm}{\begin{twocollist}
\twocolitem{{\bf GetSize()}}{Returns a Wx::Size}
\twocolitem{{\bf GetSizeWH()}}{Returns a 2-element list
{\tt ( width, height )}}
\end{twocollist}
}}
\membersection{wxCaret::GetWindow}\label{wxcaretgetwindow}
\constfunc{wxWindow*}{GetWindow}{\void}
Get the window the caret is associated with.
\membersection{wxCaret::Hide}\label{wxcarethide}
\func{void}{Hide}{\void}
Same as \helpref{wxCaret::Show(FALSE)}{wxcaretshow}.
\membersection{wxCaret::IsOk}\label{wxcaretisok}
\constfunc{bool}{IsOk}{\void}
Returns TRUE if the caret was created successfully.
\membersection{wxCaret::IsVisible}\label{wxcaretisvisible}
\constfunc{bool}{IsVisible}{\void}
Returns TRUE if the caret is visible and FALSE if it is permanently
hidden (if it is is blinking and not shown currently but will be after the
next blink, this method still returns TRUE).
\membersection{wxCaret::Move}\label{wxcaretmove}
\func{void}{Move}{\param{int }{x}, \param{int }{y}}
\func{void}{Move}{\param{const wxPoint\& }{pt}}
Move the caret to given position (in logical coordinates).
\membersection{wxCaret::SetBlinkTime}\label{wxcaretsetblinktime}
\func{static void}{SetBlinkTime}{\param{int }{milliseconds}}
Sets the blink time for all the carets.
\wxheading{Remarks}
Under Windows, this function will change the blink time for {\bf all} carets
permanently (until the next time it is called), even for the carets in other
applications.
\wxheading{See also}
\helpref{GetBlinkTime}{wxcaretgetblinktime}
\membersection{wxCaret::SetSize}\label{wxcaretsetsize}
\func{void}{SetSize}{\param{int }{width}, \param{int }{height}}
\func{void}{SetSize}{\param{const wxSize\& }{size}}
Changes the size of the caret.
\membersection{wxCaret::Show}\label{wxcaretshow}
\func{void}{Show}{\param{bool }{show = TRUE}}
Shows or hides the caret. Notice that if the caret was hidden $N$ times, it
must be shown $N$ times as well to reappear on the screen.

623
docs/latex/wx/category.tex Normal file
View File

@@ -0,0 +1,623 @@
\chapter{Classes by category}\label{classesbycat}
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
\setfooter{\thepage}{}{}{}{}{\thepage}%
A classification of wxWindows classes by category.
{\large {\bf Managed windows}}
There are several types of window that are directly controlled by the
window manager (such as MS Windows, or the Motif Window Manager).
Frames may contain windows, and dialog boxes may directly contain controls.
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxDialog}{wxdialog}}{Dialog box}
\twocolitem{\helpref{wxFrame}{wxframe}}{Normal frame}
\twocolitem{\helpref{wxMDIChildFrame}{wxmdichildframe}}{MDI child frame}
\twocolitem{\helpref{wxMDIParentFrame}{wxmdiparentframe}}{MDI parent frame}
\twocolitem{\helpref{wxMiniFrame}{wxminiframe}}{A frame with a small title bar}
\twocolitem{\helpref{wxSplashScreen}{wxsplashscreen}}{Splash screen class}
%\twocolitem{\helpref{wxTabbedDialog}{wxtabbeddialog}}{Tabbed dialog
%(deprecated, use wxNotebook instead)}
\twocolitem{\helpref{wxTipWindow}{wxtipwindow}}{Shows text in a small window}
\twocolitem{\helpref{wxWizard}{wxwizard}}{A wizard dialog}
\end{twocollist}
See also {\bf Common dialogs}.
{\large {\bf Miscellaneous windows}}
The following are a variety of classes that are derived from wxWindow.
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxPanel}{wxpanel}}{A window whose colour changes according to current user settings}
\twocolitem{\helpref{wxScrolledWindow}{wxscrolledwindow}}{Window with automatically managed scrollbars}
\twocolitem{\helpref{wxGrid}{wxgrid}}{A grid (table) window}
\twocolitem{\helpref{wxSplitterWindow}{wxsplitterwindow}}{Window which can be split vertically or horizontally}
\twocolitem{\helpref{wxStatusBar}{wxstatusbar}}{Implements the status bar on a frame}
\twocolitem{\helpref{wxToolBar}{wxtoolbar}}{Toolbar class}
%\twocolitem{\helpref{wxTabbedPanel}{wxtabbedpanel}}{Tabbed panel (to be replaced with wxNotebook)}
\twocolitem{\helpref{wxNotebook}{wxnotebook}}{Notebook class}
\twocolitem{\helpref{wxPlotWindow}{wxplotwindow}}{A class to display data.}
\twocolitem{\helpref{wxSashWindow}{wxsashwindow}}{Window with four optional sashes that can be dragged}
\twocolitem{\helpref{wxSashLayoutWindow}{wxsashlayoutwindow}}{Window that can be involved in an IDE-like layout arrangement}
\twocolitem{\helpref{wxWizardPage}{wxwizardpage}}{A base class for the page in wizard dialog.}
\twocolitem{\helpref{wxWizardPageSimple}{wxwizardpagesimple}}{A page in wizard dialog.}
\end{twocollist}
{\large {\bf Common dialogs}}
\overview{Overview}{commondialogsoverview}
Common dialogs are ready-made dialog classes which are frequently used
in an application.
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxDialog}{wxdialog}}{Base class for common dialogs}
\twocolitem{\helpref{wxColourDialog}{wxcolourdialog}}{Colour chooser dialog}
\twocolitem{\helpref{wxDirDialog}{wxdirdialog}}{Directory selector dialog}
\twocolitem{\helpref{wxFileDialog}{wxfiledialog}}{File selector dialog}
\twocolitem{\helpref{wxFindReplaceDialog}{wxfindreplacedialog}}{Text search/replace dialog}
\twocolitem{\helpref{wxMultipleChoiceDialog}{wxmultiplechoicedialog}}{Dialog to get one or more selections from a list}
\twocolitem{\helpref{wxSingleChoiceDialog}{wxsinglechoicedialog}}{Dialog to get a single selection from a list and return the string}
\twocolitem{\helpref{wxTextEntryDialog}{wxtextentrydialog}}{Dialog to get a single line of text from the user}
\twocolitem{\helpref{wxFontDialog}{wxfontdialog}}{Font chooser dialog}
\twocolitem{\helpref{wxPageSetupDialog}{wxpagesetupdialog}}{Standard page setup dialog}
\twocolitem{\helpref{wxPrintDialog}{wxprintdialog}}{Standard print dialog}
\twocolitem{\helpref{wxPageSetupDialog}{wxpagesetupdialog}}{Standard page setup dialog}
\twocolitem{\helpref{wxMessageDialog}{wxmessagedialog}}{Simple message box dialog}
\twocolitem{\helpref{wxWizard}{wxwizard}}{A wizard dialog.}
\end{twocollist}
{\large {\bf Controls}}
Typically, these are small windows which provide interaction with the user. Controls
that are not static can have \helpref{validators}{wxvalidator} associated with them.
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxControl}{wxcontrol}}{The base class for controls}
\twocolitem{\helpref{wxButton}{wxbutton}}{Push button control, displaying text}
\twocolitem{\helpref{wxBitmapButton}{wxbitmapbutton}}{Push button control, displaying a bitmap}
\twocolitem{\helpref{wxToggleButton}{wxtogglebutton}}{A button which stays pressed when clicked by user.}
\twocolitem{\helpref{wxCalendarCtrl}{wxcalendarctrl}}{Date picker control}
\twocolitem{\helpref{wxCheckBox}{wxcheckbox}}{Checkbox control}
\twocolitem{\helpref{wxCheckListBox}{wxchecklistbox}}{A listbox with a checkbox to the left of each item}
\twocolitem{\helpref{wxChoice}{wxchoice}}{Choice control (a combobox without the editable area)}
\twocolitem{\helpref{wxComboBox}{wxcombobox}}{A choice with an editable area}
\twocolitem{\helpref{wxGauge}{wxgauge}}{A control to represent a varying quantity, such as time remaining}
\twocolitem{\helpref{wxGenericDirCtrl}{wxgenericdirctrl}}{A control for displaying a directory tree}
\twocolitem{\helpref{wxStaticBox}{wxstaticbox}}{A static, or group box for visually grouping related controls}
\twocolitem{\helpref{wxListBox}{wxlistbox}}{A list of strings for single or multiple selection}
\twocolitem{\helpref{wxListCtrl}{wxlistctrl}}{A control for displaying lists of strings and/or icons, plus a multicolumn report view}
\twocolitem{\helpref{wxListView}{wxlistview}}{A simpler interface ({\it fa\c{c}ade} for wxListCtrl in report mode}
\twocolitem{\helpref{wxTabCtrl}{wxtabctrl}}{Manages several tabs}
\twocolitem{\helpref{wxTextCtrl}{wxtextctrl}}{Single or multiline text editing control}
\twocolitem{\helpref{wxTreeCtrl}{wxtreectrl}}{Tree (hierarchy) control}
\twocolitem{\helpref{wxScrollBar}{wxscrollbar}}{Scrollbar control}
\twocolitem{\helpref{wxSpinButton}{wxspinbutton}}{A spin or `up-down' control}
\twocolitem{\helpref{wxSpinCtrl}{wxspinctrl}}{A spin control - i.e. spin button and text control}
\twocolitem{\helpref{wxStaticText}{wxstatictext}}{One or more lines of non-editable text}
\twocolitem{\helpref{wxStaticBitmap}{wxstaticbitmap}}{A control to display a bitmap}
\twocolitem{\helpref{wxRadioBox}{wxradiobox}}{A group of radio buttons}
\twocolitem{\helpref{wxRadioButton}{wxradiobutton}}{A round button to be used with others in a mutually exclusive way}
\twocolitem{\helpref{wxSlider}{wxslider}}{A slider that can be dragged by the user}
\end{twocollist}
{\large {\bf Menus}}
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxMenu}{wxmenu}}{Displays a series of menu items for selection}
\twocolitem{\helpref{wxMenuBar}{wxmenubar}}{Contains a series of menus for use with a frame}
\twocolitem{\helpref{wxMenuItem}{wxmenuitem}}{Represents a single menu item}
\end{twocollist}
{\large {\bf Window layout}}
There are two different systems for laying out windows (and dialogs in particular).
One is based upon so-called sizers and it requires less typing, thinking and calculating
and will in almost all cases produce dialogs looking equally well on all platforms, the
other is based on so-called constraints and is deprecated, though still available.
\overview{Sizer overview}{sizeroverview} describes sizer-based layout.
These are the classes relevant to sizer-based layout.
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxSizer}{wxsizer}}{Abstract base class}
\twocolitem{\helpref{wxGridSizer}{wxgridsizer}}{A sizer for laying out windows in a grid with all fields having the same size}
\twocolitem{\helpref{wxFlexGridSizer}{wxflexgridsizer}}{A sizer for laying out windows in a flexible grid}
\twocolitem{\helpref{wxBoxSizer}{wxboxsizer}}{A sizer for laying out windows in a row or column}
\twocolitem{\helpref{wxStaticBoxSizer}{wxstaticboxsizer}}{Same as wxBoxSizer, but with a surrounding static box}
\twocolitem{\helpref{wxNotebookSizer}{wxnotebooksizer}}{Sizer to use with the wxNotebook control}
\end{twocollist}
\overview{Constraints overview}{constraintsoverview} describes constraints-based layout.
These are the classes relevant to constraints-based window layout.
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxIndividualLayoutConstraint}{wxindividuallayoutconstraint}}{Represents a single constraint dimension}
\twocolitem{\helpref{wxLayoutConstraints}{wxlayoutconstraints}}{Represents the constraints for a window class}
\end{twocollist}
{\large {\bf Device contexts}}
\overview{Overview}{dcoverview}
Device contexts are surfaces that may be drawn on, and provide an
abstraction that allows parameterisation of your drawing code
by passing different device contexts.
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxClientDC}{wxclientdc}}{A device context to access the client area outside {\bf OnPaint} events}
\twocolitem{\helpref{wxPaintDC}{wxpaintdc}}{A device context to access the client area inside {\bf OnPaint} events}
\twocolitem{\helpref{wxWindowDC}{wxwindowdc}}{A device context to access the non-client area}
\twocolitem{\helpref{wxScreenDC}{wxscreendc}}{A device context to access the entire screen}
\twocolitem{\helpref{wxDC}{wxdc}}{The device context base class}
\twocolitem{\helpref{wxMemoryDC}{wxmemorydc}}{A device context for drawing into bitmaps}
\twocolitem{\helpref{wxMetafileDC}{wxmetafiledc}}{A device context for drawing into metafiles}
\twocolitem{\helpref{wxPostScriptDC}{wxpostscriptdc}}{A device context for drawing into PostScript files}
\twocolitem{\helpref{wxPrinterDC}{wxprinterdc}}{A device context for drawing to printers}
\end{twocollist}
{\large {\bf Graphics device interface}}
\overview{Bitmaps overview}{wxbitmapoverview}
These classes are related to drawing on device contexts and windows.
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxColour}{wxcolour}}{Represents the red, blue and green elements of a colour}
\twocolitem{\helpref{wxDCClipper}{wxdcclipper}}{Wraps the operations of setting and destroying the clipping region}
\twocolitem{\helpref{wxBitmap}{wxbitmap}}{Represents a bitmap}
\twocolitem{\helpref{wxBrush}{wxbrush}}{Used for filling areas on a device context}
\twocolitem{\helpref{wxBrushList}{wxbrushlist}}{The list of previously-created brushes}
\twocolitem{\helpref{wxCursor}{wxcursor}}{A small, transparent bitmap representing the cursor}
\twocolitem{\helpref{wxFont}{wxfont}}{Represents fonts}
\twocolitem{\helpref{wxFontList}{wxfontlist}}{The list of previously-created fonts}
\twocolitem{\helpref{wxIcon}{wxicon}}{A small, transparent bitmap for assigning to frames and drawing on device contexts}
\twocolitem{\helpref{wxImage}{wximage}}{A platform-independent image class}
\twocolitem{\helpref{wxImageList}{wximagelist}}{A list of images, used with some controls}
\twocolitem{\helpref{wxMask}{wxmask}}{Represents a mask to be used with a bitmap for transparent drawing}
\twocolitem{\helpref{wxPen}{wxpen}}{Used for drawing lines on a device context}
\twocolitem{\helpref{wxPenList}{wxpenlist}}{The list of previously-created pens}
\twocolitem{\helpref{wxPalette}{wxpalette}}{Represents a table of indices into RGB values}
\twocolitem{\helpref{wxRegion}{wxregion}}{Represents a simple or complex region on a window or device context}
\end{twocollist}
{\large {\bf Events}}
\overview{Overview}{eventhandlingoverview}
An event object contains information about a specific event. Event handlers
(usually member functions) have a single, event argument.
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxActivateEvent}{wxactivateevent}}{A window or application activation event}
\twocolitem{\helpref{wxCalendarEvent}{wxcalendarevent}}{Used with \helpref{wxCalendarCtrl}{wxcalendarctrl}}
\twocolitem{\helpref{wxCalculateLayoutEvent}{wxcalculatelayoutevent}}{Used to calculate window layout}
\twocolitem{\helpref{wxCloseEvent}{wxcloseevent}}{A close window or end session event}
\twocolitem{\helpref{wxCommandEvent}{wxcommandevent}}{An event from a variety of standard controls}
\twocolitem{\helpref{wxDialUpEvent}{wxdialupevent}}{Event send by \helpref{wxDialUpManager}{wxdialupmanager}}
\twocolitem{\helpref{wxDropFilesEvent}{wxdropfilesevent}}{A drop files event}
\twocolitem{\helpref{wxEraseEvent}{wxeraseevent}}{An erase background event}
\twocolitem{\helpref{wxEvent}{wxevent}}{The event base class}
\twocolitem{\helpref{wxFindDialogEvent}{wxfinddialogevent}}{Event sent by
\helpref{wxFindReplaceDialog}{wxfindreplacedialog}}
\twocolitem{\helpref{wxFocusEvent}{wxfocusevent}}{A window focus event}
\twocolitem{\helpref{wxKeyEvent}{wxkeyevent}}{A keypress event}
\twocolitem{\helpref{wxIconizeEvent}{wxiconizeevent}}{An iconize/restore event}
\twocolitem{\helpref{wxIdleEvent}{wxidleevent}}{An idle event}
\twocolitem{\helpref{wxInitDialogEvent}{wxinitdialogevent}}{A dialog initialisation event}
\twocolitem{\helpref{wxJoystickEvent}{wxjoystickevent}}{A joystick event}
\twocolitem{\helpref{wxListEvent}{wxlistevent}}{A list control event}
\twocolitem{\helpref{wxMaximizeEvent}{wxmaximizeevent}}{A maximize event}
\twocolitem{\helpref{wxMenuEvent}{wxmenuevent}}{A menu event}
\twocolitem{\helpref{wxMouseCaptureChangedEvent}{wxmousecapturechangedevent}}{A mouse capture changed event}
\twocolitem{\helpref{wxMouseEvent}{wxmouseevent}}{A mouse event}
\twocolitem{\helpref{wxMoveEvent}{wxmoveevent}}{A move event}
\twocolitem{\helpref{wxNotebookEvent}{wxnotebookevent}}{A notebook control event}
\twocolitem{\helpref{wxNotifyEvent}{wxnotifyevent}}{A notification event, which can be vetoed}
\twocolitem{\helpref{wxPaintEvent}{wxpaintevent}}{A paint event}
\twocolitem{\helpref{wxProcessEvent}{wxprocessevent}}{A process ending event}
\twocolitem{\helpref{wxQueryLayoutInfoEvent}{wxquerylayoutinfoevent}}{Used to query layout information}
\twocolitem{\helpref{wxScrollEvent}{wxscrollevent}}{A scroll event from sliders, stand-alone scrollbars and spin buttons}
\twocolitem{\helpref{wxScrollWinEvent}{wxscrollwinevent}}{A scroll event from scrolled windows}
\twocolitem{\helpref{wxSizeEvent}{wxsizeevent}}{A size event}
\twocolitem{\helpref{wxSocketEvent}{wxsocketevent}}{A socket event}
\twocolitem{\helpref{wxSpinEvent}{wxspinevent}}{An event from \helpref{wxSpinButton}{wxspinbutton}}
\twocolitem{\helpref{wxSysColourChangedEvent}{wxsyscolourchangedevent}}{A system colour change event}
\twocolitem{\helpref{wxTabEvent}{wxtabevent}}{A tab control event}
\twocolitem{\helpref{wxTreeEvent}{wxtreeevent}}{A tree control event}
\twocolitem{\helpref{wxUpdateUIEvent}{wxupdateuievent}}{A user interface update event}
\twocolitem{\helpref{wxWizardEvent}{wxwizardevent}}{A wizard event}
\end{twocollist}
{\large {\bf Validators}}
\overview{Overview}{validatoroverview}
These are the window validators, used for filtering and validating
user input.
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxValidator}{wxvalidator}}{Base validator class}
\twocolitem{\helpref{wxTextValidator}{wxtextvalidator}}{Text control validator class}
\twocolitem{\helpref{wxGenericValidator}{wxgenericvalidator}}{Generic control validator class}
\end{twocollist}
{\large {\bf Data structures}}
These are the data structure classes supported by wxWindows.
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxCmdLineParser}{wxcmdlineparser}}{Command line parser class}
\twocolitem{\helpref{wxDate}{wxdate}}{A class for date manipulation (deprecated in favour of wxDateTime)}
\twocolitem{\helpref{wxDateSpan}{wxdatespan}}{A logical time interval.}
\twocolitem{\helpref{wxDateTime}{wxdatetime}}{A class for date/time manipulations}
\twocolitem{\helpref{wxExpr}{wxexpr}}{A class for flexible I/O}
\twocolitem{\helpref{wxExprDatabase}{wxexprdatabase}}{A class for flexible I/O}
\twocolitem{\helpref{wxHashMap}{wxhashmap}}{A simple hash map implementation}
\twocolitem{\helpref{wxHashTable}{wxhashtable}}{A simple hash table implementation (deprecated, use wxHashMap)}
% \twocolitem{\helpref{wxHashTableLong}{wxhashtablelong}}{A wxHashTable version for storing long data}
\twocolitem{\helpref{wxList}{wxlist}}{A simple linked list implementation}
\twocolitem{\helpref{wxLongLong}{wxlonglong}}{A portable 64 bit integer type}
\twocolitem{\helpref{wxNode}{wxnode}}{Represents a node in the wxList implementation}
\twocolitem{\helpref{wxObject}{wxobject}}{The root class for most wxWindows classes}
\twocolitem{\helpref{wxPathList}{wxpathlist}}{A class to help search multiple paths}
\twocolitem{\helpref{wxPoint}{wxpoint}}{Representation of a point}
\twocolitem{\helpref{wxRect}{wxrect}}{A class representing a rectangle}
\twocolitem{\helpref{wxRegEx}{wxregex}}{Regular expression support}
\twocolitem{\helpref{wxRegion}{wxregion}}{A class representing a region}
\twocolitem{\helpref{wxString}{wxstring}}{A string class}
\twocolitem{\helpref{wxStringList}{wxstringlist}}{A class representing a list of strings}
\twocolitem{\helpref{wxStringTokenizer}{wxstringtokenizer}}{A class for interpreting a string as a list of tokens or words}
\twocolitem{\helpref{wxRealPoint}{wxrealpoint}}{Representation of a point using floating point numbers}
\twocolitem{\helpref{wxSize}{wxsize}}{Representation of a size}
\twocolitem{\helpref{wxTime}{wxtime}}{A class for time manipulation (deprecated in favour of wxDateTime)}
\twocolitem{\helpref{wxTimeSpan}{wxtimespan}}{A time interval.}
\twocolitem{\helpref{wxVariant}{wxvariant}}{A class for storing arbitrary types that may change at run-time}
\end{twocollist}
{\large {\bf Run-time class information system}}
\overview{Overview}{runtimeclassoverview}
wxWindows supports run-time manipulation of class information, and dynamic
creation of objects given class names.
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxClassInfo}{wxclassinfo}}{Holds run-time class information}
\twocolitem{\helpref{wxObject}{wxobject}}{Root class for classes with run-time information}
\twocolitem{\helpref{RTTI macros}{rttimacros}}{Macros for manipulating run-time information}
\end{twocollist}
{\large {\bf Debugging features}}
\overview{Overview}{wxlogoverview}
wxWindows provides several classes and functions for the message logging.
Please see the \helpref{wxLog overview}{wxlogoverview} for more details.
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxLog}{wxlog}}{The base log class}
\twocolitem{\helpref{wxLogStderr}{wxlogstderr}}{Log messages to a C STDIO stream}
\twocolitem{\helpref{wxLogStream}{wxlogstream}}{Log messages to a C++ iostream}
\twocolitem{\helpref{wxLogTextCtrl}{wxlogtextctrl}}{Log messages to a \helpref{wxTextCtrl}{wxtextctrl}}
\twocolitem{\helpref{wxLogWindow}{wxlogwindow}}{Log messages to a log frame}
\twocolitem{\helpref{wxLogGui}{wxloggui}}{Default log target for GUI programs}
\twocolitem{\helpref{wxLogNull}{wxlognull}}{Temporarily suppress message logging}
\twocolitem{\helpref{wxLogChain}{wxlogchain}}{Allows to chain two log targets}
\twocolitem{\helpref{wxLogPassThrough}{wxlogpassthrough}}{Allows to filter the log messages}
\twocolitem{\helpref{wxStreamToTextRedirector}{wxstreamtotextredirector}}{Allows
to redirect output sent to {\tt cout} to a \helpref{wxTextCtrl}{wxtextctrl}}
\twocolitem{\helpref{Log functions}{logfunctions}}{Error and warning logging functions}
\end{twocollist}
{\large {\bf Debugging features}}
\overview{Overview}{debuggingoverview}
wxWindows supports some aspects of debugging an application through
classes, functions and macros.
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxDebugContext}{wxdebugcontext}}{Provides memory-checking facilities}
%\twocolitem{\helpref{wxDebugStreamBuf}{wxdebugstreambuf}}{A stream buffer writing to the debug stream}
\twocolitem{\helpref{Debugging macros}{debugmacros}}{Debug macros for assertion and checking}
\twocolitem{\helpref{WXDEBUG\_NEW}{debugnew}}{Use this macro to give further debugging information}
%\twocolitem{\helpref{WXTRACE}{trace}}{Trace macro}
%\twocolitem{\helpref{WXTRACELEVEL}{tracelevel}}{Trace macro with levels}
\end{twocollist}
{\large {\bf Networking classes}}
wxWindows provides its own classes for socket based networking.
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxDialUpManager}{wxdialupmanager}}{Provides functions to check the status of network connection and to establish one}
\twocolitem{\helpref{wxIPV4address}{wxipv4address}}{Represents an Internet address}
\twocolitem{\helpref{wxSocketBase}{wxsocketbase}}{Represents a socket base object}
\twocolitem{\helpref{wxSocketClient}{wxsocketclient}}{Represents a socket client}
\twocolitem{\helpref{wxSocketServer}{wxsocketserver}}{Represents a socket server}
\twocolitem{\helpref{wxSocketEvent}{wxsocketevent}}{A socket event}
\twocolitem{\helpref{wxFTP}{wxftp}}{FTP protocol class}
\twocolitem{\helpref{wxHTTP}{wxhttp}}{HTTP protocol class}
\twocolitem{\helpref{wxURL}{wxurl}}{Represents a Universal Resource Locator}
\end{twocollist}
{\large {\bf Interprocess communication}}
\overview{Overview}{ipcoverview}
wxWindows provides simple interprocess communications facilities
based on Windows DDE, but available on most platforms using TCP.
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxClient}{wxddeclient}}{Represents a client}
\twocolitem{\helpref{wxConnection}{wxddeconnection}}{Represents the connection between a client and a server}
\twocolitem{\helpref{wxServer}{wxddeserver}}{Represents a server}
%\twocolitem{\helpref{wxSocketHandler}{wxsockethandler}}{Represents a socket handler}
\end{twocollist}
{\large {\bf Document/view framework}}
\overview{Overview}{docviewoverview}
wxWindows supports a document/view framework which provides
housekeeping for a document-centric application.
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxDocument}{wxdocument}}{Represents a document}
\twocolitem{\helpref{wxView}{wxview}}{Represents a view}
\twocolitem{\helpref{wxDocTemplate}{wxdoctemplate}}{Manages the relationship between a document class and a view class}
\twocolitem{\helpref{wxDocManager}{wxdocmanager}}{Manages the documents and views in an application}
\twocolitem{\helpref{wxDocChildFrame}{wxdocchildframe}}{A child frame for showing a document view}
\twocolitem{\helpref{wxDocParentFrame}{wxdocparentframe}}{A parent frame to contain views}
%\twocolitem{\helpref{wxMDIDocChildFrame}{wxmdidocchildframe}}{An MDI child frame for showing a document view}
%\twocolitem{\helpref{wxMDIDocParentFrame}{wxmdidocparentframe}}{An MDI parent frame to contain views}
\end{twocollist}
{\large {\bf Printing framework}}
\overview{Overview}{printingoverview}
A printing and previewing framework is implemented to
make it relatively straightforward to provide document printing
facilities.
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxPreviewFrame}{wxpreviewframe}}{Frame for displaying a print preview}
\twocolitem{\helpref{wxPreviewCanvas}{wxpreviewcanvas}}{Canvas for displaying a print preview}
\twocolitem{\helpref{wxPreviewControlBar}{wxpreviewcontrolbar}}{Standard control bar for a print preview}
\twocolitem{\helpref{wxPrintDialog}{wxprintdialog}}{Standard print dialog}
\twocolitem{\helpref{wxPageSetupDialog}{wxpagesetupdialog}}{Standard page setup dialog}
\twocolitem{\helpref{wxPrinter}{wxprinter}}{Class representing the printer}
\twocolitem{\helpref{wxPrinterDC}{wxprinterdc}}{Printer device context}
\twocolitem{\helpref{wxPrintout}{wxprintout}}{Class representing a particular printout}
\twocolitem{\helpref{wxPrintPreview}{wxprintpreview}}{Class representing a print preview}
\twocolitem{\helpref{wxPrintData}{wxprintdata}}{Represents information about the document being printed}
\twocolitem{\helpref{wxPrintDialogData}{wxprintdialogdata}}{Represents information about the print dialog}
\twocolitem{\helpref{wxPageSetupDialogData}{wxpagesetupdialogdata}}{Represents information about the page setup dialog}
\end{twocollist}
{\large {\bf Drag and drop and clipboard classes}}
\overview{Drag and drop and clipboard overview}{wxdndoverview}
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxDataObject}{wxdataobject}}{Data object class}
\twocolitem{\helpref{wxDataFormat}{wxdataformat}}{Represents a data format}
\twocolitem{\helpref{wxTextDataObject}{wxtextdataobject}}{Text data object class}
\twocolitem{\helpref{wxFileDataObject}{wxtextdataobject}}{File data object class}
\twocolitem{\helpref{wxBitmapDataObject}{wxbitmapdataobject}}{Bitmap data object class}
\twocolitem{\helpref{wxCustomDataObject}{wxcustomdataobject}}{Custom data object class}
\twocolitem{\helpref{wxClipboard}{wxclipboard}}{Clipboard class}
\twocolitem{\helpref{wxDropTarget}{wxdroptarget}}{Drop target class}
\twocolitem{\helpref{wxFileDropTarget}{wxfiledroptarget}}{File drop target class}
\twocolitem{\helpref{wxTextDropTarget}{wxtextdroptarget}}{Text drop target class}
\twocolitem{\helpref{wxDropSource}{wxdropsource}}{Drop source class}
\end{twocollist}
{\large {\bf File related classes}}
wxWindows has several small classes to work with disk files, see \helpref{file classes
overview}{wxfileoverview} for more details.
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxFileName}{wxfilename}}{Operations with the file name and attributes}
\twocolitem{\helpref{wxDir}{wxdir}}{Class for enumerating files/subdirectories.}
\twocolitem{\helpref{wxDirTraverser}{wxdirtraverser}}{Class used together with wxDir for recursively enumerating the files/subdirectories}
\twocolitem{\helpref{wxFile}{wxfile}}{Low-level file input/output class.}
\twocolitem{\helpref{wxFFile}{wxffile}}{Another low-level file input/output class.}
\twocolitem{\helpref{wxTempFile}{wxtempfile}}{Class to safely replace an existing file}
\twocolitem{\helpref{wxTextFile}{wxtextfile}}{Class for working with text files as with arrays of lines}
\end{twocollist}
{\large {\bf Stream classes}}
wxWindows has its own set of stream classes, as an alternative to often buggy standard stream
libraries, and to provide enhanced functionality.
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxStreamBase}{wxstreambase}}{Stream base class}
\twocolitem{\helpref{wxStreamBuffer}{wxstreambuffer}}{Stream buffer class}
\twocolitem{\helpref{wxInputStream}{wxinputstream}}{Input stream class}
\twocolitem{\helpref{wxOutputStream}{wxoutputstream}}{Output stream class}
\twocolitem{\helpref{wxCountingOutputStream}{wxcountingoutputstream}}{Stream class for querying what size a stream would have.}
\twocolitem{\helpref{wxFilterInputStream}{wxfilterinputstream}}{Filtered input stream class}
\twocolitem{\helpref{wxFilterOutputStream}{wxfilteroutputstream}}{Filtered output stream class}
\twocolitem{\helpref{wxBufferedInputStream}{wxbufferedinputstream}}{Buffered input stream class}
\twocolitem{\helpref{wxBufferedOutputStream}{wxbufferedoutputstream}}{Buffered output stream class}
\twocolitem{\helpref{wxMemoryInputStream}{wxmeminputstream}}{Memory input stream class}
\twocolitem{\helpref{wxMemoryOutputStream}{wxmemoutputstream}}{Memory output stream class}
\twocolitem{\helpref{wxDataInputStream}{wxdatainputstream}}{Platform-independent binary data input stream class}
\twocolitem{\helpref{wxDataOutputStream}{wxdataoutputstream}}{Platform-independent binary data output stream class}
\twocolitem{\helpref{wxTextInputStream}{wxtextinputstream}}{Platform-independent text data input stream class}
\twocolitem{\helpref{wxTextOutputStream}{wxtextoutputstream}}{Platform-independent text data output stream class}
\twocolitem{\helpref{wxFileInputStream}{wxfileinputstream}}{File input stream class}
\twocolitem{\helpref{wxFileOutputStream}{wxfileoutputstream}}{File output stream class}
\twocolitem{\helpref{wxFFileInputStream}{wxffileinputstream}}{Another file input stream class}
\twocolitem{\helpref{wxFFileOutputStream}{wxffileoutputstream}}{Another file output stream class}
\twocolitem{\helpref{wxZlibInputStream}{wxzlibinputstream}}{Zlib (compression) input stream class}
\twocolitem{\helpref{wxZlibOutputStream}{wxzliboutputstream}}{Zlib (compression) output stream class}
\twocolitem{\helpref{wxZipInputStream}{wxzipinputstream}}{Input stream for reading from ZIP archives}
\twocolitem{\helpref{wxSocketInputStream}{wxsocketinputstream}}{Socket input stream class}
\twocolitem{\helpref{wxSocketOutputStream}{wxsocketoutputstream}}{Socket output stream class}
\end{twocollist}
{\large {\bf Threading classes}}
\overview{Multithreading overview}{wxthreadoverview}
wxWindows provides a set of classes to make use of the native thread
capabilities of the various platforms.
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxThread}{wxthread}}{Thread class}
\twocolitem{\helpref{wxMutex}{wxmutex}}{Mutex class}
\twocolitem{\helpref{wxMutexLocker}{wxmutexlocker}}{Mutex locker utility class}
\twocolitem{\helpref{wxCriticalSection}{wxcriticalsection}}{Critical section class}
\twocolitem{\helpref{wxCriticalSectionLocker}{wxcriticalsectionlocker}}{Critical section locker utility class}
\twocolitem{\helpref{wxCondition}{wxcondition}}{Condition class}
\twocolitem{\helpref{wxSemaphore}{wxsemaphore}}{Semaphore class}
\end{twocollist}
{\large {\bf HTML classes}}
wxWindows provides a set of classes to display text in HTML format. These
class include a help system based on the HTML widget.
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxHtmlHelpController}{wxhtmlhelpcontroller}}{HTML help controller class}
\twocolitem{\helpref{wxHtmlWindow}{wxhtmlwindow}}{HTML window class}
\twocolitem{\helpref{wxHtmlEasyPrinting}{wxhtmleasyprinting}}{Simple class for printing HTML}
\twocolitem{\helpref{wxHtmlPrintout}{wxhtmlprintout}}{Generic HTML wxPrintout class}
\twocolitem{\helpref{wxHtmlParser}{wxhtmlparser}}{Generic HTML parser class}
\twocolitem{\helpref{wxHtmlTagHandler}{wxhtmltaghandler}}{HTML tag handler, pluginable into wxHtmlParser}
\twocolitem{\helpref{wxHtmlWinParser}{wxhtmlwinparser}}{HTML parser class for wxHtmlWindow}
\twocolitem{\helpref{wxHtmlWinTagHandler}{wxhtmlwintaghandler}}{HTML tag handler, pluginable into wxHtmlWinParser}
\end{twocollist}
{\large {\bf Virtual file system classes}}
wxWindows provides a set of classes that implement an extensible virtual file system,
used internally by the HTML classes.
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxFSFile}{wxfsfile}}{Represents a file in the virtual file system}
\twocolitem{\helpref{wxFileSystem}{wxfilesystem}}{Main interface for the virtual file system}
\twocolitem{\helpref{wxFileSystemHandler}{wxfilesystemhandler}}{Class used to announce file system type}
\end{twocollist}
{\large {\bf XML-based resource system classes}}
\overview{XML-based resource system overview}{xrcoverview}
Resources allow your application to create controls and other user interface elements
from specifications stored in an XML format.
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxXmlResource}{wxxmlresource}}{The main class for working with resources.}
\twocolitem{\helpref{wxXmlResourceHandler}{wxxmlresourcehandler}}{The base class for XML resource handlers.}
\end{twocollist}
{\large {\bf Online help}}
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxHelpController}{wxhelpcontroller}}{Family of classes for controlling help windows}
\twocolitem{\helpref{wxHtmlHelpController}{wxhtmlhelpcontroller}}{HTML help controller class}
\twocolitem{\helpref{wxContextHelp}{wxcontexthelp}}{Class to put application into context-sensitive help mode}
\twocolitem{\helpref{wxContextHelpButton}{wxcontexthelpbutton}}{Button class for putting application into context-sensitive help mode}
\twocolitem{\helpref{wxHelpProvider}{wxhelpprovider}}{Abstract class for context-sensitive help provision}
\twocolitem{\helpref{wxSimpleHelpProvider}{wxsimplehelpprovider}}{Class for simple context-sensitive help provision}
\twocolitem{\helpref{wxHelpControllerHelpProvider}{wxhelpcontrollerhelpprovider}}{Class for context-sensitive help provision via a help controller}
\twocolitem{\helpref{wxToolTip}{wxtooltip}}{Class implementing tooltips}
\end{twocollist}
{\large {\bf Database classes}}
\overview{Database classes overview}{odbcoverview}
wxWindows provides two alternative sets of classes for accessing Microsoft's ODBC (Open Database Connectivity)
product. The new version by Remstar, known as wxODBC, is more powerful,
portable, flexible and better supported, so please use the classes below for
working with databases:
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxDb}{wxdb}}{ODBC database connection}
\twocolitem{\helpref{wxDbTable}{wxdbtable}}{Provides access to a database table}
\twocolitem{\helpref{wxDbInf}{wxdbinf}}{}
\twocolitem{\helpref{wxDbTableInf}{wxdbtableinf}}{}
\twocolitem{\helpref{wxDbColDef}{wxdbcoldef}}{}
\twocolitem{\helpref{wxDbColInf}{wxdbcolinf}}{}
\twocolitem{\helpref{wxDbColDataPtr}{wxdbcoldataptr}}{}
\twocolitem{\helpref{wxDbColFor}{wxdbcolfor}}{}
\twocolitem{\helpref{wxDbConnectInf}{wxdbconnectinf}}{}
\twocolitem{\helpref{wxDbIdxDef}{wxdbidxdef}}{}
\end{twocollist}
The documentation for the older classes is still included, but you should avoid
using any of them in new programs:
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxDatabase}{wxdatabase}}{Database class}
\twocolitem{\helpref{wxQueryCol}{wxquerycol}}{Class representing a column}
\twocolitem{\helpref{wxQueryField}{wxqueryfield}}{Class representing a field}
\twocolitem{\helpref{wxRecordSet}{wxrecordset}}{Class representing one or more record}
\end{twocollist}
{\large {\bf Miscellaneous}}
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxApp}{wxapp}}{Application class}
\twocolitem{\helpref{wxCaret}{wxcaret}}{A caret (cursor) object}
\twocolitem{\helpref{wxCmdLineParser}{wxcmdlineparser}}{Command line parser class}
\twocolitem{\helpref{wxConfig}{wxconfigbase}}{Classes for configuration reading/writing (using either INI files or registry)}
\twocolitem{\helpref{wxDllLoader}{wxdllloader}}{Class to work with shared libraries.}
\twocolitem{\helpref{wxLayoutAlgorithm}{wxlayoutalgorithm}}{An alternative window layout facility}
\twocolitem{\helpref{wxProcess}{wxprocess}}{Process class}
\twocolitem{\helpref{wxTimer}{wxtimer}}{Timer class}
\twocolitem{\helpref{wxStopWatch}{wxstopwatch}}{Stop watch class}
\twocolitem{\helpref{wxMimeTypesManager}{wxmimetypesmanager}}{MIME-types manager class}
\twocolitem{\helpref{wxSystemSettings}{wxsystemsettings}}{System settings class for obtaining various global parameters}
\twocolitem{\helpref{wxSystemOptions}{wxsystemoptions}}{System options class for run-time configuration}
\twocolitem{\helpref{wxAcceleratorTable}{wxacceleratortable}}{Accelerator table}
\twocolitem{\helpref{wxAutomationObject}{wxautomationobject}}{OLE automation class}
\twocolitem{\helpref{wxFontMapper}{wxfontmapper}}{Font mapping, finding suitable font for given encoding}
\twocolitem{\helpref{wxEncodingConverter}{wxencodingconverter}}{Encoding conversions}
\twocolitem{\helpref{wxCalendarDateAttr}{wxcalendardateattr}}{Used with \helpref{wxCalendarCtrl}{wxcalendarctrl}}
\twocolitem{\helpref{wxQuantize}{wxquantize}}{Class to perform quantization, or colour reduction}
\twocolitem{\helpref{wxSingleInstanceChecker}{wxsingleinstancechecker}}{Check that only single program instance is running}
\end{twocollist}

116
docs/latex/wx/checkbox.tex Normal file
View File

@@ -0,0 +1,116 @@
\section{\class{wxCheckBox}}\label{wxcheckbox}
A checkbox is a labelled box which is either on (checkmark is visible)
or off (no checkmark).
\wxheading{Derived from}
\helpref{wxControl}{wxcontrol}\\
\helpref{wxWindow}{wxwindow}\\
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/checkbox.h>
\wxheading{Window styles}
There are no special styles for wxCheckBox.
See also \helpref{window styles overview}{windowstyles}.
\wxheading{Event handling}
\twocolwidtha{7cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{{\bf EVT\_CHECKBOX(id, func)}}{Process a wxEVT\_COMMAND\_CHECKBOX\_CLICKED event,
when the checkbox is clicked.}
\end{twocollist}
\wxheading{See also}
\helpref{wxRadioButton}{wxradiobutton}, \helpref{wxCommandEvent}{wxcommandevent}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxCheckBox::wxCheckBox}\label{wxcheckboxconstr}
\func{}{wxCheckBox}{\void}
Default constructor.
\func{}{wxCheckBox}{\param{wxWindow* }{parent}, \param{wxWindowID}{ id},\rtfsp
\param{const wxString\& }{label}, \param{const wxPoint\& }{pos = wxDefaultPosition},\rtfsp
\param{const wxSize\& }{size = wxDefaultSize}, \param{long}{ style = 0},\rtfsp
\param{const wxValidator\& }{val}, \param{const wxString\& }{name = ``checkBox"}}
Constructor, creating and showing a checkbox.
\wxheading{Parameters}
\docparam{parent}{Parent window. Must not be NULL.}
\docparam{id}{Checkbox identifier. A value of -1 indicates a default value.}
\docparam{label}{Text to be displayed next to the checkbox.}
\docparam{pos}{Checkbox position. If the position (-1, -1) is specified then a default position is chosen.}
\docparam{size}{Checkbox size. If the default size (-1, -1) is specified then a default size is chosen.}
\docparam{style}{Window style. See \helpref{wxCheckBox}{wxcheckbox}.}
\docparam{validator}{Window validator.}
\docparam{name}{Window name.}
\wxheading{See also}
\helpref{wxCheckBox::Create}{wxcheckboxcreate}, \helpref{wxValidator}{wxvalidator}
\membersection{wxCheckBox::\destruct{wxCheckBox}}
\func{}{\destruct{wxCheckBox}}{\void}
Destructor, destroying the checkbox.
\membersection{wxCheckBox::Create}\label{wxcheckboxcreate}
\func{bool}{Create}{\param{wxWindow* }{parent}, \param{wxWindowID}{ id},\rtfsp
\param{const wxString\& }{label}, \param{const wxPoint\& }{pos = wxDefaultPosition},\rtfsp
\param{const wxSize\& }{size = wxDefaultSize}, \param{long}{ style = 0},\rtfsp
\param{const wxValidator\& }{val}, \param{const wxString\& }{name = ``checkBox"}}
Creates the checkbox for two-step construction. See \helpref{wxCheckBox::wxCheckBox}{wxcheckboxconstr}\rtfsp
for details.
\membersection{wxCheckBox::GetValue}\label{wxcheckboxgetvalue}
\constfunc{bool}{GetValue}{\void}
Gets the state of the checkbox.
\wxheading{Return value}
Returns {\tt TRUE} if it is checked, {\tt FALSE} otherwise.
\membersection{wxCheckBox::IsChecked}\label{wxcheckboxischecked}
\constfunc{bool}{IsChecked}{\void}
This is just a maybe more readable synonym for
\helpref{GetValue}{wxcheckboxgetvalue}: just as the latter, it returns
{\tt TRUE} if the checkbox is checked and {\tt FALSE} otherwise.
\membersection{wxCheckBox::SetValue}\label{wxcheckboxsetvalue}
\func{void}{SetValue}{\param{const bool}{ state}}
Sets the checkbox to the given state. This does not cause a
wxEVT\_COMMAND\_CHECKBOX\_CLICKED event to get emitted.
\wxheading{Parameters}
\docparam{state}{If {\tt TRUE}, the check is on, otherwise it is off.}

111
docs/latex/wx/checklst.tex Normal file
View File

@@ -0,0 +1,111 @@
\section{\class{wxCheckListBox}}\label{wxchecklistbox}
A checklistbox is like a listbox, but allows items to be checked or unchecked.
This class is currently implemented under Windows and GTK. When using this
class under Windows wxWindows must be compiled with USE\_OWNER\_DRAWN set to 1.
Only the new functions for this class are documented; see also \helpref{wxListBox}{wxlistbox}.
\wxheading{Derived from}
\helpref{wxListBox}{wxlistbox}\\
\helpref{wxControl}{wxcontrol}\\
\helpref{wxWindow}{wxwindow}\\
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/checklst.h>
\wxheading{Window styles}
See \helpref{wxListBox}{wxlistbox}.
\wxheading{Event handling}
\twocolwidtha{7cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{{\bf EVT\_CHECKLISTBOX(id, func)}}{Process a wxEVT\_COMMAND\_CHECKLISTBOX\_TOGGLE event,
when an item in the check list box is checked or unchecked.}
\end{twocollist}
\wxheading{See also}
\helpref{wxListBox}{wxlistbox}, \helpref{wxChoice}{wxchoice}, \helpref{wxComboBox}{wxcombobox}, \helpref{wxListCtrl}{wxlistctrl},
\rtfsp\helpref{wxCommandEvent}{wxcommandevent}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxCheckListBox::wxCheckListBox}\label{wxchecklistboxconstr}
\func{}{wxCheckListBox}{\void}
Default constructor.
\func{}{wxCheckListBox}{\param{wxWindow*}{ parent}, \param{wxWindowID}{ id},\rtfsp
\param{const wxPoint\&}{ pos = wxDefaultPosition}, \param{const wxSize\&}{ size = wxDefaultSize},\rtfsp
\param{int}{ n}, \param{const wxString }{choices[] = NULL},\rtfsp
\param{long}{ style = 0}, \param{const wxValidator\& }{validator = wxDefaultValidator}, \param{const wxString\& }{name = ``listBox"}}
Constructor, creating and showing a list box.
\wxheading{Parameters}
\docparam{parent}{Parent window. Must not be NULL.}
\docparam{id}{Window identifier. A value of -1 indicates a default value.}
\docparam{pos}{Window position.}
\docparam{size}{Window size. If the default size (-1, -1) is specified then the window is sized
appropriately.}
\docparam{n}{Number of strings with which to initialise the control.}
\docparam{choices}{An array of strings with which to initialise the control.}
\docparam{style}{Window style. See \helpref{wxCheckListBox}{wxchecklistbox}.}
\docparam{validator}{Window validator.}
\docparam{name}{Window name.}
\pythonnote{The wxCheckListBox constructor in wxPython reduces the {\tt n}
and {\tt choices} arguments are to a single argument, which is
a list of strings.}
\perlnote{In wxPerl there is just an array reference in place of {\tt n}
and {\tt choices}.}
\membersection{wxCheckListBox::\destruct{wxCheckListBox}}
\func{void}{\destruct{wxCheckListBox}}{\void}
Destructor, destroying the list box.
\membersection{wxCheckListBox::Check}\label{wxchecklistboxcheck}
\func{void}{Check}{\param{int }{item}, \param{bool}{ check = TRUE}}
Checks the given item. Note that calling this method doesn't result in
wxEVT\_COMMAND\_CHECKLISTBOX\_TOGGLE being emitted.
\wxheading{Parameters}
\docparam{item}{Index of item to check.}
\docparam{check}{TRUE if the item is to be checked, FALSE otherwise.}
\membersection{wxCheckListBox::IsChecked}\label{wxchecklistboxischecked}
\constfunc{bool}{IsChecked}{\param{int}{ item}}
Returns TRUE if the given item is checked, FALSE otherwise.
\wxheading{Parameters}
\docparam{item}{Index of item whose check status is to be returned.}

135
docs/latex/wx/choice.tex Normal file
View File

@@ -0,0 +1,135 @@
\section{\class{wxChoice}}\label{wxchoice}
A choice item is used to select one of a list of strings. Unlike a
listbox, only the selection is visible until the user pulls down the
menu of choices.
\wxheading{Derived from}
\helpref{wxControlWithItems}{wxcontrolwithitems}\\
\helpref{wxControl}{wxcontrol}\\
\helpref{wxWindow}{wxwindow}\\
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/choice.h>
\wxheading{Window styles}
There are no special styles for wxChoice.
See also \helpref{window styles overview}{windowstyles}.
\wxheading{Event handling}
\twocolwidtha{7cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{{\bf EVT\_CHOICE(id, func)}}{Process a wxEVT\_COMMAND\_CHOICE\_SELECTED event,
when an item on the list is selected.}
\end{twocollist}
\wxheading{See also}
\helpref{wxListBox}{wxlistbox}, \helpref{wxComboBox}{wxcombobox},
\rtfsp\helpref{wxCommandEvent}{wxcommandevent}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxChoice::wxChoice}\label{wxchoiceconstr}
\func{}{wxChoice}{\void}
Default constructor.
\func{}{wxChoice}{\param{wxWindow *}{parent}, \param{wxWindowID}{ id},\rtfsp
\param{const wxPoint\& }{pos}, \param{const wxSize\&}{ size},\rtfsp
\param{int}{ n}, \param{const wxString }{choices[]},\rtfsp
\param{long}{ style = 0}, \param{const wxValidator\& }{validator = wxDefaultValidator}, \param{const wxString\& }{name = ``choice"}}
Constructor, creating and showing a choice.
\wxheading{Parameters}
\docparam{parent}{Parent window. Must not be NULL.}
\docparam{id}{Window identifier. A value of -1 indicates a default value.}
\docparam{pos}{Window position.}
\docparam{size}{Window size. If the default size (-1, -1) is specified then the choice is sized
appropriately.}
\docparam{n}{Number of strings with which to initialise the choice control.}
\docparam{choices}{An array of strings with which to initialise the choice control.}
\docparam{style}{Window style. See \helpref{wxChoice}{wxchoice}.}
\docparam{validator}{Window validator.}
\docparam{name}{Window name.}
\wxheading{See also}
\helpref{wxChoice::Create}{wxchoicecreate}, \helpref{wxValidator}{wxvalidator}
\pythonnote{The wxChoice constructor in wxPython reduces the {\tt n}
and {\tt choices} arguments are to a single argument, which is
a list of strings.}
\perlnote{In wxPerl there is just an array reference in place of {\tt n}
and {\tt choices}.}
\membersection{wxChoice::\destruct{wxChoice}}
\func{}{\destruct{wxChoice}}{\void}
Destructor, destroying the choice item.
\membersection{wxChoice::Create}\label{wxchoicecreate}
\func{bool}{Create}{\param{wxWindow *}{parent}, \param{wxWindowID}{ id},\rtfsp
\param{const wxPoint\& }{pos}, \param{const wxSize\&}{ size},\rtfsp
\param{int}{ n}, \param{const wxString }{choices[]},\rtfsp
\param{long}{ style = 0}, \param{const wxString\& }{name = ``choice"}}
Creates the choice for two-step construction. See \helpref{wxChoice::wxChoice}{wxchoiceconstr}.
\membersection{wxChoice::Delete}\label{wxchoicedelete}
\func{void}{Delete}{\param{int }{n}}
Deletes the item with the given index from the control.
\wxheading{Parameters}
\docparam{n}{The item to delete.}
\membersection{wxChoice::GetColumns}\label{wxchoicegetcolumns}
\constfunc{int}{GetColumns}{\void}
Gets the number of columns in this choice item.
\wxheading{Remarks}
This is implemented for Motif only and always returns $1$ for the other
platforms.
\membersection{wxChoice::SetColumns}\label{wxchoicesetcolumns}
\func{void}{SetColumns}{\param{int}{ n = 1}}
Sets the number of columns in this choice item.
\wxheading{Parameters}
\docparam{n}{Number of columns.}
\wxheading{Remarks}
This is implemented for Motif only and doesn't do anything under other
platforms.

View File

@@ -0,0 +1,79 @@
\section{\class{wxClassInfo}}\label{wxclassinfo}
This class stores meta-information about classes. Instances of this class are
not generally defined directly by an application, but indirectly through use
of macros such as {\bf DECLARE\_DYNAMIC\_CLASS} and {\bf IMPLEMENT\_DYNAMIC\_CLASS}.
\wxheading{Derived from}
No parent class.
\wxheading{Include files}
<wx/object.h>
\wxheading{See also}
\helpref{Overview}{wxclassinfooverview}, \helpref{wxObject}{wxobject}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxClassInfo::wxClassInfo}\label{wxclassinfoconstr}
\func{}{wxClassInfo}{\param{char* }{className}, \param{char* }{baseClass1}, \param{char* }{baseClass2},
\param{int}{ size}, \param{wxObjectConstructorFn }{fn}}
Constructs a wxClassInfo object. The supplied macros implicitly construct objects of this
class, so there is no need to create such objects explicitly in an application.
\membersection{wxClassInfo::CreateObject}
\func{wxObject*}{CreateObject}{\void}
Creates an object of the appropriate kind. Returns NULL if the class has not been declared
dynamically creatable (typically, it is an abstract class).
\membersection{wxClassInfo::FindClass}
\func{static wxClassInfo *}{FindClass}{\param{char* }{name}}
Finds the wxClassInfo object for a class of the given string name.
\membersection{wxClassInfo::GetBaseClassName1}
\constfunc{char*}{GetBaseClassName1}{\void}
Returns the name of the first base class (NULL if none).
\membersection{wxClassInfo::GetBaseClassName2}
\constfunc{char*}{GetBaseClassName2}{\void}
Returns the name of the second base class (NULL if none).
\membersection{wxClassInfo::GetClassName}
\constfunc{char *}{GetClassName}{\void}
Returns the string form of the class name.
\membersection{wxClassInfo::GetSize}
\constfunc{int}{GetSize}{\void}
Returns the size of the class.
\membersection{wxClassInfo::InitializeClasses}
\func{static void}{InitializeClasses}{\void}
Initializes pointers in the wxClassInfo objects for fast execution
of IsKindOf. Called in base wxWindows library initialization.
\membersection{wxClassInfo::IsKindOf}\label{wxclassinfoiskindof}
\func{bool}{IsKindOf}{\param{wxClassInfo* }{info}}
Returns TRUE if this class is a kind of (inherits from) the given class.

326
docs/latex/wx/classes.tex Normal file
View File

@@ -0,0 +1,326 @@
\chapter{Alphabetical class reference}\label{classref}
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
\setfooter{\thepage}{}{}{}{}{\thepage}%
% NB: the files should be in alphabetic order of the classes documented in
% them and *not* in alphabetic order of the file names!
\input accel.tex
\input activevt.tex
\input app.tex
\input array.tex
\input arrstrng.tex
\input artprov.tex
\input autoobj.tex
\input bitmap.tex
\input bbutton.tex
\input bmpdatob.tex
\input bmphand.tex
\input boxsizer.tex
\input brush.tex
\input strmbfrd.tex
\input busycurs.tex
\input busyinfo.tex
\input button.tex
\input calclevt.tex
\input calctrl.tex
\input caret.tex
\input checkbox.tex
\input checklst.tex
\input choice.tex
\input clasinfo.tex
\input ipcclint.tex
\input clientdc.tex
\input clientdat.tex
\input clipbrd.tex
\input closeevt.tex
\input cmdlpars.tex
\input colour.tex
\input colordlg.tex
\input combobox.tex
\input command.tex
\input cmdevent.tex
\input cmdproc.tex
\input conditn.tex
\input config.tex
\input ipcconn.tex
\input cshelp.tex
\input control.tex
\input ctrlsub.tex
\input countstr.tex
\input critsect.tex
\input crtslock.tex
\input csconv.tex
\input cursor.tex
\input custdobj.tex
\input database.tex
\input dataform.tex
\input datistrm.tex
\input dataobj.tex
\input dobjcomp.tex
\input dobjsmpl.tex
\input datostrm.tex
\input date.tex
\input datespan.tex
\input datetime.tex
\input db.tex
\input dc.tex
\input debugcxt.tex
\input dialog.tex
\input dialevt.tex
\input dialup.tex
\input dir.tex
\input dirdlg.tex
\input dirtrav.tex
\input dllload.tex
\input docchfrm.tex
\input docmanag.tex
\input docmdich.tex
\input docmdipr.tex
\input docprfrm.tex
\input doctempl.tex
\input document.tex
\input dragimag.tex
\input dropevt.tex
\input dropsrc.tex
\input droptrgt.tex
\input dynlib.tex
\input encconv.tex
\input eraseevt.tex
\input event.tex
\input evthand.tex
\input expr.tex
\input ffile.tex
\input ffilestr.tex
\input file.tex
\input fildatob.tex
\input filedlg.tex
\input fildrptg.tex
\input filehist.tex
\input fileistr.tex
\input filename.tex
\input fileostr.tex
\input filestrm.tex
\input filesys.tex
\input filesysh.tex
\input filetype.tex
\input fltinstr.tex
\input fltoutst.tex
\input fdrepdlg.tex
\input flexsizr.tex
\input focusevt.tex
\input font.tex
\input fontdlg.tex
\input fontenum.tex
\input fontlist.tex
\input fontmap.tex
\input frame.tex
\input fsfile.tex
\input ftp.tex
\input gauge.tex
\input gdiobj.tex
\input dirctrl.tex
\input valgen.tex
\input glcanvas.tex
\input grid.tex
\input gridattr.tex
\input gridedit.tex
\input gridevt.tex
\input gridrend.tex
\input gridtbl.tex
\input gridsizr.tex
\input hashmap.tex
\input hash.tex
\input helpinst.tex
\input hprovcnt.tex
\input helpevt.tex
\input helpprov.tex
\input htcell.tex
\input htcolor.tex
\input htcontnr.tex
\input htdcrend.tex
\input hteasypr.tex
\input htfilter.tex
\input hthelpct.tex
\input hthlpdat.tex
\input hthlpfrm.tex
\input htlnkinf.tex
\input htparser.tex
\input htprint.tex
\input httag.tex
\input httaghnd.tex
\input httagmod.tex
\input htwidget.tex
\input htwindow.tex
\input htwinprs.tex
\input htwinhnd.tex
\input http.tex
\input icon.tex
\input iconbndl.tex
\input iconevt.tex
\input idleevt.tex
\input image.tex
\input imaglist.tex
\input ilayout.tex
\input indlgevt.tex
\input inputstr.tex
\input ipvaddr.tex
\input joystick.tex
\input joyevent.tex
\input keyevent.tex
\input layalgor.tex
\input layout.tex
\input list.tex
\input listbox.tex
\input listctrl.tex
\input listevt.tex
\input listitem.tex
\input listview.tex
\input locale.tex
\input log.tex
\input longlong.tex
\input mask.tex
\input maxzevt.tex
\input mbconv.tex
\input mbcnvfil.tex
\input mbcnvut7.tex
\input mbcnvut8.tex
\input mdi.tex
\input memorydc.tex
\input fs_mem.tex
\input strmmem.tex
\input menu.tex
\input menuevt.tex
\input menuitem.tex
\input msgdlg.tex
\input metafile.tex
\input mimetype.tex
\input minifram.tex
\input module.tex
\input mcaptevt.tex
\input mouseevt.tex
\input moveevt.tex
\input mltchdlg.tex
\input mutex.tex
\input mutexlck.tex
\input node.tex
\input notebook.tex
\input noteevt.tex
\input nbsizer.tex
\input notifevt.tex
\input object.tex
\input outptstr.tex
\input pagedlg.tex
\input paintdc.tex
\input paintevt.tex
\input palette.tex
\input panel.tex
\input pathlist.tex
\input pen.tex
\input plotcurve.tex
\input plotwindow.tex
\input point.tex
\input postscpt.tex
\input prevwin.tex
\input print.tex
\input prvtdrpt.tex
\input process.tex
\input procevt.tex
\input progdlg.tex
\input protocol.tex
\input quantize.tex
\input query.tex
\input qylayevt.tex
\input radiobox.tex
\input radiobut.tex
\input realpoin.tex
\input recrdset.tex
\input rect.tex
\input regex.tex
\input region.tex
\input sashevt.tex
\input sashlayw.tex
\input sashwin.tex
\input screendc.tex
\input scpdarry.tex
\input scpdptr.tex
\input scrolbar.tex
\input scrolwin.tex
\input scrolevt.tex
\input scrlwevt.tex
\input semaphor.tex
\input ipcservr.tex
\input hprovsmp.tex
\input sngchdlg.tex
\input snglinst.tex
\input size.tex
\input sizeevt.tex
\input sizer.tex
\input slider.tex
\input sckaddr.tex
\input socket.tex
\input strmsock.tex
\input socksrv.tex
\input spinbutt.tex
\input spinctrl.tex
\input spinevt.tex
\input splash.tex
\input splitevt.tex
\input splitter.tex
\input statbmp.tex
\input statbox.tex
\input sbsizer.tex
\input statline.tex
\input stattext.tex
\input statusbr.tex
\input stopwtch.tex
\input strmbase.tex
\input stream.tex
\input strtotxt.tex
\input wxstring.tex
\input strcldat.tex
\input strlist.tex
\input tokenizr.tex
\input sysclevt.tex
\input sysopt.tex
\input settings.tex
\input tabctrl.tex
\input tabevent.tex
\input taskbar.tex
\input tempfile.tex
\input text.tex
\input txtdatob.tex
\input txtdrptg.tex
\input textdlg.tex
\input textfile.tex
\input txtstrm.tex
\input valtext.tex
\input thread.tex
\input time.tex
\input timer.tex
\input timespan.tex
\input tipprov.tex
\input tipwin.tex
\input tglbtn.tex
\input toolbar.tex
\input tooltip.tex
\input treectrl.tex
\input treeevt.tex
\input treedata.tex
\input treelay.tex
\input upduievt.tex
\input url.tex
\input validatr.tex
\input variant.tex
\input view.tex
\input wave.tex
\input window.tex
\input windowdc.tex
\input wnddisbl.tex
\input wizard.tex
\input wizevt.tex
\input wizpage.tex
\input xmlres.tex
\input xmlresh.tex
\input zipstrm.tex
\input strmzlib.tex

113
docs/latex/wx/clientdat.tex Normal file
View File

@@ -0,0 +1,113 @@
\section{\class{wxClientData}}\label{wxclientdata}
All classes deriving from \helpref{wxEvtHandler}{wxevthandler}
(such as all controls and \helpref{wxApp}{wxapp})
can hold arbitrary data which is here referred to as "client data".
This is useful e.g. for scripting languages which need to handle
shadow objects for most of wxWindows' classes and which store
a handle to such a shadow class as client data in that class.
This data can either be of type void - in which case the data
{\it container} does not take care of freeing the data again
or it is of type wxClientData or its derivates. In that case the
container (e.g. a control) will free the memory itself later.
Note that you {\it must not} assign both void data and data
derived from the wxClientData class to a container.
Some controls can hold various items and these controls can
additionally hold client data for each item. This is the case for
\helpref{wxChoice}{wxchoice}, \helpref{wxComboBox}{wxcombobox}
and \helpref{wxListBox}{wxlistbox}. \helpref{wxTreeCtrl}{wxtreectrl}
has a specialized class \helpref{wxTreeItemData}{wxtreeitemdata}
for each item in the tree.
If you want to add client data to your own classes, you may
use the mix-in class \helpref{wxClientDataContainer}{wxclientdatacontainer}.
\wxheading{Include files}
<wx/clntdata.h>
\wxheading{See also}
\helpref{wxEvtHandler}{wxevthandler}, \helpref{wxTreeItemData}{wxtreeitemdata},
\helpref{wxStringClientData}{wxstringclientdata}, \helpref{wxClientDataContainer}{wxclientdatacontainer}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxClientData::wxClientData}\label{wxclientdatawxclientdata}
\func{}{wxClientData}{\void}
Constructor.
\membersection{wxClientData::\destruct{wxClientData}}\label{wxclientdatadtor}
\func{}{\destruct{wxClientData}}{\void}
Virtual destructor.
\section{\class{wxClientDataContainer}}\label{wxclientdatacontainer}
This class is a mixin that provides storage and management of "client
data." This data can either be of type void - in which case the data
{\it container} does not take care of freeing the data again
or it is of type wxClientData or its derivates. In that case the
container will free the memory itself later.
Note that you {\it must not} assign both void data and data
derived from the wxClientData class to a container.
NOTE: This functionality is currently duplicated in wxEvtHandler in
order to avoid having more than one vtable in that class heirachy.
\wxheading{See also}
\helpref{wxEvtHandler}{wxevthandler}, \helpref{wxClientData}{wxclientdata}
\wxheading{Derived from}
No base class
\wxheading{Include files}
<clntdata.h>
\wxheading{Data structures}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxClientDataContainer::wxClientDataContainer}\label{wxclientdatacontainerwxclientdatacontainer}
\func{}{wxClientDataContainer}{\void}
\membersection{wxClientDataContainer::\destruct{wxClientDataContainer}}\label{wxclientdatacontainerdtor}
\func{}{\destruct{wxClientDataContainer}}{\void}
\membersection{wxClientDataContainer::GetClientData}\label{wxclientdatacontainergetclientdata}
\constfunc{void*}{GetClientData}{\void}
Get the untyped client data.
\membersection{wxClientDataContainer::GetClientObject}\label{wxclientdatacontainergetclientobject}
\constfunc{wxClientData*}{GetClientObject}{\void}
Get a pointer to the client data object.
\membersection{wxClientDataContainer::SetClientData}\label{wxclientdatacontainersetclientdata}
\func{void}{SetClientData}{\param{void* }{data}}
Set the untyped client data.
\membersection{wxClientDataContainer::SetClientObject}\label{wxclientdatacontainersetclientobject}
\func{void}{SetClientObject}{\param{wxClientData* }{data}}
Set the client data object. Any previous object will be deleted.

View File

@@ -0,0 +1,36 @@
\section{\class{wxClientDC}}\label{wxclientdc}
A wxClientDC must be constructed if an application wishes to paint on the
client area of a window from outside an {\bf OnPaint} event.
This should normally be constructed as a temporary stack object; don't store
a wxClientDC object.
To draw on a window from within {\bf OnPaint}, construct a \helpref{wxPaintDC}{wxpaintdc} object.
To draw on the whole window including decorations, construct a \helpref{wxWindowDC}{wxwindowdc} object
(Windows only).
\wxheading{Derived from}
\helpref{wxWindowDC}{wxwindowdc}\\
\helpref{wxDC}{wxdc}
\wxheading{Include files}
<wx/dcclient.h>
\wxheading{See also}
\helpref{wxDC}{wxdc}, \helpref{wxMemoryDC}{wxmemorydc}, \helpref{wxPaintDC}{wxpaintdc},\rtfsp
\helpref{wxWindowDC}{wxwindowdc}, \helpref{wxScreenDC}{wxscreendc}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxClientDC::wxClientDC}
\func{}{wxClientDC}{\param{wxWindow*}{ window}}
Constructor. Pass a pointer to the window on which you wish to paint.

156
docs/latex/wx/clipbrd.tex Normal file
View File

@@ -0,0 +1,156 @@
\section{\class{wxClipboard}}\label{wxclipboard}
A class for manipulating the clipboard. Note that this is not compatible with the
clipboard class from wxWindows 1.xx, which has the same name but a different implementation.
To use the clipboard, you call member functions of the global {\bf wxTheClipboard} object.
See also the \helpref{wxDataObject overview}{wxdataobjectoverview} for further information.
Call \helpref{wxClipboard::Open}{wxclipboardopen} to get ownership of the clipboard. If this operation returns TRUE, you
now own the clipboard. Call \helpref{wxClipboard::SetData}{wxclipboardsetdata} to put data
on the clipboard, or \helpref{wxClipboard::GetData}{wxclipboardgetdata} to
retrieve data from the clipboard. Call \helpref{wxClipboard::Close}{wxclipboardclose} to close
the clipboard and relinquish ownership. You should keep the clipboard open only momentarily.
For example:
\begin{verbatim}
// Write some text to the clipboard
if (wxTheClipboard->Open())
{
// This data objects are held by the clipboard,
// so do not delete them in the app.
wxTheClipboard->SetData( new wxTextDataObject("Some text") );
wxTheClipboard->Close();
}
// Read some text
if (wxTheClipboard->Open())
{
if (wxTheClipboard->IsSupported( wxDF_TEXT ))
{
wxTextDataObject data;
wxTheClipboard->GetData( data );
wxMessageBox( data.GetText() );
}
wxTheClipboard->Close();
}
\end{verbatim}
\wxheading{Derived from}
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/clipbrd.h>
\wxheading{See also}
\helpref{Drag and drop overview}{wxdndoverview}, \helpref{wxDataObject}{wxdataobject}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxClipboard::wxClipboard}
\func{}{wxClipboard}{\void}
Constructor.
\membersection{wxClipboard::\destruct{wxClipboard}}
\func{}{\destruct{wxClipboard}}{\void}
Destructor.
\membersection{wxClipboard::AddData}\label{wxclipboardadddata}
\func{bool}{AddData}{\param{wxDataObject*}{ data}}
Call this function to add the data object to the clipboard. You may call
this function repeatedly after having cleared the clipboard using \helpref{wxClipboard::Clear}{wxclipboardclear}.
After this function has been called, the clipboard owns the data, so do not delete
the data explicitly.
\wxheading{See also}
\helpref{wxClipboard::SetData}{wxclipboardsetdata}
\membersection{wxClipboard::Clear}\label{wxclipboardclear}
\func{void}{Clear}{\void}
Clears the global clipboard object and the system's clipboard if possible.
\membersection{wxClipboard::Close}\label{wxclipboardclose}
\func{bool}{Close}{\void}
Call this function to close the clipboard, having opened it with \helpref{wxClipboard::Open}{wxclipboardopen}.
\membersection{wxClipboard::Flush}\label{wxclipboardflush}
\func{bool}{Flush}{\void}
Flushes the clipboard: this means that the data which is currently on
clipboard will stay available even after the application exits (possibly
eating memory), otherwise the clipboard will be emptied on exit.
Returns FALSE if the operation is unsuccesful for any reason.
\membersection{wxClipboard::GetData}\label{wxclipboardgetdata}
\func{bool}{GetData}{\param{wxDataObject\&}{ data}}
Call this function to fill {\it data} with data on the clipboard, if available in the required
format. Returns TRUE on success.
\membersection{wxClipboard::IsOpened}\label{wxclipboardisopened}
\constfunc{bool}{IsOpened}{\void}
Returns TRUE if the clipboard has been opened.
\membersection{wxClipboard::IsSupported}\label{wxclipboardissupported}
\func{bool}{IsSupported}{\param{const wxDataFormat\&}{ format}}
Returns TRUE if the format of the given data object is available on the clipboard.
\membersection{wxClipboard::Open}\label{wxclipboardopen}
\func{bool}{Open}{\void}
Call this function to open the clipboard before calling \helpref{wxClipboard::SetData}{wxclipboardsetdata}
and \helpref{wxClipboard::GetData}{wxclipboardgetdata}.
Call \helpref{wxClipboard::Close}{wxclipboardclose} when you have finished with the clipboard. You
should keep the clipboard open for only a very short time.
Returns TRUE on success. This should be tested (as in the sample shown above).
\membersection{wxClipboard::SetData}\label{wxclipboardsetdata}
\func{bool}{SetData}{\param{wxDataObject*}{ data}}
Call this function to set the data object to the clipboard. This function will
clear all previous contents in the clipboard, so calling it several times
does not make any sense.
After this function has been called, the clipboard owns the data, so do not delete
the data explicitly.
\wxheading{See also}
\helpref{wxClipboard::AddData}{wxclipboardadddata}
\membersection{wxClipboard::UsePrimarySelection}\label{wxclipboarduseprimary}
\func{void}{UsePrimarySelection}{\param{bool}{ primary = TRUE}}
On platforms supporting it (currently only GTK), selects the so called
PRIMARY SELECTION as the clipboard as opposed to the normal clipboard,
if {\it primary} is TRUE.

113
docs/latex/wx/closeevt.tex Normal file
View File

@@ -0,0 +1,113 @@
\section{\class{wxCloseEvent}}\label{wxcloseevent}
This event class contains information about window and session close events.
The handler function for EVT\_CLOSE is called when the user has tried to close a a frame
or dialog box using the window manager (X) or system menu (Windows). It can
also be invoked by the application itself programmatically, for example by
calling the \helpref{wxWindow::Close}{wxwindowclose} function.
You should check whether the application is forcing the deletion of the window
using \helpref{wxCloseEvent::CanVeto}{wxcloseeventcanveto}. If this is {\tt FALSE},
you {\it must} destroy the window using \helpref{wxWindow::Destroy}{wxwindowdestroy}.
If the return value is TRUE, it is up to you whether you respond by destroying the window.
If you don't destroy the window, you should call \helpref{wxCloseEvent::Veto}{wxcloseeventveto} to
let the calling code know that you did not destroy the window. This allows the \helpref{wxWindow::Close}{wxwindowclose} function
to return {\tt TRUE} or {\tt FALSE} depending on whether the close instruction was honoured or not.
\wxheading{Derived from}
\helpref{wxEvent}{wxevent}
\wxheading{Include files}
<wx/event.h>
\wxheading{Event table macros}
To process a close event, use these event handler macros to direct input to member
functions that take a wxCloseEvent argument.
\twocolwidtha{7cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{{\bf EVT\_CLOSE(func)}}{Process a close event, supplying the member function. This
event applies to wxFrame and wxDialog classes.}
\twocolitem{{\bf EVT\_QUERY\_END\_SESSION(func)}}{Process a query end session event, supplying the member function.
This event applies to wxApp only.}
\twocolitem{{\bf EVT\_END\_SESSION(func)}}{Process an end session event, supplying the member function.
This event applies to wxApp only.}
\end{twocollist}%
\wxheading{See also}
\helpref{wxWindow::Close}{wxwindowclose},\rtfsp
\helpref{wxApp::OnQueryEndSession}{wxapponqueryendsession},\rtfsp
%% GD: OnXXX functions are not documented
%%\helpref{wxApp::OnEndSession}{wxapponendsession},\rtfsp
\helpref{Window deletion overview}{windowdeletionoverview}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxCloseEvent::wxCloseEvent}
\func{}{wxCloseEvent}{\param{WXTYPE}{ commandEventType = 0}, \param{int}{ id = 0}}
Constructor.
\membersection{wxCloseEvent::CanVeto}\label{wxcloseeventcanveto}
\func{bool}{CanVeto}{\void}
Returns TRUE if you can veto a system shutdown or a window close event.
Vetoing a window close event is not possible if the calling code wishes to
force the application to exit, and so this function must be called to check this.
\membersection{wxCloseEvent::GetLoggingOff}\label{wxcloseeventgetloggingoff}
\constfunc{bool}{GetLoggingOff}{\void}
Returns TRUE if the user is logging off.
\membersection{wxCloseEvent::GetSessionEnding}\label{wxcloseeventgetsessionending}
\constfunc{bool}{GetSessionEnding}{\void}
Returns TRUE if the session is ending.
\membersection{wxCloseEvent::GetForce}\label{wxcloseeventgetforce}
\constfunc{bool}{GetForce}{\void}
Returns TRUE if the application wishes to force the window to close.
This will shortly be obsolete, replaced by CanVeto.
\membersection{wxCloseEvent::SetCanVeto}\label{wxcloseeventsetcanveto}
\func{void}{SetCanVeto}{\param{bool}{ canVeto}}
Sets the 'can veto' flag.
\membersection{wxCloseEvent::SetForce}\label{wxcloseeventsetforce}
\constfunc{void}{SetForce}{\param{bool}{ force}}
Sets the 'force' flag.
\membersection{wxCloseEvent::SetLoggingOff}\label{wxcloseeventsetloggingoff}
\constfunc{void}{SetLoggingOff}{\param{bool}{ loggingOff}}
Sets the 'logging off' flag.
\membersection{wxCloseEvent::Veto}\label{wxcloseeventveto}
\func{void}{Veto}{\param{bool}{ veto = TRUE}}
Call this from your event handler to veto a system shutdown or to signal
to the calling application that a window close did not happen.
You can only veto a shutdown if \helpref{wxCloseEvent::CanVeto}{wxcloseeventcanveto} returns
TRUE.

206
docs/latex/wx/cmdevent.tex Normal file
View File

@@ -0,0 +1,206 @@
\section{\class{wxCommandEvent}}\label{wxcommandevent}
This event class contains information about command events, which originate from a variety of
simple controls. More complex controls, such as \helpref{wxTreeCtrl}{wxtreectrl}, have separate command event classes.
\wxheading{Derived from}
\helpref{wxEvent}{wxevent}
\wxheading{Include files}
<wx/event.h>
\wxheading{Event table macros}
To process a menu command event, use these event handler macros to direct input to member
functions that take a wxCommandEvent argument.
\twocolwidtha{7cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{{\bf EVT\_COMMAND(id, event, func)}}{Process a command, supplying the window identifier,
command event identifier, and member function.}
\twocolitem{{\bf EVT\_COMMAND\_RANGE(id1, id2, event, func)}}{Process a command for a range
of window identifiers, supplying the minimum and maximum window identifiers,
command event identifier, and member function.}
\twocolitem{{\bf EVT\_BUTTON(id, func)}}{Process a wxEVT\_COMMAND\_BUTTON\_CLICKED command,
which is generated by a wxButton control.}
\twocolitem{{\bf EVT\_CHECKBOX(id, func)}}{Process a wxEVT\_COMMAND\_CHECKBOX\_CLICKED command,
which is generated by a wxCheckBox control.}
\twocolitem{{\bf EVT\_CHOICE(id, func)}}{Process a wxEVT\_COMMAND\_CHOICE\_SELECTED command,
which is generated by a wxChoice control.}
\twocolitem{{\bf EVT\_LISTBOX(id, func)}}{Process a wxEVT\_COMMAND\_LISTBOX\_SELECTED command,
which is generated by a wxListBox control.}
\twocolitem{{\bf EVT\_LISTBOX\_DCLICK(id, func)}}{Process a wxEVT\_COMMAND\_LISTBOX\_DOUBLECLICKED command,
which is generated by a wxListBox control.}
\twocolitem{{\bf EVT\_TEXT(id, func)}}{Process a wxEVT\_COMMAND\_TEXT\_UPDATED command,
which is generated by a wxTextCtrl control.}
\twocolitem{{\bf EVT\_TEXT\_ENTER(id, func)}}{Process a wxEVT\_COMMAND\_TEXT\_ENTER command,
which is generated by a wxTextCtrl control. Note that you must use
wxTE\_PROCESS\_ENTER flag when creating the control if you want it to generate
such events.}
\twocolitem{{\bf EVT\_TEXT\_MAXLEN(id, func)}}{Process a wxEVT\_COMMAND\_TEXT\_MAXLEN command,
which is generated by a wxTextCtrl control when the user tries to enter more
characters into it than the limit previously set with
\helpref{SetMaxLength}{wxtextctrlsetmaxlength}.}
\twocolitem{{\bf EVT\_MENU(id, func)}}{Process a wxEVT\_COMMAND\_MENU\_SELECTED command,
which is generated by a menu item.}
\twocolitem{{\bf EVT\_MENU\_RANGE(id1, id2, func)}}{Process a wxEVT\_COMMAND\_MENU\_RANGE command,
which is generated by a range of menu items.}
\twocolitem{{\bf EVT\_CONTEXT\_MENU(func)}}{Process the event generated
when the user has requested a popup menu to appear by pressing a special
keyboard key (under Windows) or by right clicking the mouse.}
\twocolitem{{\bf EVT\_SLIDER(id, func)}}{Process a wxEVT\_COMMAND\_SLIDER\_UPDATED command,
which is generated by a wxSlider control.}
\twocolitem{{\bf EVT\_RADIOBOX(id, func)}}{Process a wxEVT\_COMMAND\_RADIOBOX\_SELECTED command,
which is generated by a wxRadioBox control.}
\twocolitem{{\bf EVT\_RADIOBUTTON(id, func)}}{Process a wxEVT\_COMMAND\_RADIOBUTTON\_SELECTED command,
which is generated by a wxRadioButton control.}
\twocolitem{{\bf EVT\_SCROLLBAR(id, func)}}{Process a wxEVT\_COMMAND\_SCROLLBAR\_UPDATED command,
which is generated by a wxScrollBar control. This is provided for compatibility only;
more specific scrollbar event macros should be used instead (see \helpref{wxScrollEvent}{wxscrollevent}).}
\twocolitem{{\bf EVT\_COMBOBOX(id, func)}}{Process a wxEVT\_COMMAND\_COMBOBOX\_SELECTED command,
which is generated by a wxComboBox control.}
\twocolitem{{\bf EVT\_TOOL(id, func)}}{Process a wxEVT\_COMMAND\_TOOL\_CLICKED event
(a synonym for wxEVT\_COMMAND\_MENU\_SELECTED). Pass the id of the tool.}
\twocolitem{{\bf EVT\_TOOL\_RANGE(id1, id2, func)}}{Process a wxEVT\_COMMAND\_TOOL\_CLICKED event
for a range id identifiers. Pass the ids of the tools.}
\twocolitem{{\bf EVT\_TOOL\_RCLICKED(id, func)}}{Process a wxEVT\_COMMAND\_TOOL\_RCLICKED event.
Pass the id of the tool.}
\twocolitem{{\bf EVT\_TOOL\_RCLICKED\_RANGE(id1, id2, func)}}{Process a wxEVT\_COMMAND\_TOOL\_RCLICKED event
for a range of ids. Pass the ids of the tools.}
\twocolitem{{\bf EVT\_TOOL\_ENTER(id, func)}}{Process a wxEVT\_COMMAND\_TOOL\_ENTER event.
Pass the id of the toolbar itself. The value of wxCommandEvent::GetSelection is the tool id, or -1 if the mouse cursor has moved off a tool.}
\twocolitem{{\bf EVT\_COMMAND\_LEFT\_CLICK(id, func)}}{Process a wxEVT\_COMMAND\_LEFT\_CLICK command,
which is generated by a control (Windows 95 and NT only).}
\twocolitem{{\bf EVT\_COMMAND\_LEFT\_DCLICK(id, func)}}{Process a wxEVT\_COMMAND\_LEFT\_DCLICK command,
which is generated by a control (Windows 95 and NT only).}
\twocolitem{{\bf EVT\_COMMAND\_RIGHT\_CLICK(id, func)}}{Process a wxEVT\_COMMAND\_RIGHT\_CLICK command,
which is generated by a control (Windows 95 and NT only).}
\twocolitem{{\bf EVT\_COMMAND\_SET\_FOCUS(id, func)}}{Process a wxEVT\_COMMAND\_SET\_FOCUS command,
which is generated by a control (Windows 95 and NT only).}
\twocolitem{{\bf EVT\_COMMAND\_KILL\_FOCUS(id, func)}}{Process a wxEVT\_COMMAND\_KILL\_FOCUS command,
which is generated by a control (Windows 95 and NT only).}
\twocolitem{{\bf EVT\_COMMAND\_ENTER(id, func)}}{Process a wxEVT\_COMMAND\_ENTER command,
which is generated by a control.}
\end{twocollist}%
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxCommandEvent::m\_clientData}
\member{void*}{m\_clientData}
Contains a pointer to client data for listboxes and choices, if the event
was a selection. Beware, this is not implemented anyway...
\membersection{wxCommandEvent::m\_commandInt}
\member{int}{m\_commandInt}
Contains an integer identifier corresponding to a listbox, choice or
radiobox selection (only if the event was a selection, not a
deselection), or a boolean value representing the value of a checkbox.
\membersection{wxCommandEvent::m\_commandString}
\member{wxString}{m\_commandString}
Contains a string corresponding to a listbox or choice selection.
\membersection{wxCommandEvent::m\_extraLong}
\member{long}{m\_extraLong}
Extra information. If the event comes from a listbox selection, it is
a boolean determining whether the event was a selection (TRUE) or a
deselection (FALSE). A listbox deselection only occurs for
multiple-selection boxes, and in this case the index and string values
are indeterminate and the listbox must be examined by the application.
\membersection{wxCommandEvent::wxCommandEvent}
\func{}{wxCommandEvent}{\param{WXTYPE}{ commandEventType = 0}, \param{int}{ id = 0}}
Constructor.
\membersection{wxCommandEvent::Checked}
\constfunc{bool}{Checked}{\void}
Deprecated, use \helpref{IsChecked}{wxcommandeventischecked} instead.
\membersection{wxCommandEvent::GetClientData}
\func{void*}{GetClientData}{\void}
Returns client data pointer for a listbox or choice selection event
(not valid for a deselection).
\membersection{wxCommandEvent::GetExtraLong}
\func{long}{GetExtraLong}{\void}
Returns the {\bf m\_extraLong} member.
\membersection{wxCommandEvent::GetInt}
\func{int}{GetInt}{\void}
Returns the {\bf m\_commandInt} member.
\membersection{wxCommandEvent::GetSelection}
\func{int}{GetSelection}{\void}
Returns item index for a listbox or choice selection event (not valid for
a deselection).
\membersection{wxCommandEvent::GetString}
\func{wxString}{GetString}{\void}
Returns item string for a listbox or choice selection event (not valid for
a deselection).
\membersection{wxCommandEvent::IsChecked}\label{wxcommandeventischecked}
\constfunc{bool}{IsChecked}{\void}
This method can be used with checkbox and menu events: for the checkboxes, the
method returns {\tt TRUE} for a selection event and {\tt FALSE} for a
deselection one. For the menu events, this method indicates if the menu item
just has become checked or unchecked (and thus only makes sense for checkable
menu items).
\membersection{wxCommandEvent::IsSelection}
\func{bool}{IsSelection}{\void}
For a listbox or choice event, returns TRUE if it is a selection, FALSE if it
is a deselection.
\membersection{wxCommandEvent::SetClientData}
\func{void}{SetClientData}{\param{void*}{ clientData}}
Sets the client data for this event.
\membersection{wxCommandEvent::SetExtraLong}
\func{void}{SetExtraLong}{\param{int}{ extraLong}}
Sets the {\bf m\_extraLong} member.
\membersection{wxCommandEvent::SetInt}
\func{void}{SetInt}{\param{int}{ intCommand}}
Sets the {\bf m\_commandInt} member.
\membersection{wxCommandEvent::SetString}
\func{void}{SetString}{\param{const wxString\&}{ string}}
Sets the {\bf m\_commandString} member.

487
docs/latex/wx/cmdlpars.tex Normal file
View File

@@ -0,0 +1,487 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Name: cmdlpars.tex
%% Purpose: wxCmdLineParser documentation
%% Author: Vadim Zeitlin
%% Modified by:
%% Created: 27.03.00
%% RCS-ID: $Id$
%% Copyright: (c) Vadim Zeitlin
%% License: wxWindows license
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{\class{wxCmdLineParser}}\label{wxcmdlineparser}
wxCmdLineParser is a class for parsing command line.
It has the following features:
\begin{enumerate}\itemsep=0pt
\item distinguishes options, switches and parameters; allows option grouping
\item allows both short and long options
\item automatically generates the usage message from the command line description
\item does type checks on the options values (number, date, $\ldots$).
\end{enumerate}
To use it you should follow these steps:
\begin{enumerate}\itemsep=0pt
\item \helpref{construct}{wxcmdlineparserconstruction} an object of this class
giving it the command line to parse and optionally its description or use
{\tt AddXXX()} functions later
\item call {\tt Parse()}
\item use {\tt Found()} to retrieve the results
\end{enumerate}
In the documentation below the following terminology is used:
\begin{twocollist}\itemsep=0pt
\twocolitem{switch}{This is a boolean option which can be given or not, but
which doesn't have any value. We use the word switch to distinguish such boolean
options from more generic options like those described below. For example,
{\tt -v} might be a switch meaning "enable verbose mode".}
\twocolitem{option}{Option for us here is something which comes with a value 0
unlike a switch. For example, {\tt -o:filename} might be an option which allows
to specify the name of the output file.}
\twocolitem{parameter}{This is a required program argument.}
\end{twocollist}
\wxheading{Derived from}
No base class
\wxheading{Include files}
<wx/cmdline.h>
\wxheading{Constants}
The structure wxCmdLineEntryDesc is used to describe the one command
line switch, option or parameter. An array of such structures should be passed
to \helpref{SetDesc()}{wxcmdlineparsersetdesc}. Also, the meanings of parameters
of the {\tt AddXXX()} functions are the same as of the corresponding fields in
this structure:
\begin{verbatim}
struct wxCmdLineEntryDesc
{
wxCmdLineEntryType kind;
const wxChar *shortName;
const wxChar *longName;
const wxChar *description;
wxCmdLineParamType type;
int flags;
};
\end{verbatim}
The type of a command line entity is in the {\tt kind} field and may be one of
the following constants:
{\small%
\begin{verbatim}
enum wxCmdLineEntryType
{
wxCMD_LINE_SWITCH,
wxCMD_LINE_OPTION,
wxCMD_LINE_PARAM,
wxCMD_LINE_NONE // use this to terminate the list
}
\end{verbatim}
}
The field {\tt shortName} is the usual, short, name of the switch or the option.
{\tt longName} is the corresponding long name or NULL if the option has no long
name. Both of these fields are unused for the parameters. Both the short and
long option names can contain only letters, digits and the underscores.
{\tt description} is used by the \helpref{Usage()}{wxcmdlineparserusage} method
to construct a help message explaining the syntax of the program.
The possible values of {\tt type} which specifies the type of the value accepted
by an option or parameter are:
{\small%
\begin{verbatim}
enum wxCmdLineParamType
{
wxCMD_LINE_VAL_STRING, // default
wxCMD_LINE_VAL_NUMBER,
wxCMD_LINE_VAL_DATE,
wxCMD_LINE_VAL_NONE
}
\end{verbatim}
}
Finally, the {\tt flags} field is a combination of the following bit masks:
{\small%
\begin{verbatim}
enum
{
wxCMD_LINE_OPTION_MANDATORY = 0x01, // this option must be given
wxCMD_LINE_PARAM_OPTIONAL = 0x02, // the parameter may be omitted
wxCMD_LINE_PARAM_MULTIPLE = 0x04, // the parameter may be repeated
wxCMD_LINE_OPTION_HELP = 0x08, // this option is a help request
wxCMD_LINE_NEEDS_SEPARATOR = 0x10, // must have sep before the value
}
\end{verbatim}
}
Notice that by default (i.e. if flags are just $0$), options are optional (sic)
and each call to \helpref{AddParam()}{wxcmdlineparseraddparam} allows one more
parameter - this may be changed by giving non-default flags to it, i.e. use
{\tt wxCMD\_LINE\_OPTION\_MANDATORY} to require that the option is given and
{\tt wxCMD\_LINE\_PARAM\_OPTIONAL} to make a parameter optional. Also,
{\tt wxCMD\_LINE\_PARAM\_MULTIPLE} may be specified if the programs accepts a
variable number of parameters - but it only can be given for the last parameter
in the command line description. If you use this flag, you will probably need to
use \helpref{GetParamCount}{wxcmdlineparsergetparamcount} to retrieve the number
of parameters effectively specified after calling
\helpref{Parse}{wxcmdlineparserparse}.
The last flag {\tt wxCMD\_LINE\_NEEDS\_SEPARATOR} can be specified to require a
separator (either a colon, an equal sign or white space) between the option
name and its value. By default, no separator is required.
\wxheading{See also}
\helpref{wxApp::argc}{wxappargc} and \helpref{wxApp::argv}{wxappargv}\\
console sample
%%%%%%%%%%%%% Methods by group %%%%%%%%%%%%%
\latexignore{\rtfignore{\wxheading{Function groups}}}
\membersection{Construction}\label{wxcmdlineparserconstruction}
Before \helpref{Parse}{wxcmdlineparserparse} can be called, the command line
parser object must have the command line to parse and also the rules saying
which switches, options and parameters are valid - this is called command line
description in what follows.
You have complete freedom of choice as to when specify the required information,
the only restriction is that it must be done before calling
\helpref{Parse}{wxcmdlineparserparse}.
To specify the command line to parse you may use either one of constructors
accepting it (\helpref{wxCmdLineParser(argc, argv)}{wxcmdlineparserwxcmdlineparserargc} or
\helpref{wxCmdLineParser}{wxcmdlineparserwxcmdlineparserdescargc} usually) or,
if you use \helpref{the default constructor}{wxcmdlineparserwxcmdlineparserdef},
you can do it later by calling
\helpref{SetCmdLine}{wxcmdlineparsersetcmdlineargc}.
The same holds for command line description: it can be specified either in
the constructor (\helpref{without command line}{wxcmdlineparserwxcmdlineparserdesc} or
\helpref{together with it}{wxcmdlineparserwxcmdlineparserdescargc}) or
constructed later using either \helpref{SetDesc}{wxcmdlineparsersetdesc} or
combination of \helpref{AddSwitch}{wxcmdlineparseraddswitch},
\helpref{AddOption}{wxcmdlineparseraddoption} and
\helpref{AddParam}{wxcmdlineparseraddparam} methods.
Using constructors or \helpref{SetDesc}{wxcmdlineparsersetdesc} uses a (usually
{\tt const static}) table containing the command line description. If you want
to decide which options to accept during the run-time, using one of the
{\tt AddXXX()} functions above might be preferable.
\membersection{Customization}\label{wxcmdlineparsercustomization}
wxCmdLineParser has several global options which may be changed by the
application. All of the functions described in this section should be called
before \helpref{Parse}{wxcmdlineparserparse}.
First global option is the support for long (also known as GNU-style) options.
The long options are the ones which start with two dashes ({\tt "--"}) and look
like this: {\tt --verbose}, i.e. they generally are complete words and not some
abbreviations of them. As long options are used by more and more applications,
they are enabled by default, but may be disabled with
\helpref{DisableLongOptions}{wxcmdlineparserdisablelongoptions}.
Another global option is the set of characters which may be used to start an
option (otherwise, the word on the command line is assumed to be a parameter).
Under Unix, {\tt '-'} is always used, but Windows has at least two common
choices for this: {\tt '-'} and {\tt '/'}. Some programs also use {\tt '+'}.
The default is to use what suits most the current platform, but may be changed
with \helpref{SetSwitchChars}{wxcmdlineparsersetswitchchars} method.
Finally, \helpref{SetLogo}{wxcmdlineparsersetlogo} can be used to show some
application-specific text before the explanation given by
\helpref{Usage}{wxcmdlineparserusage} function.
\membersection{Parsing command line}\label{wxcmdlineparserparsing}
After the command line description was constructed and the desired options were
set, you can finally call \helpref{Parse}{wxcmdlineparserparse} method.
It returns $0$ if the command line was correct and was parsed, $-1$ if the help
option was specified (this is a separate case as, normally, the program will
terminate after this) or a positive number if there was an error during the
command line parsing.
In the latter case, the appropriate error message and usage information are
logged by wxCmdLineParser itself using the standard wxWindows logging functions.
\membersection{Getting results}\label{wxcmdlineparsergettingresults}
After calling \helpref{Parse}{wxcmdlineparserparse} (and if it returned $0$),
you may access the results of parsing using one of overloaded {\tt Found()}
methods.
For a simple switch, you will simply call
\helpref{Found}{wxcmdlineparserfoundswitch} to determine if the switch was given
or not, for an option or a parameter, you will call a version of {\tt Found()}
which also returns the associated value in the provided variable. All
{\tt Found()} functions return TRUE if the switch or option were found in the
command line or FALSE if they were not specified.
%%%%%%%%%%%%% Methods in alphabetic order %%%%%%%%%%%%%
\helponly{\insertatlevel{2}{
\wxheading{Members}
}}
\membersection{wxCmdLineParser::wxCmdLineParser}\label{wxcmdlineparserwxcmdlineparserdef}
\func{}{wxCmdLineParser}{\void}
Default constructor. You must use
\helpref{SetCmdLine}{wxcmdlineparsersetcmdlineargc} later.
\membersection{wxCmdLineParser::wxCmdLineParser}\label{wxcmdlineparserwxcmdlineparserargc}
\func{}{wxCmdLineParser}{\param{int }{argc}, \param{char** }{argv}}
Constructor specifies the command line to parse. This is the traditional
(Unix) command line format. The parameters {\it argc} and {\it argv} have the
same meaning as for {\tt main()} function.
\membersection{wxCmdLineParser::wxCmdLineParser}\label{wxcmdlineparserwxcmdlineparserstr}
\func{}{wxCmdLineParser}{\param{const wxString\& }{cmdline}}
Constructor specifies the command line to parse in Windows format. The parameter
{\it cmdline} has the same meaning as the corresponding parameter of
{\tt WinMain()}.
\membersection{wxCmdLineParser::wxCmdLineParser}\label{wxcmdlineparserwxcmdlineparserdesc}
\func{}{wxCmdLineParser}{\param{const wxCmdLineEntryDesc* }{desc}}
Same as \helpref{wxCmdLineParser}{wxcmdlineparserwxcmdlineparserdef}, but also
specifies the \helpref{command line description}{wxcmdlineparsersetdesc}.
\membersection{wxCmdLineParser::wxCmdLineParser}\label{wxcmdlineparserwxcmdlineparserdescargc}
\func{}{wxCmdLineParser}{\param{const wxCmdLineEntryDesc* }{desc}, \param{int }{argc}, \param{char** }{argv}}
Same as \helpref{wxCmdLineParser}{wxcmdlineparserwxcmdlineparserargc}, but also
specifies the \helpref{command line description}{wxcmdlineparsersetdesc}.
\membersection{wxCmdLineParser::wxCmdLineParser}\label{wxcmdlineparserwxcmdlineparserdescstr}
\func{}{wxCmdLineParser}{\param{const wxCmdLineEntryDesc* }{desc}, \param{const wxString\& }{cmdline}}
Same as \helpref{wxCmdLineParser}{wxcmdlineparserwxcmdlineparserstr}, but also
specifies the \helpref{command line description}{wxcmdlineparsersetdesc}.
\membersection{wxCmdLineParser::ConvertStringToArgs}\label{wxcmdlineparserconvertstringtoargs}
\func{static wxArrayString}{ConvertStringToArgs}{\param{const wxChar }{*cmdline}}
Breaks down the string containing the full command line in words. The words are
separated by whitespace. The quotes can be used in the input string to quote
the white space and the back slashes can be used to quote the quotes.
\membersection{wxCmdLineParser::SetCmdLine}\label{wxcmdlineparsersetcmdlineargc}
\func{void}{SetCmdLine}{\param{int }{argc}, \param{char** }{argv}}
Set command line to parse after using one of the constructors which don't do it.
\wxheading{See also}
\helpref{wxCmdLineParser}{wxcmdlineparserwxcmdlineparserargc}
\membersection{wxCmdLineParser::SetCmdLine}\label{wxcmdlineparsersetcmdlinestr}
\func{void}{SetCmdLine}{\param{const wxString\& }{cmdline}}
Set command line to parse after using one of the constructors which don't do it.
\wxheading{See also}
\helpref{wxCmdLineParser}{wxcmdlineparserwxcmdlineparserstr}
\membersection{wxCmdLineParser::\destruct{wxCmdLineParser}}\label{wxcmdlineparserdtor}
\func{}{\destruct{wxCmdLineParser}}{\void}
Frees resources allocated by the object.
{\bf NB:} destructor is not virtual, don't use this class polymorphically.
\membersection{wxCmdLineParser::SetSwitchChars}\label{wxcmdlineparsersetswitchchars}
\func{void}{SetSwitchChars}{\param{const wxString\& }{switchChars}}
{\it switchChars} contains all characters with which an option or switch may
start. Default is {\tt "-"} for Unix, {\tt "-/"} for Windows.
\membersection{wxCmdLineParser::EnableLongOptions}\label{wxcmdlineparserenablelongoptions}
\func{void}{EnableLongOptions}{\param{bool }{enable = TRUE}}
Enable or disable support for the long options.
As long options are not (yet) POSIX-compliant, this option allows to disable
them.
\wxheading{See also}
\helpref{Customization}{wxcmdlineparsercustomization} and \helpref{AreLongOptionsEnabled}{wxcmdlineparserarelongoptionsenabled}
\membersection{wxCmdLineParser::DisableLongOptions}\label{wxcmdlineparserdisablelongoptions}
\func{void}{DisableLongOptions}{\void}
Identical to \helpref{EnableLongOptions(FALSE)}{wxcmdlineparserenablelongoptions}.
\membersection{wxCmdLineParser::AreLongOptionsEnabled}\label{wxcmdlineparserarelongoptionsenabled}
\func{bool}{AreLongOptionsEnabled}{\void}
Returns TRUE if long options are enabled, otherwise FALSE.
\wxheading{See also}
\helpref{EnableLongOptions}{wxcmdlineparserenablelongoptions}
\membersection{wxCmdLineParser::SetLogo}\label{wxcmdlineparsersetlogo}
\func{void}{SetLogo}{\param{const wxString\& }{logo}}
{\it logo} is some extra text which will be shown by
\helpref{Usage}{wxcmdlineparserusage} method.
\membersection{wxCmdLineParser::SetDesc}\label{wxcmdlineparsersetdesc}
\func{void}{SetDesc}{\param{const wxCmdLineEntryDesc* }{desc}}
Construct the command line description
Take the command line description from the wxCMD\_LINE\_NONE terminated table.
Example of usage:
\begin{verbatim}
static const wxCmdLineEntryDesc cmdLineDesc[] =
{
{ wxCMD_LINE_SWITCH, "v", "verbose", "be verbose" },
{ wxCMD_LINE_SWITCH, "q", "quiet", "be quiet" },
{ wxCMD_LINE_OPTION, "o", "output", "output file" },
{ wxCMD_LINE_OPTION, "i", "input", "input dir" },
{ wxCMD_LINE_OPTION, "s", "size", "output block size", wxCMD_LINE_VAL_NUMBER },
{ wxCMD_LINE_OPTION, "d", "date", "output file date", wxCMD_LINE_VAL_DATE },
{ wxCMD_LINE_PARAM, NULL, NULL, "input file", wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_MULTIPLE },
{ wxCMD_LINE_NONE }
};
wxCmdLineParser parser;
parser.SetDesc(cmdLineDesc);
\end{verbatim}
\membersection{wxCmdLineParser::AddSwitch}\label{wxcmdlineparseraddswitch}
\func{void}{AddSwitch}{\param{const wxString\& }{name}, \param{const wxString\& }{lng = wxEmptyString}, \param{const wxString\& }{desc = wxEmptyString}, \param{int }{flags = 0}}
Add a switch {\it name} with an optional long name {\it lng} (no long name if it
is empty, which is default), description {\it desc} and flags {\it flags} to the
command line description.
\membersection{wxCmdLineParser::AddOption}\label{wxcmdlineparseraddoption}
\func{void}{AddOption}{\param{const wxString\& }{name}, \param{const wxString\& }{lng = wxEmptyString}, \param{const wxString\& }{desc = wxEmptyString}, \param{wxCmdLineParamType }{type = wxCMD\_LINE\_VAL\_STRING}, \param{int }{flags = 0}}
Add an option {\it name} with an optional long name {\it lng} (no long name if
it is empty, which is default) taking a value of the given type (string by
default) to the command line description.
\membersection{wxCmdLineParser::AddParam}\label{wxcmdlineparseraddparam}
\func{void}{AddParam}{\param{const wxString\& }{desc = wxEmptyString}, \param{wxCmdLineParamType }{type = wxCMD\_LINE\_VAL\_STRING}, \param{int }{flags = 0}}
Add a parameter of the given {\it type} to the command line description.
\membersection{wxCmdLineParser::Parse}\label{wxcmdlineparserparse}
\func{int}{Parse}{\param{bool }{giveUsage = {\tt TRUE}}}
Parse the command line, return $0$ if ok, $-1$ if {\tt "-h"} or {\tt "--help"}
option was encountered and the help message was given or a positive value if a
syntax error occured.
\wxheading{Parameters}
\docparam{giveUsage}{If {\tt TRUE} (default), the usage message is given if a
syntax error was encountered while parsing the command line or if help was
requested. If {\tt FALSE}, only error messages about possible syntax errors
are given, use \helpref{Usage}{wxcmdlineparserusage} to show the usage message
from the caller if needed.}
\membersection{wxCmdLineParser::Usage}\label{wxcmdlineparserusage}
\func{void}{Usage}{\void}
Give the standard usage message describing all program options. It will use the
options and parameters descriptions specified earlier, so the resulting message
will not be helpful to the user unless the descriptions were indeed specified.
\wxheading{See also}
\helpref{SetLogo}{wxcmdlineparsersetlogo}
\membersection{wxCmdLineParser::Found}\label{wxcmdlineparserfoundswitch}
\constfunc{bool}{Found}{\param{const wxString\& }{name}}
Returns TRUE if the given switch was found, FALSE otherwise.
\membersection{wxCmdLineParser::Found}\label{wxcmdlineparserfoundstringoption}
\constfunc{bool}{Found}{\param{const wxString\& }{name}, \param{wxString* }{value}}
Returns TRUE if an option taking a string value was found and stores the
value in the provided pointer (which should not be NULL).
\membersection{wxCmdLineParser::Found}\label{wxcmdlineparserfoundintoption}
\constfunc{bool}{Found}{\param{const wxString\& }{name}, \param{long* }{value}}
Returns TRUE if an option taking an integer value was found and stores
the value in the provided pointer (which should not be NULL).
\membersection{wxCmdLineParser::Found}\label{wxcmdlineparserfounddateoption}
\constfunc{bool}{Found}{\param{const wxString\& }{name}, \param{wxDateTime* }{value}}
Returns TRUE if an option taking a date value was found and stores the
value in the provided pointer (which should not be NULL).
\membersection{wxCmdLineParser::GetParamCount}\label{wxcmdlineparsergetparamcount}
\constfunc{size\_t}{GetParamCount}{\void}
Returns the number of parameters found. This function makes sense mostly if you
had used {\tt wxCMD\_LINE\_PARAM\_MULTIPLE} flag.
\membersection{wxCmdLineParser::GetParam}\label{wxcmdlineparsergetparam}
\constfunc{wxString}{GetParam}{\param{size\_t }{n = 0u}}
Returns the value of Nth parameter (as string only for now).
\wxheading{See also}
\helpref{GetParamCount}{wxcmdlineparsergetparamcount}

153
docs/latex/wx/cmdproc.tex Normal file
View File

@@ -0,0 +1,153 @@
\section{\class{wxCommandProcessor}}\label{wxcommandprocessor}
wxCommandProcessor is a class that maintains a history of wxCommands,
with undo/redo functionality built-in. Derive a new class from this
if you want different behaviour.
\wxheading{Derived from}
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/cmdproc.h>
\wxheading{See also}
\helpref{wxCommandProcessor overview}{wxcommandprocessoroverview}, \helpref{wxCommand}{wxcommand}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxCommandProcessor::wxCommandProcessor}
\func{}{wxCommandProcessor}{\param{int}{ maxCommands = $-1$}}
Constructor.
{\it maxCommands} may be set to a positive integer to limit the number of
commands stored to it, otherwise (and by default) the list of commands can grow
arbitrarily.
\membersection{wxCommandProcessor::\destruct{wxCommandProcessor}}
\func{}{\destruct{wxCommandProcessor}}{\void}
Destructor.
\membersection{wxCommandProcessor::CanUndo}
\func{virtual bool}{CanUndo}{\void}
Returns TRUE if the currently-active command can be undone, FALSE otherwise.
\membersection{wxCommandProcessor::ClearCommands}
\func{virtual void}{ClearCommands}{\void}
Deletes all the commands in the list and sets the current command pointer to NULL.
\membersection{wxCommandProcessor::Redo}
\func{virtual bool}{Redo}{\void}
Executes (redoes) the current command (the command that has just been undone if any).
\membersection{wxCommandProcessor::GetCommands}
\constfunc{wxList\&}{GetCommands}{\void}
Returns the list of commands.
\membersection{wxCommandProcessor::GetMaxCommands}
\constfunc{int}{GetMaxCommands}{\void}
Returns the maximum number of commands that the command processor stores.
\membersection{wxCommandProcessor::GetEditMenu}
\constfunc{wxMenu*}{GetEditMenu}{\void}
Returns the edit menu associated with the command processor.
\membersection{wxCommandProcessor::GetRedoAccelerator}\label{wxcommandprocessorgetredoaccelerator}
\constfunc{const wxString\&}{GetRedoAccelerator}{\void}
Returns the string that will be appended to the Redo menu item.
\membersection{wxCommandProcessor::GetRedoMenuLabel}\label{wxcommandprocessorgetredomenulabel}
\constfunc{wxString}{GetRedoMenuLabel}{\void}
Returns the string that will be shown for the redo menu item.
\membersection{wxCommandProcessor::GetUndoAccelerator}\label{wxcommandprocessorgetundoaccelerator}
\constfunc{const wxString\&}{GetUndoAccelerator}{\void}
Returns the string that will be appended to the Undo menu item.
\membersection{wxCommandProcessor::GetUndoMenuLabel}\label{wxcommandprocessorgetundomenulabel}
\constfunc{wxString}{GetUndoMenuLabel}{\void}
Returns the string that will be shown for the undo menu item.
\membersection{wxCommandProcessor::Initialize}
\func{virtual void}{Initialize}{\void}
Initializes the command processor, setting the current command to the
last in the list (if any), and updating the edit menu (if one has been
specified).
\membersection{wxCommandProcessor::SetEditMenu}
\func{void}{SetEditMenu}{\param{wxMenu* }{menu}}
Tells the command processor to update the Undo and Redo items on this
menu as appropriate. Set this to NULL if the menu is about to be
destroyed and command operations may still be performed, or the command
processor may try to access an invalid pointer.
\membersection{wxCommandProcessor::SetMenuStrings}
\func{void}{SetMenuStrings}{\void}
Sets the menu labels according to the currently set menu and the current
command state.
\membersection{wxCommandProcessor::SetRedoAccelerator}\label{wxcommandprocessorsetredoaccelerator}
\func{void}{SetRedoAccelerator}{\param{const wxString\&}{accel}}
Sets the string that will be appended to the Redo menu item.
\membersection{wxCommandProcessor::SetUndoAccelerator}\label{wxcommandprocessorsetundoaccelerator}
\func{void}{SetUndoAccelerator}{\param{const wxString\&}{accel}}
Sets the string that will be appended to the Undo menu item.
\membersection{wxCommandProcessor::Submit}
\func{virtual bool}{Submit}{\param{wxCommand *}{command}, \param{bool}{ storeIt = TRUE}}
Submits a new command to the command processor. The command processor
calls wxCommand::Do to execute the command; if it succeeds, the command
is stored in the history list, and the associated edit menu (if any) updated
appropriately. If it fails, the command is deleted
immediately. Once Submit has been called, the passed command should not
be deleted directly by the application.
{\it storeIt} indicates whether the successful command should be stored
in the history list.
\membersection{wxCommandProcessor::Undo}
\func{virtual bool}{Undo}{\void}
Undoes the command just executed.

View File

@@ -0,0 +1,61 @@
\section{\class{wxColourDialog}}\label{wxcolourdialog}
This class represents the colour chooser dialog.
\wxheading{Derived from}
\helpref{wxDialog}{wxdialog}\\
\helpref{wxWindow}{wxwindow}\\
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/colordlg.h>
\wxheading{See also}
\helpref{wxColourDialog Overview}{wxcolourdialogoverview},\\
\helpref{wxColour}{wxcolour},\\
\helpref{wxColourData}{wxcolourdata},\\
\helpref{wxGetColourFromUser}{wxgetcolourfromuser}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxColourDialog::wxColourDialog}\label{wxcolourdialogwxcolourdialog}
\func{}{wxColourDialog}{\param{wxWindow* }{parent}, \param{wxColourData* }{data = NULL}}
Constructor. Pass a parent window, and optionally a pointer to a block of colour
data, which will be copied to the colour dialog's colour data.
\wxheading{See also}
\helpref{wxColourData}{wxcolourdata}
\membersection{wxColourDialog::\destruct{wxColourDialog}}
\func{}{\destruct{wxColourDialog}}{\void}
Destructor.
\membersection{wxColourDialog::Create}
\func{bool}{Create}{\param{wxWindow* }{parent}, \param{wxColourData* }{data = NULL}}
Same as \helpref{constructor}{wxcolourdialogwxcolourdialog}.
\membersection{wxColourDialog::GetColourData}
\func{wxColourData\&}{GetColourData}{\void}
Returns the \helpref{colour data}{wxcolourdata} associated with the colour dialog.
\membersection{wxColourDialog::ShowModal}
\func{int}{ShowModal}{\void}
Shows the dialog, returning wxID\_OK if the user pressed OK, and wxOK\_CANCEL
otherwise.

302
docs/latex/wx/colour.tex Normal file
View File

@@ -0,0 +1,302 @@
\section{\class{wxColour}}\label{wxcolour}
A colour is an object representing a combination of Red, Green, and Blue (RGB) intensity values,
and is used to determine drawing colours. See the
entry for \helpref{wxColourDatabase}{wxcolourdatabase} for how a pointer to a predefined,
named colour may be returned instead of creating a new colour.
Valid RGB values are in the range 0 to 255.
\wxheading{Derived from}
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/colour.h>
\wxheading{Predefined objects}
Objects:
{\bf wxNullColour}
Pointers:
{\bf wxBLACK\\
wxWHITE\\
wxRED\\
wxBLUE\\
wxGREEN\\
wxCYAN\\
wxLIGHT\_GREY}
\wxheading{See also}
\helpref{wxColourDatabase}{wxcolourdatabase}, \helpref{wxPen}{wxpen}, \helpref{wxBrush}{wxbrush},\rtfsp
\helpref{wxColourDialog}{wxcolourdialog}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxColour::wxColour}\label{wxcolourconstr}
\func{}{wxColour}{\void}
Default constructor.
\func{}{wxColour}{\param{const unsigned char}{ red}, \param{const unsigned char}{ green}, \param{const unsigned char}{ blue}}
Constructs a colour from red, green and blue values.
\func{}{wxColour}{\param{const wxString\& }{colourNname}}
Constructs a colour object using a colour name
listed in {\bf wxTheColourDatabase}.
\func{}{wxColour}{\param{const wxColour\&}{ colour}}
Copy constructor.
\wxheading{Parameters}
\docparam{red}{The red value.}
\docparam{green}{The green value.}
\docparam{blue}{The blue value.}
\docparam{colourName}{The colour name.}
\docparam{colour}{The colour to copy.}
\wxheading{See also}
\helpref{wxColourDatabase}{wxcolourdatabase}
\pythonnote{Constructors supported by wxPython are:\par
\indented{2cm}{\begin{twocollist}
\twocolitem{{\bf wxColour(red=0, green=0, blue=0)}}{}
\twocolitem{{\bf wxNamedColour(name)}}{}
\end{twocollist}}
}
\membersection{wxColour::Blue}\label{wxcolourblue}
\constfunc{unsigned char}{Blue}{\void}
Returns the blue intensity.
\membersection{wxColour::GetPixel}\label{wxcolourgetpixel}
\constfunc{long}{GetPixel}{\void}
Returns a pixel value which is platform-dependent. On Windows, a COLORREF is returned.
On X, an allocated pixel value is returned.
-1 is returned if the pixel is invalid (on X, unallocated).
\membersection{wxColour::Green}\label{wxcolourgreen}
\constfunc{unsigned char}{Green}{\void}
Returns the green intensity.
\membersection{wxColour::Ok}\label{wxcolourok}
\constfunc{bool}{Ok}{\void}
Returns TRUE if the colour object is valid (the colour has been initialised with RGB values).
\membersection{wxColour::Red}\label{wxcolourred}
\constfunc{unsigned char}{Red}{\void}
Returns the red intensity.
\membersection{wxColour::Set}\label{wxcolourset}
\func{void}{Set}{\param{const unsigned char}{ red}, \param{const unsigned char}{ green}, \param{const unsigned char}{ blue}}
Sets the RGB intensity values.
\membersection{wxColour::operator $=$}\label{wxcolourassign}
\func{wxColour\&}{operator $=$}{\param{const wxColour\&}{ colour}}
Assignment operator, taking another colour object.
\func{wxColour\&}{operator $=$}{\param{const wxString\&}{ colourName}}
Assignment operator, using a colour name to be found in the colour database.
\wxheading{See also}
\helpref{wxColourDatabase}{wxcolourdatabase}
\membersection{wxColour::operator $==$}\label{wxcolourequality}
\func{bool}{operator $==$}{\param{const wxColour\&}{ colour}}
Tests the equality of two colours by comparing individual red, green blue colours.
\membersection{wxColour::operator $!=$}\label{wxcolourinequality}
\func{bool}{operator $!=$}{\param{const wxColour\&}{ colour}}
Tests the inequality of two colours by comparing individual red, green blue colours.
\section{\class{wxColourData}}\label{wxcolourdata}
This class holds a variety of information related to colour dialogs.
\wxheading{Derived from}
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/cmndata.h>
\wxheading{See also}
\helpref{wxColour}{wxcolour}, \helpref{wxColourDialog}{wxcolourdialog}, \helpref{wxColourDialog overview}{wxcolourdialogoverview}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxColourData::wxColourData}\label{wxcolourdataconstr}
\func{}{wxColourData}{\void}
Constructor. Initializes the custom colours to white, the {\it data colour} setting
to black, and the {\it choose full} setting to TRUE.
\membersection{wxColourData::\destruct{wxColourData}}
\func{}{\destruct{wxColourData}}{\void}
Destructor.
\membersection{wxColourData::GetChooseFull}\label{wxcolourdatagetchoosefull}
\constfunc{bool}{GetChooseFull}{\void}
Under Windows, determines whether the Windows colour dialog will display the full dialog
with custom colour selection controls. Has no meaning under other platforms.
The default value is TRUE.
\membersection{wxColourData::GetColour}\label{wxcolourdatagetcolour}
\constfunc{wxColour\&}{GetColour}{\void}
Gets the current colour associated with the colour dialog.
The default colour is black.
\membersection{wxColourData::GetCustomColour}\label{wxcolourdatagetcustomcolour}
\constfunc{wxColour\&}{GetCustomColour}{\param{int}{ i}}
Gets the {\it i}th custom colour associated with the colour dialog. {\it i} should
be an integer between 0 and 15.
The default custom colours are all white.
\membersection{wxColourData::SetChooseFull}\label{wxcolourdatasetchoosefull}
\func{void}{SetChooseFull}{\param{const bool }{flag}}
Under Windows, tells the Windows colour dialog to display the full dialog
with custom colour selection controls. Under other platforms, has no effect.
The default value is TRUE.
\membersection{wxColourData::SetColour}\label{wxcolourdatasetcolour}
\func{void}{SetColour}{\param{const wxColour\&}{ colour}}
Sets the default colour for the colour dialog.
The default colour is black.
\membersection{wxColourData::SetCustomColour}\label{wxcolourdatasetcustomcolour}
\func{void}{SetCustomColour}{\param{int}{ i}, \param{const wxColour\&}{ colour}}
Sets the {\it i}th custom colour for the colour dialog. {\it i} should
be an integer between 0 and 15.
The default custom colours are all white.
\membersection{wxColourData::operator $=$}\label{wxcolourdataassign}
\func{void}{operator $=$}{\param{const wxColourData\&}{ data}}
Assignment operator for the colour data.
\section{\class{wxColourDatabase}}\label{wxcolourdatabase}
wxWindows maintains a database of standard RGB colours for a predefined
set of named colours (such as ``BLACK'', ``LIGHT GREY''). The
application may add to this set if desired by using {\it Append}. There
is only one instance of this class: {\bf wxTheColourDatabase}.
\wxheading{Derived from}
\helpref{wxList}{wxlist}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/gdicmn.h>
\wxheading{Remarks}
The colours in the standard database are as follows:
AQUAMARINE, BLACK, BLUE, BLUE VIOLET, BROWN, CADET BLUE, CORAL,
CORNFLOWER BLUE, CYAN, DARK GREY, DARK GREEN, DARK OLIVE GREEN, DARK
ORCHID, DARK SLATE BLUE, DARK SLATE GREY DARK TURQUOISE, DIM GREY,
FIREBRICK, FOREST GREEN, GOLD, GOLDENROD, GREY, GREEN, GREEN YELLOW,
INDIAN RED, KHAKI, LIGHT BLUE, LIGHT GREY, LIGHT STEEL BLUE, LIME GREEN,
MAGENTA, MAROON, MEDIUM AQUAMARINE, MEDIUM BLUE, MEDIUM FOREST GREEN,
MEDIUM GOLDENROD, MEDIUM ORCHID, MEDIUM SEA GREEN, MEDIUM SLATE BLUE,
MEDIUM SPRING GREEN, MEDIUM TURQUOISE, MEDIUM VIOLET RED, MIDNIGHT BLUE,
NAVY, ORANGE, ORANGE RED, ORCHID, PALE GREEN, PINK, PLUM, PURPLE, RED,
SALMON, SEA GREEN, SIENNA, SKY BLUE, SLATE BLUE, SPRING GREEN, STEEL
BLUE, TAN, THISTLE, TURQUOISE, VIOLET, VIOLET RED, WHEAT, WHITE, YELLOW,
YELLOW GREEN.
\wxheading{See also}
\helpref{wxColour}{wxcolour}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxColourDatabase::wxColourDatabase}\label{wxcolourdatabaseconstr}
\func{}{wxColourDatabase}{\void}
Constructs the colour database.
\membersection{wxColourDatabase::FindColour}\label{wxcolourdatabasefindcolour}
\func{wxColour*}{FindColour}{\param{const wxString\& }{colourName}}
Finds a colour given the name. Returns NULL if not found.
\membersection{wxColourDatabase::FindName}\label{wxcolourdatabasefindname}
\constfunc{wxString}{FindName}{\param{const wxColour\&}{ colour}}
Finds a colour name given the colour. Returns NULL if not found.
\membersection{wxColourDatabase::Initialize}\label{wxcolourdatabaseinitialize}
\func{void}{Initialize}{\void}
Initializes the database with a number of stock colours. Called by wxWindows
on start-up.

223
docs/latex/wx/combobox.tex Normal file
View File

@@ -0,0 +1,223 @@
\section{\class{wxComboBox}}\label{wxcombobox}
A combobox is like a combination of an edit control and a listbox. It can be
displayed as static list with editable or read-only text field; or a drop-down list with
text field; or a drop-down list without a text field.
A combobox permits a single selection only. Combobox items are numbered from zero.
\wxheading{Derived from}
\helpref{wxControlWithItems}{wxcontrolwithitems}\\
\helpref{wxChoice}{wxchoice}\\
\helpref{wxControl}{wxcontrol}\\
\helpref{wxWindow}{wxwindow}\\
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/combobox.h>
\wxheading{Window styles}
\begin{twocollist}\itemsep=0pt
\twocolitem{\windowstyle{wxCB\_SIMPLE}}{Creates a combobox with a permanently displayed list. Windows only. }
\twocolitem{\windowstyle{wxCB\_DROPDOWN}}{Creates a combobox with a drop-down list.}
\twocolitem{\windowstyle{wxCB\_READONLY}}{Same as wxCB\_DROPDOWN but only the
strings specified as the combobox choices can be selected, it is impossible to
select (even from a program) a string which is not in the choices list.}
\twocolitem{\windowstyle{wxCB\_SORT}}{Sorts the entries in the list alphabetically.}
\end{twocollist}
See also \helpref{window styles overview}{windowstyles}.
\wxheading{Event handling}
\twocolwidtha{7cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{{\bf EVT\_COMBOBOX(id, func)}}{Process a wxEVT\_COMMAND\_COMBOBOX\_SELECTED event,
when an item on the list is selected.}
\twocolitem{{\bf EVT\_TEXT(id, func)}}{Process a wxEVT\_COMMAND\_TEXT\_UPDATED event,
when the combobox text changes.}
\end{twocollist}
\wxheading{See also}
\helpref{wxListBox}{wxlistbox}, \helpref{wxTextCtrl}{wxtextctrl}, \helpref{wxChoice}{wxchoice},
\rtfsp\helpref{wxCommandEvent}{wxcommandevent}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxComboBox::wxComboBox}\label{wxcomboboxconstr}
\func{}{wxComboBox}{\void}
Default constructor.
\func{}{wxComboBox}{\param{wxWindow*}{ parent}, \param{wxWindowID}{ id},\rtfsp
\param{const wxString\& }{value = ``"}, \param{const wxPoint\&}{ pos = wxDefaultPosition}, \param{const wxSize\&}{ size = wxDefaultSize},\rtfsp
\param{int}{ n}, \param{const wxString }{choices[]},\rtfsp
\param{long}{ style = 0}, \param{const wxValidator\& }{validator = wxDefaultValidator}, \param{const wxString\& }{name = ``comboBox"}}
Constructor, creating and showing a combobox.
\wxheading{Parameters}
\docparam{parent}{Parent window. Must not be NULL.}
\docparam{id}{Window identifier. A value of -1 indicates a default value.}
\docparam{value}{Initial selection string. An empty string indicates no selection.}
\docparam{pos}{Window position.}
\docparam{size}{Window size. If the default size (-1, -1) is specified then the window is sized
appropriately.}
\docparam{n}{Number of strings with which to initialise the control.}
\docparam{choices}{An array of strings with which to initialise the control.}
\docparam{style}{Window style. See \helpref{wxComboBox}{wxcombobox}.}
\docparam{validator}{Window validator.}
\docparam{name}{Window name.}
\wxheading{See also}
\helpref{wxComboBox::Create}{wxcomboboxcreate}, \helpref{wxValidator}{wxvalidator}
\pythonnote{The wxComboBox constructor in wxPython reduces the {\tt n}
and {\tt choices} arguments are to a single argument, which is
a list of strings.}
\perlnote{In wxPerl there is just an array reference in place of {\tt n}
and {\tt choices}.}
\membersection{wxComboBox::\destruct{wxComboBox}}
\func{}{\destruct{wxComboBox}}{\void}
Destructor, destroying the combobox.
\membersection{wxComboBox::Create}\label{wxcomboboxcreate}
\func{bool}{Create}{\param{wxWindow*}{ parent}, \param{wxWindowID}{ id},\rtfsp
\param{const wxString\& }{value = ``"}, \param{const wxPoint\&}{ pos = wxDefaultPosition}, \param{const wxSize\&}{ size = wxDefaultSize},\rtfsp
\param{int}{ n}, \param{const wxString }{choices[]},\rtfsp
\param{long}{ style = 0}, \param{const wxValidator\& }{validator = wxDefaultValidator}, \param{const wxString\& }{name = ``comboBox"}}
Creates the combobox for two-step construction. Derived classes
should call or replace this function. See \helpref{wxComboBox::wxComboBox}{wxcomboboxconstr}\rtfsp
for further details.
\membersection{wxComboBox::Copy}\label{wxcomboboxcopy}
\func{void}{Copy}{\void}
Copies the selected text to the clipboard.
\membersection{wxComboBox::Cut}\label{wxcomboboxcut}
\func{void}{Cut}{\void}
Copies the selected text to the clipboard and removes the selection.
\membersection{wxComboBox::GetInsertionPoint}\label{wxcomboboxgetinsertionpoint}
\constfunc{long}{GetInsertionPoint}{\void}
Returns the insertion point for the combobox's text field.
\membersection{wxComboBox::GetLastPosition}\label{wxcomboboxgetlastposition}
\constfunc{long}{GetLastPosition}{\void}
Returns the last position in the combobox text field.
\membersection{wxComboBox::GetValue}\label{wxcomboboxgetvalue}
\constfunc{wxString}{GetValue}{\void}
Returns the current value in the combobox text field.
\membersection{wxComboBox::Paste}\label{wxcomboboxpaste}
\func{void}{Paste}{\void}
Pastes text from the clipboard to the text field.
\membersection{wxComboBox::Replace}\label{wxcomboboxreplace}
\func{void}{Replace}{\param{long}{ from}, \param{long}{ to}, \param{const wxString\& }{text}}
Replaces the text between two positions with the given text, in the combobox text field.
\wxheading{Parameters}
\docparam{from}{The first position.}
\docparam{to}{The second position.}
\docparam{text}{The text to insert.}
\membersection{wxComboBox::Remove}\label{wxcomboboxremove}
\func{void}{Remove}{\param{long}{ from}, \param{long}{ to}}
Removes the text between the two positions in the combobox text field.
\wxheading{Parameters}
\docparam{from}{The first position.}
\docparam{to}{The last position.}
\membersection{wxComboBox::SetInsertionPoint}\label{wxcomboboxsetinsertionpoint}
\func{void}{SetInsertionPoint}{\param{long}{ pos}}
Sets the insertion point in the combobox text field.
\wxheading{Parameters}
\docparam{pos}{The new insertion point.}
\membersection{wxComboBox::SetInsertionPointEnd}\label{wxcomboboxsetinsertionpointend}
\func{void}{SetInsertionPointEnd}{\void}
Sets the insertion point at the end of the combobox text field.
\membersection{wxComboBox::SetSelection}\label{wxcomboboxsetselection}
\func{void}{SetSelection}{\param{long}{ from}, \param{long}{ to}}
Selects the text between the two positions, in the combobox text field.
\wxheading{Parameters}
\docparam{from}{The first position.}
\docparam{to}{The second position.}
\pythonnote{This method is called {\tt SetMark} in wxPython, {\tt SetSelection}
name is kept for
\helpref{wxControlWithItems::SetSelection}{wxcontrolwithitemssetselection}.}
\membersection{wxComboBox::SetValue}\label{wxcomboboxsetvalue}
\func{void}{SetValue}{\param{const wxString\& }{text}}
Sets the text for the combobox text field.
{\bf NB:} For a combobox with {\tt wxCB\_READONLY} style the string must be in
the combobox choices list, otherwise the call to SetValue() is ignored.
\wxheading{Parameters}
\docparam{text}{The text to set.}

89
docs/latex/wx/command.tex Normal file
View File

@@ -0,0 +1,89 @@
\section{\class{wxCommand}}\label{wxcommand}
wxCommand is a base class for modelling an application command,
which is an action usually performed by selecting a menu item, pressing
a toolbar button or any other means provided by the application to
change the data or view.
\wxheading{Derived from}
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/cmdproc.h>
\wxheading{See also}
\overview{Overview}{wxcommandoverview}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxCommand::wxCommand}
\func{}{wxCommand}{\param{bool}{ canUndo = FALSE}, \param{const wxString\& }{name = NULL}}
Constructor. wxCommand is an abstract class, so you will need to derive
a new class and call this constructor from your own constructor.
{\it canUndo} tells the command processor whether this command is undo-able. You
can achieve the same functionality by overriding the CanUndo member function (if for example
the criteria for undoability is context-dependent).
{\it name} must be supplied for the command processor to display the command name
in the application's edit menu.
\membersection{wxCommand::\destruct{wxCommand}}
\func{}{\destruct{wxCommand}}{\void}
Destructor.
\membersection{wxCommand::CanUndo}
\func{bool}{CanUndo}{\void}
Returns TRUE if the command can be undone, FALSE otherwise.
\membersection{wxCommand::Do}
\func{bool}{Do}{\void}
Override this member function to execute the appropriate action when called.
Return TRUE to indicate that the action has taken place, FALSE otherwise.
Returning FALSE will indicate to the command processor that the action is
not undoable and should not be added to the command history.
\membersection{wxCommand::GetName}
\func{wxString}{GetName}{\void}
Returns the command name.
\membersection{wxCommand::Undo}
\func{bool}{Undo}{\void}
Override this member function to un-execute a previous Do.
Return TRUE to indicate that the action has taken place, FALSE otherwise.
Returning FALSE will indicate to the command processor that the action is
not redoable and no change should be made to the command history.
How you implement this command is totally application dependent, but typical
strategies include:
\begin{itemize}\itemsep=0pt
\item Perform an inverse operation on the last modified piece of
data in the document. When redone, a copy of data stored in command
is pasted back or some operation reapplied. This relies on the fact that
you know the ordering of Undos; the user can never Undo at an arbitrary position
in the command history.
\item Restore the entire document state (perhaps using document transactioning).
Potentially very inefficient, but possibly easier to code if the user interface
and data are complex, and an `inverse execute' operation is hard to write.
\end{itemize}
The docview sample uses the first method, to remove or restore segments
in the drawing.

162
docs/latex/wx/conditn.tex Normal file
View File

@@ -0,0 +1,162 @@
\section{\class{wxCondition}}\label{wxcondition}
wxCondition variables correspond to pthread conditions or to Win32 event
objects. They may be used in a multithreaded application to wait until the
given condition becomes true which happens when the condition becomes signaled.
For example, if a worker thread is doing some long task and another thread has
to wait until it is finished, the latter thread will wait on the condition
object and the worker thread will signal it on exit (this example is not
perfect because in this particular case it would be much better to just
\helpref{Wait()}{wxthreadwait} for the worker thread, but if there are several
worker threads it already makes much more sense).
Note that a call to \helpref{Signal()}{wxconditionsignal} may happen before the
other thread calls \helpref{Wait()}{wxconditionwait} and, just as with the
pthread conditions, the signal is then lost and so if you want to be sure to
get it you must use a mutex together with the condition variable.
\wxheading{Example}
This example shows how a main thread may launch a worker thread which starts
running and then waits until the main thread signals it to continue:
\begin{verbatim}
class MySignallingThread : public wxThread
{
public:
MySignallingThread(wxMutex *mutex, wxCondition *condition)
{
m_mutex = mutex;
m_condition = condition;
Create();
}
virtual ExitCode Entry()
{
... do our job ...
// tell the other(s) thread(s) that we're about to terminate: we must
// lock the mutex first or we might signal the condition before the
// waiting threads start waiting on it!
wxMutexLocker lock(m_mutex);
m_condition.Broadcast(); // same as Signal() here -- one waiter only
return 0;
}
private:
wxCondition *m_condition;
wxMutex *m_mutex;
};
int main()
{
wxMutex mutex;
wxCondition condition(mutex);
// the mutex should be initially locked
mutex.Lock();
// create and run the thread but notice that it won't be able to
// exit (and signal its exit) before we unlock the mutex below
MySignallingThread *thread = new MySignallingThread(&mutex, &condition);
thread->Run();
// wait for the thread termination: Wait() atomically unlocks the mutex
// which allows the thread to continue and starts waiting
condition.Wait();
// now we can exit
return 0;
}
\end{verbatim}
Of course, here it would be much better to simply use a joinable thread and
call \helpref{wxThread::Wait}{wxthreadwait} on it, but this example does
illustrate the importance of properly locking the mutex when using
wxCondition.
\wxheading{Derived from}
None.
\wxheading{Include files}
<wx/thread.h>
\wxheading{See also}
\helpref{wxThread}{wxthread}, \helpref{wxMutex}{wxmutex}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxCondition::wxCondition}\label{wxconditionconstr}
\func{}{wxCondition}{\param{wxMutex\& }{mutex}}
Default and only constructor. The {\it mutex} must be locked by the caller
before calling \helpref{Wait}{wxconditionwait} function.
\membersection{wxCondition::\destruct{wxCondition}}
\func{}{\destruct{wxCondition}}{\void}
Destroys the wxCondition object. The destructor is not virtual so this class
should not be used polymorphically.
\membersection{wxCondition::Broadcast}\label{wxconditionbroadcast}
\func{void}{Broadcast}{\void}
Broadcasts to all waiting threads, waking all of them up. Note that this method
may be called whether the mutex associated with this condition is locked or
not.
\wxheading{See also}
\helpref{wxCondition::Signal}{wxconditionsignal}
\membersection{wxCondition::Signal}\label{wxconditionsignal}
\func{void}{Signal}{\void}
Signals the object waking up at most one thread. If several threads are waiting
on the same condition, the exact thread which is woken up is undefined. If no
threads are waiting, the signal is lost and the condition would have to be
signalled again to wake up any thread which may start waiting on it later.
Note that this method may be called whether the mutex associated with this
condition is locked or not.
\wxheading{See also}
\helpref{wxCondition::Broadcast}{wxconditionbroadcast}
\membersection{wxCondition::Wait}\label{wxconditionwait}
\func{void}{Wait}{\void}
Waits until the condition is signalled.
\func{bool}{Wait}{\param{unsigned long}{ sec}, \param{unsigned long}{ nsec}}
Waits until the condition is signalled or the timeout has elapsed.
Note that the mutex associated with this condition {\bf must} be acquired by
the thread before calling this method.
\wxheading{Parameters}
\docparam{sec}{Timeout in seconds}
\docparam{nsec}{Timeout nanoseconds component (added to {\it sec}).}
\wxheading{Return value}
The second form returns {\tt TRUE} if the condition has been signalled, or
{\tt FALSE} if it returned because the timeout has elapsed.

771
docs/latex/wx/config.tex Normal file
View File

@@ -0,0 +1,771 @@
\section{\class{wxConfigBase}}\label{wxconfigbase}
wxConfigBase class defines the basic interface of all config classes. It can
not be used by itself (it is an abstract base class) and you will always use one
of its derivations: wxIniConfig, wxFileConfig, wxRegConfig or any other.
However, usually you don't even need to know the precise nature of the class
you're working with but you would just use the wxConfigBase methods. This
allows you to write the same code regardless of whether you're working with
the registry under Win32 or text-based config files under Unix (or even
Windows 3.1 .INI files if you're really unlucky). To make writing the portable
code even easier, wxWindows provides a typedef wxConfig
which is mapped onto the native wxConfigBase implementation on the given
platform: i.e. wxRegConfig under Win32, wxIniConfig under Win16 and
wxFileConfig otherwise.
See \helpref{config overview}{wxconfigoverview} for the descriptions of all
features of this class.
It is highly recommended to use static functions {\it Get()} and/or {\it Set()},
so please have a \helpref{look at them.}{wxconfigstaticfunctions}
\wxheading{Derived from}
No base class
\wxheading{Include files}
<wx/config.h> (to let wxWindows choose a wxConfig class for your platform)\\
<wx/confbase.h> (base config class)\\
<wx/fileconf.h> (wxFileconfig class)\\
<wx/msw/regconf.h> (wxRegConfig class)\\
<wx/msw/iniconf.h> (wxIniConfig class)
\wxheading{Example}
Here is how you would typically use this class:
\begin{verbatim}
// using wxConfig instead of writing wxFileConfig or wxRegConfig enhances
// portability of the code
wxConfig *config = new wxConfig("MyAppName");
wxString str;
if ( config->Read("LastPrompt", &str) ) {
// last prompt was found in the config file/registry and its value is now
// in str
...
}
else {
// no last prompt...
}
// another example: using default values and the full path instead of just
// key name: if the key is not found , the value 17 is returned
long value = config->Read("/LastRun/CalculatedValues/MaxValue", 17);
...
...
...
// at the end of the program we would save everything back
config->Write("LastPrompt", str);
config->Write("/LastRun/CalculatedValues/MaxValue", value);
// the changes will be written back automatically
delete config;
\end{verbatim}
This basic example, of course, doesn't show all wxConfig features, such as
enumerating, testing for existence and deleting the entries and groups of
entries in the config file, its abilities to automatically store the default
values or expand the environment variables on the fly. However, the main idea
is that using this class is easy and that it should normally do what you
expect it to.
NB: in the documentation of this class, the words "config file" also mean
"registry hive" for wxRegConfig and, generally speaking, might mean any
physical storage where a wxConfigBase-derived class stores its data.
\latexignore{\rtfignore{\wxheading{Function groups}}}
\membersection{Static functions}\label{wxconfigstaticfunctions}
These functions deal with the "default" config object. Although its usage is
not at all mandatory it may be convenient to use a global config object
instead of creating and deleting the local config objects each time you need
one (especially because creating a wxFileConfig object might be a time
consuming operation). In this case, you may create this global config object
in the very start of the program and {\it Set()} it as the default. Then, from
anywhere in your program, you may access it using the {\it Get()} function.
Note that wxWindows will delete this config object for you during the program
shutdown (from \helpref{wxApp::OnExit}{wxapponexit} to be precise) but you can
also do it yourself earlier if needed.
As it happens, you may even further simplify the procedure described above:
you may forget about calling {\it Set()}. When {\it Get()} is called and there
is no current object, it will create one using {\it Create()} function. To
disable this behaviour {\it DontCreateOnDemand()} is provided.
{\bf Note:} You should use either {\it Set()} or {\it Get()} because wxWindows
library itself would take advantage of it and could save various information
in it. For example \helpref{wxFontMapper}{wxfontmapper} or Unix version
of \helpref{wxFileDialog}{wxfiledialog} have ability to use wxConfig class.
\helpref{Set}{wxconfigbaseset}\\
\helpref{Get}{wxconfigbaseget}\\
\helpref{Create}{wxconfigbasecreate}\\
\helpref{DontCreateOnDemand}{wxconfigbasedontcreateondemand}
\membersection{Constructor and destructor}
\helpref{wxConfigBase}{wxconfigbasector}\\
\helpref{\destruct{wxConfigBase}}{wxconfigbasedtor}
\membersection{Path management}
As explained in \helpref{config overview}{wxconfigoverview}, the config classes
support a file system-like hierarchy of keys (files) and groups (directories).
As in the file system case, to specify a key in the config class you must use
a path to it. Config classes also support the notion of the current group,
which makes it possible to use the relative paths. To clarify all this, here
is an example (it is only for the sake of demonstration, it doesn't do anything
sensible!):
\begin{verbatim}
wxConfig *config = new wxConfig("FooBarApp");
// right now the current path is '/'
conf->Write("RootEntry", 1);
// go to some other place: if the group(s) don't exist, they will be created
conf->SetPath("/Group/Subgroup");
// create an entry in subgroup
conf->Write("SubgroupEntry", 3);
// '..' is understood
conf->Write("../GroupEntry", 2);
conf->SetPath("..");
wxASSERT( conf->Read("Subgroup/SubgroupEntry", 0l) == 3 );
// use absolute path: it is allowed, too
wxASSERT( conf->Read("/RootEntry", 0l) == 1 );
\end{verbatim}
{\it Warning}: it is probably a good idea to always restore the path to its
old value on function exit:
\begin{verbatim}
void foo(wxConfigBase *config)
{
wxString strOldPath = config->GetPath();
config->SetPath("/Foo/Data");
...
config->SetPath(strOldPath);
}
\end{verbatim}
because otherwise the assert in the following example will surely fail
(we suppose here that {\it foo()} function is the same as above except that it
doesn't save and restore the path):
\begin{verbatim}
void bar(wxConfigBase *config)
{
config->Write("Test", 17);
foo(config);
// we're reading "/Foo/Data/Test" here! -1 will probably be returned...
wxASSERT( config->Read("Test", -1) == 17 );
}
\end{verbatim}
Finally, the path separator in wxConfigBase and derived classes is always '/',
regardless of the platform (i.e. it is {\bf not} '$\backslash\backslash$' under Windows).
\helpref{SetPath}{wxconfigbasesetpath}\\
\helpref{GetPath}{wxconfigbasegetpath}
\membersection{Enumeration}
The functions in this section allow to enumerate all entries and groups in the
config file. All functions here return FALSE when there are no more items.
You must pass the same index to GetNext and GetFirst (don't modify it).
Please note that it is {\bf not} the index of the current item (you will have
some great surprises with wxRegConfig if you assume this) and you shouldn't
even look at it: it is just a "cookie" which stores the state of the
enumeration. It can't be stored inside the class because it would prevent you
from running several enumerations simultaneously, that's why you must pass it
explicitly.
Having said all this, enumerating the config entries/groups is very simple:
\begin{verbatim}
wxArrayString aNames;
// enumeration variables
wxString str;
long dummy;
// first enum all entries
bool bCont = config->GetFirstEntry(str, dummy);
while ( bCont ) {
aNames.Add(str);
bCont = GetConfig()->GetNextEntry(str, dummy);
}
... we have all entry names in aNames...
// now all groups...
bCont = GetConfig()->GetFirstGroup(str, dummy);
while ( bCont ) {
aNames.Add(str);
bCont = GetConfig()->GetNextGroup(str, dummy);
}
... we have all group (and entry) names in aNames...
\end{verbatim}
There are also functions to get the number of entries/subgroups without
actually enumerating them, but you will probably never need them.
\helpref{GetFirstGroup}{wxconfigbasegetfirstgroup}\\
\helpref{GetNextGroup}{wxconfigbasegetnextgroup}\\
\helpref{GetFirstEntry}{wxconfigbasegetfirstentry}\\
\helpref{GetNextEntry}{wxconfigbasegetnextentry}\\
\helpref{GetNumberOfEntries}{wxconfigbasegetnumberofentries}\\
\helpref{GetNumberOfGroups}{wxconfigbasegetnumberofgroups}
\membersection{Tests of existence}
\helpref{HasGroup}{wxconfigbasehasgroup}\\
\helpref{HasEntry}{wxconfigbasehasentry}\\
\helpref{Exists}{wxconfigbaseexists}\\
\helpref{GetEntryType}{wxconfigbasegetentrytype}
\membersection{Miscellaneous functions}
\helpref{GetAppName}{wxconfigbasegetappname}\\
\helpref{GetVendorName}{wxconfigbasegetvendorname}\\
\helpref{SetUmask}{wxfileconfigsetumask}
\membersection{Key access}
These function are the core of wxConfigBase class: they allow you to read and
write config file data. All {\it Read} function take a default value which
will be returned if the specified key is not found in the config file.
Currently, only two types of data are supported: string and long (but it might
change in the near future). To work with other types: for {\it int} or {\it
bool} you can work with function taking/returning {\it long} and just use the
casts. Better yet, just use {\it long} for all variables which you're going to
save in the config file: chances are that {\tt sizeof(bool) == sizeof(int) == sizeof(long)} anyhow on your system. For {\it float}, {\it double} and, in
general, any other type you'd have to translate them to/from string
representation and use string functions.
Try not to read long values into string variables and vice versa: although it
just might work with wxFileConfig, you will get a system error with
wxRegConfig because in the Windows registry the different types of entries are
indeed used.
Final remark: the {\it szKey} parameter for all these functions can contain an
arbitrary path (either relative or absolute), not just the key name.
\helpref{Read}{wxconfigbaseread}\\
\helpref{Write}{wxconfigbasewrite}\\
\helpref{Flush}{wxconfigbaseflush}
\membersection{Rename entries/groups}
The functions in this section allow to rename entries or subgroups of the
current group. They will return FALSE on error. typically because either the
entry/group with the original name doesn't exist, because the entry/group with
the new name already exists or because the function is not supported in this
wxConfig implementation.
\helpref{RenameEntry}{wxconfigbaserenameentry}\\
\helpref{RenameGroup}{wxconfigbaserenamegroup}
\membersection{Delete entries/groups}
The functions in this section delete entries and/or groups of entries from the
config file. {\it DeleteAll()} is especially useful if you want to erase all
traces of your program presence: for example, when you uninstall it.
\helpref{DeleteEntry}{wxconfigbasedeleteentry}\\
\helpref{DeleteGroup}{wxconfigbasedeletegroup}\\
\helpref{DeleteAll}{wxconfigbasedeleteall}
\membersection{Options}
Some aspects of wxConfigBase behaviour can be changed during run-time. The
first of them is the expansion of environment variables in the string values
read from the config file: for example, if you have the following in your
config file:
\begin{verbatim}
# config file for my program
UserData = $HOME/data
# the following syntax is valud only under Windows
UserData = %windir%\\data.dat
\end{verbatim}
% $ % help EMACS syntax highlighting...
the call to {\tt config->Read("UserData")} will return something like
{\tt "/home/zeitlin/data"} if you're lucky enough to run a Linux system ;-)
Although this feature is very useful, it may be annoying if you read a value
which containts '\$' or '\%' symbols (\% is used for environment variables
expansion under Windows) which are not used for environment variable
expansion. In this situation you may call SetExpandEnvVars(FALSE) just before
reading this value and SetExpandEnvVars(TRUE) just after. Another solution
would be to prefix the offending symbols with a backslash.
The following functions control this option:
\helpref{IsExpandingEnvVars}{wxconfigbaseisexpandingenvvars}\\
\helpref{SetExpandEnvVars}{wxconfigbasesetexpandenvvars}\\
\helpref{SetRecordDefaults}{wxconfigbasesetrecorddefaults}\\
\helpref{IsRecordingDefaults}{wxconfigbaseisrecordingdefaults}
%%%%% MEMBERS HERE %%%%%
\helponly{\insertatlevel{2}{
\wxheading{Members}
}}
\membersection{wxConfigBase::wxConfigBase}\label{wxconfigbasector}
\func{}{wxConfigBase}{\param{const wxString\& }{appName = wxEmptyString},
\param{const wxString\& }{vendorName = wxEmptyString},
\param{const wxString\& }{localFilename = wxEmptyString},
\param{const wxString\& }{globalFilename = wxEmptyString},
\param{long}{ style = 0}}
This is the default and only constructor of the wxConfigBase class, and
derived classes.
\wxheading{Parameters}
\docparam{appName}{The application name. If this is empty, the class will
normally use \helpref{wxApp::GetAppName}{wxappgetappname} to set it. The
application name is used in the registry key on Windows, and can be used to
deduce the local filename parameter if that is missing.}
\docparam{vendorName}{The vendor name. If this is empty, it is assumed that
no vendor name is wanted, if this is optional for the current config class.
The vendor name is appended to the application name for wxRegConfig.}
\docparam{localFilename}{Some config classes require a local filename. If this
is not present, but required, the application name will be used instead.}
\docparam{globalFilename}{Some config classes require a global filename. If
this is not present, but required, the application name will be used instead.}
\docparam{style}{Can be one of wxCONFIG\_USE\_LOCAL\_FILE and
wxCONFIG\_USE\_GLOBAL\_FILE. The style interpretation depends on the config
class and is ignored by some. For wxFileConfig, these styles determine whether
a local or global config file is created or used. If the flag is present but
the parameter is empty, the parameter will be set to a default. If the
parameter is present but the style flag not, the relevant flag will be added
to the style. For wxFileConfig you can also add wxCONFIG\_USE\_RELATIVE\_PATH
by logically or'ing it to either of the \_FILE options to tell wxFileConfig to
use relative instead of absolute paths. For wxFileConfig, you can also
add wxCONFIG\_USE\_NO\_ESCAPE\_CHARACTERS which will turn off character
escaping for the values of entries stored in the config file: for example
a {\it foo} key with some backslash characters will be stored as {\tt foo=C:$\backslash$mydir} instead
of the usual storage of {\tt foo=C:$\backslash\backslash$mydir}.
The wxCONFIG\_USE\_NO\_ESCAPE\_CHARACTERS style can be helpful if your config
file must be read or written to by a non-wxWindows program (which might not
understand the escape characters). Note, however, that if
wxCONFIG\_USE\_NO\_ESCAPE\_CHARACTERS style is used, it is is now
your application's responsibility to ensure that there is no newline or
other illegal characters in a value, before writing that value to the file.}
\wxheading{Remarks}
By default, environment variable expansion is on and recording defaults is
off.
\membersection{wxConfigBase::\destruct{wxConfigBase}}\label{wxconfigbasedtor}
\func{}{\destruct{wxConfigBase}}{\void}
Empty but ensures that dtor of all derived classes is virtual.
\membersection{wxConfigBase::Create}\label{wxconfigbasecreate}
\func{static wxConfigBase *}{Create}{\void}
Create a new config object: this function will create the "best"
implementation of wxConfig available for the current platform, see comments
near the definition of wxCONFIG\_WIN32\_NATIVE for details. It returns the
created object and also sets it as the current one.
\membersection{wxConfigBase::DontCreateOnDemand}\label{wxconfigbasedontcreateondemand}
\func{void}{DontCreateOnDemand}{\void}
Calling this function will prevent {\it Get()} from automatically creating a
new config object if the current one is NULL. It might be useful to call it
near the program end to prevent new config object "accidental" creation.
\membersection{wxConfigBase::DeleteAll}\label{wxconfigbasedeleteall}
\func{bool}{DeleteAll}{\void}
Delete the whole underlying object (disk file, registry key, ...). Primarly
for use by desinstallation routine.
\membersection{wxConfigBase::DeleteEntry}\label{wxconfigbasedeleteentry}
\func{bool}{DeleteEntry}{\param{const wxString\& }{ key}, \param{bool}{ bDeleteGroupIfEmpty = TRUE}}
Deletes the specified entry and the group it belongs to if it was the last key
in it and the second parameter is true.
\membersection{wxConfigBase::DeleteGroup}\label{wxconfigbasedeletegroup}
\func{bool}{DeleteGroup}{\param{const wxString\& }{ key}}
Delete the group (with all subgroups)
\membersection{wxConfigBase::Exists}\label{wxconfigbaseexists}
\constfunc{bool}{Exists}{\param{wxString\& }{strName}}
returns TRUE if either a group or an entry with a given name exists
\membersection{wxConfigBase::Flush}\label{wxconfigbaseflush}
\func{bool}{Flush}{\param{bool }{bCurrentOnly = FALSE}}
permanently writes all changes (otherwise, they're only written from object's
destructor)
\membersection{wxConfigBase::Get}\label{wxconfigbaseget}
\func{static wxConfigBase *}{Get}{\param{bool }{CreateOnDemand = TRUE}}
Get the current config object. If there is no current object and
{\it CreateOnDemand} is TRUE, creates one
(using {\it Create}) unless DontCreateOnDemand was called previously.
\membersection{wxConfigBase::GetAppName}\label{wxconfigbasegetappname}
\constfunc{wxString}{GetAppName}{\void}
Returns the application name.
\membersection{wxConfigBase::GetEntryType}\label{wxconfigbasegetentrytype}
\constfunc{enum wxConfigBase::EntryType}{GetEntryType}{\param{const wxString\& }{name}}
Returns the type of the given entry or {\it Unknown} if the entry doesn't
exist. This function should be used to decide which version of Read() should
be used because some of wxConfig implementations will complain about type
mismatch otherwise: e.g., an attempt to read a string value from an integer
key with wxRegConfig will fail.
The result is an element of enum EntryType:
\begin{verbatim}
enum EntryType
{
Unknown,
String,
Boolean,
Integer,
Float
};
\end{verbatim}
\membersection{wxConfigBase::GetFirstGroup}\label{wxconfigbasegetfirstgroup}
\constfunc{bool}{GetFirstGroup}{\param{wxString\& }{str}, \param{long\&}{ index}}
Gets the first group.
\pythonnote{The wxPython version of this method returns a 3-tuple
consisting of the continue flag, the value string, and the index for
the next call.}
\perlnote{In wxPerl this method takes no arguments and returns a 3-element
list {\tt ( continue, str, index )}.}
\membersection{wxConfigBase::GetFirstEntry}\label{wxconfigbasegetfirstentry}
\constfunc{bool}{GetFirstEntry}{\param{wxString\& }{str}, \param{long\&}{ index}}
Gets the first entry.
\pythonnote{The wxPython version of this method returns a 3-tuple
consisting of the continue flag, the value string, and the index for
the next call.}
\perlnote{In wxPerl this method takes no arguments and returns a 3-element
list {\tt ( continue, str, index )}.}
\membersection{wxConfigBase::GetNextGroup}\label{wxconfigbasegetnextgroup}
\constfunc{bool}{GetNextGroup}{\param{wxString\& }{str}, \param{long\&}{ index}}
Gets the next group.
\pythonnote{The wxPython version of this method returns a 3-tuple
consisting of the continue flag, the value string, and the index for
the next call.}
\perlnote{In wxPerl this method only takes the {\tt index} parameter
and returns a 3-element list {\tt ( continue, str, index )}.}
\membersection{wxConfigBase::GetNextEntry}\label{wxconfigbasegetnextentry}
\constfunc{bool}{GetNextEntry}{\param{wxString\& }{str}, \param{long\&}{ index}}
Gets the next entry.
\pythonnote{The wxPython version of this method returns a 3-tuple
consisting of the continue flag, the value string, and the index for
the next call.}
\perlnote{In wxPerl this method only takes the {\tt index} parameter
and returns a 3-element list {\tt ( continue, str, index )}.}
\membersection{wxConfigBase::GetNumberOfEntries}\label{wxconfigbasegetnumberofentries}
\constfunc{uint }{GetNumberOfEntries}{\param{bool }{bRecursive = FALSE}}
\membersection{wxConfigBase::GetNumberOfGroups}\label{wxconfigbasegetnumberofgroups}
\constfunc{uint}{GetNumberOfGroups}{\param{bool }{bRecursive = FALSE}}
Get number of entries/subgroups in the current group, with or without its
subgroups.
\membersection{wxConfigBase::GetPath}\label{wxconfigbasegetpath}
\constfunc{const wxString\&}{GetPath}{\void}
Retrieve the current path (always as absolute path).
\membersection{wxConfigBase::GetVendorName}\label{wxconfigbasegetvendorname}
\constfunc{wxString}{GetVendorName}{\void}
Returns the vendor name.
\membersection{wxConfigBase::HasEntry}\label{wxconfigbasehasentry}
\constfunc{bool}{HasEntry}{\param{wxString\& }{strName}}
returns TRUE if the entry by this name exists
\membersection{wxConfigBase::HasGroup}\label{wxconfigbasehasgroup}
\constfunc{bool}{HasGroup}{\param{const wxString\& }{strName}}
returns TRUE if the group by this name exists
\membersection{wxConfigBase::IsExpandingEnvVars}\label{wxconfigbaseisexpandingenvvars}
\constfunc{bool}{IsExpandingEnvVars}{\void}
Returns TRUE if we are expanding environment variables in key values.
\membersection{wxConfigBase::IsRecordingDefaults}\label{wxconfigbaseisrecordingdefaults}
\constfunc{bool}{IsRecordingDefaults}{\void}
Returns TRUE if we are writing defaults back to the config file.
\membersection{wxConfigBase::Read}\label{wxconfigbaseread}
\constfunc{bool}{Read}{\param{const wxString\& }{key}, \param{wxString*}{ str}}
Read a string from the key, returning TRUE if the value was read. If the key
was not found, {\it str} is not changed.
\constfunc{bool}{Read}{\param{const wxString\& }{key}, \param{wxString*}{ str}, \param{const wxString\& }{defaultVal}}
Read a string from the key. The default value is returned if the key was not
found.
Returns TRUE if value was really read, FALSE if the default was used.
\constfunc{wxString}{Read}{\param{const wxString\& }{key}, \param{const
wxString\& }{defaultVal}}
Another version of {\it Read()}, returning the string value directly.
\constfunc{bool}{Read}{\param{const wxString\& }{ key}, \param{long*}{ l}}
Reads a long value, returning TRUE if the value was found. If the value was
not found, {\it l} is not changed.
\constfunc{bool}{Read}{\param{const wxString\& }{ key}, \param{long*}{ l},
\param{long}{ defaultVal}}
Reads a long value, returning TRUE if the value was found. If the value was
not found, {\it defaultVal} is used instead.
\constfunc{long }{Read}{\param{const wxString\& }{key}, \param{long}{ defaultVal}}
Reads a long value from the key and returns it. {\it defaultVal} is returned
if the key is not found.
NB: writing
{\small
\begin{verbatim}
conf->Read("key", 0);
\end{verbatim}
}
won't work because the call is ambiguous: compiler can not choose between two
{\it Read} functions. Instead, write:
{\small
\begin{verbatim}
conf->Read("key", 0l);
\end{verbatim}
}
\constfunc{bool}{Read}{\param{const wxString\& }{ key}, \param{double*}{ d}}
Reads a double value, returning TRUE if the value was found. If the value was
not found, {\it d} is not changed.
\constfunc{bool}{Read}{\param{const wxString\& }{ key}, \param{double*}{ d},
\param{double}{ defaultVal}}
Reads a double value, returning TRUE if the value was found. If the value was
not found, {\it defaultVal} is used instead.
\constfunc{bool}{Read}{\param{const wxString\& }{ key}, \param{bool*}{ b}}
Reads a bool value, returning TRUE if the value was found. If the value was
not found, {\it b} is not changed.
\constfunc{bool}{Read}{\param{const wxString\& }{ key}, \param{bool*}{ d},
\param{bool}{ defaultVal}}
Reads a bool value, returning TRUE if the value was found. If the value was
not found, {\it defaultVal} is used instead.
\pythonnote{In place of a single overloaded method name, wxPython
implements the following methods:\par
\indented{2cm}{\begin{twocollist}
\twocolitem{{\bf Read(key, default="")}}{Returns a string.}
\twocolitem{{\bf ReadInt(key, default=0)}}{Returns an int.}
\twocolitem{{\bf ReadFloat(key, default=0.0)}}{Returns a floating point number.}
\end{twocollist}}
}
\perlnote{In place of a single overloaded method, wxPerl uses:\par
\indented{2cm}{\begin{twocollist}
\twocolitem{{\bf Read(key, default="")}}{Returns a string}
\twocolitem{{\bf ReadInt(key, default=0)}}{Returns an integer}
\twocolitem{{\bf ReadFloat(key, default=0.0)}}{Returns a floating point number}
\twocolitem{{\bf ReadBool(key, default=0)}}{Returns a boolean}
\end{twocollist}
}}
\membersection{wxConfigBase::RenameEntry}\label{wxconfigbaserenameentry}
\func{bool}{RenameEntry}{\param{const wxString\& }{ oldName}, \param{const wxString\& }{ newName}}
Renames an entry in the current group. The entries names (both the old and
the new one) shouldn't contain backslashes, i.e. only simple names and not
arbitrary paths are accepted by this function.
Returns FALSE if the {\it oldName} doesn't exist or if {\it newName} already
exists.
\membersection{wxConfigBase::RenameGroup}\label{wxconfigbaserenamegroup}
\func{bool}{RenameGroup}{\param{const wxString\& }{ oldName}, \param{const wxString\& }{ newName}}
Renames a subgroup of the current group. The subgroup names (both the old and
the new one) shouldn't contain backslashes, i.e. only simple names and not
arbitrary paths are accepted by this function.
Returns FALSE if the {\it oldName} doesn't exist or if {\it newName} already
exists.
\membersection{wxConfigBase::Set}\label{wxconfigbaseset}
\func{static wxConfigBase *}{Set}{\param{wxConfigBase *}{pConfig}}
Sets the config object as the current one, returns the pointer to the previous
current object (both the parameter and returned value may be NULL)
\membersection{wxConfigBase::SetExpandEnvVars}\label{wxconfigbasesetexpandenvvars}
\func{void}{SetExpandEnvVars }{\param{bool }{bDoIt = TRUE}}
Determine whether we wish to expand environment variables in key values.
\membersection{wxConfigBase::SetPath}\label{wxconfigbasesetpath}
\func{void}{SetPath}{\param{const wxString\& }{strPath}}
Set current path: if the first character is '/', it is the absolute path,
otherwise it is a relative path. '..' is supported. If the strPath doesn't
exist it is created.
\membersection{wxConfigBase::SetRecordDefaults}\label{wxconfigbasesetrecorddefaults}
\func{void}{SetRecordDefaults}{\param{bool }{bDoIt = TRUE}}
Sets whether defaults are recorded to the config file whenever an attempt to
read read the value which is not present in it is done.
If on (default is off) all default values for the settings used by the program
are written back to the config file. This allows the user to see what config
options may be changed and is probably useful only for wxFileConfig.
\membersection{wxConfigBase::SetUmask}\label{wxfileconfigsetumask}
\func{void}{SetUmask}{\param{int }{mode}}
{\bf NB:} this function is not in the base wxConfigBase class but is only
implemented in wxFileConfig. Moreover, this function is Unix-specific and
doesn't do anything on other platforms.
SetUmask() allows to set the mode to be used for the config file creation.
For example, to create a config file which is not readable by other users
(useful if it stores some sensitive information, such as passwords), you
should do {\tt SetUmask(0077)}.
\membersection{wxConfigBase::Write}\label{wxconfigbasewrite}
\func{bool}{Write}{\param{const wxString\& }{ key}, \param{const wxString\& }{
value}}
\func{bool}{Write}{\param{const wxString\& }{ key}, \param{long}{ value}}
\func{bool}{Write}{\param{const wxString\& }{ key}, \param{double}{ value}}
\func{bool}{Write}{\param{const wxString\& }{ key}, \param{bool}{ value}}
These functions write the specified value to the config file and return TRUE
on success.
\pythonnote{In place of a single overloaded method name, wxPython
implements the following methods:\par
\indented{2cm}{\begin{twocollist}
\twocolitem{{\bf Write(key, value)}}{Writes a string.}
\twocolitem{{\bf WriteInt(key, value)}}{Writes an int.}
\twocolitem{{\bf WriteFloat(key, value)}}{Writes a floating point number.}
\end{twocollist}}
}
\perlnote{In place of a single overloaded method, wxPerl uses:\par
\indented{2cm}{\begin{twocollist}
\twocolitem{{\bf Write(key, value)}}{Writes a string}
\twocolitem{{\bf WriteInt(key, value)}}{Writes an integer}
\twocolitem{{\bf WriteFloat(key, value)}}{Writes a floating point number}
\twocolitem{{\bf WriteBool(key, value)}}{Writes a boolean}
\end{twocollist}
}}

View File

@@ -0,0 +1,10 @@
\chapter{Constants}\label{constants}
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
\setfooter{\thepage}{}{}{}{}{\thepage}
This chapter describes the constants defined by wxWindows.
\input cppconst.tex
\input stdevtid.tex
\input keycode.tex

41
docs/latex/wx/control.tex Normal file
View File

@@ -0,0 +1,41 @@
\section{\class{wxControl}}\label{wxcontrol}
This is the base class for a control or `widget'.
A control is generally a small window which processes user input and/or displays one or more item
of data.
\wxheading{Derived from}
\helpref{wxWindow}{wxwindow}\\
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/control.h>
\wxheading{See also}
\helpref{wxValidator}{wxvalidator}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxControl::Command}\label{wxcontrolcommand}
\func{void}{Command}{\param{wxCommandEvent\& }{event}}
Simulates the effect of the user issuing a command to the item. See \helpref{wxCommandEvent}{wxcommandevent}.
\membersection{wxControl::GetLabel}\label{wxcontrolgetlabel}
\func{wxString\&}{GetLabel}{\void}
Returns the control's text.
\membersection{wxControl::SetLabel}\label{wxcontrolsetlabel}
\func{void}{SetLabel}{\param{const wxString\& }{label}}
Sets the item's text.

View File

@@ -0,0 +1,46 @@
% -----------------------------------------------------------------------------
% wxCountingOutputStream
% -----------------------------------------------------------------------------
\section{\class{wxCountingOutputStream}}\label{wxcountingoutputstream}
wxCountingOutputStream is a specialized output stream which does not write any data anyway,
instead it counts how many bytes would get written if this were a normal stream. This
can sometimes be useful or required if some data gets serialized to a stream or compressed
by using stream compression and thus the final size of the stream cannot be known other
than pretending to write the stream. One case where the resulting size would have to be
known is if the data has to be written to a piece of memory and the memory has to be
allocated before writing to it (which is probably always the case when writing to a
memory stream).
\wxheading{Derived from}
\helpref{wxOutputStream}{wxoutputstream}
\helpref{wxStreamBase}{wxstreambase}
\wxheading{Include files}
<wx/stream.h>
\latexignore{\rtfignore{\wxheading{Members}}}
% -----------
% ctor & dtor
% -----------
\membersection{wxCountingOutputStream::wxCountingOutputStream}
\func{}{wxCountingOutputStream}{\void}
Creates a wxCountingOutputStream object.
\membersection{wxCountingOutputStream::\destruct{wxCountingOutputStream}}
\func{}{\destruct{wxCountingOutputStream}}{\void}
Destructor.
\membersection{wxCountingOutputStream::GetSize}
\constfunc{size\_t}{GetSize}{\void}
Returns the current size of the stream.

106
docs/latex/wx/cppconst.tex Normal file
View File

@@ -0,0 +1,106 @@
\section{Preprocesser symbols defined by wxWindows}\label{cppconst}
Here is the list of preprocessor symbols used in the wxWindows source grouped
by category (and sorted by alphabetical order inside each category).
\subsection{GUI system}
\begin{twocollist}\itemsep=0pt
\twocolitem{\_\_WINDOWS\_\_}{any Windows, yom may also use \_\_WXMSW\_\_}
\twocolitem{\_\_WIN16\_\_}{Win16 API}
\twocolitem{\_\_WIN32\_\_}{Win32 API}
\twocolitem{\_\_WIN95\_\_}{Windows 95 or NT 4.0 and above system (not NT 3.5x)}
\twocolitem{\_\_WXGTK\_\_}{GTK}
\twocolitem{\_\_WXGTK12\_\_}{GTK 1.2 or higher}
\twocolitem{\_\_WXGTK20\_\_}{GTK 2.0 or higher}
\twocolitem{\_\_WXMOTIF\_\_}{Motif}
\twocolitem{\_\_WXMAC\_\_}{Mac OS whether Classic (Mac OS 8/9 TARGET\_CARBON == 0) or Carbon (including Mac OS X TARGET\_CARBON == 1)}
\twocolitem{\_\_WXMGL\_\_}{SciTech Soft MGL (\_\_WXUNIVERSAL\_\_ will be also
defined)}
\twocolitem{\_\_WXMSW\_\_}{Any Windows}
\twocolitem{\_\_WXOS2\_\_}{Identical to \_\_WXPM\_\_}
\twocolitem{\_\_WXPM\_\_}{OS/2 native Presentation Manager}
\twocolitem{\_\_WXSTUBS\_\_}{Stubbed version ('template' wxWin implementation)}
\twocolitem{\_\_WXXT\_\_}{Xt; mutually exclusive with WX\_MOTIF, not
implemented in wxWindows 2.x}
\twocolitem{\_\_WXX11\_\_}{wxX11 (\_\_WXUNIVERSAL\_\_ will be also defined)}
\twocolitem{\_\_WXWINE\_\_}{WINE (i.e. Win32 on Unix)}
\twocolitem{\_\_WXUNIVERSAL\_\_}{wxUniversal port, always defined in addition
to one of the symbols above so this should be tested first.}
\twocolitem{\_\_X\_\_}{any X11-based GUI toolkit except GTK+}
\end{twocollist}
In fact, they should better all start with \_\_WX instead of \_\_ only. The
only GUIs implemented for 2.0 are \_\_WXGTK\_\_, \_\_WXMSW\_\_ and
\_\_WXMOTIF\_\_ yet. Any new ones, please start the define with \_\_WX.
\subsection{Operating systems}
\begin{twocollist}\itemsep=0pt
\twocolitem{\_\_APPLE\_\_}{any Mac OS version}
\twocolitem{\_\_AIX\_\_}{AIX}
\twocolitem{\_\_BSD\_\_}{Any *BSD system}
\twocolitem{\_\_CYGWIN\_\_}{Cygwin: Unix on Win32}
\twocolitem{\_\_DARWIN\_\_}{Mac OS X using the BSD Unix C library (as opposed to using the Metrowerks MSL C/C++ library)}
\twocolitem{\_\_DATA\_GENERAL\_\_}{DG-UX}
\twocolitem{\_\_DOS\_GENERAL\_\_}{DOS (used with wxMGL only)}
\twocolitem{\_\_FREEBSD\_\_}{FreeBSD}
\twocolitem{\_\_HPUX\_\_}{HP-UX (Unix)}
\twocolitem{\_\_LINUX\_\_}{Linux}
\twocolitem{\_\_MACH\_\_}{Mach-O Architecture (Mac OS X only builds)}
\twocolitem{\_\_OSF\_\_}{OSF/1}
\twocolitem{\_\_SGI\_\_}{IRIX}
\twocolitem{\_\_SOLARIS\_\_}{Solaris}
\twocolitem{\_\_SUN\_\_}{Any Sun}
\twocolitem{\_\_SUNOS\_\_}{Sun OS}
\twocolitem{\_\_SVR4\_\_}{SystemV R4}
\twocolitem{\_\_SYSV\_\_}{SystemV generic}
\twocolitem{\_\_ULTRIX\_\_}{Ultrix}
\twocolitem{\_\_UNIX\_\_}{any Unix}
\twocolitem{\_\_UNIX\_LIKE\_\_}{Unix, BeOS or VMS}
\twocolitem{\_\_VMS\_\_}{VMS}
\twocolitem{\_\_WINDOWS\_\_}{any Windows}
\end{twocollist}
\subsection{Hardware architectures}
Note that not all of these symbols are always defined, it depends on the
compiler used.
\begin{twocollist}\itemsep=0pt
\twocolitem{\_\_ALPHA\_\_}{DEC Alpha architecture}
\twocolitem{\_\_INTEL\_\_}{Intel i386 or compatible}
\twocolitem{\_\_POWERPC\_\_}{Motorola Power PC}
\end{twocollist}
\subsection{Compilers}
\begin{twocollist}\itemsep=0pt
\twocolitem{\_\_BORLANDC\_\_}{Borland C++. The value of the macro corresponds
to the compiler version: $500$ is $5.0$.}
\twocolitem{\_\_DJGPP\_\_}{DJGPP}
\twocolitem{\_\_GNUG\_\_}{Gnu C++ on any platform, see also
\helpref{wxCHECK\_GCC\_VERSION}{wxcheckgccversion}}
\twocolitem{\_\_GNUWIN32\_\_}{Gnu-Win32 compiler, see also
\helpref{wxCHECK\_W32API\_VERSION}{wxcheckw32apiversion}}
\twocolitem{\_\_MWERKS\_\_}{CodeWarrior MetroWerks compiler}
\twocolitem{\_\_SUNCC\_\_}{Sun CC}
\twocolitem{\_\_SYMANTECC\_\_}{Symantec C++}
\twocolitem{\_\_VISAGECPP\_\_}{IBM Visual Age (OS/2)}
\twocolitem{\_\_VISUALC\_\_}{Microsoft Visual C++. The value of this macro
corresponds to the compiler version: $1020$ for $4.2$ (the first supported
version), $1100$ for $5.0$, $1200$ for $6.0$ and so on}
\twocolitem{\_\_XLC\_\_}{AIX compiler}
\twocolitem{\_\_WATCOMC\_\_}{Watcom C++. The value of this macro corresponds to
the compiler version, $1100$ is $11.0$ and $1200$ is OpenWatcom.}
\end{twocollist}
\subsection{Miscellaneous}
\begin{twocollist}\itemsep=0pt
\twocolitem{\_\_WXDEBUG\_\_}{defined in debug mode, undefined in release mode}
\twocolitem{wxUSE\_XXX}{if defined as $1$, feature XXX is active
(the symbols of this form are always defined, use #if and not #ifdef to test
for them)}
\end{twocollist}

View File

@@ -0,0 +1,58 @@
\section{\class{wxCriticalSection}}\label{wxcriticalsection}
A critical section object is used for exactly the same purpose as
\helpref{mutexes}{wxmutex}. The only difference is that under Windows platform
critical sections are only visible inside one process, while mutexes may be
shared between processes, so using critical sections is slightly more
efficient. The terminology is also slightly different: mutex may be locked (or
acquired) and unlocked (or released) while critical section is entered and left
by the program.
Finally, you should try to use
\helpref{wxCriticalSectionLocker}{wxcriticalsectionlocker} class whenever
possible instead of directly using wxCriticalSection for the same reasons
\helpref{wxMutexLocker}{wxmutexlocker} is preferrable to
\helpref{wxMutex}{wxmutex} - please see wxMutex for an example.
\wxheading{Derived from}
None.
\wxheading{Include files}
<wx/thread.h>
\wxheading{See also}
\helpref{wxThread}{wxthread}, \helpref{wxCondition}{wxcondition},
\helpref{wxMutexLocker}{wxmutexlocker}, \helpref{wxCriticalSection}{wxcriticalsection}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxCriticalSection::wxCriticalSection}\label{wxcriticalsectionctor}
\func{}{wxCriticalSection}{\void}
Default constructor initializes critical section object.
\membersection{wxCriticalSection::\destruct{wxCriticalSection}}\label{wxcriticalsectiondtor}
\func{}{\destruct{wxCriticalSection}}{\void}
Destructor frees the resources.
\membersection{wxCriticalSection::Enter}\label{wxcriticalsectionenter}
\func{void }{Enter}{\void}
Enter the critical section (same as locking a mutex). There is no error return
for this function. After entering the critical section protecting some global
data the thread running in critical section may safely use/modify it.
\membersection{wxCriticalSection::Leave}\label{wxcriticalsectionleave}
\func{void }{Leave}{\void}
Leave the critical section allowing other threads use the global data protected
by it. There is no error return for this function.

View File

@@ -0,0 +1,63 @@
\section{\class{wxCriticalSectionLocker}}\label{wxcriticalsectionlocker}
This is a small helper class to be used with \helpref{wxCriticalSection}{wxcriticalsection}
objects. A wxCriticalSectionLocker enters the critical section in the
constructor and leaves it in the destructor making it much more difficult to
forget to leave a critical section (which, in general, will lead to serious
and difficult to debug problems).
Example of using it:
\begin{verbatim}
void Set Foo()
{
// gs_critSect is some (global) critical section guarding access to the
// object "foo"
wxCriticalSectionLocker locker(gs_critSect);
if ( ... )
{
// do something
...
return;
}
// do something else
...
return;
}
\end{verbatim}
Without wxCriticalSectionLocker, you would need to remember to manually leave
the critical section before each {\tt return}.
\wxheading{Derived from}
None.
\wxheading{Include files}
<wx/thread.h>
\wxheading{See also}
\helpref{wxCriticalSection}{wxcriticalsection},
\helpref{wxMutexLocker}{wxmutexlocker}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxCriticalSectionLocker::wxCriticalSectionLocker}\label{wxcriticalsectionlockerctor}
\func{}{wxCriticalSectionLocker}{\param{wxCriticalSection\& }{criticalsection}}
Constructs a wxCriticalSectionLocker object associated with given
{\it criticalsection} and enters it.
\membersection{wxCriticalSectionLocker::\destruct{wxCriticalSectionLocker}}\label{wxcriticalsectionlockerdtor}
\func{}{\destruct{wxCriticalSectionLocker}}{\void}
Destructor leaves the critical section.

60
docs/latex/wx/csconv.tex Normal file
View File

@@ -0,0 +1,60 @@
%
% automatically generated by HelpGen from
% ../include/wx/strconv.h at 25/Mar/00 10:20:56
%
\section{\class{wxCSConv}}\label{wxcsconv}
This class converts between any character sets and Unicode.
It has one predefined instance, {\bf wxConvLocal}, for the
default user character set.
\wxheading{Derived from}
\helpref{wxMBConv}{wxmbconv}
\wxheading{Include files}
<wx/strconv.h>
\wxheading{See also}
\helpref{wxMBConv}{wxmbconv},
\helpref{wxEncodingConverter}{wxencodingconverter},
\helpref{wxMBConv classes overview}{mbconvclasses}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxCSConv::wxCSConv}\label{wxcsconvwxcsconv}
\func{}{wxCSConv}{\param{const wxChar* }{charset}}
Constructor. Specify the name of the character set you want to convert
from/to.
\membersection{wxCSConv::\destruct{wxCSConv}}\label{wxcsconvdtor}
\func{}{\destruct{wxCSConv}}{\void}
Destructor.
\membersection{wxCSConv::LoadNow}\label{wxcsconvloadnow}
\func{void}{LoadNow}{\void}
If the conversion tables needs to be loaded from disk, this method
will do so. Otherwise, they will be loaded when any of the conversion
methods are called.
\membersection{wxCSConv::MB2WC}\label{wxcsconvmb2wc}
\constfunc{size\_t}{MB2WC}{\param{wchar\_t* }{buf}, \param{const char* }{psz}, \param{size\_t }{n}}
Converts from the selected character set to Unicode. Returns the size of the destination buffer.
\membersection{wxCSConv::WC2MB}\label{wxcsconvwc2mb}
\constfunc{size\_t}{WC2MB}{\param{char* }{buf}, \param{const wchar\_t* }{psz}, \param{size\_t }{n}}
Converts from Unicode to the selected character set. Returns the size of the destination buffer.

130
docs/latex/wx/cshelp.tex Normal file
View File

@@ -0,0 +1,130 @@
\section{\class{wxContextHelp}}\label{wxcontexthelp}
This class changes the cursor to a query and puts the application into a 'context-sensitive help mode'.
When the user left-clicks on a window within the specified window, a wxEVT\_HELP event is
sent to that control, and the application may respond to it by popping up some help.
For example:
\begin{verbatim}
wxContextHelp contextHelp(myWindow);
\end{verbatim}
There are a couple of ways to invoke this behaviour implicitly:
\begin{itemize}
\item Use the wxDIALOG\_EX\_CONTEXTHELP style for a dialog (Windows only). This will put a question mark
in the titlebar, and Windows will put the application into context-sensitive help mode automatically,
with further programming.
\item Create a \helpref{wxContextHelpButton}{wxcontexthelpbutton}, whose predefined behaviour is to create a context help object.
Normally you will write your application so that this button is only added to a dialog for non-Windows platforms
(use wxDIALOG\_EX\_CONTEXTHELP on Windows).
\end{itemize}
\wxheading{Derived from}
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/cshelp.h>
\wxheading{See also}
\helpref{wxHelpEvent}{wxhelpevent},
\helpref{wxHelpController}{wxhelpcontroller},
\helpref{wxContextHelpButton}{wxcontexthelpbutton}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxContextHelp::wxContextHelp}
\func{}{wxContextHelp}{\param{wxWindow*}{ window = NULL}, \param{bool}{ doNow = TRUE}}
Constructs a context help object, calling \helpref{BeginContextHelp}{wxcontexthelpbegincontexthelp} if\rtfsp
{\it doNow} is TRUE (the default).
If {\it window} is NULL, the top window is used.
\membersection{wxContextHelp::\destruct{wxContextHelp}}
\func{}{\destruct{wxContextHelp}}{\void}
Destroys the context help object.
\membersection{wxContextHelp::BeginContextHelp}\label{wxcontexthelpbegincontexthelp}
\func{bool}{BeginContextHelp}{\param{wxWindow*}{ window = NULL}}
Puts the application into context-sensitive help mode. {\it window} is the window
which will be used to catch events; if NULL, the top window will be used.
Returns TRUE if the application was successfully put into context-sensitive help mode.
This function only returns when the event loop has finished.
\membersection{wxContextHelp::EndContextHelp}\label{wxcontexthelpendcontexthelp}
\func{bool}{EndContextHelp}{\void}
Ends context-sensitive help mode. Not normally called by the application.
\section{\class{wxContextHelpButton}}\label{wxcontexthelpbutton}
Instances of this class may be used to add a question mark button that when pressed, puts the
application into context-help mode. It does this by creating a \helpref{wxContextHelp}{wxcontexthelp} object which itself
generates a wxEVT\_HELP event when the user clicks on a window.
On Windows, you may add a question-mark icon to a dialog by use of the wxDIALOG\_EX\_CONTEXTHELP extra style, but
on other platforms you will have to add a button explicitly, usually next to OK, Cancel or similar buttons.
\wxheading{Derived from}
\helpref{wxBitmapButton}{wxbitmapbutton}\\
\helpref{wxButton}{wxbutton}\\
\helpref{wxControl}{wxcontrol}\\
\helpref{wxWindow}{wxwindow}\\
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/cshelp.h>
\wxheading{See also}
\helpref{wxBitmapButton}{wxbitmapbutton}, \helpref{wxContextHelp}{wxcontexthelp}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxContextHelpButton::wxContextHelpButton}\label{wxcontexthelpbuttonconstr}
\func{}{wxContextHelpButton}{\void}
Default constructor.
\func{}{wxContextHelpButton}{
\param{wxWindow* }{parent},
\param{wxWindowID }{id = wxID\_CONTEXT\_HELP},
\param{const wxPoint\& }{pos = wxDefaultPosition},
\param{const wxSize\& }{size = wxDefaultSize},
\param{long }{style = wxBU\_AUTODRAW}}
Constructor, creating and showing a context help button.
\wxheading{Parameters}
\docparam{parent}{Parent window. Must not be NULL.}
\docparam{id}{Button identifier. Defaults to wxID\_CONTEXT\_HELP.}
\docparam{pos}{Button position.}
\docparam{size}{Button size. If the default size (-1, -1) is specified then the button is sized
appropriately for the question mark bitmap.}
\docparam{style}{Window style.}
\wxheading{Remarks}
Normally you need pass only the parent window to the constructor, and use the defaults for the remaining parameters.

322
docs/latex/wx/ctrlsub.tex Normal file
View File

@@ -0,0 +1,322 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Name: ctrlsub.tex
%% Purpose: wxControlWithItems documentation
%% Author: Vadim Zeitlin
%% Modified by:
%% Created: 01.01.03
%% RCS-ID: $Id$
%% Copyright: (c) 2003 Vadim Zeitlin
%% License: wxWindows license
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{\class{wxControlWithItems}}\label{wxcontrolwithitems}
This class is an abstract base class for some wxWindows controls which contain
several items, such as \helpref{wxListBox}{wxlistbox} and
\helpref{wxCheckListBox}{wxchecklistbox} derived from it,
\helpref{wxChoice}{wxchoice} and \helpref{wxComboBox}{wxcombobox}.
It defines the methods for accessing the controls items and although each of
the derived classes implements them differently, they still all conform to the
same interface.
The items in a wxControlWithItems have (non empty) string labels and,
optionally, client data associated with them. Client data may be of two
different kinds: either simple untyped ({\tt void *}) pointers which are simply
stored by the control but not used in any way by it, or typed pointers
({\tt wxClientData *}) which are owned by the control meaning that the typed
client data (and only it) will be deleted when an item is
\helpref{deleted}{wxcontrolwithitemsdelete} or the entire control is
\helpref{cleared}{wxcontrolwithitemsclear} (which also happens when it is
destroyed). Finally note that in the same control all items must have client
data of the same type (typed or untyped), if any. This type is determined by
the first call to \helpref{Append}{wxcontrolwithitemsappend} (the version with
client data pointer) or \helpref{SetClientData}{wxcontrolwithitemssetclientdata}.
\wxheading{Derived from}
\helpref{wxControl}{wxcontrol}\\
\helpref{wxWindow}{wxwindow}\\
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/ctrlsub.h> but usually never included directly
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxControlWithItems::Append}\label{wxcontrolwithitemsappend}
\func{int}{Append}{\param{const wxString\& }{ item}}
Adds the item to the end of the list box.
\func{int}{Append}{\param{const wxString\& }{ item}, \param{void *}{clientData}}
\func{int}{Append}{\param{const wxString\& }{ item}, \param{wxClientData *}{clientData}}
Adds the item to the end of the list box, associating the given, typed or
untyped, client data pointer with the item.
\func{void}{Append}{\param{const wxArrayString\& }{strings}}
Appends several items at once to the control. Notice that calling this method
may be much faster than appending the items one by one if you need to add a lot
of items.
\wxheading{Parameters}
\docparam{item}{String to add.}
\docparam{clientData}{Client data to associate with the item.}
\wxheading{Return value}
When appending a single item, the return value is the index of the newly added
item which may be different from the last one if the control is sorted (e.g.
has {\tt wxLB\_SORT} or {\tt wxCB\_SORT} style).
\membersection{wxControlWithItems::Clear}\label{wxcontrolwithitemsclear}
\func{void}{Clear}{\void}
Removes all items from the control.
{\it Clear()} also deletes the client data of the existing items if it is owned
by the control.
\membersection{wxControlWithItems::Delete}\label{wxcontrolwithitemsdelete}
\func{void}{Delete}{\param{int}{ n}}
Deletes an item from the control. The client data associated with the item
will be also deleted if it is owned by the control.
Note that it is an error (signalled by an assert failure in debug builds) to
remove an item with the index negative or greater or equal than the number of
items in the control.
\wxheading{Parameters}
\docparam{n}{The zero-based item index.}
\wxheading{See also}
\helpref{Clear}{wxcontrolwithitemsclear}
\membersection{wxControlWithItems::FindString}\label{wxcontrolwithitemsfindstring}
\func{int}{FindString}{\param{const wxString\& }{string}}
Finds an item whose label matches the given string.
\wxheading{Parameters}
\docparam{string}{String to find.}
\wxheading{Return value}
The zero-based position of the item, or {\tt wxNOT\_FOUND} if the string was
not found.
\membersection{wxControlWithItems::GetClientData}\label{wxcontrolwithitemsgetclientdata}
\constfunc{void *}{GetClientData}{\param{int}{ n}}
Returns a pointer to the client data associated with the given item (if any).
It is an error to call this function for a control which doesn't have untyped
client data at all although it is ok to call it even if the given item doesn't
have any client data associated with it (but other items do).
\wxheading{Parameters}
\docparam{n}{The zero-based position of the item.}
\wxheading{Return value}
A pointer to the client data, or {\tt NULL} if not present.
\membersection{wxControlWithItems::GetClientObject}\label{wxcontrolwithitemsgetclientobject}
\constfunc{wxClientData *}{GetClientObject}{\param{int}{ n}}
Returns a pointer to the client data associated with the given item (if any).
It is an error to call this function for a control which doesn't have typed
client data at all although it is ok to call it even if the given item doesn't
have any client data associated with it (but other items do).
\wxheading{Parameters}
\docparam{n}{The zero-based position of the item.}
\wxheading{Return value}
A pointer to the client data, or {\tt NULL} if not present.
\membersection{wxControlWithItems::GetCount}\label{wxcontrolwithitemsgetcount}
\constfunc{int}{GetCount}{\void}
Returns the number of items in the control.
\wxheading{See also}
\helpref{IsEmpty}{wxcontrolwithitemsisempty}
\membersection{wxControlWithItems::GetSelection}\label{wxcontrolwithitemsgetselection}
\constfunc{int}{GetSelection}{\void}
Returns the index of the selected item or {\tt wxNOT\_FOUND} if no item is
selected.
\wxheading{Return value}
The position of the current selection.
\wxheading{Remarks}
This method can be used with single selection list boxes only, you should use
\helpref{wxListBox::GetSelections}{wxlistboxgetselections} for the list boxes
with {\tt wxLB\_MULTIPLE} style.
\wxheading{See also}
\helpref{SetSelection}{wxcontrolwithitemssetselection},\rtfsp
\helpref{GetStringSelection}{wxcontrolwithitemsgetstringselection}
\membersection{wxControlWithItems::GetString}\label{wxcontrolwithitemsgetstring}
\constfunc{wxString}{GetString}{\param{int}{ n}}
Returns the label of the item with the given index.
\wxheading{Parameters}
\docparam{n}{The zero-based index.}
\wxheading{Return value}
The label of the item or an empty string if the position was invalid.
\membersection{wxControlWithItems::GetStringSelection}\label{wxcontrolwithitemsgetstringselection}
\constfunc{wxString}{GetStringSelection}{\void}
Returns the label of the selected item or an empty string if no item is
selected.
\wxheading{See also}
\helpref{GetSelection}{wxcontrolwithitemsgetselection}
\membersection{wxControlWithItems::IsEmpty}\label{wxcontrolwithitemsisempty}
\constfunc{bool}{IsEmpty}{\void}
Returns {\tt TRUE} if the control is empty or {\tt FALSE} if it has some items.
\wxheading{See also}
\helpref{GetCount}{wxcontrolwithitemsgetcount}
\membersection{wxControlWithItems::Number}\label{wxcontrolwithitemsnumber}
\constfunc{int}{Number}{\void}
{\bf Obsolescence note:} This method is obsolete and was replaced with
\helpref{GetCount}{wxcontrolwithitemsgetcount}, please use the new method in
the new code. This method is only available if wxWindows was compiled with
{\tt WXWIN\_COMPATIBILITY\_2\_2} defined and will disappear completely in
future versions.
\membersection{wxControlWithItems::SetClientData}\label{wxcontrolwithitemssetclientdata}
\func{void}{SetClientData}{\param{int}{ n}, \param{void *}{data}}
Associates the given untyped client data pointer with the given item. Note that
it is an error to call this function if any typed client data pointers had been
associated with the control items before.
\wxheading{Parameters}
\docparam{n}{The zero-based item index.}
\docparam{data}{The client data to associate with the item.}
\membersection{wxControlWithItems::SetClientObject}\label{wxcontrolwithitemssetclientobject}
\func{void}{SetClientObject}{\param{int}{ n}, \param{wxClientData *}{data}}
Associates the given typed client data pointer with the given item: the
{\it data} object will be deleted when the item is deleted (either explicitly
by using \helpref{Deletes}{wxcontrolwithitemsdelete} or implicitly when the
control itself is destroyed).
Note that it is an error to call this function if any untyped client data
pointers had been associated with the control items before.
\wxheading{Parameters}
\docparam{n}{The zero-based item index.}
\docparam{data}{The client data to associate with the item.}
\membersection{wxControlWithItems::SetSelection}\label{wxcontrolwithitemssetselection}
\func{void}{SetSelection}{\param{int}{ n}}
Sets the choice by passing the desired string position. This does not cause
any command events to get emitted.
\wxheading{Parameters}
\docparam{n}{The string position to select, starting from zero.}
\wxheading{See also}
\helpref{SetString}{wxcontrolwithitemssetstring},\rtfsp
\helpref{SetStringSelection}{wxcontrolwithitemssetstringselection}
\membersection{wxControlWithItems::SetString}\label{wxcontrolwithitemssetstring}
\func{void}{SetString}{\param{int}{ n}, \param{const wxString\& }{ string}}
Sets the label for the given item.
\wxheading{Parameters}
\docparam{n}{The zero-based item index.}
\docparam{string}{The label to set.}
\membersection{wxControlWithItems::SetStringSelection}\label{wxcontrolwithitemssetstringselection}
\func{void}{SetStringSelection}{\param{const wxString\& }{ string}}
Selects the item with the specified string in the control. This doesn't cause
any command events being emitted.
\wxheading{Parameters}
\docparam{string}{The string to select.}
\wxheading{See also}
\helpref{SetSelection}{wxcontrolwithitemssetselection}

215
docs/latex/wx/cursor.tex Normal file
View File

@@ -0,0 +1,215 @@
\section{\class{wxCursor}}\label{wxcursor}
A cursor is a small bitmap usually used for denoting where the mouse
pointer is, with a picture that might indicate the interpretation of a
mouse click. As with icons, cursors in X and MS Windows are created
in a different manner. Therefore, separate cursors will be created for the
different environments. Platform-specific methods for creating a {\bf
wxCursor} object are catered for, and this is an occasion where
conditional compilation will probably be required (see \helpref{wxIcon}{wxicon} for
an example).
A single cursor object may be used in many windows (any subwindow type).
The wxWindows convention is to set the cursor for a window, as in X,
rather than to set it globally as in MS Windows, although a
global \helpref{::wxSetCursor}{wxsetcursor} is also available for MS Windows use.
\wxheading{Derived from}
\helpref{wxBitmap}{wxbitmap}\\
\helpref{wxGDIObject}{wxgdiobject}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/cursor.h>
\wxheading{Predefined objects}
Objects:
{\bf wxNullCursor}
Pointers:
{\bf wxSTANDARD\_CURSOR\\
wxHOURGLASS\_CURSOR\\
wxCROSS\_CURSOR}
\wxheading{See also}
\helpref{wxBitmap}{wxbitmap}, \helpref{wxIcon}{wxicon}, \helpref{wxWindow::SetCursor}{wxwindowsetcursor},\rtfsp
\helpref{::wxSetCursor}{wxsetcursor}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxCursor::wxCursor}\label{wxcursorconstr}
\func{}{wxCursor}{\void}
Default constructor.
\func{}{wxCursor}{\param{const char}{ bits[]}, \param{int }{width},
\param{int }{ height}, \param{int }{hotSpotX=-1}, \param{int }{hotSpotY=-1}, \param{const char }{maskBits[]=NULL}}
Constructs a cursor by passing an array of bits (Motif and Xt only). {\it maskBits} is used only under Motif.
If either {\it hotSpotX} or {\it hotSpotY} is -1, the hotspot will be the centre of the cursor image (Motif only).
\func{}{wxCursor}{\param{const wxString\& }{cursorName}, \param{long }{type}, \param{int }{hotSpotX=0}, \param{int }{hotSpotY=0}}
Constructs a cursor by passing a string resource name or filename.
On MacOS when specifying a string resource name, first the color cursors 'crsr' and then the black/white cursors 'CURS' in the resource chain are scanned through.
{\it hotSpotX} and {\it hotSpotY} are currently only used under Windows when loading from an
icon file, to specify the cursor hotspot relative to the top left of the image.
\func{}{wxCursor}{\param{int}{ cursorId}}
Constructs a cursor using a cursor identifier.
\func{}{wxCursor}{\param{const wxImage\&}{ image}}
Constructs a cursor from a wxImage. The cursor is monochrome, colors with the RGB elements all greater
than 127 will be foreground, colors less than this background. The mask (if any) will be used as transparent.
In MSW the foreground will be white and the background black. The cursor is resized to 32x32
In GTK, the two most frequent colors will be used for foreground and background. The cursor will be displayed
at the size of the image.
On MacOS the cursor is resized to 16x16 and currently only shown as black/white (mask respected).
\func{}{wxCursor}{\param{const wxCursor\&}{ cursor}}
Copy constructor. This uses reference counting so is a cheap operation.
\wxheading{Parameters}
\docparam{bits}{An array of bits.}
\docparam{maskBits}{Bits for a mask bitmap.}
\docparam{width}{Cursor width.}
\docparam{height}{Cursor height.}
\docparam{hotSpotX}{Hotspot x coordinate.}
\docparam{hotSpotY}{Hotspot y coordinate.}
\docparam{type}{Icon type to load. Under Motif, {\it type} defaults to {\bf wxBITMAP\_TYPE\_XBM}. Under Windows,
it defaults to {\bf wxBITMAP\_TYPE\_CUR\_RESOURCE}. Under MacOS, it defaults to {\bf wxBITMAP\_TYPE\_MACCURSOR\_RESOURCE}.
Under X, the permitted cursor types are:
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\windowstyle{wxBITMAP\_TYPE\_XBM}}{Load an X bitmap file.}
\end{twocollist}
Under Windows, the permitted types are:
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\windowstyle{wxBITMAP\_TYPE\_CUR}}{Load a cursor from a .cur cursor file (only if USE\_RESOURCE\_LOADING\_IN\_MSW
is enabled in setup.h).}
\twocolitem{\windowstyle{wxBITMAP\_TYPE\_CUR\_RESOURCE}}{Load a Windows resource (as specified in the .rc file).}
\twocolitem{\windowstyle{wxBITMAP\_TYPE\_ICO}}{Load a cursor from a .ico icon file (only if USE\_RESOURCE\_LOADING\_IN\_MSW
is enabled in setup.h). Specify {\it hotSpotX} and {\it hotSpotY}.}
\end{twocollist}}
\docparam{cursorId}{A stock cursor identifier. May be one of:
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{{\bf wxCURSOR\_ARROW}}{A standard arrow cursor.}
\twocolitem{{\bf wxCURSOR\_RIGHT\_ARROW}}{A standard arrow cursor
pointing to the right.}
\twocolitem{{\bf wxCURSOR\_BLANK}}{Transparent cursor.}
\twocolitem{{\bf wxCURSOR\_BULLSEYE}}{Bullseye cursor.}
\twocolitem{{\bf wxCURSOR\_CHAR}}{Rectangular character cursor.}
\twocolitem{{\bf wxCURSOR\_CROSS}}{A cross cursor.}
\twocolitem{{\bf wxCURSOR\_HAND}}{A hand cursor.}
\twocolitem{{\bf wxCURSOR\_IBEAM}}{An I-beam cursor (vertical line).}
\twocolitem{{\bf wxCURSOR\_LEFT\_BUTTON}}{Represents a mouse with the left button depressed.}
\twocolitem{{\bf wxCURSOR\_MAGNIFIER}}{A magnifier icon.}
\twocolitem{{\bf wxCURSOR\_MIDDLE\_BUTTON}}{Represents a mouse with the middle button depressed.}
\twocolitem{{\bf wxCURSOR\_NO\_ENTRY}}{A no-entry sign cursor.}
\twocolitem{{\bf wxCURSOR\_PAINT\_BRUSH}}{A paintbrush cursor.}
\twocolitem{{\bf wxCURSOR\_PENCIL}}{A pencil cursor.}
\twocolitem{{\bf wxCURSOR\_POINT\_LEFT}}{A cursor that points left.}
\twocolitem{{\bf wxCURSOR\_POINT\_RIGHT}}{A cursor that points right.}
\twocolitem{{\bf wxCURSOR\_QUESTION\_ARROW}}{An arrow and question mark.}
\twocolitem{{\bf wxCURSOR\_RIGHT\_BUTTON}}{Represents a mouse with the right button depressed.}
\twocolitem{{\bf wxCURSOR\_SIZENESW}}{A sizing cursor pointing NE-SW.}
\twocolitem{{\bf wxCURSOR\_SIZENS}}{A sizing cursor pointing N-S.}
\twocolitem{{\bf wxCURSOR\_SIZENWSE}}{A sizing cursor pointing NW-SE.}
\twocolitem{{\bf wxCURSOR\_SIZEWE}}{A sizing cursor pointing W-E.}
\twocolitem{{\bf wxCURSOR\_SIZING}}{A general sizing cursor.}
\twocolitem{{\bf wxCURSOR\_SPRAYCAN}}{A spraycan cursor.}
\twocolitem{{\bf wxCURSOR\_WAIT}}{A wait cursor.}
\twocolitem{{\bf wxCURSOR\_WATCH}}{A watch cursor.}
\twocolitem{{\bf wxCURSOR\_ARROWWAIT}}{A cursor with both an arrow and
an hourglass, (windows.)}
\end{twocollist}\twocolwidtha{5cm}
Note that not all cursors are available on all platforms.}
\docparam{cursor}{Pointer or reference to a cursor to copy.}
\pythonnote{Constructors supported by wxPython are:\par
\indented{2cm}{\begin{twocollist}
\twocolitem{{\bf wxCursor(name, flags, hotSpotX=0,
hotSpotY=0)}}{Constructs a cursor from a filename}
\twocolitem{{\bf wxStockCursor(id)}}{Constructs a stock cursor }
\end{twocollist}}
}
\perlnote{Constructors supported by wxPerl are:\par
\begin{itemize}
\item{Wx::Cursor->new( name, type, hotSpotX = 0, hotSpotY = 0 )}
\item{Wx::Cursor->new( id )}
\item{Wx::Cursor->new( image )}
\item{Wx::Cursor->newData( bits, width, height, hotSpotX = -1, hotSpotY = -1, maskBits = 0 )}
\end{itemize}
}
\membersection{wxCursor::\destruct{wxCursor}}
\func{}{\destruct{wxCursor}}{\void}
Destroys the cursor. A cursor can be reused for more
than one window, and does not get destroyed when the window is
destroyed. wxWindows destroys all cursors on application exit, although
it is best to clean them up explicitly.
\membersection{wxCursor::Ok}\label{wxcursorok}
\constfunc{bool}{Ok}{\void}
Returns TRUE if cursor data is present.
\membersection{wxCursor::operator $=$}\label{wxcursorassignment}
\func{wxCursor\&}{operator $=$}{\param{const wxCursor\& }{cursor}}
Assignment operator, using reference counting. Returns a reference
to `this'.
\membersection{wxCursor::operator $==$}\label{wxcursorequals}
\func{bool}{operator $==$}{\param{const wxCursor\& }{cursor}}
Equality operator. Two cursors are equal if they contain pointers
to the same underlying cursor data. It does not compare each attribute,
so two independently-created cursors using the same parameters will
fail the test.
\membersection{wxCursor::operator $!=$}\label{wxcursornotequals}
\func{bool}{operator $!=$}{\param{const wxCursor\& }{cursor}}
Inequality operator. Two cursors are not equal if they contain pointers
to different underlying cursor data. It does not compare each attribute.

107
docs/latex/wx/custdobj.tex Normal file
View File

@@ -0,0 +1,107 @@
\section{\class{wxCustomDataObject}}\label{wxcustomdataobject}
wxCustomDataObject is a specialization of
\helpref{wxDataObjectSimple}{wxdataobjectsimple} for some
application-specific data in arbitrary (either custom or one of the standard
ones). The only restriction is that it is supposed that this data can be
copied bitwise (i.e. with {\tt memcpy()}), so it would be a bad idea to make
it contain a C++ object (though C struct is fine).
By default, wxCustomDataObject stores the data inside in a buffer. To put the
data into the buffer you may use either
\helpref{SetData}{wxcustomdataobjectsetdata} or
\helpref{TakeData}{wxcustomdataobjecttakedata} depending on whether you want
the object to make a copy of data or not.
If you already store the data in another place, it may be more convenient and
efficient to provide the data on-demand which is possible too if you override
the virtual functions mentioned below.
\wxheading{Virtual functions to override}
This class may be used as is, but if you don't want store the data inside the
object but provide it on demand instead, you should override
\helpref{GetSize}{wxcustomdataobjectgetsize},
\helpref{GetData}{wxcustomdataobjectgetdata} and
\helpref{SetData}{wxcustomdataobjectsetdata} (or may be only the first two or
only the last one if you only allow reading/writing the data)
\wxheading{Derived from}
\helpref{wxDataObjectSimple}{wxdataobjectsimple}\\
\helpref{wxDataObject}{wxdataobject}
\wxheading{Include files}
<wx/dataobj.h>
\wxheading{See also}
\helpref{wxDataObject}{wxdataobject}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxCustomDataObject::wxCustomDataObject}\label{wxcustomdataobjectwxcustomdataobject}
\func{}{wxCustomDataObject}{\param{const wxDataFormat\& }{format = wxFormatInvalid}}
The constructor accepts a {\it format} argument which specifies the (single)
format supported by this object. If it isn't set here,
\helpref{SetFormat}{wxdataobjectsimplesetformat} should be used.
\membersection{wxCustomDataObject::\destruct{wxCustomDataObject}}\label{wxcustomdataobjectdtor}
\func{}{\destruct{wxCustomDataObject}}{\void}
The destructor will free the data hold by the object. Notice that although it
calls a virtual \helpref{Free()}{wxcustomdataobjectfree} function, the base
class version will always be called (C++ doesn't allow calling virtual
functions from constructors or destructors), so if you override {\tt Free()}, you
should override the destructor in your class as well (which would probably
just call the derived class' version of {\tt Free()}).
\membersection{wxCustomDataObject::Alloc}\label{wxcustomdataobjectalloc}
\func{virtual void *}{Alloc}{\param{size\_t }{size}}
This function is called to allocate {\it size} bytes of memory from SetData().
The default version just uses the operator new.
\membersection{wxCustomDataObject::Free}\label{wxcustomdataobjectfree}
\pythonnote{This method expects a string in wxPython. You can pass
nearly any object by pickling it first.}
\func{virtual void}{Free}{\void}
This function is called when the data is freed, you may override it to anything
you want (or may be nothing at all). The default version calls operator
delete$[]$ on the data.
\membersection{wxCustomDataObject::GetSize}\label{wxcustomdataobjectgetsize}
\constfunc{virtual size\_t}{GetSize}{\void}
Returns the data size in bytes.
\membersection{wxCustomDataObject::GetData}\label{wxcustomdataobjectgetdata}
\constfunc{virtual void *}{GetData}{\void}
Returns a pointer to the data.
\membersection{wxCustomDataObject::SetData}\label{wxcustomdataobjectsetdata}
\func{virtual void}{SetData}{
\param{size\_t }{size}, \param{const void }{*data}}
Set the data. The data object will make an internal copy.
\membersection{wxCustomDataObject::TakeData}\label{wxcustomdataobjecttakedata}
\func{virtual void}{TakeData}{
\param{size\_t }{size}, \param{const void }{*data}}
Like \helpref{SetData}{wxcustomdataobjectsetdata}, but doesn't copy the data -
instead the object takes ownership of the pointer.

283
docs/latex/wx/database.tex Normal file
View File

@@ -0,0 +1,283 @@
\section{\class{wxDatabase}}\label{wxdatabase}
Every database object represents an ODBC connection.
The connection may be closed and reopened.
\wxheading{Derived from}
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/odbc.h>
\wxheading{See also}
\overview{wxDatabase overview}{wxdatabaseoverview}, \helpref{wxRecordSet}{wxrecordset}
A much more robust and feature-rich set of ODBC classes is now
available and recommended for use in place of the wxDatabase class.
See details of these classes in:
\helpref{wxDb}{wxdb}, \helpref{wxDbTable}{wxdbtable}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxDatabase::wxDatabase}
\func{}{wxDatabase}{\void}
Constructor. The constructor of the first wxDatabase instance of an
application initializes the ODBC manager.
\membersection{wxDatabase::\destruct{wxDatabase}}
\func{}{\destruct{wxDatabase}}{\void}
Destructor. Resets and destroys any associated wxRecordSet instances.
The destructor of the last wxDatabase instance will deinitialize
the ODBC manager.
\membersection{wxDatabase::BeginTrans}
\func{bool}{BeginTrans}{\void}
Not implemented.
\membersection{wxDatabase::Cancel}
\func{void}{Cancel}{\void}
Not implemented.
\membersection{wxDatabase::CanTransact}
\func{bool}{CanTransact}{\void}
Not implemented.
\membersection{wxDatabase::CanUpdate}
\func{bool}{CanUpdate}{\void}
Not implemented.
\membersection{wxDatabase::Close}
\func{bool}{Close}{\void}
Resets the statement handles of any associated wxRecordSet objects,
and disconnects from the current data source.
\membersection{wxDatabase::CommitTrans}
\func{bool}{CommitTrans}{\void}
Commits previous transactions. Not implemented.
\membersection{wxDatabase::ErrorOccured}
\func{bool}{ErrorOccured}{\void}
Returns TRUE if the last action caused an error.
\membersection{wxDatabase::ErrorSnapshot}
\func{void}{ErrorSnapshot}{\param{HSTMT}{ statement = SQL\_NULL\_HSTMT}}
This function will be called whenever an ODBC error occured. It stores the
error related information returned by ODBC. If a statement handle of the
concerning ODBC action is available it should be passed to the function.
\membersection{wxDatabase::GetDatabaseName}
\func{wxString}{GetDatabaseName}{\void}
Returns the name of the database associated with the current connection.
\membersection{wxDatabase::GetDataSource}
\func{wxString}{GetDataSource}{\void}
Returns the name of the connected data source.
\membersection{wxDatabase::GetErrorClass}
\func{wxString}{GetErrorClass}{\void}
Returns the error class of the last error. The error class consists of
five characters where the first two characters contain the class
and the other three characters contain the subclass of the ODBC error.
See ODBC documentation for further details.
\membersection{wxDatabase::GetErrorCode}
\func{wxRETCODE}{GetErrorCode}{\void}
Returns the error code of the last ODBC function call. This will be one of:
\begin{twocollist}\itemsep=0pt
\twocolitem{SQL\_ERROR}{General error.}
\twocolitem{SQL\_INVALID\_HANDLE}{An invalid handle was passed to an ODBC function.}
\twocolitem{SQL\_NEED\_DATA}{ODBC expected some data.}
\twocolitem{SQL\_NO\_DATA\_FOUND}{No data was found by this ODBC call.}
\twocolitem{SQL\_SUCCESS}{The call was successful.}
\twocolitem{SQL\_SUCCESS\_WITH\_INFO}{The call was successful, but further information can be
obtained from the ODBC manager.}
\end{twocollist}
\membersection{wxDatabase::GetErrorMessage}
\func{wxString}{GetErrorMessage}{\void}
Returns the last error message returned by the ODBC manager.
\membersection{wxDatabase::GetErrorNumber}
\func{long}{GetErrorNumber}{\void}
Returns the last native error. A native error is an ODBC driver dependent
error number.
\membersection{wxDatabase::GetHDBC}
\func{HDBC}{GetHDBC}{\void}
Returns the current ODBC database handle.
\membersection{wxDatabase::GetHENV}
\func{HENV}{GetHENV}{\void}
Returns the ODBC environment handle.
\membersection{wxDatabase::GetInfo}
\func{bool}{GetInfo}{\param{long}{ infoType}, \param{long *}{buf}}
\func{bool}{GetInfo}{\param{long}{ infoType}, \param{const wxString\& }{buf}, \param{int}{ bufSize=-1}}
Returns requested information. The return value is TRUE if successful, FALSE otherwise.
{\it infoType} is an ODBC identifier specifying the type of information to be returned.
{\it buf} is a character or long integer pointer to storage which must be allocated by the
application, and which will contain the information if the function is successful.
{\it bufSize} is the size of the character buffer. A value of -1 indicates that the size
should be computed by the GetInfo function.
\membersection{wxDatabase::GetPassword}
\func{wxString}{GetPassword}{\void}
Returns the password of the current user.
\membersection{wxDatabase::GetUsername}
\func{wxString}{GetUsername}{\void}
Returns the current username.
\membersection{wxDatabase::GetODBCVersionFloat}
\func{float}{GetODBCVersionFloat}{\param{bool}{ implementation=TRUE}}
Returns the version of ODBC in floating point format, e.g. 2.50.
{\it implementation} should be TRUE to get the DLL version, or FALSE to get the
version defined in the {\tt sql.h} header file.
This function can return the value 0.0 if the header version number is not defined (for early
versions of ODBC).
\membersection{wxDatabase::GetODBCVersionString}
\func{wxString}{GetODBCVersionString}{\param{bool}{ implementation=TRUE}}
Returns the version of ODBC in string format, e.g. ``02.50".
{\it implementation} should be TRUE to get the DLL version, or FALSE to get the
version defined in the {\tt sql.h} header file.
This function can return the value ``00.00" if the header version number is not defined (for early
versions of ODBC).
\membersection{wxDatabase::InWaitForDataSource}
\func{bool}{InWaitForDataSource}{\void}
Not implemented.
\membersection{wxDatabase::IsOpen}
\func{bool}{IsOpen}{\void}
Returns TRUE if a connection is open.
\membersection{wxDatabase::Open}\label{wxdatabaseopen}
\func{bool}{Open}{\param{const wxString\& }{datasource}, \param{bool}{ exclusive = FALSE}, \param{bool }{readOnly = TRUE},
\param{const wxString\& }{username = ``ODBC"}, \param{const wxString\& }{password = ``"}}
Connect to a data source. {\it datasource} contains the name of the ODBC data
source. The parameters exclusive and readOnly are not used.
\membersection{wxDatabase::OnSetOptions}
\func{void}{OnSetOptions}{\param{wxRecordSet *}{recordSet}}
Not implemented.
\membersection{wxDatabase::OnWaitForDataSource}
\func{void}{OnWaitForDataSource}{\param{bool}{ stillExecuting}}
Not implemented.
\membersection{wxDatabase::RollbackTrans}
\func{bool}{RollbackTrans}{\void}
Sends a rollback to the ODBC driver. Not implemented.
\membersection{wxDatabase::SetDataSource}
\func{void}{SetDataSource}{\param{const wxString\& }{s}}
Sets the name of the data source. Not implemented.
\membersection{wxDatabase::SetLoginTimeout}
\func{void}{SetLoginTimeout}{\param{long}{ seconds}}
Sets the time to wait for an user login. Not implemented.
\membersection{wxDatabase::SetPassword}
\func{void}{SetPassword}{\param{const wxString\& }{s}}
Sets the password of the current user. Not implemented.
\membersection{wxDatabase::SetSynchronousMode}
\func{void}{SetSynchronousMode}{\param{bool }{synchronous}}
Toggles between synchronous and asynchronous mode. Currently only synchronous
mode is supported, so this function has no effect.
\membersection{wxDatabase::SetQueryTimeout}
\func{void}{SetQueryTimeout}{\param{long}{ seconds}}
Sets the time to wait for a response to a query. Not implemented.
\membersection{wxDatabase::SetUsername}
\func{void}{SetUsername}{\param{const wxString\& }{s}}
Sets the name of the current user. Not implemented.

122
docs/latex/wx/dataform.tex Normal file
View File

@@ -0,0 +1,122 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Name: dataform.tex
%% Purpose: wxDataFormat documentation
%% Author: Vadim Zeitlin
%% Modified by:
%% Created: 03.11.99
%% RCS-ID: $Id$
%% Copyright: (c) Vadim Zeitlin
%% License: wxWindows license
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{\class{wxDataFormat}}\label{wxdataformat}
A wxDataFormat is an encapsulation of a platform-specific format handle which
is used by the system for the clipboard and drag and drop operations. The
applications are usually only interested in, for example, pasting data from the
clipboard only if the data is in a format the program understands and a data
format is something which uniquely identifies this format.
On the system level, a data format is usually just a number ({\tt CLIPFORMAT}
under Windows or {\tt Atom} under X11, for example) and the standard formats
are, indeed, just numbers which can be implicitly converted to wxDataFormat.
The standard formats are:
\begin{twocollist}\itemsep=1cm
\twocolitem{wxDF\_INVALID}{An invalid format - used as default argument for
functions taking a wxDataFormat argument sometimes}
\twocolitem{wxDF\_TEXT}{Text format (wxString)}
\twocolitem{wxDF\_BITMAP}{A bitmap (wxBitmap)}
\twocolitem{wxDF\_METAFILE}{A metafile (wxMetafile, Windows only)}
\twocolitem{wxDF\_FILENAME}{A list of filenames}
\twocolitem{wxDF\_HTML}{An HTML string. This is only valid when passed to wxSetClipboardData
when compiled with Visual C++ in non-Unicode mode}
\end{twocollist}
As mentioned above, these standard formats may be passed to any function taking
wxDataFormat argument because wxDataFormat has an implicit conversion from
them (or, to be precise from the type {\tt wxDataFormat::NativeFormat} which is
the type used by the underlying platform for data formats).
Aside the standard formats, the application may also use custom formats which
are identified by their names (strings) and not numeric identifiers. Although
internally custom format must be created (or {\it registered}) first, you
shouldn't care about it because it is done automatically the first time the
wxDataFormat object corresponding to a given format name is created. The only
implication of this is that you should avoid having global wxDataFormat objects
with non-default constructor because their constructors are executed before the
program has time to perform all necessary initialisations and so an attempt to
do clipboard format registration at this time will usually lead to a crash!
\wxheading{Virtual functions to override}
None
\wxheading{Derived from}
None
\wxheading{See also}
\helpref{Clipboard and drag and drop overview}{wxdndoverview},
\helpref{DnD sample}{samplednd},
\helpref{wxDataObject}{wxdataobject}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxDataFormat::wxDataFormat}\label{wxdataformatwxdataformatdef}
\func{}{wxDataFormat}{\param{NativeFormat}{ format = wxDF\_INVALID}}
Constructs a data format object for one of the standard data formats or an
empty data object (use \helpref{SetType}{wxdataformatsettype} or
\helpref{SetId}{wxdataformatsetid} later in this case)
\perlnote{In wxPerl this function is named {\tt newNative}.}
\membersection{wxDataFormat::wxDataFormat}\label{wxdataformatwxdataformat}
\func{}{wxDataFormat}{\param{const wxChar }{*format}}
Constructs a data format object for a custom format identified by its name
{\it format}.
\perlnote{In wxPerl this function is named {\tt newUser}.}
\membersection{wxDataFormat::operator $==$}\label{wxdataformatoperatoreq}
\constfunc{bool}{operator $==$}{\param{const wxDataFormat\&}{ format}}
Returns TRUE if the formats are equal.
\membersection{wxDataFormat::operator $!=$}\label{wxdataformatoperatorneq}
\constfunc{bool}{operator $!=$}{\param{const wxDataFormat\&}{ format}}
Returns TRUE if the formats are different.
\membersection{wxDataFormat::GetId}\label{wxdataformatgetid}
\constfunc{wxString}{GetId}{\void}
Returns the name of a custom format (this function will fail for a standard
format).
\membersection{wxDataFormat::GetType}\label{wxdataformatgettype}
\constfunc{NativeFormat}{GetType}{\void}
Returns the platform-specific number identifying the format.
\membersection{wxDataFormat::SetId}\label{wxdataformatsetid}
\func{void}{SetId}{\param{const wxChar }{*format}}
Sets the format to be the custom format identified by the given name.
\membersection{wxDataFormat::SetType}\label{wxdataformatsettype}
\func{void}{SetType}{\param{NativeFormat}{ format}}
Sets the format to the given value, which should be one of wxDF\_XXX constants.

200
docs/latex/wx/dataobj.tex Normal file
View File

@@ -0,0 +1,200 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Name: dataobj.tex
%% Purpose: wxDataObject documentation
%% Author: Vadim Zeitlin
%% Modified by:
%% Created: 18.10.99
%% RCS-ID: $Id$
%% Copyright: (c) wxWindows team
%% License: wxWindows license
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{\class{wxDataObject}}\label{wxdataobject}
A wxDataObject represents data that can be copied to or from the clipboard, or
dragged and dropped. The important thing about wxDataObject is that this is a
'smart' piece of data unlike usual 'dumb' data containers such as memory
buffers or files. Being 'smart' here means that the data object itself should
know what data formats it supports and how to render itself in each of
supported formats.
A supported format, incidentally, is exactly the format in which the data can
be requested from a data object or from which the data object may be set. In
the general case, an object may support different formats on 'input' and
'output', i.e. it may be able to render itself in a given format but not be
created from data on this format or vice versa. wxDataObject defines an
enumeration type
\begin{verbatim}
enum Direction
{
Get = 0x01, // format is supported by GetDataHere()
Set = 0x02 // format is supported by SetData()
};
\end{verbatim}
which allows to distinguish between them. See
\helpref{wxDataFormat}{wxdataformat} documentation for more about formats.
Not surprisingly, being 'smart' comes at a price of added complexity. This is
reasonable for the situations when you really need to support multiple formats,
but may be annoying if you only want to do something simple like cut and paste
text.
To provide a solution for both cases, wxWindows has two predefined classes
which derive from wxDataObject: \helpref{wxDataObjectSimple}{wxdataobjectsimple} and
\helpref{wxDataObjectComposite}{wxdataobjectcomposite}.
\helpref{wxDataObjectSimple}{wxdataobjectsimple} is
the simplest wxDataObject possible and only holds data in a single format (such
as HTML or text) and \helpref{wxDataObjectComposite}{wxdataobjectcomposite} is
the simplest way to implement wxDataObject which does support multiple formats
because it achievs this by simply holding several wxDataObjectSimple objects.
So, you have several solutions when you need a wxDataObject class (and you need
one as soon as you want to transfer data via the clipboard or drag and drop):
\begin{twocollist}\itemsep=1cm
\twocolitem{{\bf 1. Use one of the built-in classes}}{You may use wxTextDataObject,
wxBitmapDataObject or wxFileDataObject in the simplest cases when you only need
to support one format and your data is either text, bitmap or list of files.}
\twocolitem{{\bf 2. Use wxDataObjectSimple}}{Deriving from wxDataObjectSimple is the simplest
solution for custom data - you will only support one format and so probably
won't be able to communicate with other programs, but data transfer will work
in your program (or between different copies of it).}
\twocolitem{{\bf 3. Use wxDataObjectComposite}}{This is a simple but powerful
solution which allows you to support any number of formats (either
standard or custom if you combine it with the previous solution).}
\twocolitem{{\bf 4. Use wxDataObject directly}}{This is the solution for
maximal flexibility and efficiency, but it is also is the most difficult to
implement.}
\end{twocollist}
Please note that the easiest way to use drag and drop and the clipboard with
multiple formats is by using wxDataObjectComposite, but it is not the most
efficient one as each wxDataObjectSimple would contain the whole data in its
respective formats. Now imagine that you want to paste 200 pages of text in
your proprietary format, as well as Word, RTF, HTML, Unicode and plain text to
the clipboard and even today's computers are in trouble. For this case, you
will have to derive from wxDataObject directly and make it enumerate its
formats and provide the data in the requested format on demand.
Note that neither the GTK data transfer mechanisms for the clipboard and
drag and drop, nor the OLE data transfer copy any data until another application
actually requests the data. This is in contrast to the 'feel' offered to the
user of a program who would normally think that the data resides in the
clipboard after having pressed 'Copy' - in reality it is only declared to be
available.
There are several predefined data object classes derived from
wxDataObjectSimple: \helpref{wxFileDataObject}{wxfiledataobject},
\helpref{wxTextDataObject}{wxtextdataobject} and
\helpref{wxBitmapDataObject}{wxbitmapdataobject} which can be used without
change.
You may also derive your own data object classes from
\helpref{wxCustomDataObject}{wxcustomdataobject} for user-defined types. The
format of user-defined data is given as mime-type string literal, such as
"application/word" or "image/png". These strings are used as they are under
Unix (so far only GTK) to identify a format and are translated into their
Windows equivalent under Win32 (using the OLE IDataObject for data exchange to
and from the clipboard and for drag and drop). Note that the format string
translation under Windows is not yet finished.
\pythonnote{At this time this class is not directly usable from wxPython.
Derive a class from \helpref{wxPyDataObjectSimple}{wxdataobjectsimple}
instead.}
\perlnote{This class is not currently usable from wxPerl; you may
use \helpref{Wx::PlDataObjectSimple}{wxdataobjectsimple} instead.}
\wxheading{Virtual functions to override}
Each class derived directly from wxDataObject must override and implement all
of its functions which are pure virtual in the base class.
The data objects which only render their data or only set it (i.e. work in
only one direction), should return 0 from
\helpref{GetFormatCount}{wxdataobjectgetformatcount}.
\wxheading{Derived from}
None
\wxheading{Include files}
<wx/dataobj.h>
\wxheading{See also}
\helpref{Clipboard and drag and drop overview}{wxdndoverview},
\helpref{DnD sample}{samplednd},
\helpref{wxFileDataObject}{wxfiledataobject},
\helpref{wxTextDataObject}{wxtextdataobject},
\helpref{wxBitmapDataObject}{wxbitmapdataobject},
\helpref{wxCustomDataObject}{wxcustomdataobject},
\helpref{wxDropTarget}{wxdroptarget},
\helpref{wxDropSource}{wxdropsource},
\helpref{wxTextDropTarget}{wxtextdroptarget},
\helpref{wxFileDropTarget}{wxfiledroptarget}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxDataObject::wxDataObject}\label{wxdataobjectwxdataobject}
\func{}{wxDataObject}{\void}
Constructor.
\membersection{wxDataObject::\destruct{wxDataObject}}\label{wxdataobjectdtor}
\func{}{\destruct{wxDataObject}}{\void}
Destructor.
\membersection{wxDataObject::GetAllFormats}\label{wxdataobjectgetallformats}
\constfunc{virtual void}{GetAllFormats}{ \param{wxDataFormat *}{formats}, \param{Direction}{ dir = Get}}
Copy all supported formats in the given direction to the array pointed to by
{\it formats}. There is enough space for GetFormatCount(dir) formats in it.
\perlnote{In wxPerl this method only takes the {\tt dir} parameter.
In scalar context it returns the first format,
in list context it returns a list containing all the supported formats.}
\membersection{wxDataObject::GetDataHere}\label{wxdataobjectgetdatahere}
\constfunc{virtual bool}{GetDataHere}{\param{const wxDataFormat\&}{ format}, \param{void }{*buf} }
The method will write the data of the format {\it format} in the buffer {\it
buf} and return TRUE on success, FALSE on failure.
\membersection{wxDataObject::GetDataSize}\label{wxdataobjectgetdatasize}
\constfunc{virtual size\_t}{GetDataSize}{\param{const wxDataFormat\&}{ format} }
Returns the data size of the given format {\it format}.
\membersection{wxDataObject::GetFormatCount}\label{wxdataobjectgetformatcount}
\constfunc{virtual size\_t}{GetFormatCount}{\param{Direction}{ dir = Get}}
Returns the number of available formats for rendering or setting the data.
\membersection{wxDataObject::GetPreferredFormat}\label{wxdataobjectgetpreferredformat}
\constfunc{virtual wxDataFormat}{GetPreferredFormat}{\param{Direction}{ dir = Get}}
Returns the preferred format for either rendering the data (if {\it dir} is {\tt Get},
its default value) or for setting it. Usually this will be the
native format of the wxDataObject.
\membersection{wxDataObject::SetData}\label{wxdataobjectsetdata}
\func{virtual bool}{SetData}{ \param{const wxDataFormat\&}{ format}, \param{size\_t}{ len}, \param{const void }{*buf} }
Set the data in the format {\it format} of the length {\it len} provided in the
buffer {\it buf}.
Returns TRUE on success, FALSE on failure.

356
docs/latex/wx/date.tex Normal file
View File

@@ -0,0 +1,356 @@
\section{\class{wxDate}}\label{wxdate}
A class for manipulating dates.
{\bf NOTE:} this class is retained only for compatibility,
and has been replaced by \helpref{wxDateTime}{wxdatetime}. wxDate
may be withdrawn in future versions of wxWindows.
\wxheading{Derived from}
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/date.h>
\wxheading{See also}
\helpref{wxTime}{wxtime}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxDate::wxDate}\label{wxdateconstr}
\func{}{wxDate}{\void}
Default constructor.
\func{}{wxDate}{\param{const wxDate\&}{ date}}
Copy constructor.
\func{}{wxDate}{\param{int}{ month}, \param{int}{ day}, \param{int}{ year}}
Constructor taking month, day and year.
\func{}{wxDate}{\param{long}{ julian}}
Constructor taking an integer representing the Julian date. This is the number of days since
1st January 4713 B.C., so to convert from the number of days since 1st January 1901,
construct a date for 1/1/1901, and add the number of days.
\func{}{wxDate}{\param{const wxString\& }{dateString}}
Constructor taking a string representing a date. This must be either the string TODAY, or of the
form {\tt MM/DD/YYYY} or {\tt MM-DD-YYYY}. For example:
\begin{verbatim}
wxDate date("11/26/1966");
\end{verbatim}
\wxheading{Parameters}
\docparam{date}{Date to copy.}
\docparam{month}{Month: a number between 1 and 12.}
\docparam{day}{Day: a number between 1 and 31.}
\docparam{year}{Year, such as 1995, 2005.}
\membersection{wxDate::\destruct{wxDate}}
\func{void}{\destruct{wxDate}}{\void}
Destructor.
\membersection{wxDate::AddMonths}\label{wxdateaddmonths}
\func{wxDate\&}{AddMonths}{\param{int}{ months=1}}
Adds the given number of months to the date, returning a reference to `this'.
\membersection{wxDate::AddWeeks}\label{wxdateaddweeks}
\func{wxDate\&}{AddWeeks}{\param{int}{ weeks=1}}
Adds the given number of weeks to the date, returning a reference to `this'.
\membersection{wxDate::AddYears}\label{wxdateaddyears}
\func{wxDate\&}{AddYears}{\param{int}{ years=1}}
Adds the given number of months to the date, returning a reference to `this'.
\membersection{wxDate::FormatDate}\label{wxdateformatdate}
\constfunc{wxString}{FormatDate}{\param{int}{ type=-1}}
Formats the date according to {\it type} if not -1, or according
to the current display type if -1.
\wxheading{Parameters}
\docparam{type}{-1 or one of:
\begin{twocollist}\itemsep=0pt
\twocolitem{wxDAY}{Format day only.}
\twocolitem{wxMONTH}{Format month only.}
\twocolitem{wxMDY}{Format MONTH, DAY, YEAR.}
\twocolitem{wxFULL}{Format day, month and year in US style: DAYOFWEEK, MONTH, DAY, YEAR.}
\twocolitem{wxEUROPEAN}{Format day, month and year in European style: DAY, MONTH, YEAR.}
\end{twocollist}}
\membersection{wxDate::GetDay}\label{wxdategetday}
\constfunc{int}{GetDay}{\void}
Returns the numeric day (in the range 1 to 31).
\membersection{wxDate::GetDayOfWeek}\label{wxdategetdayofweek}
\constfunc{int}{GetDayOfWeek}{\void}
Returns the integer day of the week (in the range 1 to 7).
\membersection{wxDate::GetDayOfWeekName}\label{wxdategetdayofweekname}
\constfunc{wxString}{GetDayOfWeekName}{\void}
Returns the name of the day of week.
\membersection{wxDate::GetDayOfYear}\label{wxdategetdayofyear}
\constfunc{long}{GetDayOfYear}{\void}
Returns the day of the year (from 1 to 365).
\membersection{wxDate::GetDaysInMonth}\label{wxdategetdaysinmonth}
\constfunc{int}{GetDaysInMonth}{\void}
Returns the number of days in the month (in the range 1 to 31).
\membersection{wxDate::GetFirstDayOfMonth}\label{wxdategetfirstdayofmonth}
\constfunc{int}{GetFirstDayOfMonth}{\void}
Returns the day of week that is first in the month (in the range 1 to 7).
\membersection{wxDate::GetJulianDate}\label{wxdategetjuliandate}
\constfunc{long}{GetJulianDate}{\void}
Returns the Julian date.
\membersection{wxDate::GetMonth}\label{wxdategetmonth}
\constfunc{int}{GetMonth}{\void}
Returns the month number (in the range 1 to 12).
\membersection{wxDate::GetMonthEnd}
\func{wxDate}{GetMonthEnd}{\void}
Returns the date representing the last day of the month.
\membersection{wxDate::GetMonthName}\label{wxdategetmonthname}
\constfunc{wxString}{GetMonthName}{\void}
Returns the name of the month. Do not delete the returned storage.
\membersection{wxDate::GetMonthStart}\label{wxdategetmonthstart}
\constfunc{wxDate}{GetMonthStart}{\void}
Returns the date representing the first day of the month.
\membersection{wxDate::GetWeekOfMonth}\label{wxdategetweekofmonth}
\constfunc{int}{GetWeekOfMonth}{\void}
Returns the week of month (in the range 1 to 6).
\membersection{wxDate::GetWeekOfYear}\label{wxdategetweekofyear}
\constfunc{int}{GetWeekOfYear}{\void}
Returns the week of year (in the range 1 to 52).
\membersection{wxDate::GetYear}\label{wxdategetyear}
\constfunc{int}{GetYear}{\void}
Returns the year as an integer (such as `1995').
\membersection{wxDate::GetYearEnd}\label{wxdategetyearend}
\constfunc{wxDate}{GetYearEnd}{\void}
Returns the date representing the last day of the year.
\membersection{wxDate::GetYearStart}\label{wxdategetyearstart}
\constfunc{wxDate}{GetYearStart}{\void}
Returns the date representing the first day of the year.
\membersection{wxDate::IsLeapYear}\label{wxdateisleapyear}
\constfunc{bool}{IsLeapYear}{\void}
Returns TRUE if the year of this date is a leap year.
\membersection{wxDate::Set}\label{wxdateset}
\func{wxDate\&}{Set}{\void}
Sets the date to current system date, returning a reference to `this'.
\func{wxDate\&}{Set}{\param{long}{ julian}}
Sets the date to the given Julian date, returning a reference to `this'.
\func{wxDate\&}{Set}{\param{int}{ month}, \param{int}{ day}, \param{int}{ year}}
Sets the date to the given date, returning a reference to `this'.
{\it month} is a number from 1 to 12.
{\it day} is a number from 1 to 31.
{\it year} is a year, such as 1995, 2005.
\membersection{wxDate::SetFormat}\label{wxdatesetformat}
\func{void}{SetFormat}{\param{int}{ format}}
Sets the current format type.
\wxheading{Parameters}
\docparam{format}{-1 or one of:
\twocolwidtha{5cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{{\bf wxDAY}}{Format day only.}
\twocolitem{{\bf wxMONTH}}{Format month only.}
\twocolitem{{\bf wxMDY}}{Format MONTH, DAY, YEAR.}
\twocolitem{{\bf wxFULL}}{Format day, month and year in US style: DAYOFWEEK, MONTH, DAY, YEAR.}
\twocolitem{{\bf wxEUROPEAN}}{Format day, month and year in European style: DAY, MONTH, YEAR.}
\end{twocollist}}
\membersection{wxDate::SetOption}\label{wxdatesetoption}
\func{int}{SetOption}{\param{int}{ option}, \param{const bool}{ enable=TRUE}}
Enables or disables an option for formatting.
\wxheading{Parameters}
\docparam{option}{May be one of:
\twocolwidtha{5cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{{\bf wxNO\_CENTURY}}{The century is not formatted.}
\twocolitem{{\bf wxDATE\_ABBR}}{Month and day names are abbreviated to 3 characters when formatting.}
\end{twocollist}}
\membersection{wxDate::operator wxString}\label{wxdatewxstring}
\func{}{operator wxString}{\void}
Conversion operator, to convert wxDate to wxString by calling FormatDate.
\membersection{wxDate::operator $+$}\label{wxdateplus}
\func{wxDate}{operator $+$}{\param{long}{ i}}
\func{wxDate}{operator $+$}{\param{int}{ i}}
Adds an integer number of days to the date, returning a date.
\membersection{wxDate::operator $-$}\label{wxdateminus}
\func{wxDate}{operator $-$}{\param{long}{ i}}
\func{wxDate}{operator $-$}{\param{int}{ i}}
Subtracts an integer number of days from the date, returning a date.
\func{long}{operator $-$}{\param{const wxDate\&}{ date}}
Subtracts one date from another, return the number of intervening days.
\membersection{wxDate::operator $+=$}\label{wxdateplusequals}
\func{wxDate\&}{operator $+=$}{\param{long}{ i}}
Postfix operator: adds an integer number of days to the date, returning
a reference to `this' date.
\membersection{wxDate::operator $-=$}\label{wxdateminusequals}
\func{wxDate\&}{operator $-=$}{\param{long}{ i}}
Postfix operator: subtracts an integer number of days from the date, returning
a reference to `this' date.
\membersection{wxDate::operator $++$}\label{wxdateplusplus}
\func{wxDate\&}{operator $++$}{\void}
Increments the date (postfix or prefix).
\membersection{wxDate::operator $--$}\label{wxdateminusminus}
\func{wxDate\&}{operator $--$}{\void}
Decrements the date (postfix or prefix).
\membersection{wxDate::operator $<$}\label{wxdatelessthan}
\func{friend bool}{operator $<$}{\param{const wxDate\&}{ date1}, \param{const wxDate\&}{ date2}}
Function to compare two dates, returning TRUE if {\it date1} is earlier than {\it date2}.
\membersection{wxDate::operator $<=$}\label{wxdatelessthaneq}
\func{friend bool}{operator $<=$}{\param{const wxDate\&}{ date1}, \param{const wxDate\&}{ date2}}
Function to compare two dates, returning TRUE if {\it date1} is earlier than or equal to {\it date2}.
\membersection{wxDate::operator $>$}\label{wxdategreaterthan}
\func{friend bool}{operator $>$}{\param{const wxDate\&}{ date1}, \param{const wxDate\&}{ date2}}
Function to compare two dates, returning TRUE if {\it date1} is later than {\it date2}.
\membersection{wxDate::operator $>=$}\label{wxdategreaterthaneq}
\func{friend bool}{operator $>=$}{\param{const wxDate\&}{ date1}, \param{const wxDate\&}{ date2}}
Function to compare two dates, returning TRUE if {\it date1} is later than or equal to {\it date2}.
\membersection{wxDate::operator $==$}\label{wxdateequals}
\func{friend bool}{operator $==$}{\param{const wxDate\&}{ date1}, \param{const wxDate\&}{ date2}}
Function to compare two dates, returning TRUE if {\it date1} is equal to {\it date2}.
\membersection{wxDate::operator $!=$}\label{wxdatenotequals}
\func{friend bool}{operator $!=$}{\param{const wxDate\&}{ date1}, \param{const wxDate\&}{ date2}}
Function to compare two dates, returning TRUE if {\it date1} is not equal to {\it date2}.
\membersection{wxDate::operator \cinsert}\label{wxdateinsert}
\func{friend ostream\&}{operator \cinsert}{\param{ostream\&}{ os}, \param{const wxDate\&}{ date}}
Function to output a wxDate to an ostream.

323
docs/latex/wx/datespan.tex Normal file
View File

@@ -0,0 +1,323 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Name: datespan.tex
%% Purpose: wxDateSpan documentation
%% Author: Vadim Zeitlin
%% Modified by:
%% Created: 04.04.00
%% RCS-ID: $Id$
%% Copyright: (c) Vadim Zeitlin
%% License: wxWindows license
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{\class{wxDateSpan}}\label{wxdatespan}
This class is a "logical time span" and is useful for implementing program
logic for such things as "add one month to the date" which, in general,
doesn't mean to add $60*60*24*31$ seconds to it, but to take the same date
the next month (to understand that this is indeed different consider adding
one month to Feb, 15 -- we want to get Mar, 15, of course).
When adding a month to the date, all lesser components (days, hours, ...)
won't be changed unless the resulting date would be invalid: for example,
Jan 31 + 1 month will be Feb 28, not (non existing) Feb 31.
Because of this feature, adding and subtracting back again the same
wxDateSpan will {\bf not}, in general give back the original date: Feb 28 - 1
month will be Jan 28, not Jan 31!
wxDateSpan objects can be either positive or negative. They may be
multiplied by scalars which multiply all deltas by the scalar: i.e.
$2*(1 \hbox{ month and } 1 \hbox{ day})$ is $2$ months and $2$ days. They can
be added together and with \helpref{wxDateTime}{wxdatetime} or
\helpref{wxTimeSpan}{wxtimespan}, but the type of result is different for each
case.
Beware about weeks: if you specify both weeks and days, the total number of
days added will be $7*\hbox{weeks} + \hbox{days}$! See also GetTotalDays()
function.
Equality operators are defined for wxDateSpans. Two datespans are equal if
and only if they both give the same target date when added to {\bf every}
source date. Thus wxDateSpan::Months(1) is not equal to wxDateSpan::Days(30),
because they not give the same date when added to 1 Feb. But
wxDateSpan::Days(14) is equal to wxDateSpan::Weeks(2)
Finally, notice that for adding hours, minutes and so on you don't need this
class at all: \helpref{wxTimeSpan}{wxtimespan} will do the job because there
are no subtleties associated with those (we don't support leap seconds).
\wxheading{Derived from}
No base class
\wxheading{Include files}
<wx/datetime.h>
\wxheading{See also}
\helpref{Date classes overview}{wxdatetimeoverview},\rtfsp
\helpref{wxDateTime}{wxdatetime}
\latexignore{\rtfignore{\wxheading{Members}}}
% wxDateSpan ctor
\membersection{wxDateSpan::wxDateSpan}\label{wxdatespanwxdatespan}
\func{}{wxDateSpan}{\param{int }{years = $0$}, \param{int }{months = $0$}, \param{int }{weeks = $0$}, \param{int }{days = $0$}}
Constructs the date span object for the given number of years, months, weeks
and days. Note that the weeks and days add together if both are given.
% wxDateSpan::Add
\membersection{wxDateSpan::Add}{wxdatespanadd}
\constfunc{wxDateSpan}{Add}{\param{const wxDateSpan\& }{other}}
\func{wxDateSpan\&}{Add}{\param{const wxDateSpan\& }{other}}
\func{wxDateSpan\&}{operator$+=$}{\param{const wxDateSpan\& }{other}}
Returns the sum of two date spans. The first version returns a new object, the
second and third ones modify this object in place.
% wxDateSpan::Day
\membersection{wxDateSpan::Day}{wxdatespanday}
\func{static wxDateSpan}{Day}{\void}
Returns a date span object corresponding to one day.
\wxheading{See also}
\helpref{Days}{wxdatespandays}
% wxDateSpan::Days
\membersection{wxDateSpan::Days}{wxdatespandays}
\func{static wxDateSpan}{Days}{\param{int }{days}}
Returns a date span object corresponding to the given number of days.
\wxheading{See also}
\helpref{Day}{wxdatespanday}
% wxDateSpan::GetDays
\membersection{wxDateSpan::GetDays}{wxdatespangetdays}
\constfunc{int}{GetDays}{\void}
Returns the number of days (only, that it not counting the weeks component!)
in this date span.
\wxheading{See also}
\helpref{GetTotalDays}{wxdatespangettotaldays}
% wxDateSpan::GetMonths
\membersection{wxDateSpan::GetMonths}{wxdatespangetmonths}
\constfunc{int}{GetMonths}{\void}
Returns the number of the months (not counting the years) in this date span.
% wxDateSpan::GetTotalDays
\membersection{wxDateSpan::GetTotalDays}{wxdatespangettotaldays}
\constfunc{int}{GetTotalDays}{\void}
Returns the combined number of days in this date span, counting both weeks and
days. It still doesn't take neither months nor years into the account.
\wxheading{See also}
\helpref{GetWeeks}{wxdatespangetweeks}, \helpref{GetDays}{wxdatespangetdays}
% wxDateSpan::GetWeeks
\membersection{wxDateSpan::GetWeeks}{wxdatespangetweeks}
\constfunc{int}{GetWeeks}{\void}
Returns the number of weeks in this date span.
\wxheading{See also}
\helpref{GetTotalDays}{wxdatespangettotaldays}
% wxDateSpan::GetYears
\membersection{wxDateSpan::GetYears}{wxdatespangetyears}
\constfunc{int}{GetYears}{\void}
Returns the number of years in this date span.
% wxDateSpan::Month
\membersection{wxDateSpan::Month}{wxdatespanmonth}
\func{static wxDateSpan}{Month}{\void}
Returns a date span object corresponding to one month.
\wxheading{See also}
\helpref{Months}{wxdatespanmonths}
% wxDateSpan::Months
\membersection{wxDateSpan::Months}{wxdatespanmonths}
\func{static wxDateSpan}{Months}{\param{int }{mon}}
Returns a date span object corresponding to the given number of months.
\wxheading{See also}
\helpref{Month}{wxdatespanmonth}
% wxDateSpan::Multiply
\membersection{wxDateSpan::Multiply}{wxdatespanmultiply}
\constfunc{wxDateSpan}{Multiply}{\param{int }{factor}}
\func{wxDateSpan\&}{Multiply}{\param{int }{factor}}
\func{wxDateSpan\&}{operator$*=$}{\param{int }{factor}}
Returns the product of the date span by the specified {\it factor}. The
product is computed by multiplying each of the components by the factor.
The first version returns a new object, the second and third ones modify this
object in place.
% wxDateSpan::Negate
\membersection{wxDateSpan::Negate}{wxdatespannegate}
\constfunc{wxDateSpan}{Negate}{\void}
Returns the date span with the opposite sign.
\wxheading{See also}
\helpref{Neg}{wxdatespanneg}
% wxDateSpan::Neg
\membersection{wxDateSpan::Neg}{wxdatespanneg}
\func{wxDateSpan\&}{Neg}{\void}
\func{wxDateSpan\&}{operator$-$}{\void}
Changes the sign of this date span.
\wxheading{See also}
\helpref{Negate}{wxdatespannegate}
% wxDateSpan::SetDays
\membersection{wxDateSpan::SetDays}{wxdatespansetdays}
\func{wxDateSpan\&}{SetDays}{\param{int }{n}}
Sets the number of days (without modifying any other components) in this date
span.
% wxDateSpan::SetYears
\membersection{wxDateSpan::SetYears}{wxdatespansetyears}
\func{wxDateSpan\&}{SetYears}{\param{int }{n}}
Sets the number of years (without modifying any other components) in this date
span.
% wxDateSpan::SetMonths
\membersection{wxDateSpan::SetMonths}{wxdatespansetmonths}
\func{wxDateSpan\&}{SetMonths}{\param{int }{n}}
Sets the number of months (without modifying any other components) in this
date span.
% wxDateSpan::SetWeeks
\membersection{wxDateSpan::SetWeeks}{wxdatespansetweeks}
\func{wxDateSpan\&}{SetWeeks}{\param{int }{n}}
Sets the number of weeks (without modifying any other components) in this date
span.
% wxDateSpan::Subtract
\membersection{wxDateSpan::Subtract}{wxdatespansubtract}
\constfunc{wxDateSpan}{Subtract}{\param{const wxDateSpan\& }{other}}
\func{wxDateSpan\&}{Subtract}{\param{const wxDateSpan\& }{other}}
\func{wxDateSpan\&}{operator$+=$}{\param{const wxDateSpan\& }{other}}
Returns the difference of two date spans. The first version returns a new
object, the second and third ones modify this object in place.
% wxDateSpan::Week
\membersection{wxDateSpan::Week}{wxdatespanweek}
\func{static wxDateSpan}{Week}{\void}
Returns a date span object corresponding to one week.
\wxheading{See also}
\helpref{Weeks}{wxdatespanweeks}
% wxDateSpan::Weeks
\membersection{wxDateSpan::Weeks}{wxdatespanweeks}
\func{static wxDateSpan}{Weeks}{\param{int }{weeks}}
Returns a date span object corresponding to the given number of weeks.
\wxheading{See also}
\helpref{Week}{wxdatespanweek}
% wxDateSpan::Year
\membersection{wxDateSpan::Year}{wxdatespanyear}
\func{static wxDateSpan}{Year}{\void}
Returns a date span object corresponding to one year.
\wxheading{See also}
\helpref{Years}{wxdatespanyears}
% wxDateSpan::Years
\membersection{wxDateSpan::Years}{wxdatespanyears}
\func{static wxDateSpan}{Years}{\param{int }{years}}
Returns a date span object corresponding to the given number of years.
\wxheading{See also}
\helpref{Year}{wxdatespanyear}
% wxDateSpan::operator==
\membersection{wxDateSpan::operator$==$}{wxdatespanoperatorequal}
\constfunc{bool}{operator$==$}{\param{wxDateSpan\&}{ other}}
Returns {\tt TRUE} if this date span is equal to the other one. Two date spans
are considered equal if and only if they have the same number of years and
months and the same total number of days (counting both days and weeks).
% wxDateSpan::operator!=
\membersection{wxDateSpan::operator$!=$}{wxdatespanoperatornotequal}
\constfunc{bool}{operator$!=$}{\param{wxDateSpan\&}{ other}}
Returns {\tt TRUE} if this date span is different from the other one.
\wxheading{See also}
\helpref{operator==}{wxdatespanoperatorequal}

1381
docs/latex/wx/datetime.tex Normal file

File diff suppressed because it is too large Load Diff

119
docs/latex/wx/datistrm.tex Normal file
View File

@@ -0,0 +1,119 @@
\section{\class{wxDataInputStream}}\label{wxdatainputstream}
This class provides functions that read binary data types in a
portable way. Data can be read in either big-endian or little-endian
format, little-endian being the default on all architectures.
If you want to read data from text files (or streams) use
\helpref{wxTextInputStream}{wxtextinputstream} instead.
The >> operator is overloaded and you can use this class like a standard C++ iostream.
Note, however, that the arguments are the fixed size types wxUint32, wxInt32 etc
and on a typical 32-bit computer, none of these match to the "long" type (wxInt32
is defined as signed int on 32-bit architectures) so that you cannot use long. To avoid
problems (here and elsewhere), make use of the wxInt32, wxUint32, etc types.
For example:
\begin{verbatim}
wxFileInputStream input( "mytext.dat" );
wxDataInputStream store( input );
wxUint8 i1;
float f2;
wxString line;
store >> i1; // read a 8 bit integer.
store >> i1 >> f2; // read a 8 bit integer followed by float.
store >> line; // read a text line
\end{verbatim}
See also \helpref{wxDataOutputStream}{wxdataoutputstream}.
\wxheading{Derived from}
None
\wxheading{Include files}
<wx/datstrm.h>
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxDataInputStream::wxDataInputStream}\label{wxdatainputstreamconstr}
\func{}{wxDataInputStream}{\param{wxInputStream\&}{ stream}}
\func{}{wxDataInputStream}{\param{wxInputStream\&}{ stream}, \param{wxMBConv\&}{ conv = wxMBConvUTF8}}
Constructs a datastream object from an input stream. Only read methods will
be available. The second form is only available in Unicode build of wxWindows.
\wxheading{Parameters}
\docparam{stream}{The input stream.}
\docparam{conv}{Charset conversion object object used to decode strings in Unicode
mode (see \helpref{wxDataInputStream::ReadString}{wxdatainputstreamreadstring}
documentation for detailed description). Note that you must not destroy
{\it conv} before you destroy this wxDataInputStream instance!}
\membersection{wxDataInputStream::\destruct{wxDataInputStream}}
\func{}{\destruct{wxDataInputStream}}{\void}
Destroys the wxDataInputStream object.
\membersection{wxDataInputStream::BigEndianOrdered}
\func{void}{BigEndianOrdered}{\param{bool}{ be\_order}}
If {\it be\_order} is TRUE, all data will be read in big-endian
order, such as written by programs on a big endian architecture
(e.g. Sparc) or written by Java-Streams (which always use
big-endian order).
\membersection{wxDataInputStream::Read8}
\func{wxUint8}{Read8}{\void}
Reads a single byte from the stream.
\membersection{wxDataInputStream::Read16}
\func{wxUint16}{Read16}{\void}
Reads a 16 bit unsigned integer from the stream.
\membersection{wxDataInputStream::Read32}
\func{wxUint32}{Read32}{\void}
Reads a 32 bit unsigned integer from the stream.
\membersection{wxDataInputStream::Read64}
\func{wxUint64}{Read64}{\void}
Reads a 64 bit unsigned integer from the stream.
\membersection{wxDataInputStream::ReadDouble}
\func{double}{ReadDouble}{\void}
Reads a double (IEEE encoded) from the stream.
\membersection{wxDataInputStream::ReadString}\label{wxdatainputstreamreadstring}
\func{wxString}{ReadString}{\void}
Reads a string from a stream. Actually, this function first reads a long
integer specifying the length of the string (without the last null character)
and then reads the string.
In Unicode build of wxWindows, the fuction first reads multibyte (char*)
string from the stream and then converts it to Unicode using the {\it conv}
object passed to constructor and returns the result as wxString. You are
responsible for using the same convertor as when writing the stream.
See also \helpref{wxDataOutputStream::WriteString}{wxdataoutputstreamwritestring}.

100
docs/latex/wx/datostrm.tex Normal file
View File

@@ -0,0 +1,100 @@
\section{\class{wxDataOutputStream}}\label{wxdataoutputstream}
This class provides functions that write binary data types in a
portable way. Data can be written in either big-endian or little-endian
format, little-endian being the default on all architectures.
If you want to write data to text files (or streams) use
\helpref{wxTextOutputStream}{wxtextoutputstream} instead.
The << operator is overloaded and you can use this class like a standard
C++ iostream. See \helpref{wxDataInputStream}{wxdatainputstream} for its
usage and caveats.
See also \helpref{wxDataInputStream}{wxdatainputstream}.
\wxheading{Derived from}
None
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxDataOutputStream::wxDataOutputStream}\label{wxdataoutputstreamconstr}
\func{}{wxDataOutputStream}{\param{wxOutputStream\&}{ stream}}
\func{}{wxDataOutputStream}{\param{wxOutputStream\&}{ stream}, \param{wxMBConv\&}{ conv = wxMBConvUTF8}}
Constructs a datastream object from an output stream. Only write methods will
be available. The second form is only available in Unicode build of wxWindows.
\wxheading{Parameters}
\docparam{stream}{The output stream.}
\docparam{conv}{Charset conversion object object used to encoding Unicode
strings before writing them to the stream
in Unicode mode (see \helpref{wxDataOutputStream::WriteString}{wxdataoutputstreamwritestring}
documentation for detailed description). Note that you must not destroy
{\it conv} before you destroy this wxDataOutputStream instance! It is
recommended to use default value (UTF-8).}
\membersection{wxDataOutputStream::\destruct{wxDataOutputStream}}
\func{}{\destruct{wxDataOutputStream}}{\void}
Destroys the wxDataOutputStream object.
\membersection{wxDataOutputStream::BigEndianOrdered}
\func{void}{BigEndianOrdered}{\param{bool}{ be\_order}}
If {\it be\_order} is TRUE, all data will be written in big-endian
order, e.g. for reading on a Sparc or from Java-Streams (which
always use big-endian order), otherwise data will be written in
little-endian order.
\membersection{wxDataOutputStream::Write8}
\func{void}{Write8}{{\param wxUint8 }{i8}}
Writes the single byte {\it i8} to the stream.
\membersection{wxDataOutputStream::Write16}
\func{void}{Write16}{{\param wxUint16 }{i16}}
Writes the 16 bit unsigned integer {\it i16} to the stream.
\membersection{wxDataOutputStream::Write32}
\func{void}{Write32}{{\param wxUint32 }{i32}}
Writes the 32 bit unsigned integer {\it i32} to the stream.
\membersection{wxDataOutputStream::Write64}
\func{void}{Write64}{{\param wxUint64 }{i64}}
Writes the 64 bit unsigned integer {\it i64} to the stream.
\membersection{wxDataOutputStream::WriteDouble}
\func{void}{WriteDouble}{{\param double }{f}}
Writes the double {\it f} to the stream using the IEEE format.
\membersection{wxDataOutputStream::WriteString}\label{wxdataoutputstreamwritestring}
\func{void}{WriteString}{{\param const wxString\&}{string}}
Writes {\it string} to the stream. Actually, this method writes the size of
the string before writing {\it string} itself.
In ANSI build of wxWindows, the string is written to the stream in exactly
same way it is represented in memory. In Unicode build, however, the string
is first converted to multibyte representation with {\it conv} object passed
to stream's constructor (consequently, ANSI application can read data
written by Unicode application, as long as they agree on encoding) and this
representation is written to the stream. UTF-8 is used by default.

4133
docs/latex/wx/db.tex Normal file

File diff suppressed because it is too large Load Diff

1032
docs/latex/wx/dc.tex Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,71 @@
\section{\class{wxDDEClient}}\label{wxddeclient}
A wxDDEClient object represents the client part of a client-server DDE
(Dynamic Data Exchange) conversation.
To create a client which can communicate with a suitable server,
you need to derive a class from wxDDEConnection and another from wxDDEClient.
The custom wxDDEConnection class will intercept communications in
a `conversation' with a server, and the custom wxDDEServer is required
so that a user-overridden \helpref{wxDDEClient::OnMakeConnection}{wxddeclientonmakeconnection} member can return
a wxDDEConnection of the required class, when a connection is made.
This DDE-based implementation is
available on Windows only, but a platform-independent, socket-based version
of this API is available using \helpref{wxTCPClient}{wxtcpclient}.
\wxheading{Derived from}
wxClientBase\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/dde.h>
\wxheading{See also}
\helpref{wxDDEServer}{wxddeserver}, \helpref{wxDDEConnection}{wxddeconnection},
\helpref{Interprocess communications overview}{ipcoverview}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxDDEClient::wxDDEClient}
\func{}{wxDDEClient}{\void}
Constructs a client object.
\membersection{wxDDEClient::MakeConnection}\label{wxddeclientmakeconnection}
\func{wxConnectionBase *}{MakeConnection}{\param{const wxString\& }{host}, \param{const wxString\& }{service}, \param{const wxString\& }{topic}}
Tries to make a connection with a server specified by the host
(machine name under UNIX, ignored under Windows), service name (must
contain an integer port number under UNIX), and topic string. If the
server allows a connection, a wxDDEConnection object will be returned.
The type of wxDDEConnection returned can be altered by overriding
the \helpref{wxDDEClient::OnMakeConnection}{wxddeclientonmakeconnection} member to return your own
derived connection object.
\membersection{wxDDEClient::OnMakeConnection}\label{wxddeclientonmakeconnection}
\func{wxConnectionBase *}{OnMakeConnection}{\void}
The type of \helpref{wxDDEConnection}{wxddeconnection} returned from a \helpref{wxDDEClient::MakeConnection}{wxddeclientmakeconnection} call can
be altered by deriving the {\bf OnMakeConnection} member to return your
own derived connection object. By default, a wxDDEConnection
object is returned.
The advantage of deriving your own connection class is that it will
enable you to intercept messages initiated by the server, such
as \helpref{wxDDEConnection::OnAdvise}{wxddeconnectiononadvise}. You may also want to
store application-specific data in instances of the new class.
\membersection{wxDDEClient::ValidHost}
\func{bool}{ValidHost}{\param{const wxString\& }{host}}
Returns TRUE if this is a valid host name, FALSE otherwise. This always
returns TRUE under MS Windows.

201
docs/latex/wx/ddeconn.tex Normal file
View File

@@ -0,0 +1,201 @@
\section{\class{wxDDEConnection}}\label{wxddeconnection}
A wxDDEConnection object represents the connection between a client and a
server. It can be created by making a connection using a\rtfsp
\helpref{wxDDEClient}{wxddeclient} object, or by the acceptance of a connection by a\rtfsp
\helpref{wxDDEServer}{wxddeserver} object. The bulk of a DDE (Dynamic Data Exchange)
conversation is controlled by
calling members in a {\bf wxDDEConnection} object or by overriding its
members.
An application should normally derive a new connection class from
wxDDEConnection, in order to override the communication event handlers
to do something interesting.
This DDE-based implementation is available on Windows only,
but a platform-independent, socket-based version
of this API is available using \helpref{wxTCPConnection}{wxtcpconnection}.
\wxheading{Derived from}
wxConnectionBase\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/dde.h>
\wxheading{Types}
\index{wxIPCFormat}wxIPCFormat is defined as follows:
\begin{verbatim}
enum wxIPCFormat
{
wxIPC_INVALID = 0,
wxIPC_TEXT = 1, /* CF_TEXT */
wxIPC_BITMAP = 2, /* CF_BITMAP */
wxIPC_METAFILE = 3, /* CF_METAFILEPICT */
wxIPC_SYLK = 4,
wxIPC_DIF = 5,
wxIPC_TIFF = 6,
wxIPC_OEMTEXT = 7, /* CF_OEMTEXT */
wxIPC_DIB = 8, /* CF_DIB */
wxIPC_PALETTE = 9,
wxIPC_PENDATA = 10,
wxIPC_RIFF = 11,
wxIPC_WAVE = 12,
wxIPC_UNICODETEXT = 13,
wxIPC_ENHMETAFILE = 14,
wxIPC_FILENAME = 15, /* CF_HDROP */
wxIPC_LOCALE = 16,
wxIPC_PRIVATE = 20
};
\end{verbatim}
\wxheading{See also}
\helpref{wxDDEClient}{wxddeclient}, \helpref{wxDDEServer}{wxddeserver}, \helpref{Interprocess communications overview}{ipcoverview}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxDDEConnection::wxDDEConnection}
\func{}{wxDDEConnection}{\void}
\func{}{wxDDEConnection}{\param{char* }{buffer}, \param{int}{ size}}
Constructs a connection object. If no user-defined connection object is
to be derived from wxDDEConnection, then the constructor should not be
called directly, since the default connection object will be provided on
requesting (or accepting) a connection. However, if the user defines his
or her own derived connection object, the \helpref{wxDDEServer::OnAcceptConnection}{wxddeserveronacceptconnection}\rtfsp
and/or \helpref{wxDDEClient::OnMakeConnection}{wxddeclientonmakeconnection} members should be replaced by
functions which construct the new connection object. If the arguments of
the wxDDEConnection constructor are void, then a default buffer is
associated with the connection. Otherwise, the programmer must provide a
a buffer and size of the buffer for the connection object to use in
transactions.
\membersection{wxDDEConnection::Advise}
\func{bool}{Advise}{\param{const wxString\& }{item}, \param{char* }{data}, \param{int}{ size = -1}, \param{wxIPCFormat}{ format = wxCF\_TEXT}}
Called by the server application to advise the client of a change in
the data associated with the given item. Causes the client
connection's \helpref{wxDDEConnection::OnAdvise}{wxddeconnectiononadvise}
member to be called. Returns TRUE if successful.
\membersection{wxDDEConnection::Execute}
\func{bool}{Execute}{\param{char* }{data}, \param{int}{ size = -1}, \param{wxIPCFormat}{ format = wxCF\_TEXT}}
Called by the client application to execute a command on the server. Can
also be used to transfer arbitrary data to the server (similar
to \helpref{wxDDEConnection::Poke}{wxddeconnectionpoke} in that respect). Causes the
server connection's \helpref{wxDDEConnection::OnExecute}{wxddeconnectiononexecute} member to be
called. Returns TRUE if successful.
\membersection{wxDDEConnection::Disconnect}
\func{bool}{Disconnect}{\void}
Called by the client or server application to disconnect from the other
program; it causes the \helpref{wxDDEConnection::OnDisconnect}{wxddeconnectionondisconnect} message
to be sent to the corresponding connection object in the other
program. The default behaviour of {\bf OnDisconnect} is to delete the
connection, but the calling application must explicitly delete its
side of the connection having called {\bf Disconnect}. Returns TRUE if
successful.
\membersection{wxDDEConnection::OnAdvise}\label{wxddeconnectiononadvise}
\func{virtual bool}{OnAdvise}{\param{const wxString\& }{topic}, \param{const wxString\& }{item}, \param{char* }{data}, \param{int}{ size}, \param{wxIPCFormat}{ format}}
Message sent to the client application when the server notifies it of a
change in the data associated with the given item.
\membersection{wxDDEConnection::OnDisconnect}\label{wxddeconnectionondisconnect}
\func{virtual bool}{OnDisconnect}{\void}
Message sent to the client or server application when the other
application notifies it to delete the connection. Default behaviour is
to delete the connection object.
\membersection{wxDDEConnection::OnExecute}\label{wxddeconnectiononexecute}
\func{virtual bool}{OnExecute}{\param{const wxString\& }{topic}, \param{char* }{data}, \param{int}{ size}, \param{wxIPCFormat}{ format}}
Message sent to the server application when the client notifies it to
execute the given data. Note that there is no item associated with
this message.
\membersection{wxDDEConnection::OnPoke}\label{wxddeconnectiononpoke}
\func{virtual bool}{OnPoke}{\param{const wxString\& }{topic}, \param{const wxString\& }{item}, \param{char* }{data}, \param{int}{ size}, \param{wxIPCFormat}{ format}}
Message sent to the server application when the client notifies it to
accept the given data.
\membersection{wxDDEConnection::OnRequest}\label{wxddeconnectiononrequest}
\func{virtual char*}{OnRequest}{\param{const wxString\& }{topic}, \param{const wxString\& }{item}, \param{int *}{size}, \param{wxIPCFormat}{ format}}
Message sent to the server application when the client
calls \helpref{wxDDEConnection::Request}{wxddeconnectionrequest}. The server
should respond by returning a character string from {\bf OnRequest},
or NULL to indicate no data.
\membersection{wxDDEConnection::OnStartAdvise}\label{wxddeconnectiononstartadvise}
\func{virtual bool}{OnStartAdvise}{\param{const wxString\& }{topic}, \param{const wxString\& }{item}}
Message sent to the server application by the client, when the client
wishes to start an `advise loop' for the given topic and item. The
server can refuse to participate by returning FALSE.
\membersection{wxDDEConnection::OnStopAdvise}\label{wxddeconnectiononstopadvise}
\func{virtual bool}{OnStopAdvise}{\param{const wxString\& }{topic}, \param{const wxString\& }{item}}
Message sent to the server application by the client, when the client
wishes to stop an `advise loop' for the given topic and item. The
server can refuse to stop the advise loop by returning FALSE, although
this doesn't have much meaning in practice.
\membersection{wxDDEConnection::Poke}\label{wxddeconnectionpoke}
\func{bool}{Poke}{\param{const wxString\& }{item}, \param{char* }{data}, \param{int}{ size = -1}, \param{wxIPCFormat}{ format = wxCF\_TEXT}}
Called by the client application to poke data into the server. Can be
used to transfer arbitrary data to the server. Causes the server
connection's \helpref{wxDDEConnection::OnPoke}{wxddeconnectiononpoke} member
to be called. Returns TRUE if successful.
\membersection{wxDDEConnection::Request}\label{wxddeconnectionrequest}
\func{char*}{Request}{\param{const wxString\& }{item}, \param{int *}{size}, \param{wxIPCFormat}{ format = wxIPC\_TEXT}}
Called by the client application to request data from the server. Causes
the server connection's \helpref{wxDDEConnection::OnRequest}{wxddeconnectiononrequest} member to be called. Returns a
character string (actually a pointer to the connection's buffer) if
successful, NULL otherwise.
\membersection{wxDDEConnection::StartAdvise}\label{wxddeconnectionstartadvise}
\func{bool}{StartAdvise}{\param{const wxString\& }{item}}
Called by the client application to ask if an advise loop can be started
with the server. Causes the server connection's \helpref{wxDDEConnection::OnStartAdvise}{wxddeconnectiononstartadvise}\rtfsp
member to be called. Returns TRUE if the server okays it, FALSE
otherwise.
\membersection{wxDDEConnection::StopAdvise}\label{wxddeconnectionstopadvise}
\func{bool}{StopAdvise}{\param{const wxString\& }{item}}
Called by the client application to ask if an advise loop can be
stopped. Causes the server connection's \helpref{wxDDEConnection::OnStopAdvise}{wxddeconnectiononstopadvise} member
to be called. Returns TRUE if the server okays it, FALSE otherwise.

View File

@@ -0,0 +1,51 @@
\section{\class{wxDDEServer}}\label{wxddeserver}
A wxDDEServer object represents the server part of a client-server DDE
(Dynamic Data Exchange) conversation.
This DDE-based implementation is
available on Windows only, but a platform-independent, socket-based version
of this API is available using \helpref{wxTCPServer}{wxtcpserver}.
\wxheading{Derived from}
wxServerBase
\wxheading{Include files}
<wx/dde.h>
\wxheading{See also}
\helpref{wxDDEClient}{wxddeclient}, \helpref{wxDDEConnection}{wxddeconnection}, \helpref{IPC overview}{ipcoverview}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxDDEServer::wxDDEServer}
\func{}{wxDDEServer}{\void}
Constructs a server object.
\membersection{wxDDEServer::Create}
\func{bool}{Create}{\param{const wxString\& }{service}}
Registers the server using the given service name. Under UNIX, the
string must contain an integer id which is used as an Internet port
number. FALSE is returned if the call failed (for example, the port
number is already in use).
\membersection{wxDDEServer::OnAcceptConnection}\label{wxddeserveronacceptconnection}
\func{virtual wxConnectionBase *}{OnAcceptConnection}{\param{const wxString\& }{topic}}
When a client calls {\bf MakeConnection}, the server receives the
message and this member is called. The application should derive a
member to intercept this message and return a connection object of
either the standard wxDDEConnection type, or of a user-derived type. If the
topic is ``STDIO'', the application may wish to refuse the connection.
Under UNIX, when a server is created the OnAcceptConnection message is
always sent for standard input and output, but in the context of DDE
messages it doesn't make a lot of sense.

275
docs/latex/wx/debugcxt.tex Normal file
View File

@@ -0,0 +1,275 @@
\section{\class{wxDebugContext}}\label{wxdebugcontext}
A class for performing various debugging and memory tracing
operations. Full functionality (such as printing out objects
currently allocated) is only present in a debugging build of wxWindows,
i.e. if the \_\_WXDEBUG\_\_ symbol is defined. wxDebugContext
and related functions and macros can be compiled out by setting
wxUSE\_DEBUG\_CONTEXT to 0 is setup.h
\wxheading{Derived from}
No parent class.
\wxheading{Include files}
<wx/memory.h>
\wxheading{See also}
\overview{Overview}{wxdebugcontextoverview}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxDebugContext::Check}\label{wxdebugcontextcheck}
\func{int}{Check}{\void}
Checks the memory blocks for errors, starting from the currently set
checkpoint.
\wxheading{Return value}
Returns the number of errors,
so a value of zero represents success. Returns -1 if an error
was detected that prevents further checking.
\membersection{wxDebugContext::Dump}\label{wxdebugcontextdump}
\func{bool}{Dump}{\void}
Performs a memory dump from the currently set checkpoint, writing to the
current debug stream. Calls the {\bf Dump} member function for each wxObject
derived instance.
\wxheading{Return value}
TRUE if the function succeeded, FALSE otherwise.
\membersection{wxDebugContext::GetCheckPrevious}\label{wxdebugcontextgetcheckprevious}
\func{bool}{GetCheckPrevious}{\void}
Returns TRUE if the memory allocator checks all previous memory blocks for errors.
By default, this is FALSE since it slows down execution considerably.
\wxheading{See also}
\helpref{wxDebugContext::SetCheckPrevious}{wxdebugcontextsetcheckprevious}
\membersection{wxDebugContext::GetDebugMode}\label{wxdebugcontextgetdebugmode}
\func{bool}{GetDebugMode}{\void}
Returns TRUE if debug mode is on. If debug mode is on, the wxObject new and delete
operators store or use information about memory allocation. Otherwise,
a straight malloc and free will be performed by these operators.
\wxheading{See also}
\helpref{wxDebugContext::SetDebugMode}{wxdebugcontextsetdebugmode}
\membersection{wxDebugContext::GetLevel}\label{wxdebugcontextgetlevel}
\func{int}{GetLevel}{\void}
Gets the debug level (default 1). The debug level is used by the wxTraceLevel function and
the WXTRACELEVEL macro to specify how detailed the trace information is; setting
a different level will only have an effect if trace statements in the application
specify a value other than one.
This is obsolete, replaced by \helpref{wxLog}{wxlog} functionality.
\wxheading{See also}
\helpref{wxDebugContext::SetLevel}{wxdebugcontextsetlevel}
\membersection{wxDebugContext::GetStream}\label{wxdebugcontextgetstream}
\func{ostream\&}{GetStream}{\void}
Returns the output stream associated with the debug context.
This is obsolete, replaced by \helpref{wxLog}{wxlog} functionality.
\wxheading{See also}
\helpref{wxDebugContext::SetStream}{wxdebugcontextsetstream}
\membersection{wxDebugContext::GetStreamBuf}\label{wxdebugcontextgetstreambuf}
\func{streambuf*}{GetStreamBuf}{\void}
Returns a pointer to the output stream buffer associated with the debug context.
There may not necessarily be a stream buffer if the stream has been set
by the user.
This is obsolete, replaced by \helpref{wxLog}{wxlog} functionality.
\membersection{wxDebugContext::HasStream}\label{wxdebugcontexthasstream}
\func{bool}{HasStream}{\void}
Returns TRUE if there is a stream currently associated
with the debug context.
This is obsolete, replaced by \helpref{wxLog}{wxlog} functionality.
\wxheading{See also}
\helpref{wxDebugContext::SetStream}{wxdebugcontextsetstream}, \helpref{wxDebugContext::GetStream}{wxdebugcontextgetstream}
\membersection{wxDebugContext::PrintClasses}\label{wxdebugcontextprintclasses}
\func{bool}{PrintClasses}{\void}
Prints a list of the classes declared in this application, giving derivation
and whether instances of this class can be dynamically created.
\wxheading{See also}
\helpref{wxDebugContext::PrintStatistics}{wxdebugcontextprintstatistics}
\membersection{wxDebugContext::PrintStatistics}\label{wxdebugcontextprintstatistics}
\func{bool}{PrintStatistics}{\param{bool}{ detailed = TRUE}}
Performs a statistics analysis from the currently set checkpoint, writing
to the current debug stream. The number of object and non-object
allocations is printed, together with the total size.
\wxheading{Parameters}
\docparam{detailed}{If TRUE, the function will also print how many
objects of each class have been allocated, and the space taken by
these class instances.}
\wxheading{See also}
\helpref{wxDebugContext::PrintStatistics}{wxdebugcontextprintstatistics}
\membersection{wxDebugContext::SetCheckpoint}\label{wxdebugcontextsetcheckpoint}
\func{void}{SetCheckpoint}{\param{bool}{ all = FALSE}}
Sets the current checkpoint: Dump and PrintStatistics operations will
be performed from this point on. This allows you to ignore allocations
that have been performed up to this point.
\wxheading{Parameters}
\docparam{all}{If TRUE, the checkpoint is reset to include all
memory allocations since the program started.}
\membersection{wxDebugContext::SetCheckPrevious}\label{wxdebugcontextsetcheckprevious}
\func{void}{SetCheckPrevious}{\param{bool}{ check}}
Tells the memory allocator to check all previous memory blocks for errors.
By default, this is FALSE since it slows down execution considerably.
\wxheading{See also}
\helpref{wxDebugContext::GetCheckPrevious}{wxdebugcontextgetcheckprevious}
\membersection{wxDebugContext::SetDebugMode}\label{wxdebugcontextsetdebugmode}
\func{void}{SetDebugMode}{\param{bool}{ debug}}
Sets the debug mode on or off. If debug mode is on, the wxObject new and delete
operators store or use information about memory allocation. Otherwise,
a straight malloc and free will be performed by these operators.
By default, debug mode is on if \_\_WXDEBUG\_\_ is defined. If the application
uses this function, it should make sure that all object memory allocated
is deallocated with the same value of debug mode. Otherwise, the
delete operator might try to look for memory information that does not
exist.
\wxheading{See also}
\helpref{wxDebugContext::GetDebugMode}{wxdebugcontextgetdebugmode}
\membersection{wxDebugContext::SetFile}\label{wxdebugcontextsetfile}
\func{bool}{SetFile}{\param{const wxString\& }{filename}}
Sets the current debug file and creates a stream. This will delete any existing
stream and stream buffer. By default, the debug context stream
outputs to the debugger (Windows) or standard error (other platforms).
\membersection{wxDebugContext::SetLevel}\label{wxdebugcontextsetlevel}
\func{void}{SetLevel}{\param{int}{ level}}
Sets the debug level (default 1). The debug level is used by the wxTraceLevel function and
the WXTRACELEVEL macro to specify how detailed the trace information is; setting
a different level will only have an effect if trace statements in the application
specify a value other than one.
This is obsolete, replaced by \helpref{wxLog}{wxlog} functionality.
\wxheading{See also}
\helpref{wxDebugContext::GetLevel}{wxdebugcontextgetlevel}
\membersection{wxDebugContext::SetStandardError}\label{wxdebugcontextsetstandarderror}
\func{bool}{SetStandardError}{\void}
Sets the debugging stream to be the debugger (Windows) or standard error (other platforms).
This is the default setting. The existing stream will be flushed and deleted.
This is obsolete, replaced by \helpref{wxLog}{wxlog} functionality.
\membersection{wxDebugContext::SetStream}\label{wxdebugcontextsetstream}
\func{void}{SetStream}{\param{ostream* }{stream}, \param{streambuf* }{streamBuf = NULL}}
Sets the stream and optionally, stream buffer associated with the debug context.
This operation flushes and deletes the existing stream (and stream buffer if any).
This is obsolete, replaced by \helpref{wxLog}{wxlog} functionality.
\wxheading{Parameters}
\docparam{stream}{Stream to associate with the debug context. Do not set this to NULL.}
\docparam{streamBuf}{Stream buffer to associate with the debug context.}
\wxheading{See also}
\helpref{wxDebugContext::GetStream}{wxdebugcontextgetstream}, \helpref{wxDebugContext::HasStream}{wxdebugcontexthasstream}
\section{\class{wxDebugStreamBuf}}\label{wxdebugstreambuf}
This class allows you to treat debugging output in a similar
(stream-based) fashion on different platforms. Under
Windows, an ostream constructed with this buffer outputs
to the debugger, or other program that intercepts debugging
output. On other platforms, the output goes to standard error (cerr).
This is soon to be obsolete, replaced by \helpref{wxLog}{wxlog} functionality.
\wxheading{Derived from}
streambuf
\wxheading{Include files}
<wx/memory.h>
\wxheading{Example}
\begin{verbatim}
wxDebugStreamBuf streamBuf;
ostream stream(&streamBuf);
stream << "Hello world!" << endl;
\end{verbatim}
\wxheading{See also}
\overview{Overview}{wxdebugcontextoverview}

48
docs/latex/wx/dialevt.tex Normal file
View File

@@ -0,0 +1,48 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Name: dialevt.tex
%% Purpose: wxDialUpEvent documentation
%% Author: Vadim Zeitlin
%% Modified by:
%% Created: 08.04.00
%% RCS-ID: $Id$
%% Copyright: (c) Vadim Zeitlin
%% License: wxWindows license
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{\class{wxDialUpEvent}}\label{wxdialupevent}
This is the event class for the dialup events sent by
\helpref{wxDialUpManager}{wxdialupmanager}.
\wxheading{Derived from}
\helpref{wxEvent}{wxevent}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/dialup.h>
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxDialUpEvent::wxDialUpEvent}\label{wxdialupeventwxdialupevent}
\func{}{wxDialUpEvent}{\param{bool }{isConnected}, \param{bool }{isOwnEvent}}
Constructor is only used by \helpref{wxDialUpManager}{wxdialupmanager}.
\membersection{wxDialUpEvent::IsConnectedEvent}\label{wxdialupeventisconnectedevent}
\constfunc{bool}{IsConnectedEvent}{\void}
Is this a {\tt CONNECTED} or {\tt DISCONNECTED} event? In other words, does it
notify about transition from offline to online state or vice versa?
\membersection{wxDialUpEvent::IsOwnEvent}\label{wxdialupeventisownevent}
\constfunc{bool}{IsOwnEvent}{\void}
Does this event come from wxDialUpManager::Dial() or from some extrenal
process (i.e. does it result from our own attempt to establish the
connection)?

421
docs/latex/wx/dialog.tex Normal file
View File

@@ -0,0 +1,421 @@
\section{\class{wxDialog}}\label{wxdialog}
A dialog box is a window with a title bar and sometimes a system menu, which
can be moved around the screen. It can contain controls and other windows and
is usually used to allow the user to make some choice or to answer a question.
\wxheading{Derived from}
\helpref{wxWindow}{wxwindow}\\
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/dialog.h>
\wxheading{Remarks}
There are two kinds of dialog -- {\it modal}\ and {\it modeless}. A modal dialog
blocks program flow and user input on other windows until it is dismissed,
whereas a modeless dialog behaves more like a frame in that program flow
continues, and input on other windows is still possible. To show a modal dialog
you should use \helpref{ShowModal}{wxdialogshowmodal} method while to show
dialog modelessly you simply use \helpref{Show}{wxdialogshow}, just as with the
frames.
Note that the modal dialogs are one of the very few examples of
wxWindow-derived objects which may be created on the stack and not on the heap.
In other words, although this code snippet
\begin{verbatim}
void AskUser()
{
MyAskDialog *dlg = new MyAskDialog(...);
if ( dlg->ShowModal() == wxID_OK )
...
//else: dialog was cancelled or some another button pressed
dlg->Destroy();
}
\end{verbatim}
works, you can also achieve the same result by using a simpler code fragment
below:
\begin{verbatim}
void AskUser()
{
MyAskDialog dlg(...);
if ( dlg.ShowModal() == wxID_OK )
...
// no need to call Destroy() here
}
\end{verbatim}
A dialog may be loaded from a wxWindows resource file (extension {\tt wxr}),
which may itself be created by Dialog Editor. For details, see
\helpref{The wxWindows resource system}{resourceformats},
\helpref{wxWindows resource functions}{resourcefuncs}
and the resource sample.
An application can define an \helpref{wxCloseEvent}{wxcloseevent} handler for
the dialog to respond to system close events.
\wxheading{Window styles}
\twocolwidtha{5cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\windowstyle{wxCAPTION}}{Puts a caption on the dialog box.}
\twocolitem{\windowstyle{wxDEFAULT\_DIALOG\_STYLE}}{Equivalent to a combination of wxCAPTION and wxSYSTEM\_MENU (the latter is not used under Unix)}
\twocolitem{\windowstyle{wxRESIZE\_BORDER}}{Display a resizeable frame around the window.}
\twocolitem{\windowstyle{wxSYSTEM\_MENU}}{Display a system menu.}
\twocolitem{\windowstyle{wxTHICK\_FRAME}}{Display a thick frame around the window.}
\twocolitem{\windowstyle{wxSTAY\_ON\_TOP}}{The dialog stays on top of all other windows (Windows only).}
\twocolitem{\windowstyle{wxNO\_3D}}{Under Windows, specifies that the child controls
should not have 3D borders unless specified in the control.}
\twocolitem{\windowstyle{wxDIALOG\_NO\_PARENT}}{By default, the dialogs created
with {\tt NULL} parent window will be given the
\helpref{applications top level window}{wxappgettopwindow} as parent. Use this
style to prevent this from happening and create a really orphan dialog (note
that this is not recommended for modal dialogs).}
\twocolitem{\windowstyle{wxDIALOG\_EX\_CONTEXTHELP}}{Under Windows, puts a query button on the
caption. When pressed, Windows will go into a context-sensitive help mode and wxWindows will send
a wxEVT\_HELP event if the user clicked on an application window. {\it Note}\ that this is an extended
style and must be set by calling \helpref{SetExtraStyle}{wxwindowsetextrastyle} before Create is called (two-step construction).}
\end{twocollist}
Under Unix or Linux, MWM (the Motif Window Manager) or other window managers
recognizing the MHM hints should be running for any of these styles to have an
effect.
See also \helpref{Generic window styles}{windowstyles}.
\wxheading{See also}
\helpref{wxDialog overview}{wxdialogoverview}, \helpref{wxFrame}{wxframe}, \helpref{Resources}{resources},\rtfsp
\helpref{Validator overview}{validatoroverview}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxDialog::wxDialog}\label{wxdialogconstr}
\func{}{wxDialog}{\void}
Default constructor.
\func{}{wxDialog}{\param{wxWindow* }{parent}, \param{wxWindowID }{id},\rtfsp
\param{const wxString\& }{title},\rtfsp
\param{const wxPoint\& }{pos = wxDefaultPosition},\rtfsp
\param{const wxSize\& }{size = wxDefaultSize},\rtfsp
\param{long}{ style = wxDEFAULT\_DIALOG\_STYLE},\rtfsp
\param{const wxString\& }{name = ``dialogBox"}}
Constructor.
\wxheading{Parameters}
\docparam{parent}{Can be NULL, a frame or another dialog box.}
\docparam{id}{An identifier for the dialog. A value of -1 is taken to mean a default.}
\docparam{title}{The title of the dialog.}
\docparam{pos}{The dialog position. A value of (-1, -1) indicates a default position, chosen by
either the windowing system or wxWindows, depending on platform.}
\docparam{size}{The dialog size. A value of (-1, -1) indicates a default size, chosen by
either the windowing system or wxWindows, depending on platform.}
\docparam{style}{The window style. See \helpref{wxDialog}{wxdialog}.}
\docparam{name}{Used to associate a name with the window,
allowing the application user to set Motif resource values for
individual dialog boxes.}
\wxheading{See also}
\helpref{wxDialog::Create}{wxdialogcreate}
\membersection{wxDialog::\destruct{wxDialog}}
\func{}{\destruct{wxDialog}}{\void}
Destructor. Deletes any child windows before deleting the physical window.
\membersection{wxDialog::Centre}\label{wxdialogcentre}
\func{void}{Centre}{\param{int}{ direction = wxBOTH}}
Centres the dialog box on the display.
\wxheading{Parameters}
\docparam{direction}{May be {\tt wxHORIZONTAL}, {\tt wxVERTICAL} or {\tt wxBOTH}.}
\membersection{wxDialog::Create}\label{wxdialogcreate}
\func{bool}{Create}{\param{wxWindow* }{parent}, \param{wxWindowID }{id},\rtfsp
\param{const wxString\& }{title},\rtfsp
\param{const wxPoint\& }{pos = wxDefaultPosition},\rtfsp
\param{const wxSize\& }{size = wxDefaultSize},\rtfsp
\param{long}{ style = wxDEFAULT\_DIALOG\_STYLE},\rtfsp
\param{const wxString\& }{name = ``dialogBox"}}
Used for two-step dialog box construction. See \helpref{wxDialog::wxDialog}{wxdialogconstr}\rtfsp
for details.
\membersection{wxDialog::EndModal}\label{wxdialogendmodal}
\func{void}{EndModal}{\param{int }{retCode}}
Ends a modal dialog, passing a value to be returned from the \helpref{wxDialog::ShowModal}{wxdialogshowmodal}\rtfsp
invocation.
\wxheading{Parameters}
\docparam{retCode}{The value that should be returned by {\bf ShowModal}.}
\wxheading{See also}
\helpref{wxDialog::ShowModal}{wxdialogshowmodal},\rtfsp
\helpref{wxDialog::GetReturnCode}{wxdialoggetreturncode},\rtfsp
\helpref{wxDialog::SetReturnCode}{wxdialogsetreturncode}
\membersection{wxDialog::GetReturnCode}\label{wxdialoggetreturncode}
\func{int}{GetReturnCode}{\void}
Gets the return code for this window.
\wxheading{Remarks}
A return code is normally associated with a modal dialog, where \helpref{wxDialog::ShowModal}{wxdialogshowmodal} returns
a code to the application.
\wxheading{See also}
\helpref{wxDialog::SetReturnCode}{wxdialogsetreturncode}, \helpref{wxDialog::ShowModal}{wxdialogshowmodal},\rtfsp
\helpref{wxDialog::EndModal}{wxdialogendmodal}
\membersection{wxDialog::GetTitle}\label{wxdialoggettitle}
\constfunc{wxString}{GetTitle}{\void}
Returns the title of the dialog box.
\membersection{wxDialog::Iconize}\label{wxdialogiconized}
\func{void}{Iconize}{\param{const bool}{ iconize}}
Iconizes or restores the dialog. Windows only.
\wxheading{Parameters}
\docparam{iconize}{If TRUE, iconizes the dialog box; if FALSE, shows and restores it.}
\wxheading{Remarks}
Note that in Windows, iconization has no effect since dialog boxes cannot be
iconized. However, applications may need to explicitly restore dialog
boxes under Motif which have user-iconizable frames, and under Windows
calling {\tt Iconize(FALSE)} will bring the window to the front, as does
\rtfsp{\tt Show(TRUE)}.
\membersection{wxDialog::IsIconized}\label{wxdialogisiconized}
\constfunc{bool}{IsIconized}{\void}
Returns TRUE if the dialog box is iconized. Windows only.
\wxheading{Remarks}
Always returns FALSE under Windows since dialogs cannot be iconized.
\membersection{wxDialog::IsModal}\label{wxdialogismodal}
\constfunc{bool}{IsModal}{\void}
Returns TRUE if the dialog box is modal, FALSE otherwise.
\membersection{wxDialog::OnCharHook}\label{wxdialogoncharhook}
\func{void}{OnCharHook}{\param{wxKeyEvent\&}{ event}}
This member is called to allow the window to intercept keyboard events
before they are processed by child windows.
%For more information, see \helpref{wxWindow::OnCharHook}{wxwindowoncharhook}
\wxheading{Remarks}
wxDialog implements this handler to fake a cancel command if the escape key has been
pressed. This will dismiss the dialog.
\membersection{wxDialog::OnApply}\label{wxdialogonapply}
\func{void}{OnApply}{\param{wxCommandEvent\& }{event}}
The default handler for the wxID\_APPLY identifier.
\wxheading{Remarks}
This function calls \helpref{wxWindow::Validate}{wxwindowvalidate} and \helpref{wxWindow::TransferDataToWindow}{wxwindowtransferdatatowindow}.
\wxheading{See also}
\helpref{wxDialog::OnOK}{wxdialogonok}, \helpref{wxDialog::OnCancel}{wxdialogoncancel}
\membersection{wxDialog::OnCancel}\label{wxdialogoncancel}
\func{void}{OnCancel}{\param{wxCommandEvent\& }{event}}
The default handler for the wxID\_CANCEL identifier.
\wxheading{Remarks}
The function either calls {\bf EndModal(wxID\_CANCEL)} if the dialog is modal, or
sets the return value to wxID\_CANCEL and calls {\bf Show(FALSE)} if the dialog is modeless.
\wxheading{See also}
\helpref{wxDialog::OnOK}{wxdialogonok}, \helpref{wxDialog::OnApply}{wxdialogonapply}
\membersection{wxDialog::OnOK}\label{wxdialogonok}
\func{void}{OnOK}{\param{wxCommandEvent\& }{event}}
The default handler for the wxID\_OK identifier.
\wxheading{Remarks}
The function calls
\rtfsp\helpref{wxWindow::Validate}{wxwindowvalidate}, then \helpref{wxWindow::TransferDataFromWindow}{wxwindowtransferdatafromwindow}.
If this returns TRUE, the function either calls {\bf EndModal(wxID\_OK)} if the dialog is modal, or
sets the return value to wxID\_OK and calls {\bf Show(FALSE)} if the dialog is modeless.
\wxheading{See also}
\helpref{wxDialog::OnCancel}{wxdialogoncancel}, \helpref{wxDialog::OnApply}{wxdialogonapply}
\membersection{wxDialog::OnSysColourChanged}\label{wxdialogonsyscolourchanged}
\func{void}{OnSysColourChanged}{\param{wxSysColourChangedEvent\& }{event}}
The default handler for wxEVT\_SYS\_COLOUR\_CHANGED.
\wxheading{Parameters}
\docparam{event}{The colour change event.}
\wxheading{Remarks}
Changes the dialog's colour to conform to the current settings (Windows only).
Add an event table entry for your dialog class if you wish the behaviour
to be different (such as keeping a user-defined
background colour). If you do override this function, call wxEvent::Skip to
propagate the notification to child windows and controls.
\wxheading{See also}
\helpref{wxSysColourChangedEvent}{wxsyscolourchangedevent}
\membersection{wxDialog::SetIcon}\label{wxdialogseticon}
\func{void}{SetIcon}{\param{const wxIcon\& }{icon}}
Sets the icon for this dialog.
\wxheading{Parameters}
\docparam{icon}{The icon to associate with this dialog.}
See also \helpref{wxIcon}{wxicon}.
\membersection{wxDialog::SetIcons}\label{wxdialogseticons}
\func{void}{SetIcons}{\param{const wxIconBundle\& }{icons}}
Sets the icons for this dialog.
\wxheading{Parameters}
\docparam{icons}{The icons to associate with this dialog.}
See also \helpref{wxIconBundle}{wxiconbundle}.
\membersection{wxDialog::SetModal}\label{wxdialogsetmodal}
\func{void}{SetModal}{\param{const bool}{ flag}}
{\bf NB:} This function is deprecated and doesn't work for all ports, just use
\helpref{ShowModal}{wxdialogshowmodal} to show a modal dialog instead.
Allows the programmer to specify whether the dialog box is modal (wxDialog::Show blocks control
until the dialog is hidden) or modeless (control returns immediately).
\wxheading{Parameters}
\docparam{flag}{If TRUE, the dialog will be modal, otherwise it will be modeless.}
\membersection{wxDialog::SetReturnCode}\label{wxdialogsetreturncode}
\func{void}{SetReturnCode}{\param{int }{retCode}}
Sets the return code for this window.
\wxheading{Parameters}
\docparam{retCode}{The integer return code, usually a control identifier.}
\wxheading{Remarks}
A return code is normally associated with a modal dialog, where \helpref{wxDialog::ShowModal}{wxdialogshowmodal} returns
a code to the application. The function \helpref{wxDialog::EndModal}{wxdialogendmodal} calls {\bf SetReturnCode}.
\wxheading{See also}
\helpref{wxDialog::GetReturnCode}{wxdialoggetreturncode}, \helpref{wxDialog::ShowModal}{wxdialogshowmodal},\rtfsp
\helpref{wxDialog::EndModal}{wxdialogendmodal}
\membersection{wxDialog::SetTitle}\label{wxdialogsettitle}
\func{void}{SetTitle}{\param{const wxString\& }{ title}}
Sets the title of the dialog box.
\wxheading{Parameters}
\docparam{title}{The dialog box title.}
\membersection{wxDialog::Show}\label{wxdialogshow}
\func{bool}{Show}{\param{const bool}{ show}}
Hides or shows the dialog.
\wxheading{Parameters}
\docparam{show}{If TRUE, the dialog box is shown and brought to the front;
otherwise the box is hidden. If FALSE and the dialog is
modal, control is returned to the calling program.}
\wxheading{Remarks}
The preferred way of dismissing a modal dialog is to use \helpref{wxDialog::EndModal}{wxdialogendmodal}.
\membersection{wxDialog::ShowModal}\label{wxdialogshowmodal}
\func{int}{ShowModal}{\void}
Shows a modal dialog. Program flow does not return until the dialog has been dismissed with\rtfsp
\helpref{wxDialog::EndModal}{wxdialogendmodal}.
\wxheading{Return value}
The return value is the value set with \helpref{wxDialog::SetReturnCode}{wxdialogsetreturncode}.
\wxheading{See also}
\helpref{wxDialog::EndModal}{wxdialogendmodal},\rtfsp
\helpref{wxDialog:GetReturnCode}{wxdialoggetreturncode},\rtfsp
\helpref{wxDialog::SetReturnCode}{wxdialogsetreturncode}

215
docs/latex/wx/dialup.tex Normal file
View File

@@ -0,0 +1,215 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Name: dialup.tex
%% Purpose: wxDialUpManager documentation
%% Author: Vadim Zeitlin
%% Modified by:
%% Created: 08.04.00
%% RCS-ID: $Id$
%% Copyright: (c) Vadim Zeitlin
%% License: wxWindows license
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{\class{wxDialUpManager}}\label{wxdialupmanager}
This class encapsulates functions dealing with verifying the connection status
of the workstation (connected to the Internet via a direct connection,
connected through a modem or not connected at all) and to establish this
connection if possible/required (i.e. in the case of the modem).
The program may also wish to be notified about the change in the connection
status (for example, to perform some action when the user connects to the
network the next time or, on the contrary, to stop receiving data from the net
when the user hangs up the modem). For this, you need to use one of the event
macros described below.
This class is different from other wxWindows classes in that there is at most
one instance of this class in the program accessed via
\helpref{wxDialUpManager::Create()}{wxdialupmanagercreate} and you can't
create the objects of this class directly.
\wxheading{Derived from}
No base class
\wxheading{Include files}
<wx/dialup.h>
\wxheading{Event table macros}
To be notified about the change in the network connection status, use these
event handler macros to direct input to member functions that take a
\helpref{wxDialUpEvent}{wxdialupevent} argument.
\twocolwidtha{7cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{{\bf EVT\_DIALUP\_CONNECTED(func)}}{A connection with the network was established.}
\twocolitem{{\bf EVT\_DIALUP\_DISCONNECTED(func)}}{The connection with the network was lost.}
\end{twocollist}%
\wxheading{See also}
\helpref{dialup sample}{sampledialup}\\
\helpref{wxDialUpEvent}{wxdialupevent}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxDialUpManager::Create}\label{wxdialupmanagercreate}
\func{wxDialUpManager*}{Create}{\void}
This function should create and return the object of the platform-specific
class derived from wxDialUpManager. You should delete the pointer when you are
done with it.
\membersection{wxDialUpManager::IsOk}\label{wxdialupmanagerisok}
\constfunc{bool}{IsOk}{\void}
Returns {\tt TRUE} if the dialup manager was initialized correctly. If this
function returns {\tt FALSE}, no other functions will work neither, so it is a
good idea to call this function and check its result before calling any other
wxDialUpManager methods
\membersection{wxDialUpManager::\destruct{wxDialUpManager}}\label{wxdialupmanagerdtor}
\func{}{\destruct{wxDialUpManager}}{\void}
Destructor.
\membersection{wxDialUpManager::GetISPNames}\label{wxdialupmanagergetispnames}
\constfunc{size\_t}{GetISPNames}{\param{wxArrayString\& }{names}}
This function is only implemented under Windows.
Fills the array with the names of all possible values for the first
parameter to \helpref{Dial()}{wxdialupmanagerdial} on this machine and returns
their number (may be $0$).
\membersection{wxDialUpManager::Dial}\label{wxdialupmanagerdial}
\func{bool}{Dial}{\param{const wxString\& }{nameOfISP = wxEmptyString}, \param{const wxString\& }{username = wxEmptyString}, \param{const wxString\& }{password = wxEmptyString}, \param{bool }{async = TRUE}}
Dial the given ISP, use {\it username} and {\it password} to authenticate.
The parameters are only used under Windows currently, for Unix you should use
\helpref{SetConnectCommand}{wxdialupmanagersetconnectcommand} to customize this
functions behaviour.
If no {\it nameOfISP} is given, the function will select the default one
(proposing the user to choose among all connections defined on this machine)
and if no username and/or password are given, the function will try to do
without them, but will ask the user if really needed.
If {\it async} parameter is {\tt FALSE}, the function waits until the end of dialing
and returns {\tt TRUE} upon successful completion.
If {\it async} is {\tt TRUE}, the function only initiates the connection and
returns immediately - the result is reported via events (an event is sent
anyhow, but if dialing failed it will be a DISCONNECTED one).
\membersection{wxDialUpManager::IsDialing}\label{wxdialupmanagerisdialing}
\constfunc{bool}{IsDialing}{\void}
Returns TRUE if (async) dialing is in progress.
\wxheading{See also}
\helpref{Dial}{wxdialupmanagerdial}
\membersection{wxDialUpManager::CancelDialing}\label{wxdialupmanagercanceldialing}
\func{bool}{CancelDialing}{\void}
Cancel dialing the number initiated with \helpref{Dial}{wxdialupmanagerdial}
with async parameter equal to {\tt TRUE}.
Note that this won't result in DISCONNECTED event being sent.
\wxheading{See also}
\helpref{IsDialing}{wxdialupmanagerisdialing}
\membersection{wxDialUpManager::HangUp}\label{wxdialupmanagerhangup}
\func{bool}{HangUp}{\void}
Hang up the currently active dial up connection.
\membersection{wxDialUpManager::IsAlwaysOnline}\label{wxdialupmanagerisalwaysonline}
\constfunc{bool}{IsAlwaysOnline}{\void}
Returns {\tt TRUE} if the computer has a permanent network connection (i.e. is
on a LAN) and so there is no need to use Dial() function to go online.
{\bf NB:} this functions tries to guess the result and it is not always
guaranteed to be correct, so it is better to ask user for
confirmation or give him a possibility to override it.
\membersection{wxDialUpManager::IsOnline}\label{wxdialupmanagerisonline}
\constfunc{bool}{IsOnline}{\void}
Returns {\tt TRUE} if the computer is connected to the network: under Windows,
this just means that a RAS connection exists, under Unix we check that
the "well-known host" (as specified by
\helpref{SetWellKnownHost}{wxdialupmanagersetwellknownhost}) is reachable.
\membersection{wxDialUpManager::SetOnlineStatus}\label{wxdialupmanagersetonlinestatus}
\func{void}{SetOnlineStatus}{\param{bool }{isOnline = TRUE}}
Sometimes the built-in logic for determining the online status may fail,
so, in general, the user should be allowed to override it. This function
allows to forcefully set the online status - whatever our internal
algorithm may think about it.
\wxheading{See also}
\helpref{IsOnline}{wxdialupmanagerisonline}
\membersection{wxDialUpManager::EnableAutoCheckOnlineStatus}\label{wxdialupmanagerenableautocheckonlinestatus}
\func{bool}{EnableAutoCheckOnlineStatus}{\param{size\_t }{nSeconds = 60}}
Enable automatic checks for the connection status and sending of
{\tt wxEVT\_DIALUP\_CONNECTED/wxEVT\_DIALUP\_DISCONNECTED} events. The interval
parameter is only for Unix where we do the check manually and specifies how
often should we repeat the check (each minute by default). Under Windows, the
notification about the change of connection status is sent by the system and so
we don't do any polling and this parameter is ignored.
Returns {\tt FALSE} if couldn't set up automatic check for online status.
\membersection{wxDialUpManager::DisableAutoCheckOnlineStatus}\label{wxdialupmanagerdisableautocheckonlinestatus}
\func{void}{DisableAutoCheckOnlineStatus}{\void}
Disable automatic check for connection status change - notice that the
{\tt wxEVT\_DIALUP\_XXX} events won't be sent any more neither.
\membersection{wxDialUpManager::SetWellKnownHost}\label{wxdialupmanagersetwellknownhost}
\func{void}{SetWellKnownHost}{\param{const wxString\& }{hostname}, \param{int }{portno = 80}}
This method is for Unix only.
Under Unix, the value of well-known host is used to check whether we're
connected to the internet. It is unused under Windows, but this function
is always safe to call. The default value is {\tt www.yahoo.com:80}.
\membersection{wxDialUpManager::SetConnectCommand}\label{wxdialupmanagersetconnectcommand}
\func{}{SetConnectCommand}{\param{const wxString\& }{commandDial = wxT("/usr/bin/pon")}, \param{const wxString\& }{commandHangup = wxT("/usr/bin/poff")}}
This method is for Unix only.
Sets the commands to start up the network and to hang up again.
\wxheading{See also}
\helpref{Dial}{wxdialupmanagerdial}

180
docs/latex/wx/dir.tex Normal file
View File

@@ -0,0 +1,180 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Name: dir.tex
%% Purpose: wxDir documentation
%% Author: Vadim Zeitlin
%% Modified by:
%% Created: 04.04.00
%% RCS-ID: $Id$
%% Copyright: (c) Vadim Zeitlin
%% License: wxWindows license
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{\class{wxDir}}\label{wxdir}
wxDir is a portable equivalent of Unix {open/read/close}dir functions which
allow enumerating of the files in a directory. wxDir allows enumerate files as
well as directories.
wxDir also provides a flexible way to enumerate files recursively using
\helpref{Traverse}{wxdirtraverse} or a simpler
\helpref{GetAllFiles}{wxdirgetallfiles} function.
Example of use:
\begin{verbatim}
wxDir dir(wxGetCwd());
if ( !dir.IsOpened() )
{
// deal with the error here - wxDir would already log an error message
// explaining the exact reason of the failure
return;
}
puts("Enumerating object files in current directory:");
wxString filename;
bool cont = dir.GetFirst(&filename, filespec, flags);
while ( cont )
{
printf("%s\n", filename.c_str());
cont = dir.GetNext(&filename);
}
\end{verbatim}
\wxheading{Derived from}
No base class
\wxheading{Constants}
These flags define what kind of filenames is included in the list of files
enumerated by GetFirst/GetNext
{\small
\begin{verbatim}
enum
{
wxDIR_FILES = 0x0001, // include files
wxDIR_DIRS = 0x0002, // include directories
wxDIR_HIDDEN = 0x0004, // include hidden files
wxDIR_DOTDOT = 0x0008, // include '.' and '..'
// by default, enumerate everything except '.' and '..'
wxDIR_DEFAULT = wxDIR_FILES | wxDIR_DIRS | wxDIR_HIDDEN
}
\end{verbatim}
}
\wxheading{Include files}
<wx/dir.h>
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxDir::Exists}\label{wxdirexists}
\func{static bool}{Exists}{\param{const wxString\& }{dir}}
Test for existence of a directory with the given name
\membersection{wxDir::wxDir}\label{wxdirwxdir}
\func{}{wxDir}{\void}
Default constructor, use \helpref{Open()}{wxdiropen} afterwards.
\func{}{wxDir}{\param{const wxString\& }{dir}}
Opens the directory for enumeration, use \helpref{IsOpened()}{wxdirisopened}
to test for errors.
\membersection{wxDir::\destruct{wxDir}}\label{wxdirdtor}
\func{}{\destruct{wxDir}}{\void}
Destructor cleans up the associated resources. It is not virtual and so this
class is not meant to be used polymorphically.
\membersection{wxDir::Open}\label{wxdiropen}
\func{bool}{Open}{\param{const wxString\& }{dir}}
Open the directory for enumerating, returns TRUE on success or FALSE if an
error occurred.
\membersection{wxDir::IsOpened}\label{wxdirisopened}
\constfunc{bool}{IsOpened}{\void}
Returns TRUE if the directory was successfully opened by a previous call to
\helpref{Open}{wxdiropen}.
\membersection{wxDir::GetFirst}\label{wxdirgetfirst}
\constfunc{bool}{GetFirst}{\param{wxString* }{filename}, \param{const wxString\& }{filespec = wxEmptyString}, \param{int }{flags = wxDIR\_DEFAULT}}
Start enumerating all files matching {\it filespec} (or all files if it is
empty) and flags, return TRUE on success.
\membersection{wxDir::GetNext}\label{wxdirgetnext}
\constfunc{bool}{GetNext}{\param{wxString* }{filename}}
Continue enumerating files satisfying the criteria specified by the last call
to \helpref{GetFirst}{wxdirgetfirst}.
\membersection{wxDir::HasFiles}\label{wxdirhasfiles}
\func{bool}{HasFiles}{\param{const wxString\& }{filespec = wxEmptyString}}
Returns {\tt TRUE} if the directory contains any files matching the given
{\it filespec}. If {\it filespec} is empty, look for any files at all. In any
case, even hidden files are taken into account.
\membersection{wxDir::HasSubDirs}\label{wxdirhassubdirs}
\func{bool}{HasSubDirs}{\param{const wxString\& }{dirspec = wxEmptyString}}
Returns {\tt TRUE} if the directory contains any subdirectories (if a non
empty {\it filespec} is given, only check for directories matching it).
The hidden subdirectories are taken into account as well.
\membersection{wxDir::Traverse}\label{wxdirtraverse}
\func{size\_t}{Traverse}{\param{wxDirTraverser\& }{sink}, \param{const wxString\& }{filespec = wxEmptyString}, \param{int }{flags = wxDIR\_DEFAULT}}
Enumerate all files and directories under the given directory recursively
calling the element of the provided \helpref{wxDirTraverser}{wxdirtraverser}
object for each of them.
More precisely, the function will really recurse into subdirectories if
{\it flags} contains {\tt wxDIR\_DIRS} flag. It will ignore the files (but
still possibly recurse into subdirectories) if {\tt wxDIR\_FILES} flag is
given.
For each found directory, \helpref{sink.OnDir()}{wxdirtraverserondir} is called
and \helpref{sink.OnFile()}{wxdirtraverseronfile} is called for every file.
Depending on the return value, the enumeration may continue or stop.
The function returns the total number of files found or {\tt (size\_t)-1} on
error.
See also: \helpref{GetAllFiles}{wxdirgetallfiles}
\membersection{wxDir::GetAllFiles}\label{wxdirgetallfiles}
\func{static size\_t}{GetAllFiles}{\param{const wxString\& }{dirname}, \param{wxArrayString *}{files}, \param{const wxString\& }{filespec = wxEmptyString}, \param{int }{flags = wxDIR\_DEFAULT}}
The function appends the names of all the files under directory {\it dirname}
to the array {\it files} (note that its old contents is preserved). Only files
matching the {\it filespec} are taken, with empty spec matching all the files.
The {\it flags} parameter should always include {\tt wxDIR\_FILES} or the array
would be unchanged and should include {\tt wxDIR\_DIRS} flag to recurse into
subdirectories (both flags are included in the value by default).
See also: \helpref{Traverse}{wxdirtraverse}

171
docs/latex/wx/dirctrl.tex Normal file
View File

@@ -0,0 +1,171 @@
\section{\class{wxGenericDirCtrl}}\label{wxgenericdirctrl}
This control can be used to place a directory listing (with optional files) on an arbitrary window.
The control contains a \helpref{wxTreeCtrl}{wxtreectrl} window representing the directory
hierarchy, and optionally, a \helpref{wxChoice}{wxchoice} window containing a list of filters.
\wxheading{Derived from}
\helpref{wxControl}{wxcontrol}\\
\helpref{wxWindow}{wxwindow}\\
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/dirctrl.h>
\wxheading{Window styles}
\twocolwidtha{5cm}
\begin{twocollist}
\twocolitem{\indexit{wxDIRCTRL\_DIR\_ONLY}}{Only show directories, and not files.}
\twocolitem{\indexit{wxDIRCTRL\_3D\_INTERNAL}}{Use 3D borders for internal controls.}
\twocolitem{\indexit{wxDIRCTRL\_SELECT\_FIRST}}{When setting the default path, select the first file in the directory.}
\twocolitem{\indexit{wxDIRCTRL\_SHOW\_FILTERS}}{Show the drop-down filter list.}
\twocolitem{\indexit{wxDIRCTRL\_EDIT\_LABELS}}{Allow the folder and file labels to be editable.}
\end{twocollist}
See also \helpref{Generic window styles}{windowstyles}.
\wxheading{Data structures}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxGenericDirCtrl::wxGenericDirCtrl}\label{wxgenericdirctrlwxgenericdirctrl}
\func{}{wxGenericDirCtrl}{\void}
Default constructor.
\func{}{wxGenericDirCtrl}{\param{wxWindow* }{parent}, \param{const wxWindowID }{id = -1},
\param{const wxString\& }{dir = wxDirDialogDefaultFolderStr}, \param{const wxPoint\& }{pos = wxDefaultPosition},
\param{const wxSize\& }{size = wxDefaultSize}, \param{long }{style = wxDIRCTRL\_3D\_INTERNAL|wxSUNKEN\_BORDER},
\param{const wxString\& }{filter = wxEmptyString},
\param{int }{defaultFilter = 0},
\param{const wxString\& }{name = wxTreeCtrlNameStr}}
Main constructor.
\wxheading{Parameters}
\docparam{parent}{Parent window.}
\docparam{id}{Window identifier.}
\docparam{dir}{Initial folder.}
\docparam{pos}{Position.}
\docparam{size}{Size.}
\docparam{style}{Window style. Please see \helpref{wxGenericDirCtrl}{wxgenericdirctrl} for a list of possible styles.}
\docparam{filter}{A filter string, using the same syntax as that for \helpref{wxFileDialog}{wxfiledialog}. This may be empty if filters
are not being used.
Example: ``All files (*.*)|*.*|JPEG files (*.jpg)|*.jpg"}
\docparam{defaultFilter}{The zero-indexed default filter setting.}
\docparam{name}{The window name.}
\membersection{wxGenericDirCtrl::\destruct{wxGenericDirCtrl}}\label{wxgenericdirctrldtor}
\func{}{\destruct{wxGenericDirCtrl}}{\void}
Destructor.
\membersection{wxGenericDirCtrl::Create}\label{wxgenericdirctrlcreate}
\func{bool}{Create}{\param{wxWindow* }{parent}, \param{const wxWindowID }{id = -1}, \param{const wxString\& }{dir = wxDirDialogDefaultFolderStr}, \param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize}, \param{long }{style = wxDIRCTRL\_3D\_INTERNAL|wxSUNKEN\_BORDER}, \param{const wxString\& }{filter = wxEmptyString}, \param{int }{defaultFilter = 0}, \param{const wxString\& }{name = wxTreeCtrlNameStr}}
Create function for two-step construction. See \helpref{wxGenericDirCtrl::wxGenericDirCtrl}{wxgenericdirctrlwxgenericdirctrl} for details.
\membersection{wxGenericDirCtrl::Init}\label{wxgenericdirctrlinit}
\func{void}{Init}{\void}
Initializes variables.
\membersection{wxGenericDirCtrl::ExpandPath}\label{wxgenericdirctrlexpandpath}
\func{bool}{ExpandPath}{\param{const wxString\& }{path}}
Tries to expand as much of the given path as possible, so that the filename or directory is visible in the tree control.
\membersection{wxGenericDirCtrl::GetDefaultPath}\label{wxgenericdirctrlgetdefaultpath}
\constfunc{wxString}{GetDefaultPath}{\void}
Gets the default path.
\membersection{wxGenericDirCtrl::GetPath}\label{wxgenericdirctrlgetpath}
\constfunc{wxString}{GetPath}{\void}
Gets the currently-selected directory or filename.
\membersection{wxGenericDirCtrl::GetFilePath}\label{wxgenericdirctrlgetfilepath}
\constfunc{wxString}{GetFilePath}{\void}
Gets selected filename path only (else empty string).
This function doesn't count a directory as a selection.
\membersection{wxGenericDirCtrl::GetFilter}\label{wxgenericdirctrlgetfilter}
\constfunc{wxString}{GetFilter}{\void}
Returns the filter string.
\membersection{wxGenericDirCtrl::GetFilterIndex}\label{wxgenericdirctrlgetfilterindex}
\constfunc{int}{GetFilterIndex}{\void}
Returns the current filter index (zero-based).
\membersection{wxGenericDirCtrl::GetFilterListCtrl}\label{wxgenericdirctrlgetfilterlistctrl}
\constfunc{wxDirFilterListCtrl*}{GetFilterListCtrl}{\void}
Returns a pointer to the filter list control (if present).
\membersection{wxGenericDirCtrl::GetRootId}\label{wxgenericdirctrlgetrootid}
\func{wxTreeItemId}{GetRootId}{\void}
Returns the root id for the tree control.
\membersection{wxGenericDirCtrl::GetTreeCtrl}\label{wxgenericdirctrlgettreectrl}
\constfunc{wxTreeCtrl*}{GetTreeCtrl}{\void}
Returns a pointer to the tree control.
\membersection{wxGenericDirCtrl::SetDefaultPath}\label{wxgenericdirctrlsetdefaultpath}
\func{void}{SetDefaultPath}{\param{const wxString\& }{path}}
Sets the default path.
\membersection{wxGenericDirCtrl::SetFilter}\label{wxgenericdirctrlsetfilter}
\func{void}{SetFilter}{\param{const wxString\& }{filter}}
Sets the filter string.
\membersection{wxGenericDirCtrl::SetFilterIndex}\label{wxgenericdirctrlsetfilterindex}
\func{void}{SetFilterIndex}{\param{int }{n}}
Sets the current filter index (zero-based).
\membersection{wxGenericDirCtrl::SetPath}\label{wxgenericdirctrlsetpath}
\func{void}{SetPath}{\param{const wxString\& }{path}}
Sets the current path.

111
docs/latex/wx/dirdlg.tex Normal file
View File

@@ -0,0 +1,111 @@
\section{\class{wxDirDialog}}\label{wxdirdialog}
This class represents the directory chooser dialog.
\wxheading{Derived from}
\helpref{wxDialog}{wxdialog}\\
\helpref{wxWindow}{wxwindow}\\
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/dirdlg.h>
<wx/generic/dirdlgg.h>
\wxheading{Window styles}
\twocolwidtha{5cm}
\begin{twocollist}
\twocolitem{\indexit{wxDD\_NEW\_DIR\_BUTTON}}{Add "Create new
directory" button and allow directory names to be editable. On
Windows the new directory button is only available with recent
versions of the common dialogs.}
\end{twocollist}
See also \helpref{Generic window styles}{windowstyles}.
\wxheading{See also}
\helpref{wxDirDialog overview}{wxdirdialogoverview}, \helpref{wxFileDialog}{wxfiledialog}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxDirDialog::wxDirDialog}\label{wxdirdialogconstr}
\func{}{wxDirDialog}{\param{wxWindow* }{parent}, \param{const wxString\& }{message = "Choose a directory"},\rtfsp
\param{const wxString\& }{defaultPath = ""}, \param{long }{style = 0},\rtfsp
\param{const wxPoint\& }{pos = wxDefaultPosition},\rtfsp
\param{const wxSize\& }{size = wxDefaultSize},\rtfsp
\param{const wxString\& }{name = "wxDirCtrl"}}
Constructor. Use \helpref{wxDirDialog::ShowModal}{wxdirdialogshowmodal} to show
the dialog.
\wxheading{Parameters}
\docparam{parent}{Parent window.}
\docparam{message}{Message to show on the dialog.}
\docparam{defaultPath}{The default path, or the empty string.}
\docparam{style}{A dialog style, currently unused.}
\docparam{pos}{Dialog position. Ignored under Windows.}
\docparam{size}{Dialog size. Ignored under Windows.}
\docparam{name}{The dialog name, not used.}
\membersection{wxDirDialog::\destruct{wxDirDialog}}
\func{}{\destruct{wxDirDialog}}{\void}
Destructor.
\membersection{wxDirDialog::GetPath}\label{wxdirdialoggetpath}
\constfunc{wxString}{GetPath}{\void}
Returns the default or user-selected path.
\membersection{wxDirDialog::GetMessage}\label{wxdirdialoggetmessage}
\constfunc{wxString}{GetMessage}{\void}
Returns the message that will be displayed on the dialog.
\membersection{wxDirDialog::GetStyle}\label{wxdirdialoggetstyle}
\constfunc{long}{GetStyle}{\void}
Returns the dialog style.
\membersection{wxDirDialog::SetMessage}\label{wxdirdialogsetmessage}
\func{void}{SetMessage}{\param{const wxString\& }{message}}
Sets the message that will be displayed on the dialog.
\membersection{wxDirDialog::SetPath}\label{wxdirdialogsetpath}
\func{void}{SetPath}{\param{const wxString\& }{path}}
Sets the default path.
\membersection{wxDirDialog::SetStyle}\label{wxdirdialogsetstyle}
\func{void}{SetStyle}{\param{long }{style}}
Sets the dialog style. This is currently unused.
\membersection{wxDirDialog::ShowModal}\label{wxdirdialogshowmodal}
\func{int}{ShowModal}{\void}
Shows the dialog, returning wxID\_OK if the user pressed OK, and wxOK\_CANCEL
otherwise.

91
docs/latex/wx/dirtrav.tex Normal file
View File

@@ -0,0 +1,91 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Name: dirtrav.tex
%% Purpose: wxDirTraverser documentation
%% Author: Vadim Zeitlin
%% Modified by:
%% Created: 14.01.02 (extracted from dir.tex)
%% RCS-ID: $Id$
%% Copyright: (c) Vadim Zeitlin
%% License: wxWindows license
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{\class{wxDirTraverser}}\label{wxdirtraverser}
wxDirTraverser is an abstract interface which must be implemented by objects
passed to \helpref{Traverse}{wxdirtraverse} function.
Example of use (this works almost like \helpref{GetAllFiles}{wxdirgetallfiles}):
\begin{verbatim}
class wxDirTraverserSimple : public wxDirTraverser
{
public:
wxDirTraverserSimple(wxArrayString& files) : m_files(files) { }
virtual wxDirTraverseResult OnFile(const wxString& filename)
{
m_files.Add(filename);
return wxDIR_CONTINUE;
}
virtual wxDirTraverseResult OnDir(const wxString& WXUNUSED(dirname))
{
return wxDIR_CONTINUE;
}
private:
wxArrayString& m_files;
};
// get the names of all files in the array
wxArrayString files;
wxDirTraverserSimple traverser(files);
wxDir dir(dirname);
dir.Traverse(traverser);
\end{verbatim}
\wxheading{Derived from}
No base class
\wxheading{Constants}
The elements of {\tt wxDirTraverseResult} are the possible return values of the
callback functions:
{\small
\begin{verbatim}
enum wxDirTraverseResult
{
wxDIR_IGNORE = -1, // ignore this directory but continue with others
wxDIR_STOP, // stop traversing
wxDIR_CONTINUE // continue into this directory
};
\end{verbatim}
}
\wxheading{Include files}
<wx/dir.h>
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxDirTraverser::OnFile}\label{wxdirtraverseronfile}
\func{virtual wxDirTraverseResult}{OnFile}{\param{const wxString\& }{filename}}
This function is called for each file. It may return {\tt wxDIR\_STOP} to abort
traversing (for example, if the file being searched is found) or
{\tt wxDIR\_CONTINUE} to proceed.
\membersection{wxDirTraverser::OnDir}\label{wxdirtraverserondir}
\func{virtual wxDirTraverseResult}{OnDir}{\param{const wxString\& }{dirname}}
This function is called for each directory. It may return {\tt wxSIR\_STOP}
to abort traversing completely, {\tt wxDIR\_IGNORE} to skip this directory but
continue with others or {\tt wxDIR\_CONTINUE} to enumerate all files and
subdirectories in this directory.

147
docs/latex/wx/dllload.tex Normal file
View File

@@ -0,0 +1,147 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Name: dllload.tex
%% Purpose: wxDllLoader documentation
%% Author: Vadim Zeitlin
%% Modified by:
%% Created: 02.04.00
%% RCS-ID: $Id$
%% Copyright: (c) Vadim Zeitlin
%% License: wxWindows license
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{\class{wxDllLoader}}\label{wxdllloader}
wxDllLoader is a class providing an interface similar to Unix's {\tt
dlopen()}. It is used by the wxLibrary framework and manages the actual
loading of shared libraries and the resolving of symbols in them. There are no
instances of this class, it simply serves as a namespace for its static member
functions.
Please note that class \helpref{wxDynamicLibrary}{wxdynamiclibrary} provides
alternative, friendlier interface to wxDllLoader.
The terms {\it DLL} and {\it shared library/object} will both be used in the
documentation to refer to the same thing: a {\tt .dll} file under Windows or
{\tt .so} or {\tt .sl} one under Unix.
Example of using this class to dynamically load the {\tt strlen()} function:
\begin{verbatim}
#if defined(__WXMSW__)
static const wxChar *LIB_NAME = _T("kernel32");
static const wxChar *FUNC_NAME = _T("lstrlenA");
#elif defined(__UNIX__)
static const wxChar *LIB_NAME = _T("/lib/libc-2.0.7.so");
static const wxChar *FUNC_NAME = _T("strlen");
#endif
wxDllType dllHandle = wxDllLoader::LoadLibrary(LIB_NAME);
if ( !dllHandle )
{
... error ...
}
else
{
typedef int (*strlenType)(char *);
strlenType pfnStrlen = (strlenType)wxDllLoader::GetSymbol(dllHandle, FUNC_NAME);
if ( !pfnStrlen )
{
... error ...
}
else
{
if ( pfnStrlen("foo") != 3 )
{
... error ...
}
else
{
... ok! ...
}
}
wxDllLoader::UnloadLibrary(dllHandle);
}
\end{verbatim}
\wxheading{Derived from}
No base class
\wxheading{Include files}
<wx/dynlib.h>
\wxheading{Data structures}
This header defines a platform-dependent {\tt wxDllType} typedef which stores
a handle to a loaded DLLs on the given platform.
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxDllLoader::GetDllExt}\label{wxdllloadergetdllext}
\func{static wxString}{GetDllExt}{\void}
Returns the string containing the usual extension for shared libraries for the
given systems (including the leading dot if not empty).
For example, this function will return {\tt ".dll"} under Windows or (usually)
{\tt ".so"} under Unix.
\membersection{wxDllLoader::GetProgramHandle}\label{wxdllloadergetprogramhandle}
\func{wxDllType}{GetProgramHandle}{\void}
This function returns a valid handle for the main program itself. Notice that
the {\tt NULL} return value is valid for some systems (i.e. doesn't mean that
the function failed).
{\bf NB:} This function is Unix specific. It will always fail under Windows
or OS/2.
\membersection{wxDllLoader::GetSymbol}\label{wxdllloadergetsymbol}
\func{void *}{GetSymbol}{\param{wxDllType }{dllHandle}, \param{const wxString\& }{name}}
This function resolves a symbol in a loaded DLL, such as a variable or
function name.
Returned value will be {\tt NULL} if the symbol was not found in the DLL or if
an error occured.
\wxheading{Parameters}
\docparam{dllHandle}{Valid handle previously returned by
\helpref{LoadLibrary}{wxdllloaderloadlibrary}}
\docparam{name}{Name of the symbol.}
\membersection{wxDllLoader::LoadLibrary}\label{wxdllloaderloadlibrary}
\func{wxDllType}{LoadLibrary}{\param{const wxString \& }{libname}, \param{bool* }{success = NULL}}
This function loads a shared library into memory, with {\it libname} being the
name of the library: it may be either the full name including path and
(platform-dependent) extension, just the basename (no path and no extension)
or a basename with extension. In the last two cases, the library will be
searched in all standard locations.
Returns a handle to the loaded DLL. Use {\it success} parameter to test if it
is valid. If the handle is valid, the library must be unloaded later with
\helpref{UnloadLibrary}{wxdllloaderunloadlibrary}.
\wxheading{Parameters}
\docparam{libname}{Name of the shared object to load.}
\docparam{success}{May point to a bool variable which will be set to TRUE or
FALSE; may also be {\tt NULL}.}
\membersection{wxDllLoader::UnloadLibrary}\label{wxdllloaderunloadlibrary}
\func{void}{UnloadLibrary}{\param{wxDllType }{dllhandle}}
This function unloads the shared library. The handle {\it dllhandle} must have
been returned by \helpref{LoadLibrary}{wxdllloaderloadlibrary} previously.

View File

@@ -0,0 +1,65 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Name: dobjcomp.tex
%% Purpose: wxDataObjectComposite documentation
%% Author: Vadim Zeitlin
%% Modified by:
%% Created: 02.11.99
%% RCS-ID: $Id$
%% Copyright: (c) Vadim Zeitlin
%% License: wxWindows license
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{\class{wxDataObjectComposite}}\label{wxdataobjectcomposite}
wxDataObjectComposite is the simplest
\helpref{wxDataObject}{wxdataobject} derivation which may be sued to support
multiple formats. It contains several
\helpref{wxDataObjectSimple}{wxdataobjectsimple} objects and supports any
format supported by at least one of them. Only one of these data objects is
{\it preferred} (the first one if not explicitly changed by using the second
parameter of \helpref{Add}{wxdataobjectcompositeadd}) and its format determines
the preferred format of the composite data object as well.
See \helpref{wxDataObject}{wxdataobject} documentation for the reasons why you
might prefer to use wxDataObject directly instead of wxDataObjectComposite for
efficiency reasons.
\wxheading{Virtual functions to override}
None, this class should be used directly.
\wxheading{Derived from}
\helpref{wxDataObject}{wxdataobject}
\wxheading{Include files}
<wx/dataobj.h>
\wxheading{See also}
\helpref{Clipboard and drag and drop overview}{wxdndoverview},
\helpref{wxDataObject}{wxdataobject},
\helpref{wxDataObjectSimple}{wxdataobjectsimple},
\helpref{wxFileDataObject}{wxfiledataobject},
\helpref{wxTextDataObject}{wxtextdataobject},
\helpref{wxBitmapDataObject}{wxbitmapdataobject}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxDataObjectComposite::wxDataObjectComposite}\label{wxdataobjectcompositewxdataobjectcomposite}
\func{}{wxDataObjectComposite}{\void}
The default constructor.
\membersection{wxDataObjectComposite::Add}\label{wxdataobjectcompositeadd}
\func{void}{Add}{
\param{wxDataObjectSimple }{*dataObject},
\param{bool }{preferred = FALSE}}
Adds the {\it dataObject} to the list of supported objects and it becomes the
preferred object if {\it preferred} is TRUE.

104
docs/latex/wx/dobjsmpl.tex Normal file
View File

@@ -0,0 +1,104 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Name: dobjsmpl.tex
%% Purpose: wxDataObjectSimple documentation
%% Author: Vadim Zeitlin
%% Modified by:
%% Created: 02.11.99
%% RCS-ID: $Id$
%% Copyright: (c) Vadim Zeitlin
%% License: wxWindows license
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{\class{wxDataObjectSimple}}\label{wxdataobjectsimple}
This is the simplest possible implementation of the
\helpref{wxDataObject}{wxdataobject} class. The data object of (a class derived
from) this class only supports one format, so the number of virtual functions
to be implemented is reduced.
Notice that this is still an abstract base class and cannot be used but should
be derived from.
\pythonnote{If you wish to create a derived wxDataObjectSimple class in
wxPython you should derive the class from wxPyDataObjectSimple
in order to get Python-aware capabilities for the various virtual
methods.}
\perlnote{In wxPerl, you need to derive your data object class
from Wx::PlDataObjectSimple.}
\wxheading{Virtual functions to override}
The objects supporting rendering the data must override
\helpref{GetDataSize}{wxdataobjectsimplegetdatasize} and
\helpref{GetDataHere}{wxdataobjectsimplegetdatahere} while the objects which
may be set must override \helpref{SetData}{wxdataobjectsimplesetdata}. Of
course, the objects supporting both operations must override all three
methods.
\wxheading{Derived from}
\helpref{wxDataObject}{wxdataobject}
\wxheading{Include files}
<wx/dataobj.h>
\wxheading{See also}
\helpref{Clipboard and drag and drop overview}{wxdndoverview},
\helpref{DnD sample}{samplednd},
\helpref{wxFileDataObject}{wxfiledataobject},
\helpref{wxTextDataObject}{wxtextdataobject},
\helpref{wxBitmapDataObject}{wxbitmapdataobject}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxDataObjectSimple::wxDataObjectSimple}\label{wxdataobjectsimplewxdataobjectsimple}
\func{}{wxDataObjectSimple}{\param{const wxDataFormat\&}{ format = wxFormatInvalid}}
Constructor accepts the supported format (none by default) which may also be
set later with \helpref{SetFormat}{wxdataobjectsimplesetformat}.
\membersection{wxDataObjectSimple::GetFormat}\label{wxdataobjectsimplegetformat}
\constfunc{const wxDataFormat\&}{GetFormat}{\void}
Returns the (one and only one) format supported by this object. It is supposed
that the format is supported in both directions.
\membersection{wxDataObjectSimple::SetFormat}\label{wxdataobjectsimplesetformat}
\func{void}{SetFormat}{\param{const wxDataFormat\&}{ format}}
Sets the supported format.
\membersection{wxDataObjectSimple::GetDataSize}\label{wxdataobjectsimplegetdatasize}
\constfunc{virtual size\_t}{GetDataSize}{\void}
Gets the size of our data. Must be implemented in the derived class if the
object supports rendering its data.
\membersection{wxDataObjectSimple::GetDataHere}\label{wxdataobjectsimplegetdatahere}
\constfunc{virtual bool}{GetDataHere}{\param{void }{*buf}}
Copy the data to the buffer, return TRUE on success. Must be implemented in the
derived class if the object supports rendering its data.
\pythonnote{When implementing this method in wxPython, no additional
parameters are required and the data should be returned from the
method as a string.}
\membersection{wxDataObjectSimple::SetData}\label{wxdataobjectsimplesetdata}
\func{virtual bool}{SetData}{\param{size\_t }{len}, \param{const void }{*buf}}
Copy the data from the buffer, return TRUE on success. Must be implemented in
the derived class if the object supports setting its data.
\pythonnote{When implementing this method in wxPython, the data comes
as a single string parameter rather than the two shown here.}

View File

@@ -0,0 +1,92 @@
\section{\class{wxDocChildFrame}}\label{wxdocchildframe}
The wxDocChildFrame class provides a default frame for displaying documents
on separate windows. This class can only be used for SDI (not MDI) child frames.
The class is part of the document/view framework supported by wxWindows,
and cooperates with the \helpref{wxView}{wxview}, \helpref{wxDocument}{wxdocument},
\rtfsp\helpref{wxDocManager}{wxdocmanager} and \helpref{wxDocTemplate}{wxdoctemplate} classes.
See the example application in {\tt samples/docview}.
\wxheading{Derived from}
\helpref{wxFrame}{wxframe}\\
\helpref{wxWindow}{wxwindow}\\
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/docview.h>
\wxheading{See also}
\helpref{Document/view overview}{docviewoverview}, \helpref{wxFrame}{wxframe}
\membersection{wxDocChildFrame::m\_childDocument}
\member{wxDocument*}{m\_childDocument}
The document associated with the frame.
\membersection{wxDocChildFrame::m\_childView}
\member{wxView*}{m\_childView}
The view associated with the frame.
\membersection{wxDocChildFrame::wxDocChildFrame}
\func{}{wxDocChildFrame}{\param{wxDocument* }{doc}, \param{wxView* }{view}, \param{wxFrame* }{parent},
\param{wxWindowID}{ id}, \param{const wxString\& }{title}, \param{const wxPoint\&}{ pos = wxDefaultPosition},
\param{const wxSize\&}{ size = wxDefaultSize},
\param{long}{ style = wxDEFAULT\_FRAME\_STYLE}, \param{const wxString\& }{name = ``frame"}}
Constructor.
\membersection{wxDocChildFrame::\destruct{wxDocChildFrame}}
\func{}{\destruct{wxDocChildFrame}}{\void}
Destructor.
\membersection{wxDocChildFrame::GetDocument}
\constfunc{wxDocument*}{GetDocument}{\void}
Returns the document associated with this frame.
\membersection{wxDocChildFrame::GetView}
\constfunc{wxView*}{GetView}{\void}
Returns the view associated with this frame.
\membersection{wxDocChildFrame::OnActivate}
\func{void}{OnActivate}{\param{wxActivateEvent}{ event}}
Sets the currently active view to be the frame's view. You may need
to override (but still call) this function in order to set the keyboard
focus for your subwindow.
\membersection{wxDocChildFrame::OnCloseWindow}
\func{void}{OnCloseWindow}{\param{wxCloseEvent\&}{ event}}
Closes and deletes the current view and document.
\membersection{wxDocChildFrame::SetDocument}
\func{void}{SetDocument}{\param{wxDocument *}{doc}}
Sets the document for this frame.
\membersection{wxDocChildFrame::SetView}
\func{void}{SetView}{\param{wxView *}{view}}
Sets the view for this frame.

424
docs/latex/wx/docmanag.tex Normal file
View File

@@ -0,0 +1,424 @@
\section{\class{wxDocManager}}\label{wxdocmanager}
The wxDocManager class is part of the document/view framework supported by wxWindows,
and cooperates with the \helpref{wxView}{wxview}, \helpref{wxDocument}{wxdocument}\rtfsp
and \helpref{wxDocTemplate}{wxdoctemplate} classes.
\wxheading{Derived from}
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/docview.h>
\wxheading{See also}
\helpref{wxDocManager overview}{wxdocmanageroverview}, \helpref{wxDocument}{wxdocument},\rtfsp
\helpref{wxView}{wxview}, \helpref{wxDocTemplate}{wxdoctemplate}, \helpref{wxFileHistory}{wxfilehistory}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxDocManager::m\_currentView}
\member{wxView*}{m\_currentView}
The currently active view.
\membersection{wxDocManager::m\_defaultDocumentNameCounter}
\member{int}{m\_defaultDocumentNameCounter}
Stores the integer to be used for the next default document name.
\membersection{wxDocManager::m\_fileHistory}
\member{wxFileHistory*}{m\_fileHistory}
A pointer to an instance of \helpref{wxFileHistory}{wxfilehistory},
which manages the history of recently-visited files on the File menu.
\membersection{wxDocManager::m\_maxDocsOpen}
\member{int}{m\_maxDocsOpen}
Stores the maximum number of documents that can be opened before
existing documents are closed. By default, this is 10,000.
\membersection{wxDocManager::m\_docs}
\member{wxList}{m\_docs}
A list of all documents.
\membersection{wxDocManager::m\_flags}
\member{long}{m\_flags}
Stores the flags passed to the constructor.
\membersection{wxDocManager::m\_lastDirectory}
The directory last selected by the user when opening a file.
\member{wxFileHistory*}{m\_fileHistory}
\membersection{wxDocManager::m\_templates}
\member{wxList}{mnTemplates}
A list of all document templates.
\membersection{wxDocManager::wxDocManager}
\func{void}{wxDocManager}{\param{long}{ flags = wxDEFAULT\_DOCMAN\_FLAGS}, \param{bool}{ initialize = TRUE}}
Constructor. Create a document manager instance dynamically near the start of your application
before doing any document or view operations.
{\it flags} is currently unused.
If {\it initialize} is TRUE, the \helpref{Initialize}{wxdocmanagerinitialize} function will be called
to create a default history list object. If you derive from wxDocManager, you may wish to call the
base constructor with FALSE, and then call Initialize in your own constructor, to allow
your own Initialize or OnCreateFileHistory functions to be called.
\membersection{wxDocManager::\destruct{wxDocManager}}
\func{void}{\destruct{wxDocManager}}{\void}
Destructor.
\membersection{wxDocManager::ActivateView}
\func{void}{ActivateView}{\param{wxView* }{doc}, \param{bool}{ activate}, \param{bool}{ deleting}}
Sets the current view.
\membersection{wxDocManager::AddDocument}
\func{void}{AddDocument}{\param{wxDocument *}{doc}}
Adds the document to the list of documents.
\membersection{wxDocManager::AddFileToHistory}
\func{void}{AddFileToHistory}{\param{const wxString\& }{filename}}
Adds a file to the file history list, if we have a pointer to an appropriate file menu.
\membersection{wxDocManager::AssociateTemplate}
\func{void}{AssociateTemplate}{\param{wxDocTemplate *}{temp}}
Adds the template to the document manager's template list.
\membersection{wxDocManager::CloseDocuments}
\func{bool}{CloseDocuments}{\param{bool }{force = TRUE}}
Closes all currently opened documents.
\membersection{wxDocManager::CreateDocument}
\func{wxDocument*}{CreateDocument}{\param{const wxString\& }{path}, \param{long}{ flags}}
Creates a new document in a manner determined by the {\it flags} parameter, which can be:
\begin{itemize}\itemsep=0pt
\item wxDOC\_NEW Creates a fresh document.
\item wxDOC\_SILENT Silently loads the given document file.
\end{itemize}
If wxDOC\_NEW is present, a new document will be created and returned, possibly after
asking the user for a template to use if there is more than one document template.
If wxDOC\_SILENT is present, a new document will be created and the given file loaded
into it. If neither of these flags is present, the user will be presented with
a file selector for the file to load, and the template to use will be determined by the
extension (Windows) or by popping up a template choice list (other platforms).
If the maximum number of documents has been reached, this function
will delete the oldest currently loaded document before creating a new one.
\membersection{wxDocManager::CreateView}
\func{wxView*}{CreateView}{\param{wxDocument*}{doc}, \param{long}{ flags}}
Creates a new view for the given document. If more than one view is allowed for the
document (by virtue of multiple templates mentioning the same document type), a choice
of view is presented to the user.
\membersection{wxDocManager::DisassociateTemplate}
\func{void}{DisassociateTemplate}{\param{wxDocTemplate *}{temp}}
Removes the template from the list of templates.
\membersection{wxDocManager::FileHistoryAddFilesToMenu}\label{wxdocmanagerfilehistoryaddfilestomenu}
\func{void}{FileHistoryAddFilesToMenu}{\void}
Appends the files in the history list, to all menus managed by the file history object.
\func{void}{FileHistoryAddFilesToMenu}{\param{wxMenu*}{ menu}}
Appends the files in the history list, to the given menu only.
\membersection{wxDocManager::FileHistoryLoad}\label{wxdocmanagerfilehistoryload}
\func{void}{FileHistoryLoad}{\param{wxConfigBase\& }{config}}
Loads the file history from a config object.
\wxheading{See also}
\helpref{wxConfig}{wxconfigbase}
\membersection{wxDocManager::FileHistoryRemoveMenu}\label{wxdocmanagerfilehistoryremovemenu}
\func{void}{FileHistoryRemoveMenu}{\param{wxMenu*}{ menu}}
Removes the given menu from the list of menus managed by the file history object.
\membersection{wxDocManager::FileHistorySave}\label{wxdocmanagerfilehistorysave}
\func{void}{FileHistorySave}{\param{wxConfigBase\& }{resourceFile}}
Saves the file history into a config object. This must be called
explicitly by the application.
\wxheading{See also}
\helpref{wxConfig}{wxconfigbase}
\membersection{wxDocManager::FileHistoryUseMenu}\label{wxdocmanagerfilehistoryusemenu}
\func{void}{FileHistoryUseMenu}{\param{wxMenu*}{ menu}}
Use this menu for appending recently-visited document filenames, for convenient
access. Calling this function with a valid menu pointer enables the history
list functionality.
Note that you can add multiple menus using this function, to be managed by the
file history object.
\membersection{wxDocManager::FindTemplateForPath}
\func{wxDocTemplate *}{FindTemplateForPath}{\param{const wxString\& }{path}}
Given a path, try to find template that matches the extension. This is only
an approximate method of finding a template for creating a document.
\membersection{wxDocManager::GetCurrentDocument}
\func{wxDocument *}{GetCurrentDocument}{\void}
Returns the document associated with the currently active view (if any).
\membersection{wxDocManager::GetCurrentView}
\func{wxView *}{GetCurrentView}{\void}
Returns the currently active view
\membersection{wxDocManager::GetDocuments}
\func{wxList\&}{GetDocuments}{\void}
Returns a reference to the list of documents.
\membersection{wxDocManager::GetFileHistory}
\func{wxFileHistory *}{GetFileHistory}{\void}
Returns a pointer to file history.
\membersection{wxDocManager::GetLastDirectory}\label{wxdocmanagergetlastdirectory}
\constfunc{wxString}{GetLastDirectory}{\void}
Returns the directory last selected by the user when opening a file. Initially empty.
\membersection{wxDocManager::GetMaxDocsOpen}
\func{int}{GetMaxDocsOpen}{\void}
Returns the number of documents that can be open simultaneously.
\membersection{wxDocManager::GetNoHistoryFiles}
\func{int}{GetNoHistoryFiles}{\void}
Returns the number of files currently stored in the file history.
\membersection{wxDocManager::Initialize}\label{wxdocmanagerinitialize}
\func{bool}{Initialize}{\void}
Initializes data; currently just calls OnCreateFileHistory. Some data cannot
always be initialized in the constructor because the programmer must be given
the opportunity to override functionality. If OnCreateFileHistory was called
from the constructor, an overridden virtual OnCreateFileHistory would not be
called due to C++'s `interesting' constructor semantics. In fact Initialize
\rtfsp{\it is} called from the wxDocManager constructor, but this can be
vetoed by passing FALSE to the second argument, allowing the derived class's
constructor to call Initialize, possibly calling a different OnCreateFileHistory
from the default.
The bottom line: if you're not deriving from Initialize, forget it and
construct wxDocManager with no arguments.
\membersection{wxDocManager::MakeDefaultName}
\func{bool}{MakeDefaultName}{\param{const wxString\& }{buf}}
Copies a suitable default name into {\it buf}. This is implemented by
appending an integer counter to the string {\bf unnamed} and incrementing
the counter.
\membersection{wxDocManager::OnCreateFileHistory}
\func{wxFileHistory *}{OnCreateFileHistory}{\void}
A hook to allow a derived class to create a different type of file history. Called
from \helpref{Initialize}{wxdocmanagerinitialize}.
\membersection{wxDocManager::OnFileClose}
\func{void}{OnFileClose}{\void}
Closes and deletes the currently active document.
\membersection{wxDocManager::OnFileCloseAll}
\func{void}{OnFileCloseAll}{\void}
Closes and deletes all the currently opened documents.
\membersection{wxDocManager::OnFileNew}
\func{void}{OnFileNew}{\void}
Creates a document from a list of templates (if more than one template).
\membersection{wxDocManager::OnFileOpen}
\func{void}{OnFileOpen}{\void}
Creates a new document and reads in the selected file.
\membersection{wxDocManager::OnFileSave}
\func{void}{OnFileSave}{\void}
Saves the current document by calling wxDocument::Save for the current document.
\membersection{wxDocManager::OnFileSaveAs}
\func{void}{OnFileSaveAs}{\void}
Calls wxDocument::SaveAs for the current document.
\membersection{wxDocManager::OnMenuCommand}
\func{void}{OnMenuCommand}{\param{int}{ cmd}}
Processes menu commands routed from child or parent frames. This deals
with the following predefined menu item identifiers:
\begin{itemize}\itemsep=0pt
\item wxID\_OPEN Creates a new document and opens a file into it.
\item wxID\_CLOSE Closes the current document.
\item wxID\_CLOSE\_ALL Closes all documents.
\item wxID\_NEW Creates a new document.
\item wxID\_SAVE Saves the document.
\item wxID\_SAVE\_AS Saves the document into a specified filename.
\end{itemize}
Unrecognized commands are routed to the currently active wxView's OnMenuCommand.
\membersection{wxDocManager::RemoveDocument}
\func{void}{RemoveDocument}{\param{wxDocument *}{doc}}
Removes the document from the list of documents.
\membersection{wxDocManager::SelectDocumentPath}
\func{wxDocTemplate *}{SelectDocumentPath}{\param{wxDocTemplate **}{templates},
\param{int}{ noTemplates}, \param{const wxString\& }{path}, \param{const wxString\& }{bufSize},
\param{long}{ flags}, \param{bool}{ save}}
Under Windows, pops up a file selector with a list of filters corresponding to document templates.
The wxDocTemplate corresponding to the selected file's extension is returned.
On other platforms, if there is more than one document template a choice list is popped up,
followed by a file selector.
This function is used in wxDocManager::CreateDocument.
\perlnote{In wxPerl {\tt templates} is a reference to a list of templates.
If you override this method in your document manager it must return
two values, eg:\par
(doctemplate, path) = My::DocManager->SelectDocumentPath( ... );
}
\membersection{wxDocManager::SelectDocumentType}
\func{wxDocTemplate *}{SelectDocumentType}{\param{wxDocTemplate **}{templates},
\param{int}{ noTemplates}, \param{bool}{ sort=FALSE}}
Returns a document template by asking the user (if there is more than one template).
This function is used in wxDocManager::CreateDocument.
\wxheading{Parameters}
\docparam{templates}{Pointer to an array of templates from which to choose a desired template.}
\docparam{noTemplates}{Number of templates being pointed to by the {\it templates} pointer.}
\docparam{sort}{If more than one template is passed in in {\it templates},
then this parameter indicates whether the list of templates that the user
will have to choose from is sorted or not when shown the choice box dialog.
Default is FALSE.}
\perlnote{In wxPerl {\tt templates} is a reference to a list of templates.}
\membersection{wxDocManager::SelectViewType}
\func{wxDocTemplate *}{SelectViewType}{\param{wxDocTemplate **}{templates},
\param{int}{ noTemplates}, \param{bool}{ sort=FALSE}}
Returns a document template by asking the user (if there is more than one template),
displaying a list of valid views. This function is used in wxDocManager::CreateView.
The dialog normally will not appear because the array of templates only contains
those relevant to the document in question, and often there will only be one such.
\wxheading{Parameters}
\docparam{templates}{Pointer to an array of templates from which to choose a desired template.}
\docparam{noTemplates}{Number of templates being pointed to by the {\it templates} pointer.}
\docparam{sort}{If more than one template is passed in in {\it templates},
then this parameter indicates whether the list of templates that the user
will have to choose from is sorted or not when shown the choice box dialog.
Default is FALSE.}
\perlnote{In wxPerl {\tt templates} is a reference to a list of templates.}
\membersection{wxDocManager::SetLastDirectory}\label{wxdocmanagersetlastdirectory}
\func{void}{SetLastDirectory}{\param{const wxString\&}{ dir}}
Sets the directory to be displayed to the user when opening a file. Initially this is empty.
\membersection{wxDocManager::SetMaxDocsOpen}
\func{void}{SetMaxDocsOpen}{\param{int}{ n}}
Sets the maximum number of documents that can be open at a time. By default, this
is 10,000. If you set it to 1, existing documents will be saved and deleted
when the user tries to open or create a new one (similar to the behaviour
of Windows Write, for example). Allowing multiple documents gives behaviour
more akin to MS Word and other Multiple Document Interface applications.

View File

@@ -0,0 +1,93 @@
\section{\class{wxDocMDIChildFrame}}\label{wxdocmdichildframe}
The wxDocMDIChildFrame class provides a default frame for displaying documents
on separate windows. This class can only be used for MDI child frames.
The class is part of the document/view framework supported by wxWindows,
and cooperates with the \helpref{wxView}{wxview}, \helpref{wxDocument}{wxdocument},
\rtfsp\helpref{wxDocManager}{wxdocmanager} and \helpref{wxDocTemplate}{wxdoctemplate} classes.
See the example application in {\tt samples/docview}.
\wxheading{Derived from}
\helpref{wxMDIChildFrame}{wxmdichildframe}\\
\helpref{wxFrame}{wxframe}\\
\helpref{wxWindow}{wxwindow}\\
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/docmdi.h>
\wxheading{See also}
\helpref{Document/view overview}{docviewoverview}, \helpref{wxMDIChildFrame}{wxmdichildframe}
\membersection{wxDocMDIChildFrame::m\_childDocument}
\member{wxDocument*}{m\_childDocument}
The document associated with the frame.
\membersection{wxDocMDIChildFrame::m\_childView}
\member{wxView*}{m\_childView}
The view associated with the frame.
\membersection{wxDocMDIChildFrame::wxDocMDIChildFrame}
\func{}{wxDocMDIChildFrame}{\param{wxDocument* }{doc}, \param{wxView* }{view}, \param{wxFrame* }{parent},
\param{wxWindowID}{ id}, \param{const wxString\& }{title}, \param{const wxPoint\&}{ pos = wxDefaultPosition},
\param{const wxSize\&}{ size = wxDefaultSize},
\param{long}{ style = wxDEFAULT\_FRAME\_STYLE}, \param{const wxString\& }{name = ``frame"}}
Constructor.
\membersection{wxDocMDIChildFrame::\destruct{wxDocMDIChildFrame}}
\func{}{\destruct{wxDocMDIChildFrame}}{\void}
Destructor.
\membersection{wxDocMDIChildFrame::GetDocument}
\constfunc{wxDocument*}{GetDocument}{\void}
Returns the document associated with this frame.
\membersection{wxDocMDIChildFrame::GetView}
\constfunc{wxView*}{GetView}{\void}
Returns the view associated with this frame.
\membersection{wxDocMDIChildFrame::OnActivate}
\func{void}{OnActivate}{\param{wxActivateEvent}{ event}}
Sets the currently active view to be the frame's view. You may need
to override (but still call) this function in order to set the keyboard
focus for your subwindow.
\membersection{wxDocMDIChildFrame::OnCloseWindow}
\func{void}{OnCloseWindow}{\param{wxCloseEvent\&}{ event}}
Closes and deletes the current view and document.
\membersection{wxDocMDIChildFrame::SetDocument}
\func{void}{SetDocument}{\param{wxDocument *}{doc}}
Sets the document for this frame.
\membersection{wxDocMDIChildFrame::SetView}
\func{void}{SetView}{\param{wxView *}{view}}
Sets the view for this frame.

View File

@@ -0,0 +1,65 @@
\section{\class{wxDocMDIParentFrame}}\label{wxdocmdiparentframe}
The wxDocMDIParentFrame class provides a default top-level frame for
applications using the document/view framework. This class can only be used for MDI parent frames.
It cooperates with the \helpref{wxView}{wxview}, \helpref{wxDocument}{wxdocument},
\rtfsp\helpref{wxDocManager}{wxdocmanager} and \helpref{wxDocTemplates}{wxdoctemplate} classes.
See the example application in {\tt samples/docview}.
\wxheading{Derived from}
\helpref{wxMDIParentFrame}{wxmdiparentframe}\\
\helpref{wxFrame}{wxframe}\\
\helpref{wxWindow}{wxwindow}\\
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/docmdi.h>
\wxheading{See also}
\helpref{Document/view overview}{docviewoverview}, \helpref{wxMDIParentFrame}{wxmdiparentframe}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxDocMDIParentFrame::wxDocMDIParentFrame}
\func{}{wxDocParentFrame}{\param{wxDocManager*}{ manager}, \param{wxFrame *}{parent}, \param{wxWindowID}{ id},
\param{const wxString\& }{title}, \param{const wxPoint\&}{ pos = wxDefaultPosition},
\param{const wxSize\&}{ size = wxDefaultSize},
\param{long}{ style = wxDEFAULT\_FRAME\_STYLE}, \param{const wxString\& }{name = "frame"}}
Constructor.
\membersection{wxDocMDIParentFrame::\destruct{wxDocMDIParentFrame}}
\func{}{\destruct{wxDocMDIParentFrame}}{\void}
Destructor.
\membersection{wxDocMDIParentFrame::OnCloseWindow}
\func{void}{OnCloseWindow}{\param{wxCloseEvent\&}{ event}}
Deletes all views and documents. If no user input cancelled the
operation, the frame will be destroyed and the application will exit.
Since understanding how document/view clean-up takes place can be difficult,
the implementation of this function is shown below.
\begin{verbatim}
void wxDocParentFrame::OnCloseWindow(wxCloseEvent& event)
{
if (m_docManager->Clear(!event.CanVeto()))
{
this->Destroy();
}
else
event.Veto();
}
\end{verbatim}

View File

@@ -0,0 +1,64 @@
\section{\class{wxDocParentFrame}}\label{wxdocparentframe}
The wxDocParentFrame class provides a default top-level frame for
applications using the document/view framework. This class can only be used for SDI (not MDI) parent frames.
It cooperates with the \helpref{wxView}{wxview}, \helpref{wxDocument}{wxdocument},
\rtfsp\helpref{wxDocManager}{wxdocmanager} and \helpref{wxDocTemplates}{wxdoctemplate} classes.
See the example application in {\tt samples/docview}.
\wxheading{Derived from}
\helpref{wxFrame}{wxframe}\\
\helpref{wxWindow}{wxwindow}\\
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/docview.h>
\wxheading{See also}
\helpref{Document/view overview}{docviewoverview}, \helpref{wxFrame}{wxframe}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxDocParentFrame::wxDocParentFrame}
\func{}{wxDocParentFrame}{\param{wxDocManager*}{ manager}, \param{wxFrame *}{parent}, \param{wxWindowID}{ id},
\param{const wxString\& }{title}, \param{const wxPoint\&}{ pos = wxDefaultPosition},
\param{const wxSize\&}{ size = wxDefaultSize},
\param{long}{ style = wxDEFAULT\_FRAME\_STYLE}, \param{const wxString\& }{name = "frame"}}
Constructor.
\membersection{wxDocParentFrame::\destruct{wxDocParentFrame}}
\func{}{\destruct{wxDocParentFrame}}{\void}
Destructor.
\membersection{wxDocParentFrame::OnCloseWindow}
\func{void}{OnCloseWindow}{\param{wxCloseEvent\&}{ event}}
Deletes all views and documents. If no user input cancelled the
operation, the frame will be destroyed and the application will exit.
Since understanding how document/view clean-up takes place can be difficult,
the implementation of this function is shown below.
\begin{verbatim}
void wxDocParentFrame::OnCloseWindow(wxCloseEvent& event)
{
if (m_docManager->Clear(!event.CanVeto()))
{
this->Destroy();
}
else
event.Veto();
}
\end{verbatim}

254
docs/latex/wx/doctempl.tex Normal file
View File

@@ -0,0 +1,254 @@
\section{\class{wxDocTemplate}}\label{wxdoctemplate}
The wxDocTemplate class is used to model the relationship between a
document class and a view class.
\wxheading{Derived from}
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/docview.h>
\wxheading{See also}
\helpref{wxDocTemplate overview}{wxdoctemplateoverview}, \helpref{wxDocument}{wxdocument}, \helpref{wxView}{wxview}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxDocTemplate::m\_defaultExt}
\member{wxString}{m\_defaultExt}
The default extension for files of this type.
\membersection{wxDocTemplate::m\_description}
\member{wxString}{m\_description}
A short description of this template.
\membersection{wxDocTemplate::m\_directory}
\member{wxString}{m\_directory}
The default directory for files of this type.
\membersection{wxDocTemplate::m\_docClassInfo}
\member{wxClassInfo* }{m\_docClassInfo}
Run-time class information that allows document instances to be constructed dynamically.
\membersection{wxDocTemplate::m\_docTypeName}
\member{wxString}{m\_docTypeName}
The named type of the document associated with this template.
\membersection{wxDocTemplate::m\_documentManager}
\member{wxDocTemplate*}{m\_documentManager}
A pointer to the document manager for which this template was created.
\membersection{wxDocTemplate::m\_fileFilter}
\member{wxString}{m\_fileFilter}
The file filter (such as {\tt *.txt}) to be used in file selector dialogs.
\membersection{wxDocTemplate::m\_flags}
\member{long}{m\_flags}
The flags passed to the constructor.
\membersection{wxDocTemplate::m\_viewClassInfo}
\member{wxClassInfo*}{m\_viewClassInfo}
Run-time class information that allows view instances to be constructed dynamically.
\membersection{wxDocTemplate::m\_viewTypeName}
\member{wxString}{m\_viewTypeName}
The named type of the view associated with this template.
\membersection{wxDocTemplate::wxDocTemplate}
\func{}{wxDocTemplate}{\param{wxDocManager* }{manager}, \param{const wxString\& }{descr}, \param{const wxString\& }{filter},
\param{const wxString\& }{dir}, \param{const wxString\& }{ext}, \param{const wxString\& }{docTypeName},
\param{const wxString\& }{viewTypeName}, \param{wxClassInfo* }{docClassInfo = NULL},
\param{wxClassInfo* }{viewClassInfo = NULL}, \param{long}{ flags = wxDEFAULT\_TEMPLATE\_FLAGS}}
Constructor. Create instances dynamically near the start of your application after creating
a wxDocManager instance, and before doing any document or view operations.
{\it manager} is the document manager object which manages this template.
{\it descr} is a short description of what the template is for. This string will be displayed in the
file filter list of Windows file selectors.
{\it filter} is an appropriate file filter such as {\tt *.txt}.
{\it dir} is the default directory to use for file selectors.
{\it ext} is the default file extension (such as txt).
{\it docTypeName} is a name that should be unique for a given type of document, used for
gathering a list of views relevant to a particular document.
{\it viewTypeName} is a name that should be unique for a given view.
{\it docClassInfo} is a pointer to the run-time document class information as returned
by the CLASSINFO macro, e.g. CLASSINFO(MyDocumentClass). If this is not supplied,
you will need to derive a new wxDocTemplate class and override the CreateDocument
member to return a new document instance on demand.
{\it viewClassInfo} is a pointer to the run-time view class information as returned
by the CLASSINFO macro, e.g. CLASSINFO(MyViewClass). If this is not supplied,
you will need to derive a new wxDocTemplate class and override the CreateView
member to return a new view instance on demand.
{\it flags} is a bit list of the following:
\begin{itemize}\itemsep=0pt
\item wxTEMPLATE\_VISIBLE The template may be displayed to the user in dialogs.
\item wxTEMPLATE\_INVISIBLE The template may not be displayed to the user in dialogs.
\item wxDEFAULT\_TEMPLATE\_FLAGS Defined as wxTEMPLATE\_VISIBLE.
\end{itemize}
\perlnote{In wxPerl {\tt docClassInfo} and {\tt viewClassInfo} can be
either {\tt Wx::ClassInfo} objects or strings which contain the name
of the perl packages which are to be used as {\tt Wx::Document} and
{\tt Wx::View} classes (they must have a constructor named {\tt
new}):\par
\indented{2cm}{\begin{twocollist}
\twocolitem{{\bf Wx::DocTemplate->new( docmgr, descr, filter, dir,
ext, docTypeName, viewTypeName, docClassInfo, viewClassInfo, flags
)}}{ will construct document and view objects from the class information}
\twocolitem{{\bf Wx::DocTemplate->new( docmgr, descr, filter, dir,
ext, docTypeName, viewTypeName, docClassName, viewClassName, flags
)}}{ will construct document and view objects from perl packages}
\twocolitem{{\bf Wx::DocTemplate->new( docmgr, descr, filter, dir,
ext, docTypeName, viewTypeName )}}{
{\tt Wx::DocTemplate::CreateDocument()} and
{\tt Wx::DocTemplate::CreateView()} must be overridden}
\end{twocollist}}}
\membersection{wxDocTemplate::\destruct{wxDocTemplate}}
\func{void}{\destruct{wxDocTemplate}}{\void}
Destructor.
\membersection{wxDocTemplate::CreateDocument}
\func{wxDocument *}{CreateDocument}{\param{const wxString\& }{path}, \param{long}{ flags = 0}}
Creates a new instance of the associated document class. If you have not supplied
a wxClassInfo parameter to the template constructor, you will need to override this
function to return an appropriate document instance.
\membersection{wxDocTemplate::CreateView}
\func{wxView *}{CreateView}{\param{wxDocument *}{doc}, \param{long}{ flags = 0}}
Creates a new instance of the associated view class. If you have not supplied
a wxClassInfo parameter to the template constructor, you will need to override this
function to return an appropriate view instance.
\membersection{wxDocTemplate::GetDefaultExtension}
\func{wxString}{GetDefaultExtension}{\void}
Returns the default file extension for the document data, as passed to the document template constructor.
\membersection{wxDocTemplate::GetDescription}
\func{wxString}{GetDescription}{\void}
Returns the text description of this template, as passed to the document template constructor.
\membersection{wxDocTemplate::GetDirectory}
\func{wxString}{GetDirectory}{\void}
Returns the default directory, as passed to the document template constructor.
\membersection{wxDocTemplate::GetDocumentManager}
\func{wxDocManager *}{GetDocumentManager}{\void}
Returns a pointer to the document manager instance for which this template was created.
\membersection{wxDocTemplate::GetDocumentName}
\func{wxString}{GetDocumentName}{\void}
Returns the document type name, as passed to the document template constructor.
\membersection{wxDocTemplate::GetFileFilter}
\func{wxString}{GetFileFilter}{\void}
Returns the file filter, as passed to the document template constructor.
\membersection{wxDocTemplate::GetFlags}
\func{long}{GetFlags}{\void}
Returns the flags, as passed to the document template constructor.
\membersection{wxDocTemplate::GetViewName}
\func{wxString}{GetViewName}{\void}
Returns the view type name, as passed to the document template constructor.
\membersection{wxDocTemplate::IsVisible}
\func{bool}{IsVisible}{\void}
Returns TRUE if the document template can be shown in user dialogs, FALSE otherwise.
\membersection{wxDocTemplate::SetDefaultExtension}
\func{void}{SetDefaultExtension}{\param{const wxString\& }{ext}}
Sets the default file extension.
\membersection{wxDocTemplate::SetDescription}
\func{void}{SetDescription}{\param{const wxString\& }{descr}}
Sets the template description.
\membersection{wxDocTemplate::SetDirectory}
\func{void}{SetDirectory}{\param{const wxString\& }{dir}}
Sets the default directory.
\membersection{wxDocTemplate::SetDocumentManager}
\func{void}{SetDocumentManager}{\param{wxDocManager *}{manager}}
Sets the pointer to the document manager instance for which this template was created.
Should not be called by the application.
\membersection{wxDocTemplate::SetFileFilter}
\func{void}{SetFileFilter}{\param{const wxString\& }{filter}}
Sets the file filter.
\membersection{wxDocTemplate::SetFlags}
\func{void}{SetFlags}{\param{long }{flags}}
Sets the internal document template flags (see the constructor description for more details).

360
docs/latex/wx/document.tex Normal file
View File

@@ -0,0 +1,360 @@
\section{\class{wxDocument}}\label{wxdocument}
The document class can be used to model an application's file-based
data. It is part of the document/view framework supported by wxWindows,
and cooperates with the \helpref{wxView}{wxview}, \helpref{wxDocTemplate}{wxdoctemplate}\rtfsp
and \helpref{wxDocManager}{wxdocmanager} classes.
\wxheading{Derived from}
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/docview.h>
\wxheading{See also}
\helpref{wxDocument overview}{wxdocumentoverview}, \helpref{wxView}{wxview},\rtfsp
\helpref{wxDocTemplate}{wxdoctemplate}, \helpref{wxDocManager}{wxdocmanager}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxDocument::m\_commandProcessor}
\member{wxCommandProcessor*}{m\_commandProcessor}
A pointer to the command processor associated with this document.
\membersection{wxDocument::m\_documentFile}
\member{wxString}{m\_documentFile}
Filename associated with this document (``" if none).
\membersection{wxDocument::m\_documentModified}
\member{bool}{m\_documentModified}
TRUE if the document has been modified, FALSE otherwise.
\membersection{wxDocument::m\_documentTemplate}
\member{wxDocTemplate *}{m\_documentTemplate}
A pointer to the template from which this document was created.
\membersection{wxDocument::m\_documentTitle}
\member{wxString}{m\_documentTitle}
Document title. The document title is used for an associated
frame (if any), and is usually constructed by the framework from
the filename.
\membersection{wxDocument::m\_documentTypeName}\label{documenttypename}
\member{wxString}{m\_documentTypeName}
The document type name given to the wxDocTemplate constructor, copied to this
variable when the document is created. If several document templates are
created that use the same document type, this variable is used in wxDocManager::CreateView
to collate a list of alternative view types that can be used on this kind of
document. Do not change the value of this variable.
\membersection{wxDocument::m\_documentViews}
\member{wxList}{m\_documentViews}
List of wxView instances associated with this document.
\membersection{wxDocument::wxDocument}
\func{}{wxDocument}{\void}
Constructor. Define your own default constructor to initialize application-specific
data.
\membersection{wxDocument::\destruct{wxDocument}}
\func{}{\destruct{wxDocument}}{\void}
Destructor. Removes itself from the document manager.
\membersection{wxDocument::AddView}
\func{virtual bool}{AddView}{\param{wxView *}{view}}
If the view is not already in the list of views, adds the view and calls OnChangedViewList.
\membersection{wxDocument::Close}
\func{virtual bool}{Close}{\void}
Closes the document, by calling OnSaveModified and then (if this returned TRUE) OnCloseDocument.
This does not normally delete the document object: use DeleteAllViews to do this implicitly.
\membersection{wxDocument::DeleteAllViews}
\func{virtual bool}{DeleteAllViews}{\void}
Calls wxView::Close and deletes each view. Deleting the final view will implicitly
delete the document itself, because the wxView destructor calls RemoveView. This
in turns calls wxDocument::OnChangedViewList, whose default implemention is to
save and delete the document if no views exist.
\membersection{wxDocument::GetCommandProcessor}
\constfunc{wxCommandProcessor*}{GetCommandProcessor}{\void}
Returns a pointer to the command processor associated with this document.
See \helpref{wxCommandProcessor}{wxcommandprocessor}.
\membersection{wxDocument::GetDocumentTemplate}
\constfunc{wxDocTemplate*}{GetDocumentTemplate}{\void}
Gets a pointer to the template that created the document.
\membersection{wxDocument::GetDocumentManager}
\constfunc{wxDocManager*}{GetDocumentManager}{\void}
Gets a pointer to the associated document manager.
\membersection{wxDocument::GetDocumentName}
\constfunc{wxString}{GetDocumentName}{\void}
Gets the document type name for this document. See the comment for \helpref{documentTypeName}{documenttypename}.
\membersection{wxDocument::GetDocumentWindow}
\constfunc{wxWindow*}{GetDocumentWindow}{\void}
Intended to return a suitable window for using as a parent for document-related
dialog boxes. By default, uses the frame associated with the first view.
\membersection{wxDocument::GetFilename}
\constfunc{wxString}{GetFilename}{\void}
Gets the filename associated with this document, or "" if none is
associated.
\membersection{wxDocument::GetFirstView}\label{wxdocumentgetfirstview}
\constfunc{wxView *}{GetFirstView}{\void}
A convenience function to get the first view for a document, because
in many cases a document will only have a single view.
See also: \helpref{GetViews}{wxdocumentgetviews}
\membersection{wxDocument::GetPrintableName}
\constfunc{virtual void}{GetPrintableName}{\param{wxString\& }{name}}
Copies a suitable document name into the supplied {\it name} buffer. The default
function uses the title, or if there is no title, uses the filename; or if no
filename, the string {\bf unnamed}.
\membersection{wxDocument::GetTitle}
\constfunc{wxString}{GetTitle}{\void}
Gets the title for this document. The document title is used for an associated
frame (if any), and is usually constructed by the framework from
the filename.
\membersection{wxDocument::GetViews}\label{wxdocumentgetviews}
\constfunc{wxList \&}{GetViews}{\void}
Returns the list whose elements are the views on the document.
See also: \helpref{GetFirstView}{wxdocumentgetfirstview}
\membersection{wxDocument::IsModified}\label{wxdocumentismodified}
\constfunc{virtual bool}{IsModified}{\void}
Returns TRUE if the document has been modified since the last save, FALSE otherwise.
You may need to override this if your document view maintains its own
record of being modified (for example if using wxTextWindow to view and edit the document).
See also \helpref{Modify}{wxdocumentmodify}.
\membersection{wxDocument::LoadObject}
\func{virtual istream\&}{LoadObject}{\param{istream\& }{stream}}
\func{virtual wxInputStream\&}{LoadObject}{\param{wxInputStream\& }{stream}}
Override this function and call it from your own LoadObject before
streaming your own data. LoadObject is called by the framework
automatically when the document contents need to be loaded.
Note that only one of these forms exists, depending on how wxWindows
was configured.
\membersection{wxDocument::Modify}\label{wxdocumentmodify}
\func{virtual void}{Modify}{\param{bool}{ modify}}
Call with TRUE to mark the document as modified since the last save, FALSE otherwise.
You may need to override this if your document view maintains its own
record of being modified (for example if using wxTextWindow to view and edit the document).
See also \helpref{IsModified}{wxdocumentismodified}.
\membersection{wxDocument::OnChangedViewList}
\func{virtual void}{OnChangedViewList}{\void}
Called when a view is added to or deleted from this document. The default
implementation saves and deletes the document if no views exist (the last
one has just been removed).
\membersection{wxDocument::OnCloseDocument}
\func{virtual bool}{OnCloseDocument}{\void}
The default implementation calls DeleteContents (an empty implementation)
sets the modified flag to FALSE. Override this to
supply additional behaviour when the document is closed with Close.
\membersection{wxDocument::OnCreate}
\func{virtual bool}{OnCreate}{\param{const wxString\& }{path}, \param{long}{ flags}}
Called just after the document object is created to give it a chance
to initialize itself. The default implementation uses the
template associated with the document to create an initial view.
If this function returns FALSE, the document is deleted.
\membersection{wxDocument::OnCreateCommandProcessor}
\func{virtual wxCommandProcessor*}{OnCreateCommandProcessor}{\void}
Override this function if you want a different (or no) command processor
to be created when the document is created. By default, it returns
an instance of wxCommandProcessor.
See \helpref{wxCommandProcessor}{wxcommandprocessor}.
\membersection{wxDocument::OnNewDocument}
\func{virtual bool}{OnNewDocument}{\void}
The default implementation calls OnSaveModified and DeleteContents, makes a default title for the
document, and notifies the views that the filename (in fact, the title) has changed.
\membersection{wxDocument::OnOpenDocument}
\func{virtual bool}{OnOpenDocument}{\param{const wxString\& }{filename}}
Constructs an input file stream for the given filename (which must not be empty),
and calls LoadObject. If LoadObject returns TRUE, the document is set to
unmodified; otherwise, an error message box is displayed. The document's
views are notified that the filename has changed, to give windows an opportunity
to update their titles. All of the document's views are then updated.
\membersection{wxDocument::OnSaveDocument}
\func{virtual bool}{OnSaveDocument}{\param{const wxString\& }{filename}}
Constructs an output file stream for the given filename (which must not be empty),
and calls SaveObject. If SaveObject returns TRUE, the document is set to
unmodified; otherwise, an error message box is displayed.
\membersection{wxDocument::OnSaveModified}
\func{virtual bool}{OnSaveModified}{\void}
If the document has been modified, prompts the user to ask if the changes should
be changed. If the user replies Yes, the Save function is called. If No, the
document is marked as unmodified and the function succeeds. If Cancel, the
function fails.
\membersection{wxDocument::RemoveView}
\func{virtual bool}{RemoveView}{\param{wxView* }{view}}
Removes the view from the document's list of views, and calls OnChangedViewList.
\membersection{wxDocument::Save}
\func{virtual bool}{Save}{\void}
Saves the document by calling OnSaveDocument if there is an associated filename,
or SaveAs if there is no filename.
\membersection{wxDocument::SaveAs}
\func{virtual bool}{SaveAs}{\void}
Prompts the user for a file to save to, and then calls OnSaveDocument.
\membersection{wxDocument::SaveObject}
\func{virtual ostream\&}{SaveObject}{\param{ostream\& }{stream}}
\func{virtual wxOutputStream\&}{SaveObject}{\param{wxOutputStream\& }{stream}}
Override this function and call it from your own SaveObject before
streaming your own data. SaveObject is called by the framework
automatically when the document contents need to be saved.
Note that only one of these forms exists, depending on how wxWindows
was configured.
\membersection{wxDocument::SetCommandProcessor}
\func{virtual void}{SetCommandProcessor}{\param{wxCommandProcessor *}{processor}}
Sets the command processor to be used for this document. The document will then be responsible
for its deletion. Normally you should not call this; override OnCreateCommandProcessor
instead.
See \helpref{wxCommandProcessor}{wxcommandprocessor}.
\membersection{wxDocument::SetDocumentName}
\func{void}{SetDocumentName}{\param{const wxString\& }{name}}
Sets the document type name for this document. See the comment for \helpref{documentTypeName}{documenttypename}.
\membersection{wxDocument::SetDocumentTemplate}
\func{void}{SetDocumentTemplate}{\param{wxDocTemplate* }{templ}}
Sets the pointer to the template that created the document. Should only be called by the
framework.
\membersection{wxDocument::SetFilename}
\func{void}{SetFilename}{\param{const wxString\& }{filename}, \param{bool}{ notifyViews = FALSE}}
Sets the filename for this document. Usually called by the framework.
If {\it notifyViews} is TRUE, wxView::OnChangeFilename is called for all views.
\membersection{wxDocument::SetTitle}
\func{void}{SetTitle}{\param{const wxString\& }{title}}
Sets the title for this document. The document title is used for an associated
frame (if any), and is usually constructed by the framework from
the filename.
\membersection{wxDocument::UpdateAllViews}\label{wxdocumentupdateallviews}
\func{void}{UpdateAllViews}{\param{wxView* }{sender = NULL}, \param{wxObject*}{ hint = NULL}}
Updates all views. If {\it sender} is non-NULL, does not update this view.
{\it hint} represents optional information to allow a view to optimize its update.

222
docs/latex/wx/dragimag.tex Normal file
View File

@@ -0,0 +1,222 @@
\section{\class{wxDragImage}}\label{wxdragimage}
This class is used when you wish to drag an object on the screen,
and a simple cursor is not enough.
On Windows, the WIN32 API is used to do achieve smooth dragging. On other platforms,
wxGenericDragImage is used. Applications may also prefer to use
wxGenericDragImage on Windows, too.
\pythonnote{wxPython uses wxGenericDragImage on all platforms, but
uses the wxDragImage name.}
To use this class, when you wish to start dragging an image, create a wxDragImage
object and store it somewhere you can access it as the drag progresses.
Call BeginDrag to start, and EndDrag to stop the drag. To move the image,
initially call Show and then Move. If you wish to update the screen contents
during the drag (for example, highlight an item as in the dragimag sample), first call Hide,
update the screen, call Move, and then call Show.
You can drag within one window, or you can use full-screen dragging
either across the whole screen, or just restricted to one area
of the screen to save resources. If you want the user to drag between
two windows, then you will need to use full-screen dragging.
If you wish to draw the image yourself, use wxGenericDragImage and
override \helpref{wxDragImage::DoDrawImage}{wxdragimagedodrawimage} and
\helpref{wxDragImage::GetImageRect}{wxdragimagegetimagerect}.
Please see {\tt samples/dragimag} for an example.
%\wxheading{Notes}
%
%Using the native Windows implementation, you must supply an image with a mask, or
%the image will not show when dragged. It is not clear if this is a bug
%in Windows or in the wxDragImage implementation. You can add a mask
%with a call to wxImage::SetMaskColour, passing RGB values not likely
%to be in the image. [CURED by creating the ImageList with ILC_MASK]
\wxheading{Derived from}
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/dragimag.h>\\
<wx/generic/dragimgg.h>
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxDragImage::wxDragImage}\label{wxdragimageconstr}
\func{}{wxDragImage}{\void}
Default constructor.
\func{}{wxDragImage}{\param{const wxBitmap\& }{image}, \param{const wxCursor\& }{cursor = wxNullCursor},
\param{const wxPoint\& }{cursorHotspot = wxPoint(0, 0)}}
Constructs a drag image from a bitmap and optional cursor.
\func{}{wxDragImage}{\param{const wxIcon\& }{image}, \param{const wxCursor\& }{cursor = wxNullCursor},
\param{const wxPoint\& }{cursorHotspot = wxPoint(0, 0)}}
Constructs a drag image from an icon and optional cursor.
\pythonnote{This constructor is called wxDragIcon in wxPython.}
\func{}{wxDragImage}{\param{const wxString\& }{text}, \param{const wxCursor\& }{cursor = wxNullCursor},
\param{const wxPoint\& }{cursorHotspot = wxPoint(0, 0)}}
Constructs a drag image from a text string and optional cursor.
\pythonnote{This constructor is called wxDragString in wxPython.}
\func{}{wxDragImage}{\param{const wxTreeCtrl\& }{treeCtrl}, \param{wxTreeItemId\& }{id}}
Constructs a drag image from the text in the given tree control item, and optional cursor.
\pythonnote{This constructor is called wxDragTreeItem in wxPython.}
\func{}{wxDragImage}{\param{const wxListCtrl\& }{treeCtrl}, \param{long }{id}}
Constructs a drag image from the text in the given tree control item, and optional cursor.
\pythonnote{This constructor is called wxDragListItem in wxPython.}
\func{}{wxDragImage}{\param{const wxCursor\& }{cursor = wxNullCursor},
\param{const wxPoint\& }{cursorHotspot = wxPoint(0, 0)}}
Constructs a drag image an optional cursor. This constructor is only available for
wxGenericDragImage, and can be used when the application
supplies \helpref{wxDragImage::DoDrawImage}{wxdragimagedodrawimage} and \helpref{wxDragImage::GetImageRect}{wxdragimagegetimagerect}.
\wxheading{Parameters}
\docparam{image}{Icon or bitmap to be used as the drag image. The bitmap can
have a mask.}
\docparam{text}{Text used to construct a drag image.}
\docparam{cursor}{Optional cursor to combine with the image.}
\docparam{hotspot}{This parameter is deprecated.}
\docparam{treeCtrl}{Tree control for constructing a tree drag image.}
\docparam{listCtrl}{List control for constructing a list drag image.}
\docparam{id}{Tree or list control item id.}
\membersection{wxDragImage::BeginDrag}\label{wxdragimagebegindrag}
\func{bool}{BeginDrag}{\param{const wxPoint\& }{hotspot}, \param{wxWindow* }{window}, \param{bool}{ fullScreen = FALSE}, \param{wxRect*}{ rect = NULL}}
Start dragging the image, in a window or full screen.
\func{bool}{BeginDrag}{\param{const wxPoint\& }{hotspot}, \param{wxWindow* }{window}, \param{wxWindow*}{ boundingWindow}}
Start dragging the image, using the first window to capture the mouse and the second
to specify the bounding area. This form is equivalent to using the first form,
but more convenient than working out the bounding rectangle explicitly.
You need to then call \helpref{wxDragImage::Show}{wxdragimageshow}
and \helpref{wxDragImage::Move}{wxdragimagemove} to show the image on the screen.
Call \helpref{wxDragImage::EndDrag}{wxdragimageenddrag} when the drag has finished.
Note that this call automatically calls CaptureMouse.
\wxheading{Parameters}
\docparam{hotspot}{The location of the drag position relative to the upper-left corner
of the image.}
\docparam{window}{The window that captures the mouse, and within which the dragging
is limited unless {\it fullScreen} is TRUE.}
\docparam{boundingWindow}{In the second form of the function, specifies the
area within which the drag occurs.}
\docparam{fullScreen}{If TRUE, specifies that the drag will be visible over the full
screen, or over as much of the screen as is specified by {\it rect}. Note that the mouse will
still be captured in {\it window}.}
\docparam{rect}{If non-NULL, specifies the rectangle (in screen coordinates) that
bounds the dragging operation. Specifying this can make the operation more efficient
by cutting down on the area under consideration, and it can also make a visual difference
since the drag is clipped to this area.}
\membersection{wxDragImage::DoDrawImage}\label{wxdragimagedodrawimage}
\func{virtual bool}{DoDrawImage}{\param{wxDC\&}{ dc}, \param{const wxPoint\&}{ pos}}
Draws the image on the device context with top-left corner at the given position.
This function is only available with wxGenericDragImage, to allow applications to
draw their own image instead of using an actual bitmap. If you override this function,
you must also override \helpref{wxDragImage::GetImageRect}{wxdragimagegetimagerect}.
\membersection{wxDragImage::EndDrag}\label{wxdragimageenddrag}
\func{bool}{EndDrag}{\void}
Call this when the drag has finished.
Note that this call automatically calls ReleaseMouse.
\membersection{wxDragImage::GetImageRect}\label{wxdragimagegetimagerect}
\constfunc{virtual wxRect}{GetImageRect}{\param{const wxPoint\&}{ pos}}
Returns the rectangle enclosing the image, assuming that the image is drawn with its
top-left corner at the given point.
This function is available in wxGenericDragImage only, and may be overridden (together with
\helpref{wxDragImage::DoDrawImage}{wxdragimagedodrawimage}) to provide a virtual drawing capability.
\membersection{wxDragImage::Hide}\label{wxdragimagehide}
\func{bool}{Hide}{\void}
Hides the image. You may wish to call this before updating the window
contents (perhaps highlighting an item). Then call \helpref{wxDragImage::Move}{wxdragimagemove}
and \helpref{wxDragImage::Show}{wxdragimageshow}.
\membersection{wxDragImage::Move}\label{wxdragimagemove}
\func{bool}{Move}{\param{const wxPoint\& }{pt}}
Call this to move the image to a new position. The image will only be shown if
\helpref{wxDragImage::Show}{wxdragimageshow} has been called previously (for example
at the start of the drag).
{\it pt} is the position in client coordinates (relative to the window specified in BeginDrag).
You can move the image either when the image is hidden or shown, but in general dragging
will be smoother if you move the image when it is shown.
\membersection{wxDragImage::Show}\label{wxdragimageshow}
\func{bool}{Show}{\void}
Shows the image. Call this at least once when dragging.
\membersection{wxDragImage::UpdateBackingFromWindow}\label{wxdragimageupdatebackingfromwindow}
\constfunc{bool}{UpdateBackingFromWindow}{\param{wxDC\&}{ windowDC}, \param{wxMemoryDC\&}{ destDC},
\param{const wxRect\&}{ sourceRect}, \param{const wxRect\&}{ destRect}}
Override this if you wish to draw the window contents to the backing bitmap
yourself. This can be desirable if you wish to avoid flicker by not having to
redraw the updated window itself just before dragging, which can cause a flicker just
as the drag starts. Instead, paint the drag image's backing bitmap to show the appropriate
graphic {\it minus the objects to be dragged}, and leave the window itself to be updated
by the drag image. This can provide eerily smooth, flicker-free drag behaviour.
The default implementation copies the window contents to the backing bitmap. A new
implementation will normally copy information from another source, such as from its
own backing bitmap if it has one, or directly from internal data structures.
This function is available in wxGenericDragImage only.

83
docs/latex/wx/dropevt.tex Normal file
View File

@@ -0,0 +1,83 @@
\section{\class{wxDropFilesEvent}}\label{wxdropfilesevent}
This class is used for drop files events, that is, when files have been dropped
onto the window. This functionality is currently only available under Windows.
The window must have previously been enabled for dropping by calling
\helpref{wxWindow::DragAcceptFiles}{wxwindowdragacceptfiles}.
Important note: this is a separate implementation to the more general
drag and drop implementation documented \helpref{here}{wxdndoverview}. It uses the
older, Windows message-based approach of dropping files.
\wxheading{Derived from}
\helpref{wxEvent}{wxevent}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/event.h>
\wxheading{Event table macros}
To process a drop files event, use these event handler macros to direct input to a member
function that takes a wxDropFilesEvent argument.
\twocolwidtha{7cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{{\bf EVT\_DROP\_FILES(func)}}{Process a wxEVT\_DROP\_FILES event.}
\end{twocollist}%
\wxheading{See also}
%\helpref{wxWindow::OnDropFiles}{wxwindowondropfiles},
\helpref{Event handling overview}{eventhandlingoverview}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxDropFilesEvent::wxDropFilesEvent}
\func{}{wxDropFilesEvent}{\param{WXTYPE }{id = 0}, \param{int }{noFiles = 0},\rtfsp
\param{wxString* }{files = NULL}}
Constructor.
\membersection{wxDropFilesEvent::m\_files}
\member{wxString*}{m\_files}
An array of filenames.
\membersection{wxDropFilesEvent::m\_noFiles}
\member{int}{m\_noFiles}
The number of files dropped.
\membersection{wxDropFilesEvent::m\_pos}
\member{wxPoint}{m\_pos}
The point at which the drop took place.
\membersection{wxDropFilesEvent::GetFiles}\label{wxdropfileseventgetfiles}
\constfunc{wxString*}{GetFiles}{\void}
Returns an array of filenames.
\membersection{wxDropFilesEvent::GetNumberOfFiles}\label{wxdropfileseventgetnumberoffiles}
\constfunc{int}{GetNumberOfFiles}{\void}
Returns the number of files dropped.
\membersection{wxDropFilesEvent::GetPosition}\label{wxdropfileseventgetposition}
\constfunc{wxPoint}{GetPosition}{\void}
Returns the position at which the files were dropped.
Returns an array of filenames.

115
docs/latex/wx/dropsrc.tex Normal file
View File

@@ -0,0 +1,115 @@
\section{\class{wxDropSource}}\label{wxdropsource}
This class represents a source for a drag and drop operation.
See \helpref{Drag and drop overview}{wxdndoverview} and \helpref{wxDataObject overview}{wxdataobjectoverview}
for more information.
\wxheading{Derived from}
None
\wxheading{Include files}
<wx/dnd.h>
\wxheading{Types}
\index{wxDragResult}wxDragResult is defined as follows:
\begin{verbatim}
enum wxDragResult
{
wxDragError, // error prevented the d&d operation from completing
wxDragNone, // drag target didn't accept the data
wxDragCopy, // the data was successfully copied
wxDragMove, // the data was successfully moved
wxDragCancel // the operation was cancelled by user (not an error)
};
\end{verbatim}
\wxheading{See also}
\helpref{wxDropTarget}{wxdroptarget},
\helpref{wxTextDropTarget}{wxtextdroptarget}, \helpref{wxFileDropTarget}{wxfiledroptarget}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxDropSource::wxDropSource}\label{wxdropsourcewxdropsource}
\func{}{wxDropSource}{\param{wxWindow*}{ win = NULL},\param{const wxIconOrCursor\& }{iconCopy = wxNullIconOrCursor}, \param{const wxIconOrCursor\& }{iconCopy = wxNullIconOrCursor}, \param{const wxIconOrCursor\& }{iconNone = wxNullIconOrCursor}}
\func{}{wxDropSource}{\param{wxDataObject\&}{ data}, \param{wxWindow*}{ win = NULL},\param{const wxIconOrCursor\& }{iconCopy = wxNullIconOrCursor}, \param{const wxIconOrCursor\& }{iconCopy = wxNullIconOrCursor}, \param{const wxIconOrCursor\& }{iconNone = wxNullIconOrCursor}}
The constructors for wxDataObject.
If you use the constructor without {\it data} parameter you must call
\helpref{SetData}{wxdropsourcesetdata} later.
Note that the exact type of {\it iconCopy} and subsequent parameters differs
between wxMSW and wxGTK: these are cursors under Windows but icons for GTK.
You should use the macro \helpref{wxDROP\_ICON}{wxdropicon} in portable
programs instead of directly using either of these types.
\wxheading{Parameters}
\docparam{win}{The window which initiates the drag and drop operation.}
\docparam{iconCopy}{The icon or cursor used for feedback for copy operation.}
\docparam{iconMove}{The icon or cursor used for feedback for move operation.}
\docparam{iconNone}{The icon or cursor used for feedback when operation can't be done.}
{\it win} is the window which initiates the drag and drop operation.
\membersection{wxDropSource::\destruct{wxDropSource}}\label{wxdropsourcedtor}
\func{virtual }{\destruct{wxDropSource}}{\void}
\membersection{wxDropSource::SetData}\label{wxdropsourcesetdata}
\func{void}{SetData}{\param{wxDataObject\&}{ data}}
Sets the data \helpref{wxDataObject}{wxdataobject} associated with the
drop source. This will not delete any previously associated data.
\membersection{wxDropSource::DoDragDrop}\label{wxdropsourcedodragdrop}
\func{virtual wxDragResult}{DoDragDrop}{\param{int }{flags = {\tt wxDrag\_CopyOnly}}}
Do it (call this in response to a mouse button press, for example). This starts
the drag-and-drop operation which will terminate when the user releases the
mouse.
\wxheading{Parameters}
\docparam{flags}{If {\tt wxDrag\_AllowMove} is included in the flags, data may
be moved and not only copied (default). If {\tt wxDrag\_DefaultMove} is
specified (which includes the previous flag), this is even the default
operation}.
\wxheading{Return value}
Returns the operation requested by the user, may be {\tt wxDragCopy}, {\tt
wxDragMove}, {\tt wxDragCancel} or {\tt wxDragNone} if an error occured.
\membersection{wxDropSource::GiveFeedback}\label{wxdropsourcegivefeedback}
\func{virtual bool}{GiveFeedback}{\param{wxDragResult }{effect}, \param{bool }{scrolling}}
Overridable: you may give some custom UI feedback during the drag and drop operation
in this function. It is called on each mouse move, so your implementation must not be too
slow.
\wxheading{Parameters}
\docparam{effect}{The effect to implement. One of wxDragCopy, wxDragMove and wxDragNone. }
\docparam{scrolling}{TRUE if the window is scrolling. MSW only. }
\wxheading{Return value}
Return FALSE if you want default feedback, or TRUE if you implement your own
feedback. The return values is ignored under GTK.

144
docs/latex/wx/droptrgt.tex Normal file
View File

@@ -0,0 +1,144 @@
\section{\class{wxDropTarget}}\label{wxdroptarget}
This class represents a target for a drag and drop operation. A \helpref{wxDataObject}{wxdataobject}
can be associated with it and by default, this object will be filled with the data from the
drag source, if the data formats supported by the data object match the drag source data
format.
There are various virtual handler functions defined in this class which may be overridden
to give visual feedback or react in a more fine-tuned way, e.g. by not accepting data on
the whole window area, but only a small portion of it. The normal sequence of calls is
\helpref{OnEnter}{wxdroptargetonenter}, possibly many times \helpref{OnDragOver}{wxdroptargetondragover},
\helpref{OnDrop}{wxdroptargetondrop} and finally \helpref{OnData}{wxdroptargetondata}.
See \helpref{Drag and drop overview}{wxdndoverview} and \helpref{wxDataObject overview}{wxdataobjectoverview}
for more information.
\wxheading{Derived from}
None
\wxheading{Include files}
<wx/dnd.h>
\wxheading{Types}
\index{wxDragResult}wxDragResult is defined as follows:
\begin{verbatim}
enum wxDragResult
{
wxDragError, // error prevented the d&d operation from completing
wxDragNone, // drag target didn't accept the data
wxDragCopy, // the data was successfully copied
wxDragMove, // the data was successfully moved
wxDragCancel // the operation was cancelled by user (not an error)
};
\end{verbatim}
\wxheading{See also}
\helpref{wxDropSource}{wxdropsource},
\helpref{wxTextDropTarget}{wxtextdroptarget}, \helpref{wxFileDropTarget}{wxfiledroptarget},
\helpref{wxDataFormat}{wxdataformat}, \helpref{wxDataObject}{wxdataobject}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxDropTarget::wxDropTarget}\label{wxdroptargetwxdroptarget}
\func{}{wxDropTarget}{\param{wxDataObject*}{ data = NULL}}
Constructor. {\it data} is the data to be associated with the drop target.
\membersection{wxDropTarget::\destruct{wxDropTarget}}\label{wxdroptargetdtor}
\func{}{\destruct{wxDropTarget}}{\void}
Destructor. Deletes the associated data object, if any.
\membersection{wxDropTarget::GetData}\label{wxdroptargetgetdata}
\func{virtual void}{GetData}{\void}
This method may only be called from within \helpref{OnData}{wxdroptargetondata}.
By default, this method copies the data from the drop source to the
\helpref{wxDataObject}{wxdataobject} associated with this drop target,
calling its \helpref{wxDataObject::SetData}{wxdataobjectsetdata} method.
\membersection{wxDropTarget::OnData}\label{wxdroptargetondata}
\func{virtual wxDragResult}{OnData}{\param{wxCoord}{ x}, \param{wxCoord}{ y}, \param{wxDragResult}{ def}}
Called after \helpref{OnDrop}{wxdroptargetondrop} returns TRUE. By default this
will usually \helpref{GetData}{wxdroptargetgetdata} and will return the suggested
default value {\it def}.
\membersection{wxDropTarget::OnDrop}\label{wxdroptargetondrop}
\func{virtual bool}{OnDrop}{\param{wxCoord }{x}, \param{wxCoord }{y}}
Called when the user drops a data object on the target. Return FALSE to veto the operation.
\wxheading{Parameters}
\docparam{x}{The x coordinate of the mouse.}
\docparam{y}{The y coordinate of the mouse.}
\wxheading{Return value}
Return TRUE to accept the data, FALSE to veto the operation.
\membersection{wxDropTarget::OnEnter}\label{wxdroptargetonenter}
\func{virtual wxDragResult}{OnEnter}{\param{wxCoord}{ x}, \param{wxCoord}{ y}, \param{wxDragResult}{ def}}
Called when the mouse enters the drop target. By default, this calls \helpref{OnDragOver}{wxdroptargetondragover}.
\wxheading{Parameters}
\docparam{x}{The x coordinate of the mouse.}
\docparam{y}{The y coordinate of the mouse.}
\docparam{def}{Suggested default for return value. Determined by SHIFT or CONTROL key states.}
\wxheading{Return value}
Returns the desired operation or {\tt wxDragNone}. This is used for optical feedback
from the side of the drop source, typically in form of changing the icon.
\membersection{wxDropTarget::OnDragOver}\label{wxdroptargetondragover}
\func{virtual wxDragResult}{OnDragOver}{\param{wxCoord}{ x}, \param{wxCoord}{ y}, \param{wxDragResult}{ def}}
Called when the mouse is being dragged over the drop target. By default,
this calls functions return the suggested return value {\it def}.
\wxheading{Parameters}
\docparam{x}{The x coordinate of the mouse.}
\docparam{y}{The y coordinate of the mouse.}
\docparam{def}{Suggested value for return value. Determined by SHIFT or CONTROL key states.}
\wxheading{Return value}
Returns the desired operation or {\tt wxDragNone}. This is used for optical feedback
from the side of the drop source, typically in form of changing the icon.
\membersection{wxDropTarget::OnLeave}\label{wxdroptargetonleave}
\func{virtual void}{OnLeave}{\void}
Called when the mouse leaves the drop target.
\membersection{wxDropTarget::SetDataObject}\label{wxdroptargetsetdataobject}
\func{void}{SetDataObject}{\param{wxDataObject*}{ data}}
Sets the data \helpref{wxDataObject}{wxdataobject} associated with the
drop target and deletes any previously associated data object.

57
docs/latex/wx/dynlib.tex Normal file
View File

@@ -0,0 +1,57 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Name: dynlib.tex
%% Purpose: wxDynamicLibrary documentation
%% Author: Vadim Zeitlin
%% Modified by:
%% Created: 14.01.02 (extracted from dllload.tex)
%% RCS-ID: $Id$
%% Copyright: (c) Vadim Zeitlin
%% License: wxWindows license
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{\class{wxDynamicLibrary}}\label{wxdynamiclibrary}
wxDynamicLibrary is a class representing dynamically loadable library
(Windows DLL, shared library under Unix etc.). It is implemented as a wrapper
to \helpref{wxDllLoader}{wxdllloader}.
\wxheading{See also}
\helpref{wxDllLoader}{wxdllloader}
\membersection{wxDynamicLibrary::wxDynamicLibrary}\label{wxdynamiclibrarywxdynamiclibrary}
\func{}{wxDynamicLibrary}{\void}
\func{}{wxDynamicLibrary}{\param{const wxString\& }{name}}
Constructor. Second form calls \helpref{Load}{wxdynamiclibraryload}.
\membersection{wxDynamicLibrary::IsLoaded}\label{wxdynamiclibraryisloaded}
\constfunc{bool}{IsLoaded}{\void}
Returns TRUE if the library was successfully loaded, FALSE otherwise.
\membersection{wxDynamicLibrary::Load}\label{wxdynamiclibraryload}
\func{bool}{Load}{\param{const wxString\& }{name}}
Loads DLL into memory.
Returns TRUE if the library was successfully loaded, FALSE otherwise.
\membersection{wxDynamicLibrary::Unload}\label{wxdynamiclibraryunload}
\func{void}{Unload}{\void}
Unloads the library from memory.
\membersection{wxDynamicLibrary::GetSymbol}\label{wxdynamiclibrarygetsymbol}
\constfunc{void*}{GetSymbol}{\param{const wxString\& }{name}}
Returns pointer to symbol {\it name} in the library or NULL if the library
contains no such symbol.

165
docs/latex/wx/encconv.tex Normal file
View File

@@ -0,0 +1,165 @@
%
% automatically generated by HelpGen from
% encconv.h at 30/Dec/99 18:45:16
%
\section{\class{wxEncodingConverter}}\label{wxencodingconverter}
This class is capable of converting strings between any two
8-bit encodings/charsets. It can also convert from/to Unicode (but only
if you compiled wxWindows with wxUSE\_WCHAR\_T set to 1).
\wxheading{Derived from}
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/encconv.h>
\wxheading{See also}
\helpref{wxFontMapper}{wxfontmapper},
\helpref{wxMBConv}{wxmbconv},
\helpref{Writing non-English applications}{nonenglishoverview}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxEncodingConverter::wxEncodingConverter}\label{wxencodingconverterwxencodingconverter}
\func{}{wxEncodingConverter}{\void}
Constructor.
\membersection{wxEncodingConverter::Init}\label{wxencodingconverterinit}
\func{bool}{Init}{\param{wxFontEncoding }{input\_enc}, \param{wxFontEncoding }{output\_enc}, \param{int }{method = wxCONVERT\_STRICT}}
Initialize conversion. Both output or input encoding may
be wxFONTENCODING\_UNICODE, but only if wxUSE\_ENCODING is set to 1.
All subsequent calls to \helpref{Convert()}{wxencodingconverterconvert}
will interpret its argument
as a string in {\it input\_enc} encoding and will output string in
{\it output\_enc} encoding.
You must call this method before calling Convert. You may call
it more than once in order to switch to another conversion.
{\it Method} affects behaviour of Convert() in case input character
cannot be converted because it does not exist in output encoding:
\begin{twocollist}\itemsep=0pt
\twocolitem{{\bf wxCONVERT\_STRICT}}{follow behaviour of GNU Recode -
just copy unconvertible characters to output and don't change them
(its integer value will stay the same)}
\twocolitem{{\bf wxCONVERT\_SUBSTITUTE}}{try some (lossy) substitutions
- e.g. replace unconvertible latin capitals with acute by ordinary
capitals, replace en-dash or em-dash by '-' etc.}
\end{twocollist}
Both modes guarantee that output string will have same length
as input string.
\wxheading{Return value}
FALSE if given conversion is impossible, TRUE otherwise
(conversion may be impossible either if you try to convert
to Unicode with non-Unicode build of wxWindows or if input
or output encoding is not supported.)
\membersection{wxEncodingConverter::Convert}\label{wxencodingconverterconvert}
\func{void}{Convert}{\param{const char* }{input}, \param{char* }{output}}
\func{void}{Convert}{\param{const wchar\_t* }{input}, \param{wchar\_t* }{output}}
\func{void}{Convert}{\param{const char* }{input}, \param{wchar\_t* }{output}}
\func{void}{Convert}{\param{const wchar\_t* }{input}, \param{char* }{output}}
Convert input string according to settings passed to
\helpref{Init}{wxencodingconverterinit} and writes the result to {\it output}.
\func{void}{Convert}{\param{char* }{str}}
\func{void}{Convert}{\param{wchar\_t* }{str}}
Convert input string according to settings passed to
\helpref{Init}{wxencodingconverterinit} in-place, i.e. write the result to the
same memory area.
\func{wxString}{Convert}{\param{const wxString\& }{input}}
Convert wxString and return new wxString object.
\wxheading{Notes}
You must call \helpref{Init}{wxencodingconverterinit} before using this method!
{\tt wchar\_t} versions of the method are not available if wxWindows was compiled
with {\tt wxUSE\_WCHAR\_T} set to 0.
\membersection{wxEncodingConverter::GetPlatformEquivalents}\label{wxencodingconvertergetplatformequivalents}
\func{static wxFontEncodingArray}{GetPlatformEquivalents}{\param{wxFontEncoding }{enc}, \param{int }{platform = wxPLATFORM\_CURRENT}}
Return equivalents for given font that are used
under given platform. Supported platforms:
\begin{itemize}\itemsep=0pt
\item wxPLATFORM\_UNIX
\item wxPLATFORM\_WINDOWS
\item wxPLATFORM\_OS2
\item wxPLATFORM\_MAC
\item wxPLATFORM\_CURRENT
\end{itemize}
wxPLATFORM\_CURRENT means the platform this binary was compiled for.
Examples:
\begin{verbatim}
current platform enc returned value
----------------------------------------------
unix CP1250 {ISO8859_2}
unix ISO8859_2 {ISO8859_2}
windows ISO8859_2 {CP1250}
unix CP1252 {ISO8859_1,ISO8859_15}
\end{verbatim}
Equivalence is defined in terms of convertibility:
two encodings are equivalent if you can convert text between
then without losing information (it may - and will - happen
that you lose special chars like quotation marks or em-dashes
but you shouldn't lose any diacritics and language-specific
characters when converting between equivalent encodings).
Remember that this function does {\bf NOT} check for presence of
fonts in system. It only tells you what are most suitable
encodings. (It usually returns only one encoding.)
\wxheading{Notes}
\begin{itemize}\itemsep=0pt
\item Note that argument {\it enc} itself may be present in the returned array,
so that you can, as a side-effect, detect whether the
encoding is native for this platform or not.
\item \helpref{Convert}{wxencodingconverterconvert} is not limited to
converting between equivalent encodings, it can convert between two arbitrary
encodings.
\item If {\it enc} is present in the returned array, then it is {\bf always} the first
item of it.
\item Please note that the returned array may contain no items at all.
\end{itemize}
\membersection{wxEncodingConverter::GetAllEquivalents}\label{wxencodingconvertergetallequivalents}
\func{static wxFontEncodingArray}{GetAllEquivalents}{\param{wxFontEncoding }{enc}}
Similar to
\helpref{GetPlatformEquivalents}{wxencodingconvertergetplatformequivalents},
but this one will return ALL
equivalent encodings, regardless of the platform, and including itself.
This platform's encodings are before others in the array. And again, if {\it enc} is in the array,
it is the very first item in it.

View File

@@ -0,0 +1,63 @@
\section{\class{wxEraseEvent}}\label{wxeraseevent}
An erase event is sent when a window's background needs to be repainted.
On some platforms, such as GTK+, this event is simulated (simply generated just before the
paint event) and may cause flicker. It is therefore recommended that
you set the text background colour explicitly in order to prevent flicker.
The default background colour under GTK+ is grey.
To intercept this event, use the EVT\_ERASE\_BACKGROUND macro in an event table definition.
You must call wxEraseEvent::GetDC and use the returned device context if it is non-NULL.
If it is NULL, create your own temporary wxClientDC object.
\wxheading{Derived from}
\helpref{wxEvent}{wxevent}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/event.h>
\wxheading{Event table macros}
To process an erase event, use this event handler macro to direct input to a member
function that takes a wxEraseEvent argument.
\twocolwidtha{7cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{{\bf EVT\_ERASE\_BACKGROUND(func)}}{Process a wxEVT\_ERASE\_BACKGROUND event.}
\end{twocollist}%
\wxheading{Remarks}
Use the {\bf m\_DC} device context to draw into, don't create wxPaintDC in
the event handler.
\wxheading{See also}
%\helpref{wxWindow::OnEraseBackground}{wxwindowonerasebackground},
\helpref{Event handling overview}{eventhandlingoverview}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxEraseEvent::wxEraseEvent}
\func{}{wxEraseEvent}{\param{int }{id = 0}, \param{wxDC* }{dc = NULL}}
Constructor.
\membersection{wxEraseEvent::m\_dc}
\member{wxDC*}{m\_dc}
The device context associated with the erase event.
\membersection{wxEraseEvent::GetDC}\label{wxeraseeventgetdc}
\constfunc{wxDC*}{GetDC}{\void}
Returns the device context to draw into.

144
docs/latex/wx/event.tex Normal file
View File

@@ -0,0 +1,144 @@
\section{\class{wxEvent}}\label{wxevent}
An event is a structure holding information about an event passed to a
callback or member function. {\bf wxEvent} used to be a multipurpose
event object, and is an abstract base class for other event classes (see below).
\wxheading{Derived from}
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/event.h>
\wxheading{See also}
\helpref{wxCommandEvent}{wxcommandevent},\rtfsp
\helpref{wxMouseEvent}{wxmouseevent}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxEvent::wxEvent}
\func{}{wxEvent}{\param{int }{id = 0}, \param{wxEventType }{eventType = {\tt wxEVT\_NULL}}}
Constructor. Should not need to be used directly by an application.
\membersection{wxEvent::m\_eventObject}
\member{wxObject*}{m\_eventObject}
The object (usually a window) that the event was generated from,
or should be sent to.
\membersection{wxEvent::m\_eventType}
\member{WXTYPE}{m\_eventType}
The type of the event, such as wxEVENT\_TYPE\_BUTTON\_COMMAND.
\membersection{wxEvent::m\_id}
\member{int}{m\_id}
Identifier for the window.
\membersection{wxEvent::m\_skipped}
\member{bool}{m\_skipped}
Set to TRUE by {\bf Skip} if this event should be skipped.
\membersection{wxEvent::m\_timeStamp}
\member{long}{m\_timeStamp}
Timestamp for this event.
\membersection{wxEvent::Clone}\label{wxeventclone}
\constfunc{virtual wxEvent*}{Clone}{\void}
Returns a copy of the event.
Any event that is posted to the wxWindows event system for later action (via
\helpref{wxEvtHandler::AddPendingEvent}{wxevthandleraddpendingevent} or
\helpref{wxPostEvent}{wxpostevent}) must implement this method. All wxWindows
events fully implement this method, but any derived events implemented by the
user should also implement this method just in case they (or some event
derived from them) are ever posted.
All wxWindows events implement a copy constructor, so the easiest way of
implementing the Clone function is to implement a copy constructor for
a new event (call it MyEvent) and then define the Clone function like this:
\begin{verbatim}
wxEvent *Clone(void) const { return new MyEvent(*this); }
\end{verbatim}
\membersection{wxEvent::GetEventObject}
\func{wxObject*}{GetEventObject}{\void}
Returns the object associated with the
event, if any.
\membersection{wxEvent::GetEventType}
\func{WXTYPE}{GetEventType}{\void}
Returns the identifier of the given event type,
such as wxEVENT\_TYPE\_BUTTON\_COMMAND.
\membersection{wxEvent::GetId}
\func{int}{GetId}{\void}
Returns the identifier associated with this event, such as a button command id.
\membersection{wxEvent::GetSkipped}
\func{bool}{GetSkipped}{\void}
Returns TRUE if the event handler should be skipped, FALSE otherwise.
\membersection{wxEvent::GetTimestamp}
\func{long}{GetTimestamp}{\void}
Gets the timestamp for the event.
\membersection{wxEvent::SetEventObject}
\func{void}{SetEventObject}{\param{wxObject* }{object}}
Sets the originating object.
\membersection{wxEvent::SetEventType}
\func{void}{SetEventType}{\param{WXTYPE }{typ}}
Sets the event type.
\membersection{wxEvent::SetId}
\func{void}{SetId}{\param{int}{ id}}
Sets the identifier associated with this event, such as a button command id.
\membersection{wxEvent::SetTimestamp}
\func{void}{SetTimestamp}{\param{long }{timeStamp}}
Sets the timestamp for the event.
Sets the originating object.
\membersection{wxEvent::Skip}\label{wxeventskip}
\func{void}{Skip}{\param{bool}{ skip = TRUE}}
Called by an event handler to tell the event system that the
event handler should be skipped, and the next valid handler used
instead.

370
docs/latex/wx/evthand.tex Normal file
View File

@@ -0,0 +1,370 @@
\section{\class{wxEvtHandler}}\label{wxevthandler}
A class that can handle events from the windowing system.
wxWindow (and therefore all window classes) are derived from
this class.
\wxheading{Derived from}
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/event.h>
\wxheading{See also}
\overview{Event handling overview}{eventhandlingoverview}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxEvtHandler::wxEvtHandler}
\func{}{wxEvtHandler}{\void}
Constructor.
\membersection{wxEvtHandler::\destruct{wxEvtHandler}}
\func{}{\destruct{wxEvtHandler}}{\void}
Destructor. If the handler is part of a chain, the destructor will
unlink itself and restore the previous and next handlers so that they point to
each other.
\membersection{wxEvtHandler::AddPendingEvent}\label{wxevthandleraddpendingevent}
\func{virtual void}{AddPendingEvent}{\param{wxEvent\& }{event}}
This function posts an event to be processed later.
\wxheading{Parameters}
\docparam{event}{Event to add to process queue.}
\wxheading{Remarks}
The difference between sending an event (using the
\helpref{ProcessEvent}{wxevthandlerprocessevent} method) and posting it is
that in the first case the event is processed before the function returns,
while in the second case, the function returns immediately and the event will
be processed sometime later (usually during the next event loop iteration).
A copy of {\it event} is made by the function, so the original can be deleted
as soon as function returns (it is common that the original is created on the
stack). This requires that the \helpref{wxEvent::Clone}{wxeventclone} method
be implemented by {\it event} so that it can be duplicated and stored until
it gets processed.
This is also the method to call for inter-thread communication---it will
post events safely between different threads which means that this method is
thread-safe by using critical sections where needed. In a multi-threaded
program, you often need to inform the main GUI thread about the status of
other working threads and such notification should be done using this method.
This method automatically wakes up idle handling if the underlying window
system is currently idle and thus would not send any idle events. (Waking
up idle handling is done calling \helpref{::wxWakeUpIdle}{wxwakeupidle}.)
\membersection{wxEvtHandler::Connect}\label{wxevthandlerconnect}
\func{void}{Connect}{\param{int}{ id},
\param{wxEventType }{eventType}, \param{wxObjectEventFunction}{ function},
\param{wxObject*}{ userData = NULL}}
\func{void}{Connect}{\param{int}{ id}, \param{int}{ lastId},
\param{wxEventType }{eventType}, \param{wxObjectEventFunction}{ function},
\param{wxObject*}{ userData = NULL}}
Connects the given function dynamically with the event handler, id and event type. This
is an alternative to the use of static event tables. See the 'dynamic' sample for usage.
\wxheading{Parameters}
\docparam{id}{The identifier (or first of the identifier range) to be associated with the event handler function.}
\docparam{lastId}{The second part of the identifier range to be associated with the event handler function.}
\docparam{eventType}{The event type to be associated with this event handler.}
\docparam{function}{The event handler function.}
\docparam{userData}{Data to be associated with the event table entry.}
\wxheading{Example}
\begin{verbatim}
frame->Connect( wxID_EXIT,
wxEVT_COMMAND_MENU_SELECTED,
(wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) MyFrame::OnQuit );
\end{verbatim}
\membersection{wxEvtHandler::Disconnect}\label{wxevthandlerdisconnect}
\func{bool}{Disconnect}{\param{int}{ id},
\param{wxEventType }{eventType = wxEVT\_NULL}, \param{wxObjectEventFunction}{ function = NULL},
\param{wxObject*}{ userData = NULL}}
\func{bool}{Disconnect}{\param{int}{ id}, \param{int}{ lastId = -1},
\param{wxEventType }{eventType = wxEVT\_NULL}, \param{wxObjectEventFunction}{ function = NULL},
\param{wxObject*}{ userData = NULL}}
Disconnects the given function dynamically from the event handler, using the specified
parameters as search criteria and returning TRUE if a matching function has been
found and removed. This method can only disconnect functions which have been added
using the \helpref{wxEvtHandler::Connect}{wxevthandlerconnect} method. There is no way
to disconnect functions connected using the (static) event tables.
\wxheading{Parameters}
\docparam{id}{The identifier (or first of the identifier range) associated with the event handler function.}
\docparam{lastId}{The second part of the identifier range associated with the event handler function.}
\docparam{eventType}{The event type associated with this event handler.}
\docparam{function}{The event handler function.}
\docparam{userData}{Data associated with the event table entry.}
\membersection{wxEvtHandler::GetClientData}\label{wxevthandlergetclientdata}
\func{void* }{GetClientData}{\void}
Gets user-supplied client data.
\wxheading{Remarks}
Normally, any extra data the programmer wishes to associate with the object
should be made available by deriving a new class with new data members.
\wxheading{See also}
\helpref{wxEvtHandler::SetClientData}{wxevthandlersetclientdata}
\membersection{wxEvtHandler::GetClientObject}\label{wxevthandlergetclientobject}
\constfunc{wxClientData*}{GetClientObject}{\void}
Get a pointer to the user-supplied client data object.
\wxheading{See also}
\helpref{wxEvtHandler::SetClientObject}{wxevthandlersetclientobject},
\helpref{wxClientData}{wxclientdata}
\membersection{wxEvtHandler::GetEvtHandlerEnabled}\label{wxevthandlergetevthandlerenabled}
\func{bool}{GetEvtHandlerEnabled}{\void}
Returns TRUE if the event handler is enabled, FALSE otherwise.
\wxheading{See also}
\helpref{wxEvtHandler::SetEvtHandlerEnabled}{wxevthandlersetevthandlerenabled}
\membersection{wxEvtHandler::GetNextHandler}\label{wxevthandlergetnexthandler}
\func{wxEvtHandler*}{GetNextHandler}{\void}
Gets the pointer to the next handler in the chain.
\wxheading{See also}
\helpref{wxEvtHandler::SetNextHandler}{wxevthandlersetnexthandler},\rtfsp
\helpref{wxEvtHandler::GetPreviousHandler}{wxevthandlergetprevioushandler},\rtfsp
\helpref{wxEvtHandler::SetPreviousHandler}{wxevthandlersetprevioushandler},\rtfsp
\helpref{wxWindow::PushEventHandler}{wxwindowpusheventhandler},\rtfsp
\helpref{wxWindow::PopEventHandler}{wxwindowpopeventhandler}
\membersection{wxEvtHandler::GetPreviousHandler}\label{wxevthandlergetprevioushandler}
\func{wxEvtHandler*}{GetPreviousHandler}{\void}
Gets the pointer to the previous handler in the chain.
\wxheading{See also}
\helpref{wxEvtHandler::SetPreviousHandler}{wxevthandlersetprevioushandler},\rtfsp
\helpref{wxEvtHandler::GetNextHandler}{wxevthandlergetnexthandler},\rtfsp
\helpref{wxEvtHandler::SetNextHandler}{wxevthandlersetnexthandler},\rtfsp
\helpref{wxWindow::PushEventHandler}{wxwindowpusheventhandler},\rtfsp
\helpref{wxWindow::PopEventHandler}{wxwindowpopeventhandler}
\membersection{wxEvtHandler::ProcessEvent}\label{wxevthandlerprocessevent}
\func{virtual bool}{ProcessEvent}{\param{wxEvent\& }{event}}
Processes an event, searching event tables and calling zero or more suitable event handler function(s).
\wxheading{Parameters}
\docparam{event}{Event to process.}
\wxheading{Return value}
TRUE if a suitable event handler function was found and executed, and the function did not
call \helpref{wxEvent::Skip}{wxeventskip}.
\wxheading{Remarks}
Normally, your application would not call this function: it is called in the wxWindows
implementation to dispatch incoming user interface events to the framework (and application).
However, you might need to call it if implementing new functionality (such as a new control) where
you define new event types, as opposed to allowing the user to override virtual functions.
An instance where you might actually override the {\bf ProcessEvent} function is where you want
to direct event processing to event handlers not normally noticed by wxWindows. For example,
in the document/view architecture, documents and views are potential event handlers.
When an event reaches a frame, {\bf ProcessEvent} will need to be called on the associated
document and view in case event handler functions are associated with these objects.
The property classes library (wxProperty) also overrides {\bf ProcessEvent} for similar reasons.
The normal order of event table searching is as follows:
\begin{enumerate}\itemsep=0pt
\item If the object is disabled (via a call to \helpref{wxEvtHandler::SetEvtHandlerEnabled}{wxevthandlersetevthandlerenabled})
the function skips to step (6).
\item If the object is a wxWindow, {\bf ProcessEvent} is recursively called on the window's\rtfsp
\helpref{wxValidator}{wxvalidator}. If this returns TRUE, the function exits.
\item {\bf SearchEventTable} is called for this event handler. If this fails, the base
class table is tried, and so on until no more tables exist or an appropriate function was found,
in which case the function exits.
\item The search is applied down the entire chain of event handlers (usually the chain has a length
of one). If this succeeds, the function exits.
\item If the object is a wxWindow and the event is a wxCommandEvent, {\bf ProcessEvent} is
recursively applied to the parent window's event handler. If this returns TRUE, the function exits.
\item Finally, {\bf ProcessEvent} is called on the wxApp object.
\end{enumerate}
\wxheading{See also}
\helpref{wxEvtHandler::SearchEventTable}{wxevthandlersearcheventtable}
\membersection{wxEvtHandler::SearchEventTable}\label{wxevthandlersearcheventtable}
\func{bool}{SearchEventTable}{\param{wxEventTable\& }{table}, \param{wxEvent\& }{event}}
Searches the event table, executing an event handler function if an appropriate one
is found.
\wxheading{Parameters}
\docparam{table}{Event table to be searched.}
\docparam{event}{Event to be matched against an event table entry.}
\wxheading{Return value}
TRUE if a suitable event handler function was found and executed, and the function did not
call \helpref{wxEvent::Skip}{wxeventskip}.
\wxheading{Remarks}
This function looks through the object's event table and tries to find an entry
that will match the event.
An entry will match if:
\begin{enumerate}\itemsep=0pt
\item The event type matches, and
\item the identifier or identifier range matches, or the event table entry's identifier is zero.
\end{enumerate}
If a suitable function is called but calls \helpref{wxEvent::Skip}{wxeventskip}, this function will
fail, and searching will continue.
\wxheading{See also}
\helpref{wxEvtHandler::ProcessEvent}{wxevthandlerprocessevent}
\membersection{wxEvtHandler::SetClientData}\label{wxevthandlersetclientdata}
\func{void}{SetClientData}{\param{void* }{data}}
Sets user-supplied client data.
\wxheading{Parameters}
\docparam{data}{Data to be associated with the event handler.}
\wxheading{Remarks}
Normally, any extra data the programmer wishes to associate with
the object should be made available by deriving a new class
with new data members. You must not call this method and
\helpref{SetClientObject}{wxevthandlersetclientobject} on the
same class - only one of them.
\wxheading{See also}
\helpref{wxEvtHandler::GetClientData}{wxevthandlergetclientdata}
\membersection{wxEvtHandler::SetClientObject}\label{wxevthandlersetclientobject}
\func{void}{SetClientObject}{\param{wxClientData* }{data}}
Set the client data object. Any previous object will be deleted.
\wxheading{See also}
\helpref{wxEvtHandler::GetClientObject}{wxevthandlergetclientobject},
\helpref{wxClientData}{wxclientdata}
\membersection{wxEvtHandler::SetEvtHandlerEnabled}\label{wxevthandlersetevthandlerenabled}
\func{void}{SetEvtHandlerEnabled}{\param{bool }{enabled}}
Enables or disables the event handler.
\wxheading{Parameters}
\docparam{enabled}{TRUE if the event handler is to be enabled, FALSE if it is to be disabled.}
\wxheading{Remarks}
You can use this function to avoid having to remove the event handler from the chain, for example
when implementing a dialog editor and changing from edit to test mode.
\wxheading{See also}
\helpref{wxEvtHandler::GetEvtHandlerEnabled}{wxevthandlergetevthandlerenabled}
\membersection{wxEvtHandler::SetNextHandler}\label{wxevthandlersetnexthandler}
\func{void}{SetNextHandler}{\param{wxEvtHandler* }{handler}}
Sets the pointer to the next handler.
\wxheading{Parameters}
\docparam{handler}{Event handler to be set as the next handler.}
\wxheading{See also}
\helpref{wxEvtHandler::GetNextHandler}{wxevthandlergetnexthandler},\rtfsp
\helpref{wxEvtHandler::SetPreviousHandler}{wxevthandlersetprevioushandler},\rtfsp
\helpref{wxEvtHandler::GetPreviousHandler}{wxevthandlergetprevioushandler},\rtfsp
\helpref{wxWindow::PushEventHandler}{wxwindowpusheventhandler},\rtfsp
\helpref{wxWindow::PopEventHandler}{wxwindowpopeventhandler}
\membersection{wxEvtHandler::SetPreviousHandler}\label{wxevthandlersetprevioushandler}
\func{void}{SetPreviousHandler}{\param{wxEvtHandler* }{handler}}
Sets the pointer to the previous handler.
\wxheading{Parameters}
\docparam{handler}{Event handler to be set as the previous handler.}
\wxheading{See also}
\helpref{wxEvtHandler::GetPreviousHandler}{wxevthandlergetprevioushandler},\rtfsp
\helpref{wxEvtHandler::SetNextHandler}{wxevthandlersetnexthandler},\rtfsp
\helpref{wxEvtHandler::GetNextHandler}{wxevthandlergetnexthandler},\rtfsp
\helpref{wxWindow::PushEventHandler}{wxwindowpusheventhandler},\rtfsp
\helpref{wxWindow::PopEventHandler}{wxwindowpopeventhandler}

496
docs/latex/wx/expr.tex Normal file
View File

@@ -0,0 +1,496 @@
\section{\class{wxExpr}}\label{wxexpr}
The {\bf wxExpr} class is the building brick of expressions similar to Prolog
clauses, or objects. It can represent an expression of type long integer, float, string, word,
or list, and lists can be nested.
\wxheading{Derived from}
None
\wxheading{Include files}
<wx/wxexpr.h>
\wxheading{See also}
\helpref{wxExpr overview}{exproverview}, \helpref{wxExprDatabase}{wxexprdatabase}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxExpr::wxExpr}\label{wxexprconstr}
\func{}{wxExpr}{\param{const wxString\&}{functor}}
Construct a new clause with this form, supplying the functor name. A clause is an object
that will appear in the data file, with a list of attribute/value pairs.
\func{}{wxExpr}{\param{wxExprType}{ type}, \param{const wxString\&}{ wordOrString = ``"}}
Construct a new empty list, or a word (will be output with no quotes), or a string, depending on the
value of {\it type}.
{\it type} can be {\bf wxExprList}, {\bf wxExprWord}, or {\bf wxExprString}. If {\it type} is wxExprList,
the value of {\it wordOrString} will be ignored.
\func{}{wxExpr}{\param{long}{ value}}
Construct an integer expression.
\func{}{wxExpr}{\param{float}{ value}}
Construct a floating point expression.
\func{}{wxExpr}{\param{wxList* }{value}}
Construct a list expression. The list's nodes' data should
themselves be {\bf wxExpr}s.
wxExpr no longer uses the {\bf wxList} internally,
so this constructor turns the list into its internal
format (assuming a non-nested list) and then deletes the supplied
list.
\membersection{wxExpr::\destruct{wxExpr}}
\func{}{\destruct{wxExpr}}{\void}
Destructor.
\membersection{wxExpr::AddAttributeValue}\label{wxexpraddattributevalue}
Use these on clauses ONLY. Note that the functions for adding strings
and words must be differentiated by function name which is why
they are missing from this group (see \helpref{wxExpr::AddAttributeValueString}{wxexpraddattributevaluestring} and
\rtfsp\helpref{wxExpr::AddAttributeValueWord}{wxexpraddattributevalueword}).
\func{void}{AddAttributeValue}{\param{const wxString\&}{ attribute}, \param{float }{value}}
Adds an attribute and floating point value pair to the clause.
\func{void}{AddAttributeValue}{\param{const wxString\&}{ attribute}, \param{long }{value}}
Adds an attribute and long integer value pair to the clause.
\func{void}{AddAttributeValue}{\param{const wxString\&}{ attribute}, \param{wxList* }{value}}
Adds an attribute and list value pair to the clause, converting the list into
internal form and then deleting {\bf value}. Note that the list should not contain
nested lists (except if in internal {\bf wxExpr} form.)
\func{void}{AddAttributeValue}{\param{const wxString\&}{ attribute}, \param{wxExpr* }{value}}
Adds an attribute and wxExpr value pair to the clause. Do not delete\rtfsp
{\it value} once this function has been called.
\membersection{wxExpr::AddAttributeValueString}\label{wxexpraddattributevaluestring}
\func{void}{AddAttributeValueString}{\param{const wxString\&}{ attribute}, \param{const wxString\&}{ value}}
Adds an attribute and string value pair to the clause.
\membersection{wxExpr::AddAttributeValueStringList}\label{wxexpraddattributevaluestringlist}
\func{void}{AddAttributeValueStringList}{\param{const wxString\&}{ attribute}, \param{wxList* }{value}}
Adds an attribute and string list value pair to the clause.
Note that the list passed to this function is a list of strings, NOT a list
of {\bf wxExpr}s; it gets turned into a list of {\bf wxExpr}s
automatically. This is a convenience function, since lists of strings
are often manipulated in C++.
\membersection{wxExpr::AddAttributeValueWord}\label{wxexpraddattributevalueword}
\func{void}{AddAttributeValueWord}{\param{const wxString\&}{ attribute}, \param{const wxString\&}{ value}}
Adds an attribute and word value pair to the clause.
\membersection{wxExpr::Append}\label{wxexprappend}
\func{void}{Append}{\param{wxExpr*}{ value}}
Append the {\bf value} to the end of the list. `this' must be a list.
\membersection{wxExpr::Arg}\label{wxexprarg}
\constfunc{wxExpr* }{Arg}{\param{wxExprType}{ type}, \param{int}{ n}}
Get nth arg of the given clause (starting from 1). NULL is returned if
the expression is not a clause, or {\it n} is invalid, or the given type
does not match the actual type. See also \helpref{wxExpr::Nth}{wxexprnth}.
\membersection{wxExpr::Insert}\label{wxexprinsert}
\func{void}{Insert}{\param{wxExpr* }{value}}
Insert the {\bf value} at the start of the list. `this' must be a list.
\membersection{wxExpr::GetAttributeValue}\label{wxexprgetattributevalue}
These functions are the easiest way to retrieve attribute values, by
passing a pointer to variable. If the attribute is present, the
variable will be filled with the appropriate value. If not, the
existing value is left alone. This style of retrieving attributes
makes it easy to set variables to default values before calling these
functions; no code is necessary to check whether the attribute is
present or not.
\constfunc{bool}{GetAttributeValue}{\param{const wxString\&}{ attribute}, \param{wxString\&}{ value}}
Retrieve a string (or word) value.
\constfunc{bool}{GetAttributeValue}{\param{const wxString\&}{ attribute}, \param{float\& }{value}}
Retrieve a floating point value.
\constfunc{bool}{GetAttributeValue}{\param{const wxString\&}{ attribute}, \param{int\& }{value}}
Retrieve an integer value.
\constfunc{bool}{GetAttributeValue}{\param{const wxString\&}{ attribute}, \param{long\& }{value}}
Retrieve a long integer value.
\constfunc{bool}{GetAttributeValue}{\param{const wxString\&}{ attribute}, \param{wxExpr**}{ value}}
Retrieve a wxExpr pointer.
\membersection{wxExpr::GetAttributeValueStringList}\label{wxexprgetattributestringlist}
\constfunc{void}{GetAttributeValueStringList}{\param{const wxString\&}{attribute}, \param{wxList* }{value}}
Use this on clauses ONLY. See above for comments on this style of
attribute value retrieval. This function expects to receive a pointer to
a new list (created by the calling application); it will append strings
to the list if the attribute is present in the clause.
\membersection{wxExpr::AttributeValue}\label{wxexprattributevalue}
\constfunc{wxExpr*}{AttributeValue}{\param{const wxString\&}{ word}}
Use this on clauses ONLY. Searches the clause for an attribute
matching {\it word}, and returns the value associated with it.
\membersection{wxExpr::Copy}\label{wxexprcopy}
\constfunc{wxExpr*}{Copy}{\void}
Recursively copies the expression, allocating new storage space.
\membersection{wxExpr::DeleteAttributeValue}\label{wxexprdeletattributevalue}
\func{void}{DeleteAttributeValue}{\param{const wxString\&}{ attribute}}
Use this on clauses only. Deletes the attribute and its value (if any) from the
clause.
\membersection{wxExpr::Functor}\label{wxexprfunctor}
\constfunc{wxString}{Functor}{\void}
Use this on clauses only. Returns the clause's functor (object name).
\membersection{wxExpr::GetClientData}\label{wxexprgetclientdata}
\constfunc{wxObject*}{GetClientData}{\void}
Retrieve arbitrary data stored with this clause. This can be useful when
reading in data for storing a pointer to the C++ object, so when another
clause makes a reference to this clause, its C++ object can be retrieved.
See \helpref{wxExpr::SetClientData}{wxexprsetclientdata}.
\membersection{wxExpr::GetFirst}\label{wxexprgetfirst}
\constfunc{wxExpr*}{GetFirst}{\void}
If this is a list expression (or clause), gets the first element in the list.
See also \helpref{wxExpr::GetLast}{wxexprgetlast}, \helpref{wxExpr::GetNext}{wxexprgetnext}, \helpref{wxExpr::Nth}{wxexprnth}.
\membersection{wxExpr::GetLast}\label{wxexprgetlast}
\constfunc{wxExpr*}{GetLast}{\void}
If this is a list expression (or clause), gets the last element in the list.
See also \helpref{wxExpr::GetFirst}{wxexprgetfirst}, \helpref{wxExpr::GetNext}{wxexprgetnext}, \helpref{wxExpr::Nth}{wxexprnth}.
\membersection{wxExpr::GetNext}\label{wxexprgetnext}
\constfunc{wxExpr*}{GetNext}{\void}
If this is a node in a list (any wxExpr may be a node in a list), gets the
next element in the list.
See also \helpref{wxExpr::GetFirst}{wxexprgetfirst}, \helpref{wxExpr::GetLast}{wxexprgetlast}, \helpref{wxExpr::Nth}{wxexprnth}.
\membersection{wxExpr::IntegerValue}\label{wxexprintegervalue}
\constfunc{long}{IntegerValue}{\void}
Returns the integer value of the expression.
\membersection{wxExpr::Nth}\label{wxexprnth}
\constfunc{wxExpr*}{Nth}{\param{int}{ n}}
Get nth arg of the given list expression (starting from 0). NULL is returned if
the expression is not a list expression, or {\it n} is invalid. See also \helpref{wxExpr::Arg}{wxexprarg}.
Normally, you would use attribute-value pairs to add and retrieve data
from objects (clauses) in a data file. However, if the data gets complex,
you may need to store attribute values as lists, and pick them apart
yourself.
\membersection{wxExpr::RealValue}\label{wxexprrealvalue}
\constfunc{float}{RealValue}{\void}
Returns the floating point value of the expression.
\membersection{wxExpr::SetClientData}\label{wxexprsetclientdata}
\func{void}{SetClientData}{\param{wxObject *}{data}}
Associate arbitrary data with this clause. This can be useful when
reading in data for storing a pointer to the C++ object, so when another
clause makes a reference to this clause, its C++ object can be retrieved.
See \helpref{wxExpr::GetClientData}{wxexprgetclientdata}.
\membersection{wxExpr::StringValue}\label{wxexprstringvalue}
\constfunc{wxString}{StringValue}{\void}
Returns the string value of the expression.
\membersection{wxExpr::Type}\label{wxexprtype}
\constfunc{wxExprType}{Type}{\void}
Returns the type of the expression. {\bf wxExprType} is defined as follows:
\begin{verbatim}
typedef enum {
wxExprNull,
wxExprInteger,
wxExprReal,
wxExprWord,
wxExprString,
wxExprList
} wxExprType;
\end{verbatim}
\membersection{wxExpr::WordValue}\label{wxexprwordvalue}
\constfunc{wxString}{WordValue}{\void}
Returns the word value of the expression.
\membersection{wxExpr::WriteClause}\label{wxexprwriteprologclause}
\func{void}{WriteClause}{\param{FILE *}{ stream}}
Writes the clause to the given stream in Prolog format. Not normally needed, since
the whole {\bf wxExprDatabase} will usually be written at once. The format is:
functor, open parenthesis, list of comma-separated expressions, close parenthesis,
full stop.
\membersection{wxExpr::WriteExpr}\label{wxexprwriteexpr}
\func{void}{WriteExpr}{\param{FILE *}{ stream}}
Writes the expression (not clause) to the given stream in Prolog
format. Not normally needed, since the whole {\bf wxExprDatabase} will
usually be written at once. Lists are written in square bracketed,
comma-delimited format.
\membersection{Functions and macros}
Below are miscellaneous functions and macros associated with wxExpr objects.
\func{bool}{wxExprIsFunctor}{\param{wxExpr *}{expr}, \param{const wxString\&}{ functor}}
Checks that the functor of {\it expr} is {\it functor}.
\func{void}{wxExprCleanUp}{\void}
Cleans up the wxExpr system (YACC/LEX buffers) to avoid memory-checking warnings as the program exits.
\begin{verbatim}
#define wxMakeInteger(x) (new wxExpr((long)x))
#define wxMakeReal(x) (new wxExpr((float)x))
#define wxMakeString(x) (new wxExpr(PrologString, x))
#define wxMakeWord(x) (new wxExpr(PrologWord, x))
#define wxMake(x) (new wxExpr(x))
\end{verbatim}
Macros to help make wxExpr objects.
\section{\class{wxExprDatabase}}\label{wxexprdatabase}
The {\bf wxExprDatabase} class represents a database, or list,
of Prolog-like expressions. Instances of this class are used for reading,
writing and creating data files.
\wxheading{Derived from}
\helpref{wxList}{wxlist}\\
\helpref{wxObject}{wxobject}
\wxheading{See also}
\helpref{wxExpr overview}{exproverview}, \helpref{wxExpr}{wxexpr}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxExprDatabase::wxExprDatabase}\label{wxexprdatabaseconstr}
\func{void}{wxExprDatabase}{\param{proioErrorHandler}{ handler = 0}}
Construct a new, unhashed database, with an optional error handler. The
error handler must be a function returning a bool and taking an integer and a string
argument. When an error occurs when reading or writing a database, this function is
called. The error is given as the first argument (currently one of WXEXPR\_ERROR\_GENERAL,
WXEXPR\_ERROR\_SYNTAX) and an error message is given as the second argument. If FALSE
is returned by the error handler, processing of the wxExpr operation stops.
Another way of handling errors is simply to call \helpref{wxExprDatabase::GetErrorCount}{wxexprdatabasegeterrorcount} after
the operation, to check whether errors have occurred, instead of installing an error handler.
If the error count is more than zero, \helpref{wxExprDatabase::Write}{wxexprdatabasewrite} and
\rtfsp\helpref{wxExprDatabase::Read}{wxexprdatabaseread} will return FALSE to
the application.
For example:
\begin{verbatim}
bool myErrorHandler(int err, chat *msg)
{
if (err == WXEXPR_ERROR_SYNTAX)
{
wxMessageBox(msg, "Syntax error");
}
return FALSE;
}
wxExprDatabase database(myErrorHandler);
\end{verbatim}
\func{}{wxExprDatabase}{\param{wxExprType}{ type}, \param{const wxString\&}{attribute},
\rtfsp\param{int}{ size = 500}, \param{proioErrorHandler}{ handler = 0}}
Construct a new database hashed on a combination of the clause functor and
a named attribute (often an integer identification).
See above for an explanation of the error handler.
\membersection{wxExprDatabase::\destruct{wxExprDatabase}}
\func{}{\destruct{wxExprDatabase}}{\void}
Delete the database and contents.
\membersection{wxExprDatabase::Append}\label{wxexprdatabaseappend}
\func{void}{Append}{\param{wxExpr* }{clause}}
Append a clause to the end of the database. If the database is hashing,
the functor and a user-specified attribute will be hashed upon, giving the
option of random access in addition to linear traversal of the database.
\membersection{wxExprDatabase::BeginFind}\label{wxexprdatabasebeginfind}
\func{void}{BeginFind}{\void}
Reset the current position to the start of the database. Subsequent
\rtfsp\helpref{wxExprDatabase::FindClause}{wxexprdatabasefindclause} calls will move the pointer.
\membersection{wxExprDatabase::ClearDatabase}\label{wxexprdatabasecleardatabase}
\func{void}{ClearDatabase}{\void}
Clears the contents of the database.
\membersection{wxExprDatabase::FindClause}\label{wxexprdatabasefindclause}
Various ways of retrieving clauses from the database. A return
value of NULL indicates no (more) clauses matching the given criteria.
Calling the functions repeatedly retrieves more matching clauses, if any.
\func{wxExpr* }{FindClause}{\param{long}{ id}}
Find a clause based on the special ``id'' attribute.
\func{wxExpr* }{FindClause}{\param{const wxString\&}{ attribute}, \param{const wxString\&}{ value}}
Find a clause which has the given attribute set to the given string or word value.
\func{wxExpr*}{FindClause}{\param{const wxString\&}{ attribute}, \param{long}{ value}}
Find a clause which has the given attribute set to the given integer value.
\func{wxExpr*}{FindClause}{\param{const wxString\&}{ attribute}, \param{float}{ value}}
Find a clause which has the given attribute set to the given floating point value.
\membersection{wxExprDatabase::FindClauseByFunctor}\label{wxexprdatabasefindclausebyfunctor}
\func{wxExpr*}{FindClauseByFunctor}{\param{const wxString\&}{ functor}}
Find the next clause with the specified functor.
\membersection{wxExprDatabase::GetErrorCount}\label{wxexprdatabasegeterrorcount}
\constfunc{int}{GetErrorCount}{\void}
Returns the number of errors encountered during the last read or write operation.
\membersection{wxExprDatabase::HashFind}\label{wxexprdatabasehashfind}
\constfunc{wxExpr*}{HashFind}{\param{const wxString\&}{ functor}, \param{long}{ value}}
Finds the clause with the given functor and with the attribute specified
in the database constructor having the given integer value.
For example,
\begin{verbatim}
// Hash on a combination of functor and integer "id" attribute when reading in
wxExprDatabase db(wxExprInteger, "id");
// Read it in
db.ReadProlog("data");
// Retrieve a clause with specified functor and id
wxExpr *clause = db.HashFind("node", 24);
\end{verbatim}
This would retrieve a clause which is written: {\tt node(id = 24, ..., )}.
\func{wxExpr*}{HashFind}{\param{const wxString\&}{ functor}, \param{const wxString\&}{ value}}
Finds the clause with the given functor and with the attribute specified
in the database constructor having the given string value.
\membersection{wxExprDatabase::Read}\label{wxexprdatabaseread}
\func{bool}{Read}{\param{const wxString\&}{ filename}}
Reads in the given file, returning TRUE if successful.
\membersection{wxExprDatabase::ReadFromString}\label{wxexprdatabasereadfromstring}
\func{bool}{ReadFromString}{\param{const wxString\&}{ buffer}}
Reads a Prolog database from the given string buffer, returning TRUE if
successful.
\membersection{wxExprDatabase::Write}\label{wxexprdatabasewrite}
\func{bool}{Write}{\param{FILE *}{stream}}
\func{bool}{Write}{\param{const wxString\&}{ filename}}
Writes the database as a Prolog-format file.

238
docs/latex/wx/fdrepdlg.tex Normal file
View File

@@ -0,0 +1,238 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Name: fdrepdlg.tex
%% Purpose: wxFindReplaceDialog documentation
%% Author: Vadim Zeitlin
%% Modified by:
%% Created: 01.08.01
%% RCS-ID: $Id$
%% Copyright: (c) 2001 Vadim Zeitlin
%% License: wxWindows license
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{\class{wxFindDialogEvent}}\label{wxfinddialogevent}
wxFindReplaceDialog events
\wxheading{Derived from}
\helpref{wxCommandEvent}{wxcommandevent}
\wxheading{Include files}
<wx/fdrepdlg.h>
\wxheading{Event table macros}
To process a command event from
\helpref{wxFindReplaceDialog}{wxfindreplacedialog}, use these event handler
macros to direct input to member functions that take a wxFindDialogEvent
argument. The {\it id} parameter is the identifier of the find dialog and you
may usually specify $-1$ for it unless you plan to have several find dialogs
sending events to the same owner window simultaneously.
\twocolwidtha{7cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{{\bf EVT\_FIND(id, func)}}{Find button was pressed in the dialog.}
\twocolitem{{\bf EVT\_FIND\_NEXT(id, func)}}{Find next button was pressed in the dialog.}
\twocolitem{{\bf EVT\_FIND\_REPLACE(id, func)}}{Replace button was pressed in the dialog.}
\twocolitem{{\bf EVT\_FIND\_REPLACE\_ALL(id, func)}}{Replace all button was pressed in the dialog.}
\twocolitem{{\bf EVT\_FIND\_CLOSE(id, func)}}{The dialog is being destroyed,
any pointers to it cannot be used any longer.}
\end{twocollist}%
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxFindDialogEvent::wxFindDialogEvent}\label{wxfinddialogeventwxfinddialogevent}
\func{}{wxFindDialogEvent}{\param{wxEventType }{commandType = wxEVT\_NULL}, \param{int }{id = 0}}
Constuctor used by wxWindows only.
\membersection{wxFindDialogEvent::GetFlags}\label{wxfinddialogeventgetflags}
\constfunc{int}{GetFlags}{\void}
Get the currently selected flags: this is the combination of {\tt wxFR\_DOWN},
{\tt wxFR\_WHOLEWORD} and {\tt wxFR\_MATCHCASE} flags.
\membersection{wxFindDialogEvent::GetFindString}\label{wxfinddialogeventgetfindstring}
\constfunc{wxString}{GetFindString}{\void}
Return the string to find (never empty).
\membersection{wxFindDialogEvent::GetReplaceString}\label{wxfinddialogeventgetreplacestring}
\constfunc{const wxString\&}{GetReplaceString}{\void}
Return the string to replace the search string with (only for replace and
replace all events).
\membersection{wxFindDialogEvent::GetDialog}\label{wxfinddialogeventgetdialog}
\constfunc{wxFindReplaceDialog*}{GetDialog}{\void}
Return the pointer to the dialog which generated this event.
\section{\class{wxFindReplaceData}}\label{wxfindreplacedata}
wxFindReplaceData holds the data for
\helpref{wxFindReplaceDialog}{wxfindreplacedialog}. It is used to initialize
the dialog with the default values and will keep the last values from the
dialog when it is closed. It is also updated each time a
\helpref{wxFindDialogEvent}{wxfinddialogevent} is generated so instead of
using the wxFindDialogEvent methods you can also directly query this object.
Note that all {\tt SetXXX()} methods may only be called before showing the
dialog and calling them has no effect later.
\wxheading{Include files}
\begin{verbatim}
#include <wx/fdrepdlg.h>
\end{verbatim}
\wxheading{Derived from}
\helpref{wxObject}{wxobject}
\wxheading{Data structures}
Flags used by
\helpref{wxFindReplaceData::GetFlags()}{wxfindreplacedatagetflags} and
\helpref{wxFindDialogEvent::GetFlags()}{wxfinddialogeventgetflags}:
\begin{verbatim}
enum wxFindReplaceFlags
{
// downward search/replace selected (otherwise - upwards)
wxFR_DOWN = 1,
// whole word search/replace selected
wxFR_WHOLEWORD = 2,
// case sensitive search/replace selected (otherwise - case insensitive)
wxFR_MATCHCASE = 4
}
\end{verbatim}
These flags can be specified in
\helpref{wxFindReplaceDialog ctor}{wxfindreplacedialogctor} or
\helpref{Create()}{wxfindreplacedialogcreate}:
\begin{verbatim}
enum wxFindReplaceDialogStyles
{
// replace dialog (otherwise find dialog)
wxFR_REPLACEDIALOG = 1,
// don't allow changing the search direction
wxFR_NOUPDOWN = 2,
// don't allow case sensitive searching
wxFR_NOMATCHCASE = 4,
// don't allow whole word searching
wxFR_NOWHOLEWORD = 8
}
\end{verbatim}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxFindReplaceData::wxFindReplaceData}\label{wxfindreplacedatactor}
\func{}{wxFindReplaceData}{\param{wxUint32 }{flags = 0}}
Constuctor initializes the flags to default value ($0$).
\membersection{wxFindReplaceData::GetFindString}\label{wxfindreplacedatagetfindstring}
\func{const wxString\&}{GetFindString}{\void}
Get the string to find.
\membersection{wxFindReplaceData::GetReplaceString}\label{wxfindreplacedatagetreplacestring}
\func{const wxString\&}{GetReplaceString}{\void}
Get the replacement string.
\membersection{wxFindReplaceData::GetFlags}\label{wxfindreplacedatagetflags}
\constfunc{int}{GetFlags}{\void}
Get the combination of {\tt wxFindReplaceFlags} values.
\membersection{wxFindReplaceData::SetFlags}\label{wxfindreplacedatasetflags}
\func{void}{SetFlags}{\param{wxUint32 }{flags}}
Set the flags to use to initialize the controls of the dialog.
\membersection{wxFindReplaceData::SetFindString}\label{wxfindreplacedatasetfindstring}
\func{void}{SetFindString}{\param{const wxString\& }{str}}
Set the string to find (used as initial value by the dialog).
\membersection{wxFindReplaceData::SetReplaceString}\label{wxfindreplacedatasetreplacestring}
\func{void}{SetReplaceString}{\param{const wxString\& }{str}}
Set the replacement string (used as initial value by the dialog).
\section{\class{wxFindReplaceDialog}}\label{wxfindreplacedialog}
wxFindReplaceDialog is a standard modeless dialog which is used to allow the
user to search for some text (and possibly replace it with something else).
The actual searching is supposed to be done in the owner window which is the
parent of this dialog. Note that it means that unlike for the other standard
dialogs this one {\bf must} have a parent window. Also note that there is no
way to use this dialog in a modal way; it is always, by design and
implementation, modeless.
Please see the dialogs sample for an example of using it.
\wxheading{Include files}
\begin{verbatim}
#include <wx/fdrepdlg.h>
\end{verbatim}
\wxheading{Derived from}
\helpref{wxDialog}{wxdialog}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxFindReplaceDialog::wxFindReplaceDialog}\label{wxfindreplacedialogctor}
\func{}{wxFindReplaceDialog}{\void}
\func{}{wxFindReplaceDialog}{\param{wxWindow * }{parent}, \param{wxFindReplaceData* }{data}, \param{const wxString\& }{title}, \param{int }{style = 0}}
After using default constructor \helpref{Create()}{wxfindreplacedialogcreate}
must be called.
The {\it parent} and {\it data} parameters must be non-{\tt NULL}.
\membersection{wxFindReplaceDialog::\destruct{wxFindReplaceDialog}}\label{wxfindreplacedialogdtor}
\func{}{\destruct{wxFindReplaceDialog}}{\void}
Destructor.
\membersection{wxFindReplaceDialog::Create}\label{wxfindreplacedialogcreate}
\func{bool}{Create}{\param{wxWindow * }{parent}, \param{wxFindReplaceData* }{data}, \param{const wxString\& }{title}, \param{int }{style = 0}}
Creates the dialog; use \helpref{Show}{wxwindowshow} to show it on screen.
The {\it parent} and {\it data} parameters must be non-{\tt NULL}.
\membersection{wxFindReplaceDialog::GetData}\label{wxfindreplacedialoggetdata}
\constfunc{const wxFindReplaceData*}{GetData}{\void}
Get the \helpref{wxFindReplaceData}{wxfindreplacedata} object used by this
dialog.

213
docs/latex/wx/ffile.tex Normal file
View File

@@ -0,0 +1,213 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Name: ffile.tex
%% Purpose: wxFFile documentation
%% Author: Vadim Zeitlin
%% Modified by:
%% Created: 14.01.02 (extracted from file.tex)
%% RCS-ID: $Id$
%% Copyright: (c) Vadim Zeitlin
%% License: wxWindows license
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{\class{wxFFile}}\label{wxffile}
wxFFile implements buffered file I/O. This is a very small class designed to
minimize the overhead of using it - in fact, there is hardly any overhead at
all, but using it brings you automatic error checking and hides differences
between platforms and compilers. It wraps inside it a {\tt FILE *} handle used
by standard C IO library (also known as {\tt stdio}).
\wxheading{Derived from}
None.
\wxheading{Include files}
<wx/ffile.h>
\twocolwidtha{7cm}
\begin{twocollist}\itemsep=0pt%
\twocolitem{{\bf wxFromStart}}{Count offset from the start of the file}
\twocolitem{{\bf wxFromCurrent}}{Count offset from the current position of the file pointer}
\twocolitem{{\bf wxFromEnd}}{Count offset from the end of the file (backwards)}
\end{twocollist}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxFFile::wxFFile}\label{wxffileconstr}
\func{}{wxFFile}{\void}
Default constructor.
\func{}{wxFFile}{\param{const char*}{ filename}, \param{const char*}{ mode = "r"}}
Opens a file with the given mode. As there is no way to return whether the
operation was successful or not from the constructor you should test the
return value of \helpref{IsOpened}{wxffileisopened} to check that it didn't
fail.
\func{}{wxFFile}{\param{FILE*}{ fp}}
Opens a file with the given file pointer, which has already been opened.
\wxheading{Parameters}
\docparam{filename}{The filename.}
\docparam{mode}{The mode in which to open the file using standard C strings.
Note that you should use {\tt "b"} flag if you use binary files under Windows
or the results might be unexpected due to automatic newline conversion done
for the text files.}
\docparam{fp}{An existing file descriptor, such as stderr.}
\membersection{wxFFile::\destruct{wxFFile}}
\func{}{\destruct{wxFFile}}{\void}
Destructor will close the file.
NB: it is not virtual so you should {\it not} derive from wxFFile!
\membersection{wxFFile::Attach}\label{wxffileattach}
\func{void}{Attach}{\param{FILE*}{ fp}}
Attaches an existing file pointer to the wxFFile object.
The descriptor should be already opened and it will be closed by wxFFile
object.
\membersection{wxFFile::Close}\label{wxffileclose}
\func{bool}{Close}{\void}
Closes the file and returns TRUE on success.
\membersection{wxFFile::Detach}\label{wxffiledetach}
\func{void}{Detach}{\void}
Get back a file pointer from wxFFile object - the caller is responsible for closing the file if this
descriptor is opened. \helpref{IsOpened()}{wxffileisopened} will return FALSE after call to Detach().
\membersection{wxFFile::fp}\label{wxffilefp}
\constfunc{FILE *}{fp}{\void}
Returns the file pointer associated with the file.
\membersection{wxFFile::Eof}\label{wxffileeof}
\constfunc{bool}{Eof}{\void}
Returns TRUE if the an attempt has been made to read {\it past}
the end of the file.
Note that the behaviour of the file descriptor based class
\helpref{wxFile}{wxfile} is different as \helpref{wxFile::Eof}{wxfileeof}
will return TRUE here as soon as the last byte of the file has been
read.
\membersection{wxFFile::Flush}\label{wxffileflush}
\func{bool}{Flush}{\void}
Flushes the file and returns TRUE on success.
\membersection{wxFFile::IsOpened}\label{wxffileisopened}
\constfunc{bool}{IsOpened}{\void}
Returns TRUE if the file has been opened.
\membersection{wxFFile::Length}\label{wxffilelength}
\constfunc{size\_t}{Length}{\void}
Returns the length of the file.
\membersection{wxFFile::Open}\label{wxffileopen}
\func{bool}{Open}{\param{const char*}{ filename}, \param{const char*}{ mode = "r"}}
Opens the file, returning TRUE if successful.
\wxheading{Parameters}
\docparam{filename}{The filename.}
\docparam{mode}{The mode in which to open the file.}
\membersection{wxFFile::Read}\label{wxffileread}
\func{size\_t}{Read}{\param{void*}{ buffer}, \param{off\_t}{ count}}
Reads the specified number of bytes into a buffer, returning the actual number read.
\wxheading{Parameters}
\docparam{buffer}{A buffer to receive the data.}
\docparam{count}{The number of bytes to read.}
\wxheading{Return value}
The number of bytes read.
\membersection{wxFFile::Seek}\label{wxffileseek}
\func{bool}{Seek}{\param{long }{ofs}, \param{wxSeekMode }{mode = wxFromStart}}
Seeks to the specified position and returns TRUE on success.
\wxheading{Parameters}
\docparam{ofs}{Offset to seek to.}
\docparam{mode}{One of {\bf wxFromStart}, {\bf wxFromEnd}, {\bf wxFromCurrent}.}
\membersection{wxFFile::SeekEnd}\label{wxffileseekend}
\func{bool}{SeekEnd}{\param{long }{ofs = 0}}
Moves the file pointer to the specified number of bytes before the end of the file
and returns TRUE on success.
\wxheading{Parameters}
\docparam{ofs}{Number of bytes before the end of the file.}
\membersection{wxFFile::Tell}\label{wxffiletell}
\constfunc{size\_t}{Tell}{\void}
Returns the current position.
\membersection{wxFFile::Write}\label{wxffilewrite}
\func{size\_t}{Write}{\param{const void*}{ buffer}, \param{size\_t}{ count}}
Writes the specified number of bytes from a buffer.
\wxheading{Parameters}
\docparam{buffer}{A buffer containing the data.}
\docparam{count}{The number of bytes to write.}
\wxheading{Return value}
Number of bytes written.
\membersection{wxFFile::Write}\label{wxffilewrites}
\func{bool}{Write}{\param{const wxString\& }{s}, \param{wxMBConv\&}{ conv = wxConvLibc}}
Writes the contents of the string to the file, returns TRUE on success.
The second argument is only meaningful in Unicode build of wxWindows when
{\it conv} is used to convert {\it s} to multibyte representation.

150
docs/latex/wx/ffilestr.tex Normal file
View File

@@ -0,0 +1,150 @@
% -----------------------------------------------------------------------------
% wxFFileInputStream
% -----------------------------------------------------------------------------
\section{\class{wxFFileInputStream}}\label{wxffileinputstream}
This class represents data read in from a file. There are actually
two such groups of classes: this one is based on \helpref{wxFFile}{wxffile}
whereas \helpref{wxFileInputStream}{wxfileinputstream} is based in
the \helpref{wxFile}{wxfile} class.
Note that \helpref{wxFile}{wxfile} and \helpref{wxFFile}{wxffile} differ
in one aspect, namely when to report that the end of the file has been
reached. This is documented in \helpref{wxFile::Eof}{wxfileeof} and
\helpref{wxFFile::Eof}{wxffileeof} and the behaviour of the stream
classes reflects this difference, i.e. wxFileInputStream will report
wxSTREAM\_EOF after having read the last byte whereas wxFFileInputStream
will report wxSTREAM\_EOF after trying to read {\it past} the last byte.
\wxheading{Derived from}
\helpref{wxInputStream}{wxinputstream}
\wxheading{Include files}
<wx/wfstream.h>
\wxheading{See also}
\helpref{wxBufferedInputStream}{wxbufferedinputstream}, \helpref{wxFFileOutputStream}{wxffileoutputstream}, \helpref{wxFileOutputStream}{wxfileoutputstream}
% ----------
% Members
% ----------
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxFFileInputStream::wxFFileInputStream}
\func{}{wxFFileInputStream}{\param{const wxString\&}{ ifileName}}
Opens the specified file using its {\it ifilename} name in read-only mode.
\func{}{wxFFileInputStream}{\param{wxFFile\&}{ file}}
Initializes a file stream in read-only mode using the file I/O object {\it file}.
\func{}{wxFFileInputStream}{\param{FILE *}{ fp}}
Initializes a file stream in read-only mode using the specified file pointer {\it fp}.
\membersection{wxFFileInputStream::\destruct{wxFFileInputStream}}
\func{}{\destruct{wxFFileInputStream}}{\void}
Destructor.
\membersection{wxFFileInputStream::Ok}
\constfunc{bool}{Ok}{\void}
Returns TRUE if the stream is initialized and ready.
% -----------------------------------------------------------------------------
% wxFFileOutputStream
% -----------------------------------------------------------------------------
\section{\class{wxFFileOutputStream}}\label{wxffileoutputstream}
This class represents data written to a file. There are actually
two such groups of classes: this one is based on \helpref{wxFFile}{wxffile}
whereas \helpref{wxFileInputStream}{wxffileinputstream} is based in
the \helpref{wxFile}{wxfile} class.
Note that \helpref{wxFile}{wxfile} and \helpref{wxFFile}{wxffile} differ
in one aspect, namely when to report that the end of the file has been
reached. This is documented in \helpref{wxFile::Eof}{wxfileeof} and
\helpref{wxFFile::Eof}{wxffileeof} and the behaviour of the stream
classes reflects this difference, i.e. wxFileInputStream will report
wxSTREAM\_EOF after having read the last byte whereas wxFFileInputStream
will report wxSTREAM\_EOF after trying to read {\it past} the last byte.
\wxheading{Derived from}
\helpref{wxOutputStream}{wxoutputstream}
\wxheading{Include files}
<wx/wfstream.h>
\wxheading{See also}
\helpref{wxBufferedOutputStream}{wxbufferedoutputstream}, \helpref{wxFFileInputStream}{wxffileinputstream}, \helpref{wxFileInputStream}{wxfileinputstream}
% ----------
% Members
% ----------
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxFFileOutputStream::wxFFileOutputStream}
\func{}{wxFFileOutputStream}{\param{const wxString\&}{ ofileName}}
Creates a new file with {\it ofilename} name and initializes the stream in
write-only mode.
\func{}{wxFFileOutputStream}{\param{wxFFile\&}{ file}}
Initializes a file stream in write-only mode using the file I/O object {\it file}.
\func{}{wxFFileOutputStream}{\param{FILE *}{ fp}}
Initializes a file stream in write-only mode using the file descriptor {\it fp}.
\membersection{wxFFileOutputStream::\destruct{wxFFileOutputStream}}
\func{}{\destruct{wxFFileOutputStream}}{\void}
Destructor.
\membersection{wxFFileOutputStream::Ok}
\constfunc{bool}{Ok}{\void}
Returns TRUE if the stream is initialized and ready.
% -----------------------------------------------------------------------------
% wxFFileStream
% -----------------------------------------------------------------------------
\section{\class{wxFFileStream}}
\wxheading{Derived from}
\helpref{wxFFileOutputStream}{wxffileoutputstream}, \helpref{wxFFileInputStream}{wxffileinputstream}
\wxheading{Include files}
<wx/wfstream.h>
\wxheading{See also}
\helpref{wxStreamBuffer}{wxstreambuffer}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxFFileStream::wxFFileStream}
\func{}{wxFFileStream}{\param{const wxString\&}{ iofileName}}
Initializes a new file stream in read-write mode using the specified
{\it iofilename} name.

View File

@@ -0,0 +1,55 @@
\section{\class{wxFileDataObject}}\label{wxfiledataobject}
wxFileDataObject is a specialization of \helpref{wxDataObject}{wxdataobject}
for file names. The program works with it just as if it were a list of absolute file
names, but internally it uses the same format as
Explorer and other compatible programs under Windows or GNOME/KDE filemanager
under Unix which makes it possible to receive files from them using this
class.
{\bf Warning:} Under all non-Windows platforms this class is currently
"input-only", i.e. you can receive the files from another application, but
copying (or dragging) file(s) from a wxWindows application is not currently
supported.
\wxheading{Virtual functions to override}
None.
\wxheading{Derived from}
\helpref{wxDataObjectSimple}{wxdataobjectsimple}\\
\helpref{wxDataObject}{wxdataobject}
\wxheading{Include files}
<wx/dataobj.h>
\wxheading{See also}
\helpref{wxDataObject}{wxdataobject},
\helpref{wxDataObjectSimple}{wxdataobjectsimple},
\helpref{wxTextDataObject}{wxtextdataobject},
\helpref{wxBitmapDataObject}{wxbitmapdataobject},
\helpref{wxDataObject}{wxdataobject}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxFileDataObject}\label{wxfiledataobjectwxfiledataobject}
\func{}{wxFileDataObject}{\void}
Constructor.
\membersection{wxFileDataObject::AddFile}\label{wxfiledataobjectaddfile}
\func{virtual void}{AddFile}{\param{const wxString\& }{file}}
{\bf MSW only:} adds a file to the file list represented by this data object.
\membersection{wxFileDataObject::GetFilenames}\label{wxfiledataobjectgetfilenames}
\constfunc{const wxArrayString\& }{GetFilenames}{\void}
Returns the \helpref{array}{wxarraystring} of file names.

View File

@@ -0,0 +1,55 @@
\section{\class{wxFileDropTarget}}\label{wxfiledroptarget}
This is a \helpref{drop target}{wxdroptarget} which accepts files (dragged
from File Manager or Explorer).
\wxheading{Derived from}
\helpref{wxDropTarget}{wxdroptarget}
\wxheading{Include files}
<wx/dnd.h>
\wxheading{See also}
\helpref{Drag and drop overview}{wxdndoverview}, \helpref{wxDropSource}{wxdropsource},
\helpref{wxDropTarget}{wxdroptarget}, \helpref{wxTextDropTarget}{wxtextdroptarget}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxFileDropTarget::wxFileDropTarget}\label{wxfiledroptargetwxfiledroptarget}
\func{}{wxFileDropTarget}{\void}
Constructor.
\membersection{wxFileDropTarget::OnDrop}\label{wxfiledroptargetondrop}
\func{virtual bool}{OnDrop}{\param{long }{x}, \param{long }{y}, \param{const void }{*data}, \param{size\_t }{size}}
See \helpref{wxDropTarget::OnDrop}{wxdroptargetondrop}. This function is implemented
appropriately for files, and calls \helpref{wxFileDropTarget::OnDropFiles}{wxfiledroptargetondropfiles}.
\membersection{wxFileDropTarget::OnDropFiles}\label{wxfiledroptargetondropfiles}
\func{virtual bool}{OnDropFiles}{\param{wxCoord }{x}, \param{wxCoord }{y}, \param{const wxArrayString\& }{filenames}}
Override this function to receive dropped files.
\wxheading{Parameters}
\docparam{x}{The x coordinate of the mouse.}
\docparam{y}{The y coordinate of the mouse.}
\docparam{filenames}{An array of filenames.}
\wxheading{Return value}
Return TRUE to accept the data, FALSE to veto the operation.
% VZ: this clarification is probably not needed any longer?
%\perlnote{In wxPerl there is just an array reference in place of {\tt nFiles}
%and {\tt files}.}

300
docs/latex/wx/file.tex Normal file
View File

@@ -0,0 +1,300 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Name: file.tex
%% Purpose: wxFile documentation
%% Author: Vadim Zeitlin
%% Modified by:
%% Created: 14.01.02 (extracted from file.tex)
%% RCS-ID: $Id$
%% Copyright: (c) Vadim Zeitlin
%% License: wxWindows license
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{\class{wxFile}}\label{wxfile}
A wxFile performs raw file I/O. This is a very small class designed to
minimize the overhead of using it - in fact, there is hardly any overhead at
all, but using it brings you automatic error checking and hides differences
between platforms and compilers. wxFile also automatically closes the file in
its destructor making it unnecessary to worry about forgetting to do it.
wxFile is a wrapper around {\tt file descriptor.} - see also
\helpref{wxFFile}{wxffile} for a wrapper around {\tt FILE} structure.
\wxheading{Derived from}
None.
\wxheading{Include files}
<wx/file.h>
\wxheading{Constants}
wx/file.h defines the following constants:
\begin{verbatim}
#define wxS_IRUSR 00400
#define wxS_IWUSR 00200
#define wxS_IXUSR 00100
#define wxS_IRGRP 00040
#define wxS_IWGRP 00020
#define wxS_IXGRP 00010
#define wxS_IROTH 00004
#define wxS_IWOTH 00002
#define wxS_IXOTH 00001
// default mode for the new files: corresponds to umask 022
#define wxS_DEFAULT (wxS_IRUSR | wxS_IWUSR | wxS_IRGRP | wxS_IWGRP | wxS_IROTH | wxS_IWOTH)
\end{verbatim}
These constants define the file access rights and are used with
\helpref{wxFile::Create}{wxfilecreate} and \helpref{wxFile::Open}{wxfileopen}.
The {\it OpenMode} enumeration defines the different modes for opening a file,
it is defined inside wxFile class so its members should be specified with {\it wxFile::} scope
resolution prefix. It is also used with \helpref{wxFile::Access}{wxfileaccess} function.
\twocolwidtha{7cm}
\begin{twocollist}\itemsep=0pt%
\twocolitem{{\bf wxFile::read}}{Open file for reading or test if it can be opened for reading with Access()}
\twocolitem{{\bf wxFile::write}}{Open file for writing deleting the contents of the file if it already exists
or test if it can be opened for writing with Access()}
\twocolitem{{\bf wxFile::read\_write}}{Open file for reading and writing; can not be used with Access()}
\twocolitem{{\bf wxFile::write\_append}}{Open file for appending: the file is opened for writing, but the old
contents of the file is not erased and the file pointer is initially placed at the end of the file;
can not be used with Access(). This is the same as {\bf wxFile::write} if the
file doesn't exist.}
\twocolitem{{\bf wxFile::write\_excl}}{Open the file securely for writing (Uses O\_EXCL | O\_CREAT).
Will fail if the file already exists, else create and open it atomically. Useful for opening temporary files without being vulnerable to race exploits.}
\end{twocollist}
Other constants defined elsewhere but used by wxFile functions are wxInvalidOffset which represents an
invalid value of type {\it off\_t} and is returned by functions returning {\it off\_t} on error and the seek
mode constants used with \helpref{Seek()}{wxfileseek}:
\twocolwidtha{7cm}
\begin{twocollist}\itemsep=0pt%
\twocolitem{{\bf wxFromStart}}{Count offset from the start of the file}
\twocolitem{{\bf wxFromCurrent}}{Count offset from the current position of the file pointer}
\twocolitem{{\bf wxFromEnd}}{Count offset from the end of the file (backwards)}
\end{twocollist}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxFile::wxFile}\label{wxfileconstr}
\func{}{wxFile}{\void}
Default constructor.
\func{}{wxFile}{\param{const char*}{ filename}, \param{wxFile::OpenMode}{ mode = wxFile::read}}
Opens a file with the given mode. As there is no way to return whether the
operation was successful or not from the constructor you should test the
return value of \helpref{IsOpened}{wxfileisopened} to check that it didn't
fail.
\func{}{wxFile}{\param{int}{ fd}}
Associates the file with the given file descriptor, which has already been opened.
\wxheading{Parameters}
\docparam{filename}{The filename.}
\docparam{mode}{The mode in which to open the file. May be one of {\bf wxFile::read}, {\bf wxFile::write} and {\bf wxFile::read\_write}.}
\docparam{fd}{An existing file descriptor (see \helpref{Attach()}{wxfileattach} for the list of predefined descriptors)}
\membersection{wxFile::\destruct{wxFile}}
\func{}{\destruct{wxFile}}{\void}
Destructor will close the file.
{\bf NB:} it is not virtual so you should not use wxFile polymorphically.
\membersection{wxFile::Access}\label{wxfileaccess}
\func{static bool}{Access}{\param{const char *}{ name}, \param{OpenMode}{ mode}}
This function verifies if we may access the given file in specified mode. Only
values of wxFile::read or wxFile::write really make sense here.
\membersection{wxFile::Attach}\label{wxfileattach}
\func{void}{Attach}{\param{int}{ fd}}
Attaches an existing file descriptor to the wxFile object. Example of predefined
file descriptors are 0, 1 and 2 which correspond to stdin, stdout and stderr (and
have symbolic names of {\bf wxFile::fd\_stdin}, {\bf wxFile::fd\_stdout} and {\bf wxFile::fd\_stderr}).
The descriptor should be already opened and it will be closed by wxFile
object.
\membersection{wxFile::Close}\label{wxfileclose}
\func{void}{Close}{\void}
Closes the file.
\membersection{wxFile::Create}\label{wxfilecreate}
\func{bool}{Create}{\param{const char*}{ filename}, \param{bool}{ overwrite = FALSE}, \param{int }{access = wxS\_DEFAULT}}
Creates a file for writing. If the file already exists, setting {\bf overwrite} to TRUE
will ensure it is overwritten.
\membersection{wxFile::Detach}\label{wxfiledetach}
\func{void}{Detach}{\void}
Get back a file descriptor from wxFile object - the caller is responsible for closing the file if this
descriptor is opened. \helpref{IsOpened()}{wxfileisopened} will return FALSE after call to Detach().
\membersection{wxFile::fd}\label{wxfilefd}
\constfunc{int}{fd}{\void}
Returns the file descriptor associated with the file.
\membersection{wxFile::Eof}\label{wxfileeof}
\constfunc{bool}{Eof}{\void}
Returns TRUE if the end of the file has been reached.
Note that the behaviour of the file pointer based class
\helpref{wxFFile}{wxffile} is different as \helpref{wxFFile::Eof}{wxffileeof}
will return TRUE here only if an attempt has been made to read
{\it past} the last byte of the file, while wxFile::Eof() will return TRUE
even before such attempt is made if the file pointer is at the last position
in the file.
Note also that this function doesn't work on unseekable file descriptors
(examples include pipes, terminals and sockets under Unix) and an attempt to
use it will result in an error message in such case. So, to read the entire
file into memory, you should write a loop which uses
\helpref{Read}{wxfileread} repeatedly and tests its return condition instead
of using Eof() as this will not work for special files under Unix.
\membersection{wxFile::Exists}\label{wxfileexists}
\func{static bool}{Exists}{\param{const char*}{ filename}}
Returns TRUE if the given name specifies an existing regular file (not a
directory or a link)
\membersection{wxFile::Flush}\label{wxfileflush}
\func{bool}{Flush}{\void}
Flushes the file descriptor.
Note that wxFile::Flush is not implemented on some Windows compilers
due to a missing fsync function, which reduces the usefulness of this function
(it can still be called but it will do nothing on unsupported compilers).
\membersection{wxFile::IsOpened}\label{wxfileisopened}
\constfunc{bool}{IsOpened}{\void}
Returns TRUE if the file has been opened.
\membersection{wxFile::Length}\label{wxfilelength}
\constfunc{off\_t}{Length}{\void}
Returns the length of the file.
\membersection{wxFile::Open}\label{wxfileopen}
\func{bool}{Open}{\param{const char*}{ filename}, \param{wxFile::OpenMode}{ mode = wxFile::read}}
Opens the file, returning TRUE if successful.
\wxheading{Parameters}
\docparam{filename}{The filename.}
\docparam{mode}{The mode in which to open the file. May be one of {\bf wxFile::read}, {\bf wxFile::write} and {\bf wxFile::read\_write}.}
\membersection{wxFile::Read}\label{wxfileread}
\func{off\_t}{Read}{\param{void*}{ buffer}, \param{off\_t}{ count}}
Reads the specified number of bytes into a buffer, returning the actual number read.
\wxheading{Parameters}
\docparam{buffer}{A buffer to receive the data.}
\docparam{count}{The number of bytes to read.}
\wxheading{Return value}
The number of bytes read, or the symbol {\bf wxInvalidOffset} (-1) if there was an error.
\membersection{wxFile::Seek}\label{wxfileseek}
\func{off\_t}{Seek}{\param{off\_t }{ofs}, \param{wxSeekMode }{mode = wxFromStart}}
Seeks to the specified position.
\wxheading{Parameters}
\docparam{ofs}{Offset to seek to.}
\docparam{mode}{One of {\bf wxFromStart}, {\bf wxFromEnd}, {\bf wxFromCurrent}.}
\wxheading{Return value}
The actual offset position achieved, or wxInvalidOffset on failure.
\membersection{wxFile::SeekEnd}\label{wxfileseekend}
\func{off\_t}{SeekEnd}{\param{off\_t }{ofs = 0}}
Moves the file pointer to the specified number of bytes before the end of the file.
\wxheading{Parameters}
\docparam{ofs}{Number of bytes before the end of the file.}
\wxheading{Return value}
The actual offset position achieved, or wxInvalidOffset on failure.
\membersection{wxFile::Tell}\label{wxfiletell}
\constfunc{off\_t}{Tell}{\void}
Returns the current position or wxInvalidOffset if file is not opened or if another
error occurred.
\membersection{wxFile::Write}\label{wxfilewrite}
\func{size\_t}{Write}{\param{const void*}{ buffer}, \param{off\_t}{ count}}
Writes the specified number of bytes from a buffer.
\wxheading{Parameters}
\docparam{buffer}{A buffer containing the data.}
\docparam{count}{The number of bytes to write.}
\wxheading{Return value}
the number of bytes actually written
\membersection{wxFile::Write}\label{wxfilewrites}
\func{bool}{Write}{\param{const wxString\& }{s}, \param{wxMBConv\&}{ conv = wxConvLibc}}
Writes the contents of the string to the file, returns TRUE on success.
The second argument is only meaningful in Unicode build of wxWindows when
{\it conv} is used to convert {\it s} to multibyte representation.

215
docs/latex/wx/filedlg.tex Normal file
View File

@@ -0,0 +1,215 @@
\section{\class{wxFileDialog}}\label{wxfiledialog}
This class represents the file chooser dialog.
\wxheading{Derived from}
\helpref{wxDialog}{wxdialog}\\
\helpref{wxWindow}{wxwindow}\\
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/filedlg.h>
\wxheading{See also}
\helpref{wxFileDialog overview}{wxfiledialogoverview}, \helpref{wxFileSelector}{wxfileselector}
\wxheading{Remarks}
Pops up a file selector box. In Windows, this is the common file selector
dialog. In X, this is a file selector box with somewhat less functionality.
The path and filename are distinct elements of a full file pathname.
If path is ``", the current directory will be used. If filename is ``",
no default filename will be supplied. The wildcard determines what files
are displayed in the file selector, and file extension supplies a type
extension for the required filename. Flags may be a combination of wxOPEN,
wxSAVE, wxOVERWRITE\_PROMPT, wxHIDE\_READONLY, wxFILE\_MUST\_EXIST, wxMULTIPLE or 0.
Both the X and Windows versions implement a wildcard filter. Typing a
filename containing wildcards (*, ?) in the filename text item, and
clicking on Ok, will result in only those files matching the pattern being
displayed. The wildcard may be a specification for multiple
types of file with a description for each, such as:
\begin{verbatim}
"BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
\end{verbatim}
It must be noted that wildcard support in the native Motif file
dialog is quite limited: only one alternative is supported,
and it is displayed without the descriptive test; ``BMP files (*.bmp)|*.bmp''
is displayed as ``*.bmp'', and both
``BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif'' and
``Image files|*.bmp;*.gif'' are errors.
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxFileDialog::wxFileDialog}\label{wxfiledialogconstr}
\func{}{wxFileDialog}{\param{wxWindow* }{parent}, \param{const wxString\& }{message = "Choose a file"},\rtfsp
\param{const wxString\& }{defaultDir = ""}, \param{const wxString\& }{defaultFile = ``"},\rtfsp
\param{const wxString\& }{wildcard = ``*.*"}, \param{long }{style = 0}, \param{const wxPoint\& }{pos = wxDefaultPosition}}
Constructor. Use \helpref{wxFileDialog::ShowModal}{wxfiledialogshowmodal} to show the dialog.
\wxheading{Parameters}
\docparam{parent}{Parent window.}
\docparam{message}{Message to show on the dialog.}
\docparam{defaultDir}{The default directory, or the empty string.}
\docparam{defaultFile}{The default filename, or the empty string.}
\docparam{wildcard}{A wildcard, such as ``*.*" or ``BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif".
Note that the native Motif dialog has some limitations with respect to
wildcards; see the Remarks section above.}
\docparam{style}{A dialog style. A bitlist of:
\twocolwidtha{5cm}
\begin{twocollist}
\twocolitem{{\bf wxOPEN}}{This is an open dialog.}
\twocolitem{{\bf wxSAVE}}{This is a save dialog.}
\twocolitem{{\bf wxHIDE\_READONLY}}{For open dialog only: hide the checkbox allowing to open the file in read-only mode.}
\twocolitem{{\bf wxOVERWRITE\_PROMPT}}{For save dialog only: prompt for a confirmation if a file will be overwritten.}
\twocolitem{{\bf wxMULTIPLE}}{For open dialog only: allows selecting multiple files.}
\twocolitem{{\bf wxCHANGE\_DIR}}{Change the current working directory to the directory where the file(s) chosen by the user are.}
\end{twocollist}%
}
\docparam{pos}{Dialog position. Not implemented.}
{\bf NB:} Previous versions of wxWindows used {\tt wxCHANGE\_DIR} by default
under MS Windows which allowed the program to simply remember the last
directory where user selected the files to open/save. This (desired)
functionality must be implemented in the program itself now (manually remember
the last path used and pass it to the dialog the next time it is called) or
by using this flag.
\membersection{wxFileDialog::\destruct{wxFileDialog}}
\func{}{\destruct{wxFileDialog}}{\void}
Destructor.
\membersection{wxFileDialog::GetDirectory}\label{wxfiledialoggetdirectory}
\constfunc{wxString}{GetDirectory}{\void}
Returns the default directory.
\membersection{wxFileDialog::GetFilename}\label{wxfiledialoggetfilename}
\constfunc{wxString}{GetFilename}{\void}
Returns the default filename.
\membersection{wxFileDialog::GetFilenames}\label{wxfiledialoggetfilenames}
\constfunc{void}{GetFilenames}{\param{wxArrayString\& }{filenames}}
Fills the array {\it filenames} with the names of the files chosen. This
function should only be used with the dialogs which have {\tt wxMULTIPLE} style,
use \helpref{GetFilename}{wxfiledialoggetfilename} for the others.
\membersection{wxFileDialog::GetFilterIndex}\label{wxfiledialoggetfilterindex}
\constfunc{int}{GetFilterIndex}{\void}
Returns the index into the list of filters supplied, optionally, in the wildcard parameter.
Before the dialog is shown, this is the index which will be used when the dialog is first displayed.
After the dialog is shown, this is the index selected by the user.
\membersection{wxFileDialog::GetMessage}\label{wxfiledialoggetmessage}
\constfunc{wxString}{GetMessage}{\void}
Returns the message that will be displayed on the dialog.
\membersection{wxFileDialog::GetPath}\label{wxfiledialoggetpath}
\constfunc{wxString}{GetPath}{\void}
Returns the full path (directory and filename) of the selected file.
\membersection{wxFileDialog::GetPaths}\label{wxfiledialoggetpaths}
\constfunc{void}{GetPaths}{\param{wxArrayString\& }{paths}}
Fills the array {\it paths} with the full paths of the files chosen. This
function should only be used with the dialogs which have {\tt wxMULTIPLE} style,
use \helpref{GetPath}{wxfiledialoggetpath} for the others.
\membersection{wxFileDialog::GetStyle}\label{wxfiledialoggetstyle}
\constfunc{long}{GetStyle}{\void}
Returns the dialog style.
\membersection{wxFileDialog::GetWildcard}\label{wxfiledialoggetwildcard}
\constfunc{wxString}{GetWildcard}{\void}
Returns the file dialog wildcard.
\membersection{wxFileDialog::SetDirectory}\label{wxfiledialogsetdirectory}
\func{void}{SetDirectory}{\param{const wxString\& }{directory}}
Sets the default directory.
\membersection{wxFileDialog::SetFilename}\label{wxfiledialogsetfilename}
\func{void}{SetFilename}{\param{const wxString\& }{setfilename}}
Sets the default filename.
\membersection{wxFileDialog::SetFilterIndex}\label{wxfiledialogsetfilterindex}
\func{void}{SetFilterIndex}{\param{int }{filterIndex}}
Sets the default filter index, starting from zero.
\membersection{wxFileDialog::SetMessage}\label{wxfiledialogsetmessage}
\func{void}{SetMessage}{\param{const wxString\& }{message}}
Sets the message that will be displayed on the dialog.
\membersection{wxFileDialog::SetPath}\label{wxfiledialogsetpath}
\func{void}{SetPath}{\param{const wxString\& }{path}}
Sets the path (the combined directory and filename that will be returned when the dialog is dismissed).
\membersection{wxFileDialog::SetStyle}\label{wxfiledialogsetstyle}
\func{void}{SetStyle}{\param{long }{style}}
Sets the dialog style. See \helpref{wxFileDialog::wxFileDialog}{wxfiledialogconstr} for details.
\membersection{wxFileDialog::SetWildcard}\label{wxfiledialogsetwildcard}
\func{void}{SetWildcard}{\param{const wxString\& }{wildCard}}
Sets the wildcard, which can contain multiple file types, for example:
``BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
Note that the native Motif dialog has some limitations with respect to
wildcards; see the Remarks section above.
\membersection{wxFileDialog::ShowModal}\label{wxfiledialogshowmodal}
\func{int}{ShowModal}{\void}
Shows the dialog, returning wxID\_OK if the user pressed OK, and wxID\_CANCEL
otherwise.

128
docs/latex/wx/filehist.tex Normal file
View File

@@ -0,0 +1,128 @@
\section{\class{wxFileHistory}}\label{wxfilehistory}
The wxFileHistory encapsulates a user interface convenience, the
list of most recently visited files as shown on a menu (usually the File menu).
wxFileHistory can manage one or more file menus. More than one menu may be required
in an MDI application, where the file history should appear on each MDI child menu
as well as the MDI parent frame.
\wxheading{Derived from}
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/docview.h>
\wxheading{See also}
\helpref{wxFileHistory overview}{wxfilehistoryoverview}, \helpref{wxDocManager}{wxdocmanager}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxFileHistory::m\_fileHistory}
\member{char**}{m\_fileHistory}
A character array of strings corresponding to the most recently opened
files.
\membersection{wxFileHistory::m\_fileHistoryN}
\member{int}{m\_fileHistoryN}
The number of files stored in the history array.
\membersection{wxFileHistory::m\_fileMaxFiles}
\member{int}{m\_fileMaxFiles}
The maximum number of files to be stored and displayed on the menu.
\membersection{wxFileHistory::m\_fileMenu}
\member{wxMenu*}{m\_fileMenu}
The file menu used to display the file history list (if enabled).
\membersection{wxFileHistory::wxFileHistory}
\func{}{wxFileHistory}{\param{int}{ maxFiles = 9}}
Constructor. Pass the maximum number of files that should be stored and displayed.
\membersection{wxFileHistory::\destruct{wxFileHistory}}
\func{}{\destruct{wxFileHistory}}{\void}
Destructor.
\membersection{wxFileHistory::AddFileToHistory}
\func{void}{AddFileToHistory}{\param{const wxString\& }{filename}}
Adds a file to the file history list, if the object has a pointer to an appropriate file menu.
\membersection{wxFileHistory::AddFilesToMenu}\label{wxfilehistoryaddfilestomenu}
\func{void}{AddFilesToMenu}{\void}
Appends the files in the history list, to all menus managed by the file history object.
\func{void}{AddFilesToMenu}{\param{wxMenu*}{ menu}}
Appends the files in the history list, to the given menu only.
\membersection{wxFileHistory::GetHistoryFile}\label{wxfilehistorygethistoryfile}
\constfunc{wxString}{GetHistoryFile}{\param{int}{ index}}
Returns the file at this index (zero-based).
\membersection{wxFileHistory::GetMaxFiles}
\constfunc{int}{GetMaxFiles}{\void}
Returns the maximum number of files that can be stored.
\membersection{wxFileHistory::GetNoHistoryFiles}
\constfunc{int}{GetNoHistoryFiles}{\void}
Returns the number of files currently stored in the file history.
\membersection{wxFileHistory::Load}
\func{void}{Load}{\param{wxConfigBase\& }{config}}
Loads the file history from the given config object. This function should be called explicitly by the application.
\wxheading{See also}
\helpref{wxConfig}{wxconfigbase}
\membersection{wxFileHistory::RemoveMenu}
\func{void}{RemoveMenu}{\param{wxMenu* }{menu}}
Removes this menu from the list of those managed by this object.
\membersection{wxFileHistory::Save}
\func{void}{Save}{\param{wxConfigBase\& }{config}}
Saves the file history into the given config object. This must be called
explicitly by the application.
\wxheading{See also}
\helpref{wxConfig}{wxconfigbase}
\membersection{wxFileHistory::UseMenu}
\func{void}{UseMenu}{\param{wxMenu* }{menu}}
Adds this menu to the list of those managed by this object.

View File

@@ -0,0 +1,58 @@
\section{\class{wxFileInputStream}}\label{wxfileinputstream}
This class represents data read in from a file. There are actually
two such groups of classes: this one is based on \helpref{wxFile}{wxfile}
whereas \helpref{wxFFileInputStream}{wxffileinputstream} is based in
the \helpref{wxFFile}{wxffile} class.
Note that \helpref{wxFile}{wxfile} and \helpref{wxFFile}{wxffile} differ
in one aspect, namely when to report that the end of the file has been
reached. This is documented in \helpref{wxFile::Eof}{wxfileeof} and
\helpref{wxFFile::Eof}{wxffileeof} and the behaviour of the stream
classes reflects this difference, i.e. wxFileInputStream will report
wxSTREAM\_EOF after having read the last byte whereas wxFFileInputStream
will report wxSTREAM\_EOF after trying to read {\it past} the last byte.
\wxheading{Derived from}
\helpref{wxInputStream}{wxinputstream}
\wxheading{Include files}
<wx/wfstream.h>
\wxheading{See also}
\helpref{wxBufferedInputStream}{wxbufferedinputstream}, \helpref{wxFileOutputStream}{wxfileoutputstream}, \helpref{wxFFileOutputStream}{wxffileoutputstream}
% ----------
% Members
% ----------
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxFileInputStream::wxFileInputStream}
\func{}{wxFileInputStream}{\param{const wxString\&}{ ifileName}}
Opens the specified file using its {\it ifilename} name in read-only mode.
\func{}{wxFileInputStream}{\param{wxFile\&}{ file}}
Initializes a file stream in read-only mode using the file I/O object {\it file}.
\func{}{wxFileInputStream}{\param{int}{ fd}}
Initializes a file stream in read-only mode using the specified file descriptor.
\membersection{wxFileInputStream::\destruct{wxFileInputStream}}
\func{}{\destruct{wxFileInputStream}}{\void}
Destructor.
\membersection{wxFileInputStream::Ok}
\constfunc{bool}{Ok}{\void}
Returns TRUE if the stream is initialized and ready.

Some files were not shown because too many files have changed in this diff Show More