Commit Graph

16983 Commits

Author SHA1 Message Date
Robin Dunn
245f9233fc Throbber fixes, other tweaks to the demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-12 06:14:56 +00:00
Robin Dunn
a8e8c0adf2 Win32 installer first prompts to uninstall old version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-12 04:59:17 +00:00
Robin Dunn
3e87f7c085 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-12 03:56:58 +00:00
Julian Smart
f8a1c24cca Applied patch [ 651287 ] adds missing wxTreeCtrl::GetEditControl
Peter Stieber


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-11 17:51:07 +00:00
Vadim Zeitlin
9c2a975b3c changed the version to 2.4.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-11 15:16:06 +00:00
Robin Dunn
6c85e4ea6c SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 22:45:08 +00:00
Robin Dunn
ef84703240 Added a version save isinsnace function
Added wxPoint2DDouble


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 22:37:10 +00:00
Robin Dunn
9b126063b3 Changed version number, added some experimental stuff (which isn't
currently active) for canvas, wxArt2D, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 22:08:05 +00:00
Robin Dunn
92bcb27d52 Cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 22:06:54 +00:00
Robin Dunn
19d9393211 img2py can now output a "catalog" of the images in the .py file, also
added header comments to the files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 22:06:33 +00:00
Robin Dunn
02160d547f Demo enhancement from Will Sadkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 22:04:51 +00:00
Robin Dunn
523c689abb Added Throbber class from Cliff Wells
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 22:03:35 +00:00
Robin Dunn
516a7db375 Make the RPM builder and .spec a little simpler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 22:01:24 +00:00
Julian Smart
1f6665c4a7 FromString should not fail on wxMac if facename empty.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 16:10:02 +00:00
Chris Elliott
d0041c5d85 fix bug with WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 09:35:41 +00:00
Julian Smart
ac0ab0af7c Backported some helpview fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 18:37:20 +00:00
Vadim Zeitlin
9c3ae8f70d backported nicer icon (without extra pixels which become garbage when scaled down to 16*16) from the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 16:45:37 +00:00
Chris Elliott
611024d19f fix bug with treectrl sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 15:13:53 +00:00
Julian Smart
c338913066 Added horse3.ani
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 15:10:14 +00:00
Julian Smart
d985da38ab Removed redundant m_server init
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 14:45:36 +00:00
Julian Smart
5fc426be1c Reverted the _n__ fix for now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 14:35:09 +00:00
Julian Smart
28e1cf0c92 The wxMAKE_UNIQUE_ASSERT_NAME fix for VC++ does not work for MetroWerks CW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 14:20:06 +00:00
Roman Rolinsky
9edfe06a3c source moved to tree.py
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 11:27:18 +00:00
Julian Smart
d1207a5142 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/branches/WX_2_4_BRANCH@18150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 11:22:43 +00:00
Roman Rolinsky
e2c61e5080 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 11:20:48 +00:00
Julian Smart
5a8bec2332 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/branches/WX_2_4_BRANCH@18145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 10:50:14 +00:00
Julian Smart
e95a9bf0fd 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/branches/WX_2_4_BRANCH@18144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 10:44:13 +00:00
Julian Smart
c7c772d6f2 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/branches/WX_2_4_BRANCH@18142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 10:26:21 +00:00
Julian Smart
a7cc2111b8 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/branches/WX_2_4_BRANCH@18141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 10:20:44 +00:00
Julian Smart
f540de4447 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/branches/WX_2_4_BRANCH@18140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 10:15:00 +00:00
Roman Rolinsky
bca584ff5e *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:49:05 +00:00
Roman Rolinsky
343ecf673b changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:48:01 +00:00
Roman Rolinsky
4acfbf894d Changes from global variables to 'g' object defined in globals.py
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:46:58 +00:00
Julian Smart
ee950b94e2 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/branches/WX_2_4_BRANCH@18136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:46:16 +00:00
Roman Rolinsky
e5c923ce11 Undo/Redo support classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:45:57 +00:00
Roman Rolinsky
d1c6feb36f Undo/Redo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:45:12 +00:00
Roman Rolinsky
d596568d78 Separated XML_Tree to tree.py, Panel and friends to panel.py
added Undo/Redo commands

added 'container' submenu

other fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:44:30 +00:00
Roman Rolinsky
f22fe04411 SawFish customization for better focus handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:42:36 +00:00
Roman Rolinsky
4efd2698e9 Global variables collected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:41:42 +00:00
Roman Rolinsky
1fc853e5e7 Separated xrced.py in 3 files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:41:04 +00:00
Roman Rolinsky
d150c524ed Undo/Redo images
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:38:30 +00:00
Julian Smart
114bf539c7 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/branches/WX_2_4_BRANCH@18128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:29:00 +00:00
Julian Smart
0f4008d545 Applied patch [ 638561 ] Allow SetFont(wxNullFont) in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:14:39 +00:00
Julian Smart
8cec24b7b4 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/branches/WX_2_4_BRANCH@18121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 22:07:09 +00:00
Václav Slavík
ad9b9a0f7b Fixed EVT_TREE_SEL_CHANGED and _CHANGING under MSLU (patch 631815) (backported from the trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 13:23:46 +00:00
Václav Slavík
c89124b7c0 XRC assigns ID to wxStaticBox created by including wxStaticBoxSizer (did what patch 632470 was supposed to do) (backported from the trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 13:22:17 +00:00
Václav Slavík
348ffb021f Unicode compilation fixes for treectrl sample (backported to 2.4)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 13:21:49 +00:00
Stefan Neis
7d4d26e6f0 Added information on how to circumvent make's problems with auto-generated
.d files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 15:21:40 +00:00
Julian Smart
0850f7534a Correction to path/URL code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 09:18:44 +00:00
Vadim Zeitlin
454bf1cbe0 added semicolons after HASH_MAP (backported from trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 02:30:36 +00:00