wxWidgets.git
15 years agogetting rid of warnings for unused params
Stefan Csomor [Wed, 30 Jul 2008 04:57:23 +0000 (04:57 +0000)] 
getting rid of warnings for unused params

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

15 years agoadding header for non-precomp
Stefan Csomor [Wed, 30 Jul 2008 04:56:52 +0000 (04:56 +0000)] 
adding header for non-precomp

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

15 years agodon't use BS_AUTORADIOBUTTON at all, BS_RADIOBUTTON works just as well and doesn...
Vadim Zeitlin [Tue, 29 Jul 2008 23:19:34 +0000 (23:19 +0000)] 
don't use BS_AUTORADIOBUTTON at all, BS_RADIOBUTTON works just as well and doesn't hang the application in some circumstances (see #9786)

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

15 years agooptimize wxFormatStringArgumentFinder<T> for strings and make it work correctly for...
Václav Slavík [Tue, 29 Jul 2008 23:10:04 +0000 (23:10 +0000)] 
optimize wxFormatStringArgumentFinder<T> for strings and make it work correctly for wxCharBuffer

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

15 years agoadd PostSizeEvent() and use it in wxMSW status bar code (#9795)
Vadim Zeitlin [Tue, 29 Jul 2008 23:07:24 +0000 (23:07 +0000)] 
add PostSizeEvent() and use it in wxMSW status bar code (#9795)

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

15 years agofixed messed up indentation
Václav Slavík [Tue, 29 Jul 2008 22:25:11 +0000 (22:25 +0000)] 
fixed messed up indentation

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

15 years agoadding constant which appears in Leopard SDK only
Stefan Csomor [Tue, 29 Jul 2008 21:51:30 +0000 (21:51 +0000)] 
adding constant which appears in Leopard SDK only

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

15 years agoconsole builds need another header from xcode
Stefan Csomor [Tue, 29 Jul 2008 21:12:49 +0000 (21:12 +0000)] 
console builds need another header from xcode

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

15 years agoavoiding warning because of missing define
Stefan Csomor [Tue, 29 Jul 2008 21:03:18 +0000 (21:03 +0000)] 
avoiding warning because of missing define

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

15 years agoosx regrouping
Stefan Csomor [Tue, 29 Jul 2008 20:35:29 +0000 (20:35 +0000)] 
osx regrouping

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

15 years agoosx regrouping
Stefan Csomor [Tue, 29 Jul 2008 20:30:58 +0000 (20:30 +0000)] 
osx regrouping

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

15 years agoosx regrouping
Stefan Csomor [Tue, 29 Jul 2008 20:30:22 +0000 (20:30 +0000)] 
osx regrouping

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

15 years agoosx regrouping
Stefan Csomor [Tue, 29 Jul 2008 20:28:21 +0000 (20:28 +0000)] 
osx regrouping

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

15 years agoosx regrouping
Stefan Csomor [Tue, 29 Jul 2008 20:27:54 +0000 (20:27 +0000)] 
osx regrouping

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

15 years agoosx regrouping
Stefan Csomor [Tue, 29 Jul 2008 20:26:45 +0000 (20:26 +0000)] 
osx regrouping

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

15 years agoosx regrouping
Stefan Csomor [Tue, 29 Jul 2008 20:24:35 +0000 (20:24 +0000)] 
osx regrouping

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

15 years agoosx regrouping
Stefan Csomor [Tue, 29 Jul 2008 20:23:22 +0000 (20:23 +0000)] 
osx regrouping

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

15 years agoosx regrouping
Stefan Csomor [Tue, 29 Jul 2008 20:22:57 +0000 (20:22 +0000)] 
osx regrouping

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

15 years agoosx regrouping
Stefan Csomor [Tue, 29 Jul 2008 20:15:25 +0000 (20:15 +0000)] 
osx regrouping

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

15 years agoosx regrouping
Stefan Csomor [Tue, 29 Jul 2008 20:13:57 +0000 (20:13 +0000)] 
osx regrouping

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

15 years agoosx regrouping
Stefan Csomor [Tue, 29 Jul 2008 20:11:51 +0000 (20:11 +0000)] 
osx regrouping

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

15 years agoosx regrouping
Stefan Csomor [Tue, 29 Jul 2008 20:04:11 +0000 (20:04 +0000)] 
osx regrouping

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

15 years agouniversal implementation for osx cocoa
Stefan Csomor [Tue, 29 Jul 2008 19:58:39 +0000 (19:58 +0000)] 
universal implementation for osx cocoa

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

15 years agouniversal implementation for iphone
Stefan Csomor [Tue, 29 Jul 2008 19:58:10 +0000 (19:58 +0000)] 
universal implementation for iphone

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

15 years agoOSX regrouping
Stefan Csomor [Tue, 29 Jul 2008 19:57:35 +0000 (19:57 +0000)] 
OSX regrouping

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

15 years agoOSX regrouping
Stefan Csomor [Tue, 29 Jul 2008 19:51:37 +0000 (19:51 +0000)] 
OSX regrouping

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

15 years agoOSX regrouping
Stefan Csomor [Tue, 29 Jul 2008 19:50:14 +0000 (19:50 +0000)] 
OSX regrouping

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

15 years agoOSX regrouping
Stefan Csomor [Tue, 29 Jul 2008 19:47:40 +0000 (19:47 +0000)] 
OSX regrouping

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

15 years agonew SDK has frame CGRect return param
Stefan Csomor [Tue, 29 Jul 2008 19:25:52 +0000 (19:25 +0000)] 
new SDK has frame CGRect return param

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

15 years agoadded a test for passing wxCharBufer to wxprintf functions
Václav Slavík [Tue, 29 Jul 2008 13:32:35 +0000 (13:32 +0000)] 
added a test for passing wxCharBufer to wxprintf functions

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

15 years agoTake on appropriate paragraph style in the newly created paragraph.
Julian Smart [Tue, 29 Jul 2008 13:22:33 +0000 (13:22 +0000)] 
Take on appropriate paragraph style in the newly created paragraph.

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

15 years agoupdated Hindi translations
Vadim Zeitlin [Tue, 29 Jul 2008 13:09:42 +0000 (13:09 +0000)] 
updated Hindi translations

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

15 years agoFurther corrections to wxFileName docs
Robert Roebling [Tue, 29 Jul 2008 13:08:30 +0000 (13:08 +0000)] 
Further corrections to wxFileName docs

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

15 years agoMinor formating
Robert Roebling [Tue, 29 Jul 2008 12:43:12 +0000 (12:43 +0000)] 
Minor formating

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

15 years agogenerate a size event from ShowWithEffect() for consistency with Show()
Vadim Zeitlin [Tue, 29 Jul 2008 12:35:15 +0000 (12:35 +0000)] 
generate a size event from ShowWithEffect() for consistency with Show()

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

15 years agosend the size event in SendSizeEvent() instead of posting it, otherwise we have no...
Vadim Zeitlin [Tue, 29 Jul 2008 12:34:03 +0000 (12:34 +0000)] 
send the size event in SendSizeEvent() instead of posting it, otherwise we have no way to trigger immediate relayout; if we need delayed version we should add a separate PostSizeEvent()

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

15 years agomove SendSizeEvent() down to wxWindow from wxFrame; added SendSizeEventToParent(...
Vadim Zeitlin [Tue, 29 Jul 2008 12:32:47 +0000 (12:32 +0000)] 
move SendSizeEvent() down to wxWindow from wxFrame; added SendSizeEventToParent() helper

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

15 years agoAdded 32-bit (UCS-4) wxUString class
Robert Roebling [Tue, 29 Jul 2008 11:01:16 +0000 (11:01 +0000)] 
Added 32-bit (UCS-4) wxUString class

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

15 years agoimplement wxBitmap ctor from XBM data
Vadim Zeitlin [Mon, 28 Jul 2008 14:07:54 +0000 (14:07 +0000)] 
implement wxBitmap ctor from XBM data

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

15 years agomention that it may be impossible to set the size of a wxStaticLine in the transversa...
Vadim Zeitlin [Mon, 28 Jul 2008 11:56:16 +0000 (11:56 +0000)] 
mention that it may be impossible to set the size of a wxStaticLine in the transversal direction

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

15 years agofix Gtk-WARNING "... no property named `row-ending-details'" (#4809)
Paul Cornett [Mon, 28 Jul 2008 05:49:04 +0000 (05:49 +0000)] 
fix Gtk-WARNING "... no property named `row-ending-details'" (#4809)

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

15 years agoadded a simple benchmarking suite
Vadim Zeitlin [Sat, 26 Jul 2008 23:07:05 +0000 (23:07 +0000)] 
added a simple benchmarking suite

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

15 years agodon't use assert dialog under wxDFB, it does more harm than good
Vadim Zeitlin [Sat, 26 Jul 2008 22:08:42 +0000 (22:08 +0000)] 
don't use assert dialog under wxDFB, it does more harm than good

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

15 years agoTrying to make wxFileName docs readable again
Robert Roebling [Sat, 26 Jul 2008 10:44:42 +0000 (10:44 +0000)] 
Trying to make wxFileName docs readable again

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

15 years agoextending docs according #9713
Stefan Csomor [Sat, 26 Jul 2008 09:20:44 +0000 (09:20 +0000)] 
extending docs according #9713

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

15 years agobuild fix
Paul Cornett [Thu, 24 Jul 2008 02:15:55 +0000 (02:15 +0000)] 
build fix

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

15 years agodefine wxHAS_RAW_BITMAP for wxDFB
Vadim Zeitlin [Thu, 24 Jul 2008 00:47:13 +0000 (00:47 +0000)] 
define wxHAS_RAW_BITMAP for wxDFB

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

15 years agofix index checking in GetRange()
Vadim Zeitlin [Thu, 24 Jul 2008 00:05:14 +0000 (00:05 +0000)] 
fix index checking in GetRange()

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

15 years agoadd unit test for wxTextCtrl::GetInsertionPoint()
Vadim Zeitlin [Wed, 23 Jul 2008 23:56:04 +0000 (23:56 +0000)] 
add unit test for wxTextCtrl::GetInsertionPoint()

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

15 years agoadd unit test for wxTextCtrl::SetSelection()
Vadim Zeitlin [Wed, 23 Jul 2008 23:34:25 +0000 (23:34 +0000)] 
add unit test for wxTextCtrl::SetSelection()

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

15 years agoforbid modifying wxImage by assigning to wxImagePixelData::Iterator::Data(), this...
Vadim Zeitlin [Wed, 23 Jul 2008 23:26:28 +0000 (23:26 +0000)] 
forbid modifying wxImage by assigning to wxImagePixelData::Iterator::Data(), this doesn't work correctly

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

15 years agofix a bug in the test which was corrupting 1 byte beyond wxImage buffer
Vadim Zeitlin [Wed, 23 Jul 2008 23:23:23 +0000 (23:23 +0000)] 
fix a bug in the test which was corrupting 1 byte beyond wxImage buffer

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

15 years agofix crash when reading malformed PCX images (#3836)
Vadim Zeitlin [Tue, 22 Jul 2008 20:16:03 +0000 (20:16 +0000)] 
fix crash when reading malformed PCX images (#3836)

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

15 years agoattempt to fix compilation after the last change
Vadim Zeitlin [Tue, 22 Jul 2008 17:33:10 +0000 (17:33 +0000)] 
attempt to fix compilation after the last change

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

15 years agoremove the workaround for STL build bug in wxArrays fixed by r54761
Vadim Zeitlin [Tue, 22 Jul 2008 01:02:47 +0000 (01:02 +0000)] 
remove the workaround for STL build bug in wxArrays fixed by r54761

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

15 years agoget rid of base arrays in wxUSE_STL build, we don't need them there and deriving...
Vadim Zeitlin [Tue, 22 Jul 2008 01:01:56 +0000 (01:01 +0000)] 
get rid of base arrays in wxUSE_STL build, we don't need them there and deriving wxFooPtr from wxBaseArrayPtrVoid makes it iterators return void pointers instead of those of the correct type; added test case to check for this

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

16 years agoFixed detection of Meta key state so that NumLock isn't misdetected as Meta.
Václav Slavík [Mon, 21 Jul 2008 22:10:13 +0000 (22:10 +0000)] 
Fixed detection of Meta key state so that NumLock isn't misdetected as Meta.

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

16 years agoavoid unnecessary conversions in wxTextDataObject code in UTF-8 build
Vadim Zeitlin [Mon, 21 Jul 2008 15:53:21 +0000 (15:53 +0000)] 
avoid unnecessary conversions in wxTextDataObject code in UTF-8 build

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

16 years agodon't call gtk_selection_data_set_text() with non-UTF-8 data as we did in ANSI build...
Vadim Zeitlin [Mon, 21 Jul 2008 03:39:40 +0000 (03:39 +0000)] 
don't call gtk_selection_data_set_text() with non-UTF-8 data as we did in ANSI build (#2037)

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

16 years agowxDF_UNICODETEXT shouldn't be supported at all in ANSI build
Vadim Zeitlin [Mon, 21 Jul 2008 03:35:15 +0000 (03:35 +0000)] 
wxDF_UNICODETEXT shouldn't be supported at all in ANSI build

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

16 years agono changes, just fixed a typo in comment
Vadim Zeitlin [Mon, 21 Jul 2008 03:02:34 +0000 (03:02 +0000)] 
no changes, just fixed a typo in comment

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

16 years agouse #if wxUSE_UNICODE instead of #ifdefs (which totally broke ANSI build)
Vadim Zeitlin [Mon, 21 Jul 2008 02:51:26 +0000 (02:51 +0000)] 
use #if wxUSE_UNICODE instead of #ifdefs (which totally broke ANSI build)

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

16 years agodon't show warning to the user if session manager detection failed, this is annoying...
Vadim Zeitlin [Mon, 21 Jul 2008 02:33:19 +0000 (02:33 +0000)] 
don't show warning to the user if session manager detection failed, this is annoying and irrelevant

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

16 years agoadded FromUTF8Unchecked() for ANSI build too
Vadim Zeitlin [Mon, 21 Jul 2008 02:26:11 +0000 (02:26 +0000)] 
added FromUTF8Unchecked() for ANSI build too

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

16 years agouse (new) safer GetTraitsIfExists() in wxMutexGuiEnter/Leave() to avoid crashing...
Vadim Zeitlin [Mon, 21 Jul 2008 01:35:00 +0000 (01:35 +0000)] 
use (new) safer GetTraitsIfExists() in wxMutexGuiEnter/Leave() to avoid crashing on exit of wxGTK1 applications putting anything on clipboard (and maybe other cases)

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

16 years agodon't give error on startup of any application using wxHTML just because /usr/local...
Vadim Zeitlin [Mon, 21 Jul 2008 01:33:51 +0000 (01:33 +0000)] 
don't give error on startup of any application using wxHTML just because /usr/local/share/mime/globs doesn't exist

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

16 years agodon't use deprecated function
Vadim Zeitlin [Mon, 21 Jul 2008 01:33:04 +0000 (01:33 +0000)] 
don't use deprecated function

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

16 years agofix generation of events for an initially empty wxDirPickerCtrl
Vadim Zeitlin [Sun, 20 Jul 2008 22:48:34 +0000 (22:48 +0000)] 
fix generation of events for an initially empty wxDirPickerCtrl

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

16 years agoblind attempt to fix wxBitmap in wxMGL
Vadim Zeitlin [Sun, 20 Jul 2008 22:36:51 +0000 (22:36 +0000)] 
blind attempt to fix wxBitmap in wxMGL

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

16 years agofix (harmless) Win64-compatibility MSVC warning
Vadim Zeitlin [Sun, 20 Jul 2008 22:11:20 +0000 (22:11 +0000)] 
fix (harmless) Win64-compatibility MSVC warning

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

16 years agohandle C++ exception in EVT_{TIMER,IDLE} handlers (#9768)
Vadim Zeitlin [Sun, 20 Jul 2008 22:05:30 +0000 (22:05 +0000)] 
handle C++ exception in EVT_{TIMER,IDLE} handlers (#9768)

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

16 years agoreally fix compilation for PCH-less builds
Vadim Zeitlin [Sun, 20 Jul 2008 12:57:47 +0000 (12:57 +0000)] 
really fix compilation for PCH-less builds

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

16 years agoadd a missing backslash (#9766)
Vadim Zeitlin [Sun, 20 Jul 2008 12:37:20 +0000 (12:37 +0000)] 
add a missing backslash (#9766)

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

16 years agocompilation fix for PCH-less builds
Vadim Zeitlin [Sun, 20 Jul 2008 12:35:31 +0000 (12:35 +0000)] 
compilation fix for PCH-less builds

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

16 years agobig wxURI cleanup; it now handles Unicode characters correctly (#3874)
Vadim Zeitlin [Sat, 19 Jul 2008 23:14:51 +0000 (23:14 +0000)] 
big wxURI cleanup; it now handles Unicode characters correctly (#3874)

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

16 years agoremove the just added assertEquals(time_t, long) overload, it results in infinite...
Vadim Zeitlin [Sat, 19 Jul 2008 20:07:36 +0000 (20:07 +0000)] 
remove the just added assertEquals(time_t, long) overload, it results in infinite recursion and crash if time_t is the same type as long

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

16 years agocheck that string passed to FromUTF8() is valid even in release build, this is safer...
Vadim Zeitlin [Sat, 19 Jul 2008 19:59:59 +0000 (19:59 +0000)] 
check that string passed to FromUTF8() is valid even in release build, this is safer; add a separate FromUTF8Unchecked() which can be used for maximal efficiency

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

16 years agono changes, just removed an unnecessary semicolon at top level
Vadim Zeitlin [Sat, 19 Jul 2008 15:36:39 +0000 (15:36 +0000)] 
no changes, just removed an unnecessary semicolon at top level

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

16 years agocompilation fix for builds without wxHAS_RAW_KEY_CODES
Vadim Zeitlin [Sat, 19 Jul 2008 05:33:36 +0000 (05:33 +0000)] 
compilation fix for builds without wxHAS_RAW_KEY_CODES

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

16 years agoalready escaped backslash shouldn't escape the following quote in ConvertStringToArgs()
Vadim Zeitlin [Sat, 19 Jul 2008 01:53:04 +0000 (01:53 +0000)] 
already escaped backslash shouldn't escape the following quote in ConvertStringToArgs()

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

16 years agofix bug with wxCSConv("ASCII")
Vadim Zeitlin [Sat, 19 Jul 2008 01:45:38 +0000 (01:45 +0000)] 
fix bug with wxCSConv("ASCII")

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

16 years agono changes, just added some explanatory comments for wxCSConv members
Vadim Zeitlin [Sat, 19 Jul 2008 01:37:43 +0000 (01:37 +0000)] 
no changes, just added some explanatory comments for wxCSConv members

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

16 years agodisable compilation of test broken by wxMimeTypesManager changes
Vadim Zeitlin [Fri, 18 Jul 2008 23:36:04 +0000 (23:36 +0000)] 
disable compilation of test broken by wxMimeTypesManager changes

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

16 years agocompilation fix for PCH-less build
Vadim Zeitlin [Fri, 18 Jul 2008 23:33:19 +0000 (23:33 +0000)] 
compilation fix for PCH-less build

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

16 years agosimplify the test, don't reuse the same macro for different things
Vadim Zeitlin [Fri, 18 Jul 2008 23:08:24 +0000 (23:08 +0000)] 
simplify the test, don't reuse the same macro for different things

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

16 years agoget rid of special WX_ASSERT_FOO_EQUAL macros by defining CppUnit::assertEquals(...
Vadim Zeitlin [Fri, 18 Jul 2008 23:07:23 +0000 (23:07 +0000)] 
get rid of special WX_ASSERT_FOO_EQUAL macros by defining CppUnit::assertEquals() overloads for wx types

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

16 years agomention compatibility implications of wxExecute() quoting changes; don't change quoti...
Vadim Zeitlin [Fri, 18 Jul 2008 22:22:16 +0000 (22:22 +0000)] 
mention compatibility implications of wxExecute() quoting changes; don't change quoting of already quoted arguments in 2.8 for compatibility; also fix handling of empty arguments as a side effect (see #4115)

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

16 years agocompilation fix for eVC4: include commctrl.h explicitely
Vadim Zeitlin [Fri, 18 Jul 2008 13:47:05 +0000 (13:47 +0000)] 
compilation fix for eVC4: include commctrl.h explicitely

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

16 years agoTab removal
Julian Smart [Fri, 18 Jul 2008 12:56:22 +0000 (12:56 +0000)] 
Tab removal

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

16 years agoFixed initial layout bug when using dynamically created bitmap on wxGTK
Julian Smart [Fri, 18 Jul 2008 08:17:14 +0000 (08:17 +0000)] 
Fixed initial layout bug when using dynamically created bitmap on wxGTK

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

16 years agofix masking of disabled bitmaps with some themes
Paul Cornett [Fri, 18 Jul 2008 02:45:48 +0000 (02:45 +0000)] 
fix masking of disabled bitmaps with some themes

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

16 years agoreally correct detecting the end of UTF-7-encoded strings
Vadim Zeitlin [Fri, 18 Jul 2008 00:47:21 +0000 (00:47 +0000)] 
really correct detecting the end of UTF-7-encoded strings

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

16 years agofix bug introduced in r54646: we still need to count the embedded NULs when convertin...
Vadim Zeitlin [Thu, 17 Jul 2008 23:45:04 +0000 (23:45 +0000)] 
fix bug introduced in r54646: we still need to count the embedded NULs when converting the entire NUL-terminated string to wchar_t, only the trailing NUL shouldn't be counted

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

16 years agomake test failures easier to debug by using more informative failure messages
Vadim Zeitlin [Thu, 17 Jul 2008 23:24:21 +0000 (23:24 +0000)] 
make test failures easier to debug by using more informative failure messages

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

16 years agodon't run the tests which can't succeed in ANSI build; remove the tests for wxUSE_WCH...
Vadim Zeitlin [Thu, 17 Jul 2008 23:01:17 +0000 (23:01 +0000)] 
don't run the tests which can't succeed in ANSI build; remove the tests for wxUSE_WCHAR_T, it's always 1 now; test MB2WC conversions in Unicode build too (it only tested WC2MB for some reason)

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

16 years agoproperly detect missing data at the end of UTF-7-encoded segment and fail the convers...
Vadim Zeitlin [Thu, 17 Jul 2008 23:01:02 +0000 (23:01 +0000)] 
properly detect missing data at the end of UTF-7-encoded segment and fail the conversion in this case

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

16 years agoCP-xxx and MS-yyy iconv identifiers actually don't have dashes in them (this fixes...
Vadim Zeitlin [Thu, 17 Jul 2008 19:44:59 +0000 (19:44 +0000)] 
CP-xxx and MS-yyy iconv identifiers actually don't have dashes in them (this fixes CP932 unit test failure under FreeBSD where iconv doesn't have WINDOWS-932)

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

16 years agoemphasize the fact that GetSelectedCols/Rows() is not sufficient to get the selection...
Vadim Zeitlin [Wed, 16 Jul 2008 16:06:23 +0000 (16:06 +0000)] 
emphasize the fact that GetSelectedCols/Rows() is not sufficient to get the selection (#4732)

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

16 years agoallow using SetFont(wxNullFont) to reset the font as per documented behaviour (#3238)
Vadim Zeitlin [Wed, 16 Jul 2008 15:53:44 +0000 (15:53 +0000)] 
allow using SetFont(wxNullFont) to reset the font as per documented behaviour (#3238)

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

16 years agoadd GetLo/Hi() test
Vadim Zeitlin [Wed, 16 Jul 2008 15:21:24 +0000 (15:21 +0000)] 
add GetLo/Hi() test

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