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