wxWidgets.git
16 years agoCompile fixes.
Michael Wetherell [Wed, 20 Feb 2008 22:28:02 +0000 (22:28 +0000)] 
Compile fixes.

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

16 years agoFixed two out by one errors
Julian Smart [Wed, 20 Feb 2008 20:33:18 +0000 (20:33 +0000)] 
Fixed two out by one errors

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

16 years agorevert not encoding the colons in FileNameToURL() under MSW (r51904, patch 1890922...
Vadim Zeitlin [Wed, 20 Feb 2008 16:33:55 +0000 (16:33 +0000)] 
revert not encoding the colons in FileNameToURL() under MSW (r51904, patch 1890922) as this completely broke wxFS URLs parsing; explain this in a comment in the trunk version

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

16 years agoadded Id keyword
Francesco Montorsi [Tue, 19 Feb 2008 23:05:18 +0000 (23:05 +0000)] 
added Id keyword

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

16 years agoadded wxWidgets samples
Francesco Montorsi [Tue, 19 Feb 2008 23:04:18 +0000 (23:04 +0000)] 
added wxWidgets samples

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

16 years agonew aliases
Francesco Montorsi [Tue, 19 Feb 2008 22:46:29 +0000 (22:46 +0000)] 
new aliases

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

16 years agouse lowercase for anchor names of wxlibs
Francesco Montorsi [Tue, 19 Feb 2008 22:31:17 +0000 (22:31 +0000)] 
use lowercase for anchor names of wxlibs

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

16 years agouse @subpage where possible instead of @ref
Francesco Montorsi [Tue, 19 Feb 2008 22:30:49 +0000 (22:30 +0000)] 
use @subpage where possible instead of @ref

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

16 years agofix wxConfig link and layout the initial list in two columns
Francesco Montorsi [Tue, 19 Feb 2008 22:28:28 +0000 (22:28 +0000)] 
fix wxConfig link and layout the initial list in two columns

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

16 years agoadding some stub for wx-specific styles
Francesco Montorsi [Tue, 19 Feb 2008 22:27:58 +0000 (22:27 +0000)] 
adding some stub for wx-specific styles

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

16 years agoadded Id keyword
Francesco Montorsi [Tue, 19 Feb 2008 17:28:40 +0000 (17:28 +0000)] 
added Id keyword

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

16 years agofix part of the doxygen warnings introducing aliases for preprocessor commands; repla...
Francesco Montorsi [Tue, 19 Feb 2008 16:51:34 +0000 (16:51 +0000)] 
fix part of the doxygen warnings introducing aliases for preprocessor commands; replacing some \_ with _ and fixing links to the libraries_page

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

16 years agofix doxygen.log and put the .css file in the HTML output folder
Francesco Montorsi [Tue, 19 Feb 2008 16:35:45 +0000 (16:35 +0000)] 
fix doxygen.log and put the .css file in the HTML output folder

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

16 years agowe simply use doxygen default
Francesco Montorsi [Tue, 19 Feb 2008 16:35:12 +0000 (16:35 +0000)] 
we simply use doxygen default

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

16 years agoforgot to commit these -- were part of devtips.h
Francesco Montorsi [Tue, 19 Feb 2008 16:21:38 +0000 (16:21 +0000)] 
forgot to commit these -- were part of devtips.h

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

16 years agoremoved erraneously-added file
Francesco Montorsi [Tue, 19 Feb 2008 15:23:28 +0000 (15:23 +0000)] 
removed erraneously-added file

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

16 years agorenamed some topic overviews to a more readable filename
Francesco Montorsi [Tue, 19 Feb 2008 15:23:05 +0000 (15:23 +0000)] 
renamed some topic overviews to a more readable filename

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

16 years agoremoved almost all TeX code from main manual pages
Francesco Montorsi [Tue, 19 Feb 2008 15:15:32 +0000 (15:15 +0000)] 
removed almost all TeX code from main manual pages

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

16 years agoadd meta to manifests
Chris Elliott [Tue, 19 Feb 2008 15:01:25 +0000 (15:01 +0000)] 
add meta to manifests

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

16 years agoremoved useless spaces
Francesco Montorsi [Tue, 19 Feb 2008 13:28:24 +0000 (13:28 +0000)] 
removed useless spaces

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

16 years agomoved the images under images folder
Francesco Montorsi [Tue, 19 Feb 2008 13:18:53 +0000 (13:18 +0000)] 
moved the images under images folder

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

16 years agoadjusted topic links
Francesco Montorsi [Tue, 19 Feb 2008 13:02:03 +0000 (13:02 +0000)] 
adjusted topic links

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

16 years agoimplement wxRadioBox::Reparent(): it didn't reparent the radio buttons (patch 1891030)
Vadim Zeitlin [Tue, 19 Feb 2008 02:43:29 +0000 (02:43 +0000)] 
implement wxRadioBox::Reparent(): it didn't reparent the radio buttons (patch 1891030)

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

16 years agodon't encode collons in file:// URLs under Windows as IE is incapable of opening...
Vadim Zeitlin [Tue, 19 Feb 2008 02:37:53 +0000 (02:37 +0000)] 
don't encode collons in file:// URLs under Windows as IE is incapable of opening them (and other browsers can open both forms) (patch 1890922)

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

16 years agoadded initial version of the Doxygen manual
Francesco Montorsi [Tue, 19 Feb 2008 00:04:03 +0000 (00:04 +0000)] 
added initial version of the Doxygen manual

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

16 years agomake IsOk() virtual to allow it to be overridden in e.g. wxEnhMetaFile (replaces...
Vadim Zeitlin [Mon, 18 Feb 2008 23:58:09 +0000 (23:58 +0000)] 
make IsOk() virtual to allow it to be overridden in e.g. wxEnhMetaFile (replaces patch 1896222)

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

16 years agoreverted r51340: don't use wxWeakRef in the library code as long as not all supported...
Vadim Zeitlin [Mon, 18 Feb 2008 23:47:50 +0000 (23:47 +0000)] 
reverted r51340: don't use wxWeakRef in the library code as long as not all supported compilers (notably all versions of Borland C++) can compile it; reapply r51340 once wxWeakRef is supported everywhere

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

16 years agoRework the dl* Darwin compatibility code so it uses the real functions when
David Elliott [Mon, 18 Feb 2008 23:44:46 +0000 (23:44 +0000)] 
Rework the dl* Darwin compatibility code so it uses the real functions when
available.  If compiled to allow for pre-10.3 systems it will do the check
at runtime and the compatibility functions will be compiled but likely
not used.  If compiled with 10.3 or higher as the minimum version, the
compatibility functions will not be compiled and the library will work
identically as it does on all other UNIX.

Even if the compatibility code is compiled in, the function names are now
prefixed with wx_darwin_ and are marked static so they don't make it into
the exported symbols, even in their C++-mangled form.

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

16 years agohonour locale modifiers such a @valencia in system locale (patch 1896444)
Vadim Zeitlin [Mon, 18 Feb 2008 23:43:29 +0000 (23:43 +0000)] 
honour locale modifiers such a @valencia in system locale (patch 1896444)

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

16 years agoDon't include dlfcn.h from wx/dynlib.h on Darwin. We might be using our own
David Elliott [Mon, 18 Feb 2008 22:53:38 +0000 (22:53 +0000)] 
Don't include dlfcn.h from wx/dynlib.h on Darwin.  We might be using our own
internal replacement functions.

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

16 years agoTest for dlopen/dlerror on Mac OS X as with any other UNIX.
David Elliott [Mon, 18 Feb 2008 22:50:15 +0000 (22:50 +0000)] 
Test for dlopen/dlerror on Mac OS X as with any other UNIX.
Indent dlerror test appropriately.

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

16 years agoLimit wxListBox best size to 100x100. Particularly important on trunk where
David Elliott [Mon, 18 Feb 2008 21:51:29 +0000 (21:51 +0000)] 
Limit wxListBox best size to 100x100.  Particularly important on trunk where
the best size is not cached and will thus keep telling the sizers that the
best size is the full size of the content (i.e. such that you wouldn't need
to scroll it).

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

16 years agoRevert the 2.8 hacks from r51892 on the trunk.
David Elliott [Mon, 18 Feb 2008 21:26:51 +0000 (21:26 +0000)] 
Revert the 2.8 hacks from r51892 on the trunk.

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

16 years agoEnsure that the NSTableColumn width is that of its largest item to enable
David Elliott [Mon, 18 Feb 2008 21:13:58 +0000 (21:13 +0000)] 
Ensure that the NSTableColumn width is that of its largest item to enable
horizontal scrolling in wxListBox.
Copyright 2008 Software 2000 Ltd.

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

16 years agoAdd a new macro to the Objective-C uniquifying support that allows a
David Elliott [Mon, 18 Feb 2008 20:36:16 +0000 (20:36 +0000)] 
Add a new macro to the Objective-C uniquifying support that allows a
uniquified class to be a subclasses of another uniquified class.

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

16 years agotell user to define _USE_OLD_RW_STL for BC5.6 instead of refusing to compile with...
Vadim Zeitlin [Mon, 18 Feb 2008 13:44:55 +0000 (13:44 +0000)] 
tell user to define _USE_OLD_RW_STL for BC5.6 instead of refusing to compile with it entirely

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

16 years agoFix bug where native views with the NSScrollView wrapper would have their
David Elliott [Mon, 18 Feb 2008 04:58:07 +0000 (04:58 +0000)] 
Fix bug where native views with the NSScrollView wrapper would have their
document size reset to the wx virtual size upon any size event.

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

16 years agoadd ka_GE, ku_TR and ne_NP; some cleanup and better handling of sr_XX (patch 1858926)
Vadim Zeitlin [Sun, 17 Feb 2008 20:11:17 +0000 (20:11 +0000)] 
add ka_GE, ku_TR and ne_NP; some cleanup and better handling of sr_XX (patch 1858926)

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

16 years agofix wxNotebook::GetPage{Text,Image}() when they were called from the page change...
Vadim Zeitlin [Sun, 17 Feb 2008 01:37:23 +0000 (01:37 +0000)] 
fix wxNotebook::GetPage{Text,Image}() when they were called from the page change event handler for the first added page (patch 1895161)

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

16 years agoturn wxUSE_STD_IOSTREAM on by default (except for the compilers which are too broken...
Vadim Zeitlin [Sat, 16 Feb 2008 15:56:02 +0000 (15:56 +0000)] 
turn wxUSE_STD_IOSTREAM on by default (except for the compilers which are too broken) (should have been part of r51844)

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

16 years agoAdd <fetch> class to allow building tarballs from the York site.
Michael Wetherell [Sat, 16 Feb 2008 15:49:07 +0000 (15:49 +0000)] 
Add <fetch> class to allow building tarballs from the York site.

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

16 years agoturn wxUSE_STD_IOSTREAM on by default (except for the compilers which are too broken)
Vadim Zeitlin [Sat, 16 Feb 2008 15:40:13 +0000 (15:40 +0000)] 
turn wxUSE_STD_IOSTREAM on by default (except for the compilers which are too broken)

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

16 years agofix redundant storage of current date both in wxCalendarCtrl (which was itself redund...
Vadim Zeitlin [Sat, 16 Feb 2008 15:39:06 +0000 (15:39 +0000)] 
fix redundant storage of current date both in wxCalendarCtrl (which was itself redundantly stored as both wxDatePickerCtrl::m_cal and m_popup) and popup m_currentDate variable which resulted in multiple bugs, e.g. calendar didn't open at the current date value

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

16 years agoremove duplicated create/destroyevt.tex inclusion, put dcsvg.tex in the right place...
Vadim Zeitlin [Sat, 16 Feb 2008 14:25:20 +0000 (14:25 +0000)] 
remove duplicated create/destroyevt.tex inclusion, put dcsvg.tex in the right place in alphabetic order

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

16 years agoAvoid paragraphs with no children
Julian Smart [Sat, 16 Feb 2008 13:36:03 +0000 (13:36 +0000)] 
Avoid paragraphs with no children

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

16 years agoFixed an XML parsing error for complex URLs
Julian Smart [Sat, 16 Feb 2008 12:09:48 +0000 (12:09 +0000)] 
Fixed an XML parsing error for complex URLs

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

16 years agoRemoved unnecessary include
Julian Smart [Sat, 16 Feb 2008 11:15:21 +0000 (11:15 +0000)] 
Removed unnecessary include

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

16 years agomention wxLogBuffer
Vadim Zeitlin [Sat, 16 Feb 2008 00:09:20 +0000 (00:09 +0000)] 
mention wxLogBuffer

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

16 years agocorrect wxUSE_MSGDLG description (it's for wxMessageDialog, not wxMessageOutput)
Vadim Zeitlin [Sat, 16 Feb 2008 00:07:22 +0000 (00:07 +0000)] 
correct wxUSE_MSGDLG description (it's for wxMessageDialog, not wxMessageOutput)

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

16 years agodocument wxLogBuffer
Vadim Zeitlin [Sat, 16 Feb 2008 00:05:47 +0000 (00:05 +0000)] 
document wxLogBuffer

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

16 years agobetter implementation from VZ
Stefan Csomor [Fri, 15 Feb 2008 21:06:35 +0000 (21:06 +0000)] 
better implementation from VZ

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

16 years agosupporting case insensitive iteration
Stefan Csomor [Fri, 15 Feb 2008 16:24:13 +0000 (16:24 +0000)] 
supporting case insensitive iteration

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

16 years agoapplying patch 1894478, 10.5 AudioServices support
Stefan Csomor [Fri, 15 Feb 2008 16:21:07 +0000 (16:21 +0000)] 
applying patch 1894478, 10.5 AudioServices support

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

16 years agoSet default attributes after a SetSelection
Julian Smart [Fri, 15 Feb 2008 15:41:57 +0000 (15:41 +0000)] 
Set default attributes after a SetSelection

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

16 years agodon't clutter the code with (apparently) unnecessary SM_SWAPBUTTON checks (patch...
Vadim Zeitlin [Fri, 15 Feb 2008 14:35:11 +0000 (14:35 +0000)] 
don't clutter the code with (apparently) unnecessary SM_SWAPBUTTON checks (patch 1892656)

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

16 years agocompilation fix for bcc 5.82: don't use enum for value definition, Borland doesn...
Vadim Zeitlin [Fri, 15 Feb 2008 14:16:32 +0000 (14:16 +0000)] 
compilation fix for bcc 5.82: don't use enum for value definition, Borland doesn't use the value correctly when the template is used later then

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

16 years agoBetter listbox scrollbar behavior.
David Elliott [Thu, 14 Feb 2008 23:34:48 +0000 (23:34 +0000)] 
Better listbox scrollbar behavior.

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

16 years agoHack: force a vertical scroller on wxListBox.
David Elliott [Thu, 14 Feb 2008 22:54:20 +0000 (22:54 +0000)] 
Hack: force a vertical scroller on wxListBox.

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

16 years agoMove wxWindowCocoaScrollView class into its own header.
David Elliott [Thu, 14 Feb 2008 21:08:44 +0000 (21:08 +0000)] 
Move wxWindowCocoaScrollView class into its own header.
(Equivalent of r51796 on the 2.8 branch)

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

16 years agoMore GC fixes.
David Elliott [Thu, 14 Feb 2008 19:46:21 +0000 (19:46 +0000)] 
More GC fixes.

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

16 years agomore unused parameter warnings
Vadim Zeitlin [Thu, 14 Feb 2008 15:57:11 +0000 (15:57 +0000)] 
more unused parameter warnings

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

16 years agoI got too tired of seeing these unused parameters warnings finally
Vadim Zeitlin [Thu, 14 Feb 2008 15:24:09 +0000 (15:24 +0000)] 
I got too tired of seeing these unused parameters warnings finally

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

16 years agogreatly simplified wxGenericCollapsiblePane::OnStateChange() after wxSizer fixes...
Václav Slavík [Thu, 14 Feb 2008 13:43:16 +0000 (13:43 +0000)] 
greatly simplified wxGenericCollapsiblePane::OnStateChange() after wxSizer fixes from r51789

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

16 years agofixed wxSizer::SetSizeHints() to allow setting smaller size than before (e.g. when...
Václav Slavík [Thu, 14 Feb 2008 13:41:56 +0000 (13:41 +0000)] 
fixed wxSizer::SetSizeHints() to allow setting smaller size than before (e.g. when wxCollapsiblePane collapses)

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

16 years agoadded wxWindow::Set/GetMin/MaxClientSize convenience functions
Václav Slavík [Thu, 14 Feb 2008 13:40:47 +0000 (13:40 +0000)] 
added wxWindow::Set/GetMin/MaxClientSize convenience functions

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

16 years agoput URLs into \urlref commands
Francesco Montorsi [Thu, 14 Feb 2008 11:16:41 +0000 (11:16 +0000)] 
put URLs into \urlref commands

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

16 years agoCut down on unnecessary update events
Julian Smart [Thu, 14 Feb 2008 11:08:49 +0000 (11:08 +0000)] 
Cut down on unnecessary update events

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

16 years agoPerformance optimization
Julian Smart [Thu, 14 Feb 2008 11:01:18 +0000 (11:01 +0000)] 
Performance optimization

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

16 years agoremove gratuitous junk which had nothing to do with the commit log message
Paul Cornett [Thu, 14 Feb 2008 05:31:22 +0000 (05:31 +0000)] 
remove gratuitous junk which had nothing to do with the commit log message

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

16 years agouse listctrl coordinates for the wxEVT_COMMAND_LIST_COL_RIGHT_CLICK events (this...
Vadim Zeitlin [Wed, 13 Feb 2008 23:16:04 +0000 (23:16 +0000)] 
use listctrl coordinates for the wxEVT_COMMAND_LIST_COL_RIGHT_CLICK events (this was broken during wxMSWGetColumnClicked() refactoring)

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

16 years agodon't define HAVE_FSYNC if it's already defined (as it can happen when using Cygwin...
Vadim Zeitlin [Wed, 13 Feb 2008 22:39:32 +0000 (22:39 +0000)] 
don't define HAVE_FSYNC if it's already defined (as it can happen when using Cygwin with configure)

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

16 years agosplit wxSizer::Fit() into ComputeFittingWindow/ClientSize() that only does computatio...
Václav Slavík [Wed, 13 Feb 2008 21:32:11 +0000 (21:32 +0000)] 
split wxSizer::Fit() into ComputeFittingWindow/ClientSize() that only does computations and Fit() that applies the result to the window

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

16 years agoFix (at least) slider action messages in GC mode.
David Elliott [Wed, 13 Feb 2008 20:30:36 +0000 (20:30 +0000)] 
Fix (at least) slider action messages in GC mode.
Copyright 2008 Software 2000 Ltd.

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

16 years agoMake sure paragraph style is reset before applying a new style
Julian Smart [Wed, 13 Feb 2008 19:26:41 +0000 (19:26 +0000)] 
Make sure paragraph style is reset before applying a new style

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

16 years agoBlind fix to improve wx-config's Bourne shell compatibility.
Stefan Neis [Wed, 13 Feb 2008 18:41:44 +0000 (18:41 +0000)] 
Blind fix to improve wx-config's Bourne shell compatibility.

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

16 years agoImplemented selection using shift left click
Julian Smart [Wed, 13 Feb 2008 17:18:08 +0000 (17:18 +0000)] 
Implemented selection using shift left click

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

16 years agomake sure client area is refreshed after last child frame is closed
Paul Cornett [Wed, 13 Feb 2008 16:57:44 +0000 (16:57 +0000)] 
make sure client area is refreshed after last child frame is closed

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

16 years agoFixed undo batching
Julian Smart [Wed, 13 Feb 2008 16:28:00 +0000 (16:28 +0000)] 
Fixed undo batching

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

16 years agoremoved no longer used src/iodbc directory
Václav Slavík [Wed, 13 Feb 2008 15:37:15 +0000 (15:37 +0000)] 
removed no longer used src/iodbc directory

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

16 years agoremoved unused g_focusWindowLast
Václav Slavík [Wed, 13 Feb 2008 14:47:21 +0000 (14:47 +0000)] 
removed unused g_focusWindowLast

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

16 years agoFurther fixes, for selected text display and new paragraph insertion
Julian Smart [Wed, 13 Feb 2008 14:24:49 +0000 (14:24 +0000)] 
Further fixes, for selected text display and new paragraph insertion

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

16 years agofixing wxSystemColour conversion
Stefan Csomor [Wed, 13 Feb 2008 08:35:19 +0000 (08:35 +0000)] 
fixing wxSystemColour conversion

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

16 years agouse platform-specific styles in xTR_DEFAULT_STYLE but don't impose them forcefully...
Vadim Zeitlin [Tue, 12 Feb 2008 23:06:09 +0000 (23:06 +0000)] 
use platform-specific styles in xTR_DEFAULT_STYLE but don't impose them forcefully in wxGenericTreeCtrl ctor as this prevents people from using them even if they explicitly want to do it

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

16 years agouse const char*, not char*, for string literals to avoid gcc warnings
Vadim Zeitlin [Tue, 12 Feb 2008 22:53:30 +0000 (22:53 +0000)] 
use const char*, not char*, for string literals to avoid gcc warnings

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

16 years agoadd forgotten file needed by the last change to the sample
Vadim Zeitlin [Tue, 12 Feb 2008 22:46:58 +0000 (22:46 +0000)] 
add forgotten file needed by the last change to the sample

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

16 years agoadded wxWindow::HandleAsNavigationKey() helper for handling (not only) TAB key in...
Václav Slavík [Tue, 12 Feb 2008 20:13:22 +0000 (20:13 +0000)] 
added wxWindow::HandleAsNavigationKey() helper for handling (not only) TAB key in custom controls

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

16 years agoFixed several style, paste and undo bugs
Julian Smart [Tue, 12 Feb 2008 17:05:54 +0000 (17:05 +0000)] 
Fixed several style, paste and undo bugs
Added a reload function to the sample for quickly restoring original text

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

16 years agouse ClientToWindowSize/WindowToClientSize
Václav Slavík [Tue, 12 Feb 2008 15:53:35 +0000 (15:53 +0000)] 
use ClientToWindowSize/WindowToClientSize

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

16 years agoadded wxWindow::ClientToWindowSize and WindowToClientSize helpers
Václav Slavík [Tue, 12 Feb 2008 15:49:22 +0000 (15:49 +0000)] 
added wxWindow::ClientToWindowSize and WindowToClientSize helpers

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

16 years agosilence warnings about <headers>
Václav Slavík [Tue, 12 Feb 2008 11:29:35 +0000 (11:29 +0000)] 
silence warnings about <headers>

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

16 years agofixing SetShape's bridging between RgnHandle and HiShapeRef
Stefan Csomor [Tue, 12 Feb 2008 10:49:19 +0000 (10:49 +0000)] 
fixing SetShape's bridging between RgnHandle and HiShapeRef

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

16 years agoUpdate setup for OpenVMS
Jouk Jansen [Tue, 12 Feb 2008 07:25:33 +0000 (07:25 +0000)] 
Update setup for OpenVMS

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

16 years agobuild fix for non-MSW
Paul Cornett [Tue, 12 Feb 2008 04:03:49 +0000 (04:03 +0000)] 
build fix for non-MSW

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

16 years agouse wxLanguageInfo::GetLocaleName() instead of Desscription which can't be passed...
Vadim Zeitlin [Tue, 12 Feb 2008 00:06:52 +0000 (00:06 +0000)] 
use wxLanguageInfo::GetLocaleName() instead of Desscription which can't be passed to _create_locale() (except that it works for a few standard languages by random coincidence)

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

16 years agosimplify SETLOCALE_FAILS_ON_UNICODE_LANGS-related code
Vadim Zeitlin [Mon, 11 Feb 2008 23:57:30 +0000 (23:57 +0000)] 
simplify SETLOCALE_FAILS_ON_UNICODE_LANGS-related code

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

16 years agoremove half a dozen #ifndef __WXWINCE__ as they dont seem to be necessary now (wxSetl...
Vadim Zeitlin [Mon, 11 Feb 2008 23:48:35 +0000 (23:48 +0000)] 
remove half a dozen #ifndef __WXWINCE__ as they dont seem to be necessary now (wxSetlocale() is defined in wxcrt.h for all platforms); if the compilation for CE is broken it must be fixed by providing wxSetlocale() stub for it instead of writings tons of #ifdefs!

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

16 years agoadd wxLanguageInfo::GetLocaleName(), this simplifies the current code and will be...
Vadim Zeitlin [Mon, 11 Feb 2008 23:40:03 +0000 (23:40 +0000)] 
add wxLanguageInfo::GetLocaleName(), this simplifies the current code and will be used with wxXLocale

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

16 years agoavoid duplication in the code by refactoring LCID creation from wxLanguageInfo::WinLa...
Vadim Zeitlin [Mon, 11 Feb 2008 23:23:10 +0000 (23:23 +0000)] 
avoid duplication in the code by refactoring LCID creation from wxLanguageInfo::WinLang and WinSublang in a member function

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

16 years agoinitialize m_backgroundBrush to an invalid brush instead of wxTRANSPARENT_BRUSH,...
Vadim Zeitlin [Mon, 11 Feb 2008 22:34:13 +0000 (22:34 +0000)] 
initialize m_backgroundBrush to an invalid brush instead of wxTRANSPARENT_BRUSH, this shouldn't change anything but avoids unneeded initialization

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

16 years agouse #ifdef __WXMAC__, not #if
Vadim Zeitlin [Mon, 11 Feb 2008 22:30:58 +0000 (22:30 +0000)] 
use #ifdef __WXMAC__, not #if

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