]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
21 years agoPartially applied [ 632321 ] XRC object_ref fix
Julian Smart [Tue, 17 Dec 2002 22:52:48 +0000 (22:52 +0000)] 
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

21 years agoAdded wxUniv project file for dialogs
Julian Smart [Tue, 17 Dec 2002 22:28:42 +0000 (22:28 +0000)] 
Added wxUniv project file for dialogs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agoDoc corrections
Julian Smart [Tue, 17 Dec 2002 22:22:19 +0000 (22:22 +0000)] 
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

21 years agoAdded missing #if wxUSE_WAVE
Robin Dunn [Tue, 17 Dec 2002 21:26:21 +0000 (21:26 +0000)] 
Added missing #if wxUSE_WAVE

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agoFixed possibility of releasing mouse if the window no longer had it captured
Robin Dunn [Tue, 17 Dec 2002 20:57:55 +0000 (20:57 +0000)] 
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

21 years agofree argv in Unicode build
Vadim Zeitlin [Tue, 17 Dec 2002 19:52:06 +0000 (19:52 +0000)] 
free argv in Unicode build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agounicode compilation fix for wxBase
Vadim Zeitlin [Tue, 17 Dec 2002 19:49:48 +0000 (19:49 +0000)] 
unicode compilation fix for wxBase

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agoCommitted Stefan's temporary fix for crashing in Mac Classic.
Julian Smart [Tue, 17 Dec 2002 17:25:33 +0000 (17:25 +0000)] 
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

21 years agoMissing semicolon
Julian Smart [Tue, 17 Dec 2002 11:51:29 +0000 (11:51 +0000)] 
Missing semicolon

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agoFurther improvements to MFC sample.
Julian Smart [Tue, 17 Dec 2002 11:18:09 +0000 (11:18 +0000)] 
Further improvements to MFC sample.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agoMFC sample now works properly; WinMain not defined in wxMSW
Julian Smart [Tue, 17 Dec 2002 10:52:10 +0000 (10:52 +0000)] 
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

21 years agoUnicode compilation fix
Robin Dunn [Tue, 17 Dec 2002 01:36:47 +0000 (01:36 +0000)] 
Unicode compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agofixed copy/paste error
Robin Dunn [Mon, 16 Dec 2002 23:08:31 +0000 (23:08 +0000)] 
fixed copy/paste error

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agoMisc wxSTC fixes
Robin Dunn [Mon, 16 Dec 2002 22:35:12 +0000 (22:35 +0000)] 
Misc wxSTC fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agoGive wxSafeYield an onlyIfNeeded parameter
Robin Dunn [Mon, 16 Dec 2002 21:58:36 +0000 (21:58 +0000)] 
Give wxSafeYield an onlyIfNeeded parameter

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years ago Last samples/Unicode fixes.
Mattia Barbon [Mon, 16 Dec 2002 20:25:28 +0000 (20:25 +0000)] 
  Last samples/Unicode fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agoFixed missing checkbox alignment
Julian Smart [Mon, 16 Dec 2002 12:34:06 +0000 (12:34 +0000)] 
Fixed missing checkbox alignment

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agoUpdated change log
Julian Smart [Mon, 16 Dec 2002 11:11:01 +0000 (11:11 +0000)] 
Updated change log

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agoApplied patch [ 651713 ] changes to convertrc
Julian Smart [Mon, 16 Dec 2002 11:03:05 +0000 (11:03 +0000)] 
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

21 years agoApplied [ 652962 ] wxProgressDialog::Show(FALSE) bug
Julian Smart [Mon, 16 Dec 2002 10:57:48 +0000 (10:57 +0000)] 
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

21 years agoApplied part of patch [ 652965 ] Enables toolbar simple in wxUniv
Julian Smart [Mon, 16 Dec 2002 10:50:49 +0000 (10:50 +0000)] 
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

21 years agoApplied patch [ 652894 ] Checklistbox doesn't need owner draw
Julian Smart [Mon, 16 Dec 2002 10:45:09 +0000 (10:45 +0000)] 
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

21 years agoCopy wxUniv setup0.h to setup.h
Julian Smart [Mon, 16 Dec 2002 10:36:17 +0000 (10:36 +0000)] 
Copy wxUniv setup0.h to setup.h

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agoRemoved redundant wxUniv setup.h
Julian Smart [Mon, 16 Dec 2002 10:29:03 +0000 (10:29 +0000)] 
Removed redundant wxUniv setup.h

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agoApplied patch [ 654023 ] Enables HtmlHelp (native)
Julian Smart [Mon, 16 Dec 2002 10:22:08 +0000 (10:22 +0000)] 
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

21 years agoApplied [ 654253 ] wxGTK: fix to wxGetMousePosition()
Julian Smart [Mon, 16 Dec 2002 09:44:35 +0000 (09:44 +0000)] 
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

21 years agouse system zlib under Mac
Vadim Zeitlin [Sun, 15 Dec 2002 22:50:42 +0000 (22:50 +0000)] 
use system zlib under Mac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agochanged version to 2.5.0
Vadim Zeitlin [Sun, 15 Dec 2002 22:37:56 +0000 (22:37 +0000)] 
changed version to 2.5.0

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agomisc gcc compilation warnings
Vadim Zeitlin [Sun, 15 Dec 2002 22:30:49 +0000 (22:30 +0000)] 
misc gcc compilation warnings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agoprintf() format warning fixed
Vadim Zeitlin [Sun, 15 Dec 2002 22:25:13 +0000 (22:25 +0000)] 
printf() format warning fixed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agoAdded Mac Classic fixes
Julian Smart [Sun, 15 Dec 2002 21:56:53 +0000 (21:56 +0000)] 
Added Mac Classic fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agosend an extra kill focus event when we're deactivated
Vadim Zeitlin [Sun, 15 Dec 2002 18:17:15 +0000 (18:17 +0000)] 
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

21 years ago Fixed all remaining samples/Unicode compilation errors.
Mattia Barbon [Sun, 15 Dec 2002 17:25:36 +0000 (17:25 +0000)] 
  Fixed all remaining samples/Unicode compilation errors.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years ago_really_ fixed translation messages
Václav Slavík [Sun, 15 Dec 2002 12:38:15 +0000 (12:38 +0000)] 
_really_ fixed translation messages

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years ago More samples/Unicode fixes.
Mattia Barbon [Sun, 15 Dec 2002 10:23:11 +0000 (10:23 +0000)] 
  More samples/Unicode fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agofix FindMenu broken by implementation of double ampersands in menu and menu
Gilles Depeyrot [Sat, 14 Dec 2002 21:44:48 +0000 (21:44 +0000)] 
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

21 years agodon't translate strings when it doesn't make any sense
Václav Slavík [Sat, 14 Dec 2002 21:26:22 +0000 (21:26 +0000)] 
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

21 years agoremoved extremely user-unfriendly translations
Václav Slavík [Sat, 14 Dec 2002 21:16:58 +0000 (21:16 +0000)] 
removed extremely user-unfriendly translations

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agoupdated Czech translation
Václav Slavík [Sat, 14 Dec 2002 21:16:41 +0000 (21:16 +0000)] 
updated Czech translation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agofixed typo
Václav Slavík [Sat, 14 Dec 2002 21:16:27 +0000 (21:16 +0000)] 
fixed typo

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agoadded commands to search for menus and menu items by label
Gilles Depeyrot [Sat, 14 Dec 2002 21:12:47 +0000 (21:12 +0000)] 
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

21 years ago More samples/Unicode fixes.
Mattia Barbon [Sat, 14 Dec 2002 18:13:27 +0000 (18:13 +0000)] 
  More samples/Unicode fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years ago Fixed compilation of some more samples in Unicode mode.
Mattia Barbon [Sat, 14 Dec 2002 14:23:10 +0000 (14:23 +0000)] 
  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

21 years ago Fixed missing reference to wxTreeCtrlnameStr when linking treectrl sample
Mattia Barbon [Sat, 14 Dec 2002 14:16:14 +0000 (14:16 +0000)] 
  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

21 years agofixed VC++ warning
Vadim Zeitlin [Sat, 14 Dec 2002 12:18:49 +0000 (12:18 +0000)] 
fixed VC++ warning

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agofixed Unicode compilation
Vadim Zeitlin [Sat, 14 Dec 2002 12:15:03 +0000 (12:15 +0000)] 
fixed Unicode compilation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agoAdded missing SetOrientation accessor
Julian Smart [Sat, 14 Dec 2002 09:29:02 +0000 (09:29 +0000)] 
Added missing SetOrientation accessor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agoupdated message catalogs from sources
Václav Slavík [Fri, 13 Dec 2002 23:53:18 +0000 (23:53 +0000)] 
updated message catalogs from sources

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agoremoved a forgotten relict of past: xmlbin format extension still used
Václav Slavík [Fri, 13 Dec 2002 23:50:28 +0000 (23:50 +0000)] 
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

21 years agoeven more fixes to last-minute wxFileSystem mods
Václav Slavík [Fri, 13 Dec 2002 23:50:15 +0000 (23:50 +0000)] 
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

21 years agofixed wxFilesystem docs bug
Václav Slavík [Fri, 13 Dec 2002 23:50:04 +0000 (23:50 +0000)] 
fixed wxFilesystem docs bug

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agodocumented FileNameToURL and URLToFileName
Václav Slavík [Fri, 13 Dec 2002 23:49:19 +0000 (23:49 +0000)] 
documented FileNameToURL and URLToFileName

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years ago Add WXDLLEXPORT to friend declaration for GCC 3.2.
Mattia Barbon [Fri, 13 Dec 2002 21:35:15 +0000 (21:35 +0000)] 
  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

21 years ago Make some of the samples compile in Unicode mode.
Mattia Barbon [Fri, 13 Dec 2002 21:33:14 +0000 (21:33 +0000)] 
  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

21 years ago Unicode compilation fix.
Mattia Barbon [Fri, 13 Dec 2002 21:28:26 +0000 (21:28 +0000)] 
  Unicode compilation fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agofix visual c bugs for wxUNIVRERSAL
Chris Elliott [Fri, 13 Dec 2002 12:21:19 +0000 (12:21 +0000)] 
fix visual c bugs for wxUNIVRERSAL

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years ago Committing in .
Jouk Jansen [Fri, 13 Dec 2002 07:03:47 +0000 (07:03 +0000)] 
 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

21 years agofix for cygwin WXDLLEXPORT bug
Chris Elliott [Thu, 12 Dec 2002 12:06:07 +0000 (12:06 +0000)] 
fix for cygwin WXDLLEXPORT bug

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agofix for wxUniversal on win32 platforms
Chris Elliott [Wed, 11 Dec 2002 15:10:23 +0000 (15:10 +0000)] 
fix for wxUniversal on win32 platforms

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agoApplied patch [ 651287 ] adds missing wxTreeCtrl::GetEditControl
Julian Smart [Wed, 11 Dec 2002 09:08:46 +0000 (09:08 +0000)] 
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

21 years agoApplied patch [ 651649 ] Scrollbar not updated without resizing
Julian Smart [Tue, 10 Dec 2002 21:50:11 +0000 (21:50 +0000)] 
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

21 years agoApplied patch [ 651383 ] Removes 3 warnings when building w/ CW6
Julian Smart [Tue, 10 Dec 2002 21:44:08 +0000 (21:44 +0000)] 
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

21 years agoApplied patch [ 651640 ] Toolbar sizing fix
Julian Smart [Tue, 10 Dec 2002 21:41:31 +0000 (21:41 +0000)] 
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

21 years ago "cd utils; make" should not try to compile dialoged unless
Mattia Barbon [Tue, 10 Dec 2002 21:30:28 +0000 (21:30 +0000)] 
  "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

21 years ago Remove unused g295.t; g95.t works with any GCC from 2.95.2 to 3.2.
Mattia Barbon [Tue, 10 Dec 2002 21:25:54 +0000 (21:25 +0000)] 
  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

21 years agoApplied another Marco patch (5)
Julian Smart [Tue, 10 Dec 2002 17:02:37 +0000 (17:02 +0000)] 
Applied another Marco patch (5)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agoFromString should not fail on wxMac if facename empty.
Julian Smart [Tue, 10 Dec 2002 16:10:02 +0000 (16:10 +0000)] 
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

21 years agocorrected wxCommandProcessor ctor docs
Vadim Zeitlin [Tue, 10 Dec 2002 14:09:38 +0000 (14:09 +0000)] 
corrected wxCommandProcessor ctor docs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agoApplied some of patch [ 650957 ] wxWinCE diff-0.0.4
Julian Smart [Tue, 10 Dec 2002 12:13:25 +0000 (12:13 +0000)] 
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

21 years agoIgnore DOS drive spec in GetRightLocation
Julian Smart [Tue, 10 Dec 2002 09:48:00 +0000 (09:48 +0000)] 
Ignore DOS drive spec in GetRightLocation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agotried to clean strdup() mess: we now have wxStrdup[AW] which should be always available
Vadim Zeitlin [Tue, 10 Dec 2002 00:43:28 +0000 (00:43 +0000)] 
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

21 years agoFixed the beggar good and proper
Julian Smart [Mon, 9 Dec 2002 21:45:36 +0000 (21:45 +0000)] 
Fixed the beggar good and proper

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agoforgot to add wxHtmlHelpController::AddBook(wxFileName) to the headers
Václav Slavík [Mon, 9 Dec 2002 21:05:56 +0000 (21:05 +0000)] 
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

21 years agoremoved XPM handler from wxImage's standard handlers, let's see if it does any harm
Václav Slavík [Mon, 9 Dec 2002 21:03:25 +0000 (21:03 +0000)] 
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

21 years agoRemoved duplicate art handler
Julian Smart [Mon, 9 Dec 2002 18:27:10 +0000 (18:27 +0000)] 
Removed duplicate art handler

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years ago The size_type typedef must be public.
Mattia Barbon [Mon, 9 Dec 2002 18:08:12 +0000 (18:08 +0000)] 
  The size_type typedef must be public.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years ago Only build HelpGen in wxBase, since it will #error (this will maybe fix
Mattia Barbon [Mon, 9 Dec 2002 18:06:31 +0000 (18:06 +0000)] 
  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

21 years agoremoved garbage pixels from the icon
Vadim Zeitlin [Mon, 9 Dec 2002 16:43:57 +0000 (16:43 +0000)] 
removed garbage pixels from the icon

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agofixed warning about unused var
Vadim Zeitlin [Mon, 9 Dec 2002 16:42:27 +0000 (16:42 +0000)] 
fixed warning about unused var

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agofixed annoying beep when pressing space/return in the tree
Vadim Zeitlin [Mon, 9 Dec 2002 16:41:04 +0000 (16:41 +0000)] 
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

21 years agoConvert filename to URL
Julian Smart [Mon, 9 Dec 2002 15:52:29 +0000 (15:52 +0000)] 
Convert filename to URL

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agoShould only add // under MSW -- not on Unix, not on Mac.
Julian Smart [Mon, 9 Dec 2002 15:42:10 +0000 (15:42 +0000)] 
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

21 years agofix bug with treectrl sample
Chris Elliott [Mon, 9 Dec 2002 15:26:28 +0000 (15:26 +0000)] 
fix bug with treectrl sample

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agoAdded horse3.ani
Julian Smart [Mon, 9 Dec 2002 15:10:14 +0000 (15:10 +0000)] 
Added horse3.ani

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agoIfdefed m_server
Julian Smart [Mon, 9 Dec 2002 14:44:06 +0000 (14:44 +0000)] 
Ifdefed m_server

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agoReverted the _n__ fix for now.
Julian Smart [Mon, 9 Dec 2002 14:35:09 +0000 (14:35 +0000)] 
Reverted the _n__ fix for now.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agoThe wxMAKE_UNIQUE_ASSERT_NAME fix for VC++ does not work for MetroWerks CW.
Julian Smart [Mon, 9 Dec 2002 14:20:06 +0000 (14:20 +0000)] 
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

21 years agoApplied patch [ 632115 ] Fixed internationalization on tooltips
Julian Smart [Mon, 9 Dec 2002 11:22:43 +0000 (11:22 +0000)] 
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

21 years agoApplied patches by Scott Pleiter:
Julian Smart [Mon, 9 Dec 2002 11:14:04 +0000 (11:14 +0000)] 
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

21 years agoSmall WinCE mods from Marco
Julian Smart [Mon, 9 Dec 2002 11:01:50 +0000 (11:01 +0000)] 
Small WinCE mods from Marco

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

21 years agoAdded script to convert project files to DOS format.
Julian Smart [Mon, 9 Dec 2002 10:57:30 +0000 (10:57 +0000)] 
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

21 years agoApplied patch [ 649284 ] Fix wxODBC to work with MySQL 2.x
Julian Smart [Mon, 9 Dec 2002 10:50:14 +0000 (10:50 +0000)] 
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

21 years agoApplied patch [ 649590 ] fixes bug 611264: wxFileDialog entry
Julian Smart [Mon, 9 Dec 2002 10:44:13 +0000 (10:44 +0000)] 
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

21 years agoApplied patch [ 642174 ] Stop TOOL_WINDOWS stealing focus
Julian Smart [Mon, 9 Dec 2002 10:31:17 +0000 (10:31 +0000)] 
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

21 years agoApplied patch [ 650078 ] Add better checking to wxComboBox
Julian Smart [Mon, 9 Dec 2002 10:26:21 +0000 (10:26 +0000)] 
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

21 years agoApplied patch [ 648042 ] Erase background error
Julian Smart [Mon, 9 Dec 2002 10:20:44 +0000 (10:20 +0000)] 
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

21 years agoApplied patch [ 642172 ] Fix menu accelerators in ownerdrw
Julian Smart [Mon, 9 Dec 2002 10:15:00 +0000 (10:15 +0000)] 
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

21 years agoApplied patch [ 642162 ] restore wxWizard wxEVT_WIZARD_FINISHED
Julian Smart [Mon, 9 Dec 2002 09:46:16 +0000 (09:46 +0000)] 
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

21 years agoApplied patch [ 642157 ] [MSW] HMENU resource leak from wxMenuBar
Julian Smart [Mon, 9 Dec 2002 09:29:00 +0000 (09:29 +0000)] 
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

21 years agoApplied [ 639060 ] Individual bar floating in contrib/fl
Julian Smart [Mon, 9 Dec 2002 09:21:23 +0000 (09:21 +0000)] 
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