wxWidgets.git
17 years agoupdate from Yuri Chornoivan
Vadim Zeitlin [Tue, 12 Jun 2007 12:08:35 +0000 (12:08 +0000)] 
update from Yuri Chornoivan

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

17 years agomore STL fixes
Václav Slavík [Tue, 12 Jun 2007 11:21:58 +0000 (11:21 +0000)] 
more STL fixes

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

17 years agoANSI/Unix build compilation fixes
Václav Slavík [Tue, 12 Jun 2007 10:11:55 +0000 (10:11 +0000)] 
ANSI/Unix build compilation fixes

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

17 years agoPCH-less compilation fix
Václav Slavík [Tue, 12 Jun 2007 06:43:59 +0000 (06:43 +0000)] 
PCH-less compilation fix

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

17 years agofixed VC6 warnings about non-dllexported members in dllexported classes
Václav Slavík [Mon, 11 Jun 2007 19:59:11 +0000 (19:59 +0000)] 
fixed VC6 warnings about non-dllexported members in dllexported classes

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

17 years agocompilation fix for gcc 3.3
Václav Slavík [Mon, 11 Jun 2007 19:57:01 +0000 (19:57 +0000)] 
compilation fix for gcc 3.3

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

17 years agoAdded a new overload of wxDecToHex and used it in wxRichTextImageBlock::WriteHex
Julian Smart [Mon, 11 Jun 2007 17:16:59 +0000 (17:16 +0000)] 
Added a new overload of wxDecToHex and used it in wxRichTextImageBlock::WriteHex

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

17 years agoadded long int operators to wxUniChar (fixes wxMac compilation)
Václav Slavík [Mon, 11 Jun 2007 12:16:14 +0000 (12:16 +0000)] 
added long int operators to wxUniChar (fixes wxMac compilation)

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

17 years agouse wxString argument and not wxChar* in wxHtmlParser::AddText(), for compatibility...
Václav Slavík [Mon, 11 Jun 2007 12:11:15 +0000 (12:11 +0000)] 
use wxString argument and not wxChar* in wxHtmlParser::AddText(), for compatibility with STL build without implicit wxString conversions

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

17 years agoadded wchar_t, wxUniChar overloads for wxStrchr
Václav Slavík [Mon, 11 Jun 2007 12:00:09 +0000 (12:00 +0000)] 
added wchar_t, wxUniChar overloads for wxStrchr

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

17 years agoVC6 doesn't like 'return callToVoidFunc();' statements
Václav Slavík [Mon, 11 Jun 2007 10:06:38 +0000 (10:06 +0000)] 
VC6 doesn't like 'return callToVoidFunc();' statements

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

17 years agogcc on OS X has problems with compiling empty files on SMB shares, added a comment...
Václav Slavík [Mon, 11 Jun 2007 07:49:10 +0000 (07:49 +0000)] 
gcc on OS X has problems with compiling empty files on SMB shares, added a comment to make macsock.h non-empty

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

17 years agoOS X compilation fix
Václav Slavík [Mon, 11 Jun 2007 07:28:54 +0000 (07:28 +0000)] 
OS X compilation fix

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

17 years agoOS X compilation fix
Václav Slavík [Mon, 11 Jun 2007 07:12:37 +0000 (07:12 +0000)] 
OS X compilation fix

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

17 years agoATTRIBUTE_PRINTF doesn't work with wchar_t* format strings in gcc
Václav Slavík [Mon, 11 Jun 2007 06:34:45 +0000 (06:34 +0000)] 
ATTRIBUTE_PRINTF doesn't work with wchar_t* format strings in gcc

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

17 years agocompilation fixes for PCH-less build
Václav Slavík [Mon, 11 Jun 2007 06:10:37 +0000 (06:10 +0000)] 
compilation fixes for PCH-less build

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

17 years agouse wx/crt.h as the 'official' header for wxCRT wrappers instead of wxchar.h; add...
Václav Slavík [Mon, 11 Jun 2007 06:08:13 +0000 (06:08 +0000)] 
use wx/crt.h as the 'official' header for wxCRT wrappers instead of wxchar.h; add comments explaining that users should include wx/crt.h to implementation headers

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

17 years agofixed signed/unsigned comparison warning
Václav Slavík [Sun, 10 Jun 2007 21:38:37 +0000 (21:38 +0000)] 
fixed signed/unsigned comparison warning

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

17 years agoPCH-less compilation fix
Václav Slavík [Sun, 10 Jun 2007 21:33:45 +0000 (21:33 +0000)] 
PCH-less compilation fix

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

17 years ago1. made CRT wrappers definitions indepenent of wxUSE_UNICODE: both ANSI and Unicode...
Václav Slavík [Sun, 10 Jun 2007 20:44:27 +0000 (20:44 +0000)] 
1. made CRT wrappers definitions indepenent of wxUSE_UNICODE: both ANSI and Unicode variants are now defined
2. split wxcrt.h into wxcrtbase.h with lowlevel compiler-specific definitions and wxcrt.h with ANSI- and Unicode-compatible wx wrappers

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

17 years agodon't use implicit wxString->char*/wchar_t* conversion, it will not be available...
Václav Slavík [Sun, 10 Jun 2007 17:42:41 +0000 (17:42 +0000)] 
don't use implicit wxString->char*/wchar_t* conversion, it will not be available in wxUSE_STL build in the future

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

17 years ago1. made CRT wrappers definitions indepenent of wxUSE_UNICODE: both ANSI and Unicode...
Václav Slavík [Sun, 10 Jun 2007 17:14:14 +0000 (17:14 +0000)] 
1. made CRT wrappers definitions indepenent of wxUSE_UNICODE: both ANSI and Unicode variants are now defined
2. split wxcrt.h into wxcrtbase.h with lowlevel compiler-specific definitions and wxcrt.h with ANSI- and Unicode-compatible wx wrappers

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

17 years agomake PositionTextCtrl() virtual (patch 1734405)
Vadim Zeitlin [Sun, 10 Jun 2007 16:32:06 +0000 (16:32 +0000)] 
make PositionTextCtrl() virtual (patch 1734405)

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

17 years agoFaster hex encoding
Julian Smart [Sat, 9 Jun 2007 17:52:47 +0000 (17:52 +0000)] 
Faster hex encoding

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

17 years agoinitialize the variable as XtVaGetValues() may not do it apparently
Vadim Zeitlin [Sat, 9 Jun 2007 17:02:56 +0000 (17:02 +0000)] 
initialize the variable as XtVaGetValues() may not do it apparently

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

17 years agogenerate disconnection event if recv() returns 0 in Detected_Read() (patch 1730589)
Vadim Zeitlin [Sat, 9 Jun 2007 11:05:35 +0000 (11:05 +0000)] 
generate disconnection event if recv() returns 0 in Detected_Read() (patch 1730589)

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

17 years agofix custom draw bug for controls with only one column (patch 1731024)
Vadim Zeitlin [Sat, 9 Jun 2007 10:57:25 +0000 (10:57 +0000)] 
fix custom draw bug for controls with only one column (patch 1731024)

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

17 years agofix SetProcessAffinityMask() prototype (was missing WINAPI, i.e. the all important...
Vadim Zeitlin [Sat, 9 Jun 2007 10:53:26 +0000 (10:53 +0000)] 
fix SetProcessAffinityMask() prototype (was missing WINAPI, i.e. the all important stdcall) (patch 1731976)

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

17 years agocancel dragging if Esc is pressed (patch 1733657)
Vadim Zeitlin [Sat, 9 Jun 2007 10:50:40 +0000 (10:50 +0000)] 
cancel dragging if Esc is pressed (patch 1733657)

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

17 years agoadded wxUniChar::AsUTF8() for easy conversion in UTF8 build
Václav Slavík [Fri, 8 Jun 2007 20:17:34 +0000 (20:17 +0000)] 
added wxUniChar::AsUTF8() for easy conversion in UTF8 build

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

17 years agoTry using UTF-8 on OS/2.
Stefan Neis [Fri, 8 Jun 2007 16:48:12 +0000 (16:48 +0000)] 
Try using UTF-8 on OS/2.

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

17 years agoSmall typo fix
Julian Smart [Fri, 8 Jun 2007 12:41:22 +0000 (12:41 +0000)] 
Small typo fix

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

17 years agoInit fix
Julian Smart [Thu, 7 Jun 2007 20:28:50 +0000 (20:28 +0000)] 
Init fix

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

17 years agoYielding from a non-gui thread needs to bail out, otherwise we end up
Robin Dunn [Thu, 7 Jun 2007 18:34:54 +0000 (18:34 +0000)] 
Yielding from a non-gui thread needs to bail out, otherwise we end up
possibly sending events in the thread too.

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

17 years agoDon't insert a newline when we get text
Julian Smart [Thu, 7 Jun 2007 12:49:35 +0000 (12:49 +0000)] 
Don't insert a newline when we get text

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

17 years agomissing closing bracket broke tex2rtf
Chris Elliott [Thu, 7 Jun 2007 08:44:28 +0000 (08:44 +0000)] 
missing closing bracket broke tex2rtf

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

17 years agoremoved unused glob.inc file
Václav Slavík [Thu, 7 Jun 2007 04:46:03 +0000 (04:46 +0000)] 
removed unused glob.inc file

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

17 years ago Added initial OS X implementation of the wxDataViewCtrl
Robert Roebling [Wed, 6 Jun 2007 23:40:24 +0000 (23:40 +0000)] 
  Added initial OS X implementation of the wxDataViewCtrl
   in its current tabular form.

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

17 years agomarked WinCE implementations of wxOpen etc. functions as dllexported
Václav Slavík [Wed, 6 Jun 2007 15:56:44 +0000 (15:56 +0000)] 
marked WinCE implementations of wxOpen etc. functions as dllexported

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

17 years agofixed wxScanf() etc. to compile with Visual C++ again
Václav Slavík [Wed, 6 Jun 2007 13:48:24 +0000 (13:48 +0000)] 
fixed wxScanf() etc. to compile with Visual C++ again

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

17 years agocompilation fix after last commit: make wxAppConsole a class, not typedef, under...
Vadim Zeitlin [Tue, 5 Jun 2007 17:31:10 +0000 (17:31 +0000)] 
compilation fix after last commit: make wxAppConsole a class, not typedef, under non-Unix as we can't forward declare a typedef

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

17 years agodon't crash when using wxHtmlWidgetCell in wxHtmlListBox
Václav Slavík [Tue, 5 Jun 2007 12:12:46 +0000 (12:12 +0000)] 
don't crash when using wxHtmlWidgetCell in wxHtmlListBox

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

17 years agoupdate from Hakki Dogusan
Vadim Zeitlin [Mon, 4 Jun 2007 18:11:39 +0000 (18:11 +0000)] 
update from Hakki Dogusan

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

17 years agofix typo in Selecting() description (bug 1726270)
Vadim Zeitlin [Mon, 4 Jun 2007 13:49:41 +0000 (13:49 +0000)] 
fix typo in Selecting() description (bug 1726270)

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

17 years agorename old wxAppConsole to wxAppConsoleBase and wxAppConsoleUnix to wxAppConsole...
Vadim Zeitlin [Mon, 4 Jun 2007 13:39:23 +0000 (13:39 +0000)] 
rename old wxAppConsole to wxAppConsoleBase and wxAppConsoleUnix to wxAppConsole for consistency with wxAppBase/wxApp and to fix the bug 1729377 (crash when using timers under Unix in console app); also #define wxApp as wxAppConsole instead of declaring it as a real class in console build to avoid problems with ODR violation

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

17 years agoreset one shot timer internal state instead of leaving it thinking that it's still...
Vadim Zeitlin [Mon, 4 Jun 2007 13:34:54 +0000 (13:34 +0000)] 
reset one shot timer internal state instead of leaving it thinking that it's still running (mdified patch 1730597)

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

17 years agowxSscanf() and friends are now Unicode+ANSI friendly wrappers instead of defines...
Václav Slavík [Mon, 4 Jun 2007 12:56:50 +0000 (12:56 +0000)] 
wxSscanf() and friends are now Unicode+ANSI friendly wrappers instead of defines for CRT functions

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

17 years agocompilation fix
Václav Slavík [Mon, 4 Jun 2007 12:51:25 +0000 (12:51 +0000)] 
compilation fix

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

17 years agoprovide overloads for all kinds of strings for wxDataFormat ctor to allow passing...
Vadim Zeitlin [Mon, 4 Jun 2007 12:50:43 +0000 (12:50 +0000)] 
provide overloads for all kinds of strings for wxDataFormat ctor to allow passing strings as formats implicitly

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

17 years agoadd wx/unix/private directory
Vadim Zeitlin [Mon, 4 Jun 2007 11:02:29 +0000 (11:02 +0000)] 
add wx/unix/private directory

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

17 years agoremoved unneeded wxVaCopy calls
Václav Slavík [Mon, 4 Jun 2007 10:54:16 +0000 (10:54 +0000)] 
removed unneeded wxVaCopy calls

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

17 years agochanged wxLog::OnLog(String) to take wxString instead of wxChar* to avoid unnecessary...
Václav Slavík [Mon, 4 Jun 2007 10:04:05 +0000 (10:04 +0000)] 
changed wxLog::OnLog(String) to take wxString instead of wxChar* to avoid unnecessary conversions; added compatibility code so that user code overriding these with char* or wchar_t* argument continues to work

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

17 years agochanged wxFileSelector() etc. functions to use wxString (so that any forms of strings...
Václav Slavík [Mon, 4 Jun 2007 09:53:17 +0000 (09:53 +0000)] 
changed wxFileSelector() etc. functions to use wxString (so that any forms of strings can be used with it, not just wxChar*), while still preserving compatibility with passing NULL to them)

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

17 years agoadded comment explaining the condition for compiling manifest into resources
Václav Slavík [Mon, 4 Jun 2007 09:01:37 +0000 (09:01 +0000)] 
added comment explaining the condition for compiling manifest into resources

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

17 years agomingw32 doesn't define _tsystem so provide one ourselves (bug 1726904)
Vadim Zeitlin [Sun, 3 Jun 2007 23:00:41 +0000 (23:00 +0000)] 
mingw32 doesn't define _tsystem so provide one ourselves (bug 1726904)

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

17 years agoinitialize wxListItem::m_image to -1 (which means no image), not 0 (bug 1727909)
Vadim Zeitlin [Sun, 3 Jun 2007 22:35:40 +0000 (22:35 +0000)] 
initialize wxListItem::m_image to -1 (which means no image), not 0 (bug 1727909)

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

17 years agocorrected wrong change description: raw RGB support was already there
Vadim Zeitlin [Sun, 3 Jun 2007 22:13:43 +0000 (22:13 +0000)] 
corrected wrong change description: raw RGB support was already there

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

17 years agoadded raw RGB support and colour normalization to PNM handler
Vadim Zeitlin [Sun, 3 Jun 2007 22:09:51 +0000 (22:09 +0000)] 
added raw RGB support and colour normalization to PNM handler

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

17 years agoadd ctor overloads for all kinds of strings to fix using strings implicitly as wxData...
Vadim Zeitlin [Sun, 3 Jun 2007 22:03:43 +0000 (22:03 +0000)] 
add ctor overloads for all kinds of strings to fix using strings implicitly as wxDataFormat objects after the last change

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

17 years agoTypo fix
Julian Smart [Sun, 3 Jun 2007 11:23:02 +0000 (11:23 +0000)] 
Typo fix

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

17 years agouse iterators in wxStaticText wrapping and escaping code
Václav Slavík [Sat, 2 Jun 2007 17:21:46 +0000 (17:21 +0000)] 
use iterators in wxStaticText wrapping and escaping code

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

17 years agofactor out the fd<->handlers map from wxFDIODispatcher into a separate wxMappedFDIODi...
Vadim Zeitlin [Sat, 2 Jun 2007 13:51:05 +0000 (13:51 +0000)] 
factor out the fd<->handlers map from wxFDIODispatcher into a separate wxMappedFDIODispatcher class (patch 1729395)

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

17 years agothe same event handler class, not object, can be used with multiple windows (patch...
Vadim Zeitlin [Sat, 2 Jun 2007 13:34:47 +0000 (13:34 +0000)] 
the same event handler class, not object, can be used with multiple windows (patch 1728835)

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

17 years agoupported changes from 2.8.5 (at the very least this simplifies merging between branches)
Vadim Zeitlin [Sat, 2 Jun 2007 13:23:41 +0000 (13:23 +0000)] 
upported changes from 2.8.5 (at the very least this simplifies merging between branches)

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

17 years agoenable non-top tabs workaround for Vista too (replaces patch 1724221)
Vadim Zeitlin [Sat, 2 Jun 2007 13:17:46 +0000 (13:17 +0000)] 
enable non-top tabs workaround for Vista too (replaces patch 1724221)

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

17 years agoadded msw.font.no-proof-quality system option as it makes more fonts available (featu...
Vadim Zeitlin [Sat, 2 Jun 2007 12:56:36 +0000 (12:56 +0000)] 
added msw.font.no-proof-quality system option as it makes more fonts available (feature request 1617941)

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

17 years agopartially fixed passing wxUniChar as vararg argument (non-ASCII characters are still...
Václav Slavík [Sat, 2 Jun 2007 12:45:19 +0000 (12:45 +0000)] 
partially fixed passing wxUniChar as vararg argument (non-ASCII characters are still broken in UTF8 build, other cases work)

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

17 years agoimplemented wxMBConv::IsUTF8() helper for more classes so that all uses of UTF-8...
Václav Slavík [Sat, 2 Jun 2007 12:42:57 +0000 (12:42 +0000)] 
implemented wxMBConv::IsUTF8() helper for more classes so that all uses of UTF-8 are detected and optimized in wxString

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

17 years agoextract setting max length in wxGridCellTextEditor::DoCreate() and call it from wxGri...
Vadim Zeitlin [Fri, 1 Jun 2007 22:05:12 +0000 (22:05 +0000)] 
extract setting max length in wxGridCellTextEditor::DoCreate() and call it from wxGridCellAutoWrapStringEditor::Create() to ensure that it honours the base editor parameters

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

17 years agocompilation fix: wxColour::GetColor() returns const object
Vadim Zeitlin [Fri, 1 Jun 2007 21:21:01 +0000 (21:21 +0000)] 
compilation fix: wxColour::GetColor() returns const object

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

17 years agosuppress warnings about void* to uint conversion losing precision (under 64 bit archi...
Vadim Zeitlin [Fri, 1 Jun 2007 21:19:28 +0000 (21:19 +0000)] 
suppress warnings about void* to uint conversion losing precision (under 64 bit architectures)

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

17 years agoalso correct run-time check for gtk_message_dialog_format_secondary_text() availability
Vadim Zeitlin [Fri, 1 Jun 2007 12:16:05 +0000 (12:16 +0000)] 
also correct run-time check for gtk_message_dialog_format_secondary_text() availability

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

17 years agouse wxString, not wxChar*, in wxCreateDynamicObject() and wxClassInfo::FindClass()
Václav Slavík [Thu, 31 May 2007 13:08:44 +0000 (13:08 +0000)] 
use wxString, not wxChar*, in wxCreateDynamicObject() and wxClassInfo::FindClass()

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

17 years agotest if wxString(NULL) ctor creates empty string
Václav Slavík [Thu, 31 May 2007 11:00:06 +0000 (11:00 +0000)] 
test if wxString(NULL) ctor creates empty string

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

17 years agouse wxString, not wxChar*, in wxDataFormat ctor and SetId() method
Václav Slavík [Wed, 30 May 2007 22:02:19 +0000 (22:02 +0000)] 
use wxString, not wxChar*, in wxDataFormat ctor and SetId() method

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

17 years ago Forgot to commit.
Robert Roebling [Wed, 30 May 2007 21:03:26 +0000 (21:03 +0000)] 
  Forgot to commit.

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

17 years ago Experimenting with cell attributes.
Robert Roebling [Wed, 30 May 2007 21:02:33 +0000 (21:02 +0000)] 
  Experimenting with cell attributes.

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

17 years ago Implement for selection code.
Robert Roebling [Wed, 30 May 2007 20:31:53 +0000 (20:31 +0000)] 
  Implement for selection code.

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

17 years agofixed to the newly added crt.h header:
Václav Slavík [Wed, 30 May 2007 14:03:45 +0000 (14:03 +0000)] 
fixed to the newly added crt.h header:
1. include it in makefiles
2. add proper header and guards
3. include wxchar.h so that the things to include are maintained in just one place

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

17 years agochanged wxGTK_CONV* macros to use utf8_str() and FromUTF8() so that we don't do any...
Václav Slavík [Wed, 30 May 2007 13:55:09 +0000 (13:55 +0000)] 
changed wxGTK_CONV* macros to use utf8_str() and FromUTF8() so that we don't do any unnecessary conversions in UTF8 build

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

17 years agochanged wxWindow::ApplyToolTip to take UTF8-encoded char* instead of wxChar* to avoid...
Václav Slavík [Wed, 30 May 2007 13:50:36 +0000 (13:50 +0000)] 
changed wxWindow::ApplyToolTip to take UTF8-encoded char* instead of wxChar* to avoid unnecessary conversions

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

17 years agowxchar.h doesn't have to be C file anymore, it's C++
Václav Slavík [Wed, 30 May 2007 13:43:27 +0000 (13:43 +0000)] 
wxchar.h doesn't have to be C file anymore, it's C++

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

17 years agowxGTK_CONV -> wxGTK_CONV_SYS
Václav Slavík [Wed, 30 May 2007 13:14:13 +0000 (13:14 +0000)] 
wxGTK_CONV -> wxGTK_CONV_SYS

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

17 years agoput GtkArray into anonymous namespace, the name is too generic to risk conflicts
Václav Slavík [Wed, 30 May 2007 12:56:41 +0000 (12:56 +0000)] 
put GtkArray into anonymous namespace, the name is too generic to risk conflicts

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

17 years ago1. removed useless GtkStr class, wxGTK_CONV is the way to do the conversion2. don...
Václav Slavík [Wed, 30 May 2007 12:53:51 +0000 (12:53 +0000)] 
1. removed useless GtkStr class, wxGTK_CONV is the way to do the conversion2. don't make unnecessary copies in GtkArray in UTF8 build

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

17 years agochanged trivial accessors to return const wxString& instead of wxString object
Václav Slavík [Wed, 30 May 2007 12:40:05 +0000 (12:40 +0000)] 
changed trivial accessors to return const wxString& instead of wxString object

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

17 years ago Add wx/crt.h redirecting to wx/wxcrtvarargs.h
Robert Roebling [Wed, 30 May 2007 11:58:30 +0000 (11:58 +0000)] 
  Add wx/crt.h redirecting to wx/wxcrtvarargs.h
  This should probably also be installed.

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

17 years agorestored wxColour ctor taking C string (now in both char* and wchar_t* versions)...
Václav Slavík [Wed, 30 May 2007 11:57:40 +0000 (11:57 +0000)] 
restored wxColour ctor taking C string (now in both char* and wchar_t* versions): it is needed e.g. when doing wxPen("blue",1,wxSOLID)

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

17 years ago Correct new_order index in RowsReordered().
Robert Roebling [Wed, 30 May 2007 11:40:36 +0000 (11:40 +0000)] 
  Correct new_order index in RowsReordered().
  Only call RowsReordered() if index was not empty
    before.
  Get some more memory things right.

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

17 years agouse wxString instead of wxChar* in wxColour::Set/FromString
Václav Slavík [Wed, 30 May 2007 10:29:12 +0000 (10:29 +0000)] 
use wxString instead of wxChar* in wxColour::Set/FromString

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

17 years agocompilation fix for --disable-compat28
Václav Slavík [Tue, 29 May 2007 17:02:10 +0000 (17:02 +0000)] 
compilation fix for --disable-compat28

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

17 years agoGive the correct colour for notebook pages under Vista with the default theme,
Julian Smart [Tue, 29 May 2007 13:15:33 +0000 (13:15 +0000)] 
Give the correct colour for notebook pages under Vista with the default theme,
if we're using a solid colour background. wxUxThemeEngine::GetThemeColor doesn't
return the correct colour for Aero.

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

17 years ago OpenVMS build update
Jouk Jansen [Tue, 29 May 2007 09:03:28 +0000 (09:03 +0000)] 
 OpenVMS build update

 Committing in .

 Modified Files:
  wxWidgets/src/common/descrip.mms

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

17 years ago Invalidate best size after string change in wxChoice.
Robert Roebling [Tue, 29 May 2007 08:09:03 +0000 (08:09 +0000)] 
  Invalidate best size after string change in wxChoice.

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

17 years ago Doc update.
Robert Roebling [Mon, 28 May 2007 14:49:22 +0000 (14:49 +0000)] 
  Doc update.

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

17 years ago Implemented dataview_model notification event to the ctrl
Robert Roebling [Mon, 28 May 2007 14:46:52 +0000 (14:46 +0000)] 
  Implemented dataview_model notification event to the ctrl
    (and then the user).

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

17 years ago Removed wxDataViewViewColumn since it is redundant.
Robert Roebling [Mon, 28 May 2007 13:47:49 +0000 (13:47 +0000)] 
  Removed wxDataViewViewColumn since it is redundant.

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

17 years agoImplement mouse entered, exited, and synthesize move events while the mouse is inside.
David Elliott [Mon, 28 May 2007 04:22:10 +0000 (04:22 +0000)] 
Implement mouse entered, exited, and synthesize move events while the mouse is inside.

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

17 years agoInclude wx/filedlg.h when not WX_PRECOMP.
David Elliott [Mon, 28 May 2007 02:31:54 +0000 (02:31 +0000)] 
Include wx/filedlg.h when not WX_PRECOMP.

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

17 years agoAllow many Objective-C classes to be uniquified at runtime.
David Elliott [Sun, 27 May 2007 04:52:04 +0000 (04:52 +0000)] 
Allow many Objective-C classes to be uniquified at runtime.

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