Commit Graph

15456 Commits

Author SHA1 Message Date
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