]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
16 years agoavoid GCC warnings about breaking strict aliasing rules
Paul Cornett [Sat, 2 Feb 2008 21:52:26 +0000 (21:52 +0000)] 
avoid GCC warnings about breaking strict aliasing rules

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

16 years agoEnable best size caching, remove unnecessary GetLabel() and SetForegroundColour(),
Paul Cornett [Sat, 2 Feb 2008 21:33:51 +0000 (21:33 +0000)] 
Enable best size caching, remove unnecessary GetLabel() and SetForegroundColour(),
remove hack for non-left alignment, it does not seem to be needed anymore.

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

16 years agofix wxALIGN_RIGHT in RTL mode
Paul Cornett [Sat, 2 Feb 2008 18:47:35 +0000 (18:47 +0000)] 
fix wxALIGN_RIGHT in RTL mode

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

16 years agolabel clipping hack is not needed for GTK+ >= 2.12
Paul Cornett [Sat, 2 Feb 2008 17:58:04 +0000 (17:58 +0000)] 
label clipping hack is not needed for GTK+ >= 2.12

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

16 years agoeliminate code duplication in wxSizer::Fit()
Václav Slavík [Fri, 1 Feb 2008 23:14:45 +0000 (23:14 +0000)] 
eliminate code duplication in wxSizer::Fit()

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

16 years agofixed RR's change of wxSizer::Fit to set client size (r50717) to not be completely...
Václav Slavík [Fri, 1 Feb 2008 22:28:10 +0000 (22:28 +0000)] 
fixed RR's change of wxSizer::Fit to set client size (r50717) to not be completely broken; it no longer confuses client and window sizes

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

16 years agoCompile fix for --without-zlib --enable-compat26.
Michael Wetherell [Fri, 1 Feb 2008 17:07:40 +0000 (17:07 +0000)] 
Compile fix for --without-zlib --enable-compat26.

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

16 years agoAdded a reset-buffer event to give an opportunity to set the default initial style
Julian Smart [Fri, 1 Feb 2008 14:14:44 +0000 (14:14 +0000)] 
Added a reset-buffer event to give an opportunity to set the default initial style

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

16 years agoremove unnecessary m_glWidget, fix return types for realize and map callbacks
Paul Cornett [Fri, 1 Feb 2008 04:51:34 +0000 (04:51 +0000)] 
remove unnecessary m_glWidget, fix return types for realize and map callbacks

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

16 years agofix for GTK assertion from gtk_widget_set_colormap, bug 1882040
Paul Cornett [Fri, 1 Feb 2008 04:44:57 +0000 (04:44 +0000)] 
fix for GTK assertion from gtk_widget_set_colormap, bug 1882040

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

16 years agocompilation fix for wxUSE_BOOKCTRL=0
Václav Slavík [Thu, 31 Jan 2008 22:00:33 +0000 (22:00 +0000)] 
compilation fix for wxUSE_BOOKCTRL=0

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

16 years agocompilation fix for wxUSE_MENUS=0
Václav Slavík [Thu, 31 Jan 2008 21:58:20 +0000 (21:58 +0000)] 
compilation fix for wxUSE_MENUS=0

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

16 years agowxUniv/MSW compilation fix after wxDC changes
Václav Slavík [Thu, 31 Jan 2008 21:56:10 +0000 (21:56 +0000)] 
wxUniv/MSW compilation fix after wxDC changes

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

16 years agoadded InitRGBA to generic wxColour to fix linking (patch #1881796)
Václav Slavík [Thu, 31 Jan 2008 21:15:31 +0000 (21:15 +0000)] 
added InitRGBA to generic wxColour to fix linking (patch #1881796)

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

16 years agoAllow wxTopLevelWindowCocoa::SetDefaultItem(NULL)
David Elliott [Thu, 31 Jan 2008 19:17:42 +0000 (19:17 +0000)] 
Allow wxTopLevelWindowCocoa::SetDefaultItem(NULL)

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

16 years agoavoid implicitly converting a wxWindow* to wxGLCanvas
Vadim Zeitlin [Thu, 31 Jan 2008 18:27:50 +0000 (18:27 +0000)] 
avoid implicitly converting a wxWindow* to wxGLCanvas

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

16 years agono changes, just fix a typo in comment
Vadim Zeitlin [Thu, 31 Jan 2008 17:21:41 +0000 (17:21 +0000)] 
no changes, just fix a typo in comment

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

16 years agoMove mingw32 builds to another machine as the usual one is down.
Michael Wetherell [Thu, 31 Jan 2008 15:02:05 +0000 (15:02 +0000)] 
Move mingw32 builds to another machine as the usual one is down.

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

16 years agoFixed compilation of wxVector<T> with VC6:
Václav Slavík [Thu, 31 Jan 2008 11:26:52 +0000 (11:26 +0000)] 
Fixed compilation of wxVector<T> with VC6:
* reverted VC6 hack in wxIf<>, using helper struct instead of typedef
  didn't fix compilation, only caused the compiler to crash instead
  of emitting semi-useful errors
* changed wxVector to use typedef for Ops class instead of privately
  deriving from wxIf<...>::value; this is enough to make VC6 happy

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

16 years agouse HandleWindowEvent() in ProcessCommand(); return the value this function returns...
Vadim Zeitlin [Wed, 30 Jan 2008 21:32:17 +0000 (21:32 +0000)] 
use HandleWindowEvent() in ProcessCommand(); return the value this function returns instead of returning true unconditionally

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

16 years agoadded missing wx/ prefix to the header file name
Vadim Zeitlin [Wed, 30 Jan 2008 21:24:13 +0000 (21:24 +0000)] 
added missing wx/ prefix to the header file name

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

16 years agoclarified EndModal assert message
Václav Slavík [Wed, 30 Jan 2008 19:49:24 +0000 (19:49 +0000)] 
clarified EndModal assert message

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

16 years agoAdded checks to encoding conversion to avoid crash
Julian Smart [Wed, 30 Jan 2008 17:03:10 +0000 (17:03 +0000)] 
Added checks to encoding conversion to avoid crash

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

16 years agoadd ms78 projects
Chris Elliott [Wed, 30 Jan 2008 13:48:04 +0000 (13:48 +0000)] 
add ms78 projects

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

16 years agodo the VC6 hacks only when compiling with VC6
Václav Slavík [Wed, 30 Jan 2008 08:49:42 +0000 (08:49 +0000)] 
do the VC6 hacks only when compiling with VC6

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

16 years agomore VC6 fixes: nested value must be real classes, not typedefs; skeleton declaration...
Vadim Zeitlin [Tue, 29 Jan 2008 23:31:04 +0000 (23:31 +0000)] 
more VC6 fixes: nested value must be real classes, not typedefs; skeleton declaration must contain value as well

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

16 years agocorrected comment: wxSingleInstance is not for Win32 only since about 10 years
Vadim Zeitlin [Tue, 29 Jan 2008 23:11:55 +0000 (23:11 +0000)] 
corrected comment: wxSingleInstance is not for Win32 only since about 10 years

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

16 years agocorrected VC++ version check
Václav Slavík [Tue, 29 Jan 2008 19:50:34 +0000 (19:50 +0000)] 
corrected VC++ version check

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

16 years agofix compilation with VC6
Vadim Zeitlin [Tue, 29 Jan 2008 18:37:38 +0000 (18:37 +0000)] 
fix compilation with VC6

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

16 years agouse import/export macro on wxTrackable to avoid warnings on derived classes in DLL...
Robin Dunn [Tue, 29 Jan 2008 17:41:10 +0000 (17:41 +0000)] 
use import/export macro on wxTrackable to avoid warnings on derived classes in DLL build

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

16 years agoApply change in r51405 to this file too: don't use DECLARE_EVENT_TYPE() to avoid...
Robin Dunn [Tue, 29 Jan 2008 17:39:56 +0000 (17:39 +0000)] 
Apply change in r51405 to this file too: don't use DECLARE_EVENT_TYPE() to avoid confusing people about its unused value parameter, declare the event type constants directly

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

16 years agoVC5 didn't support partial specialization either, check for VC>=7
Václav Slavík [Tue, 29 Jan 2008 17:38:04 +0000 (17:38 +0000)] 
VC5 didn't support partial specialization either, check for VC>=7

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

16 years agowx*DCImpl PCH-less compilation fix
Václav Slavík [Tue, 29 Jan 2008 14:09:56 +0000 (14:09 +0000)] 
wx*DCImpl PCH-less compilation fix

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

16 years agoadded wxCHECK_VISUALC_VERSION macro
Václav Slavík [Tue, 29 Jan 2008 12:22:13 +0000 (12:22 +0000)] 
added wxCHECK_VISUALC_VERSION macro

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

16 years agocompilation fix for VC6, it doesn't support partial template specialization
Václav Slavík [Tue, 29 Jan 2008 11:26:30 +0000 (11:26 +0000)] 
compilation fix for VC6, it doesn't support partial template specialization

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

16 years agoCorrected wxSetCursor documentation.
Julian Smart [Tue, 29 Jan 2008 11:18:22 +0000 (11:18 +0000)] 
Corrected wxSetCursor documentation.

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

16 years agodefine __VISUALCn__ for n=5,6,7,8,9 and not only 8 (should have been part of r51353)
Vadim Zeitlin [Tue, 29 Jan 2008 11:14:51 +0000 (11:14 +0000)] 
define __VISUALCn__ for n=5,6,7,8,9 and not only 8 (should have been part of r51353)

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

16 years agosignificantly simplify this file by using token pasting in #incoude and #pragma comme...
Vadim Zeitlin [Tue, 29 Jan 2008 11:11:15 +0000 (11:11 +0000)] 
significantly simplify this file by using token pasting in #incoude and #pragma comment(lib) instead of repeating them 4 or 8 times

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

16 years agoFixed global cursor setting on Mac, which fixes busy cursor and context help cursor
Julian Smart [Tue, 29 Jan 2008 11:02:47 +0000 (11:02 +0000)] 
Fixed global cursor setting on Mac, which fixes busy cursor and context help cursor

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

16 years agoRemove unnecessary IsRadioButton().
Paul Cornett [Tue, 29 Jan 2008 04:02:33 +0000 (04:02 +0000)] 
Remove unnecessary IsRadioButton().
Replace m_blockEvent with g_signal_handlers_block().
Remove wxRadioButton::DoGetBestSize(), it just calls the base.

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

16 years agoremove unnecessary ?: operator
Paul Cornett [Mon, 28 Jan 2008 21:03:39 +0000 (21:03 +0000)] 
remove unnecessary ?: operator

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

16 years agofix compilation error for wxUSE_DC_CACHEING==0; use more descriptive variables names
Vadim Zeitlin [Mon, 28 Jan 2008 15:25:21 +0000 (15:25 +0000)] 
fix compilation error for wxUSE_DC_CACHEING==0; use more descriptive variables names

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

16 years agoHP aC++ 3.80 can't handle parenthesized string literal in an initializer
Paul Cornett [Mon, 28 Jan 2008 04:15:11 +0000 (04:15 +0000)] 
HP aC++ 3.80 can't handle parenthesized string literal in an initializer

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

16 years agoanother fix for HP-UX 11.11 vsscanf, should have been in r51260
Paul Cornett [Mon, 28 Jan 2008 04:14:54 +0000 (04:14 +0000)] 
another fix for HP-UX 11.11 vsscanf, should have been in r51260

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

16 years agoTake basic style into account when applying style sheet
Julian Smart [Sun, 27 Jan 2008 17:37:17 +0000 (17:37 +0000)] 
Take basic style into account when applying style sheet

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

16 years agoTake basic style into account when showing style under cursor
Julian Smart [Sun, 27 Jan 2008 17:34:23 +0000 (17:34 +0000)] 
Take basic style into account when showing style under cursor

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

16 years agoUTF-8 build fixes for appending, setting or searching for NUL characters
Václav Slavík [Sun, 27 Jan 2008 16:29:52 +0000 (16:29 +0000)] 
UTF-8 build fixes for appending, setting or searching for NUL characters

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

16 years agoconverting temporary wxString to const wxChar* and storing that doesn't work (and...
Václav Slavík [Sun, 27 Jan 2008 16:25:33 +0000 (16:25 +0000)] 
converting temporary wxString to const wxChar* and storing that doesn't work (and doesn't even compile if wxUSE_STL), fixed

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

16 years agoFixed wxCURSOR_HAND to map to GDK_HAND2 and not GDK_HAND1, for consistency with other...
Václav Slavík [Sun, 27 Jan 2008 15:28:27 +0000 (15:28 +0000)] 
Fixed wxCURSOR_HAND to map to GDK_HAND2 and not GDK_HAND1, for consistency with other applications

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

16 years agoadd wxCONCAT[345]() helper macros
Vadim Zeitlin [Sun, 27 Jan 2008 14:10:53 +0000 (14:10 +0000)] 
add wxCONCAT[345]() helper macros

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

16 years agodon't use DECLARE_EVENT_TYPE() to avoid confusing people about its unused value param...
Vadim Zeitlin [Sun, 27 Jan 2008 13:21:39 +0000 (13:21 +0000)] 
don't use DECLARE_EVENT_TYPE() to avoid confusing people about its unused value parameter, declare the event type constants directly

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

16 years agoonly define wxEventPtr in wxBase, not wxCore
Vadim Zeitlin [Sun, 27 Jan 2008 12:57:04 +0000 (12:57 +0000)] 
only define wxEventPtr in wxBase, not wxCore

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

16 years agodefine (empty) SetIcon() method in wxGenericMDIChildFrame for compatibility with...
Vadim Zeitlin [Sun, 27 Jan 2008 12:43:46 +0000 (12:43 +0000)] 
define (empty) SetIcon() method in wxGenericMDIChildFrame for compatibility with MSW implementation

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

16 years agodon't reference non-existent doc.xmb file
Vadim Zeitlin [Sun, 27 Jan 2008 12:42:28 +0000 (12:42 +0000)] 
don't reference non-existent doc.xmb file

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

16 years agoadded VC7/8 project files for samples
Václav Slavík [Sun, 27 Jan 2008 11:38:07 +0000 (11:38 +0000)] 
added VC7/8 project files for samples

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

16 years agodon't fail in wxTransferStreamToFile if file size is exact multiple of 4KB (bug 1835918)
Vadim Zeitlin [Sat, 26 Jan 2008 23:23:09 +0000 (23:23 +0000)] 
don't fail in wxTransferStreamToFile if file size is exact multiple of 4KB (bug 1835918)

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

16 years agodelete the event object in ProcessPendingEvents() even if the handler throws an excep...
Vadim Zeitlin [Sat, 26 Jan 2008 23:18:30 +0000 (23:18 +0000)] 
delete the event object in ProcessPendingEvents() even if the handler throws an exception (bug 1836010)

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

16 years agoset listview extended styles after switching to report view and not only when creatin...
Vadim Zeitlin [Sat, 26 Jan 2008 22:54:47 +0000 (22:54 +0000)] 
set listview extended styles after switching to report view and not only when creating it (blind fix for bug 1874996)

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

16 years agodon't append anything back in DoDeleteOneItem() if the control becomes empty (fixes...
Vadim Zeitlin [Sat, 26 Jan 2008 22:31:55 +0000 (22:31 +0000)] 
don't append anything back in DoDeleteOneItem() if the control becomes empty (fixes bug 1880411)

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

16 years agofix the code to not use dangling pointers resulting in asserts about invalid Unicode...
Vadim Zeitlin [Sat, 26 Jan 2008 22:20:45 +0000 (22:20 +0000)] 
fix the code to not use dangling pointers resulting in asserts about invalid Unicode strings mentioned in the bug 1880411

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

16 years agofix a typo
Vadim Zeitlin [Sat, 26 Jan 2008 21:54:38 +0000 (21:54 +0000)] 
fix a typo

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

16 years agofix assert when using owner-drawn menu items with the newest (Vista) SDK
Vadim Zeitlin [Sat, 26 Jan 2008 01:34:00 +0000 (01:34 +0000)] 
fix assert when using owner-drawn menu items with the newest (Vista) SDK

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

16 years agoinclude wx/stopwatch.h to get wxMilliClock_t and wxGetLocalTimeMillis() declarations
Vadim Zeitlin [Fri, 25 Jan 2008 21:51:42 +0000 (21:51 +0000)] 
include wx/stopwatch.h to get wxMilliClock_t and wxGetLocalTimeMillis() declarations

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

16 years agoCorrected image saving to HTML
Julian Smart [Fri, 25 Jan 2008 16:38:39 +0000 (16:38 +0000)] 
Corrected image saving to HTML

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

16 years agoHTML output corrections
Julian Smart [Fri, 25 Jan 2008 15:03:05 +0000 (15:03 +0000)] 
HTML output corrections

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

16 years agoImage objects should load and save attributes
Julian Smart [Fri, 25 Jan 2008 12:10:43 +0000 (12:10 +0000)] 
Image objects should load and save attributes

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

16 years agoFixed a bug in HasAlignment
Julian Smart [Fri, 25 Jan 2008 09:15:26 +0000 (09:15 +0000)] 
Fixed a bug in HasAlignment

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

16 years agoUpdate caret in SetInsertionPoint
Julian Smart [Thu, 24 Jan 2008 22:43:39 +0000 (22:43 +0000)] 
Update caret in SetInsertionPoint

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

16 years agoremove redundant WX_CLEAR_LIST, it's done by base dtor
Paul Cornett [Thu, 24 Jan 2008 18:13:12 +0000 (18:13 +0000)] 
remove redundant WX_CLEAR_LIST, it's done by base dtor

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

16 years agofix memory leak when wxMenu is used as a popup
Paul Cornett [Thu, 24 Jan 2008 17:59:11 +0000 (17:59 +0000)] 
fix memory leak when wxMenu is used as a popup

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

16 years agoOptimization correction
Julian Smart [Thu, 24 Jan 2008 17:28:59 +0000 (17:28 +0000)] 
Optimization correction

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

16 years agosupress warning about in custom build steps with VC7+ (temporary workaround until...
Václav Slavík [Thu, 24 Jan 2008 11:25:15 +0000 (11:25 +0000)] 
supress warning about  in custom build steps with VC7+ (temporary workaround until bakefile 0.2.4)

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

16 years agogenerate focus and kill focus events for wxTextCtrl at wxWindow level instead of...
Vadim Zeitlin [Thu, 24 Jan 2008 09:34:05 +0000 (09:34 +0000)] 
generate focus and kill focus events for wxTextCtrl at wxWindow level instead of doing it in wxTextCtrl itself and specifically disabling focus event generation for text controls in wxWindow

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

16 years agocompilation fix after r51188: only define operator<<() overloads for wxLongLong_t...
Vadim Zeitlin [Wed, 23 Jan 2008 23:32:12 +0000 (23:32 +0000)] 
compilation fix after r51188: only define operator<<() overloads for wxLongLong_t for VC6, next VC versions (and presumably all other compilers as we hadn't had problems with them before) define them in their standard library already

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

16 years agodefine __VISUALCn__ for n=5,6,7,8,9 and not only 8; also document these symbols
Vadim Zeitlin [Wed, 23 Jan 2008 23:30:48 +0000 (23:30 +0000)] 
define __VISUALCn__ for n=5,6,7,8,9 and not only 8; also document these symbols

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

16 years agono real changes, just use HandleWindowEvent() instead of GetEventHandler()->SafelyPro...
Vadim Zeitlin [Wed, 23 Jan 2008 23:03:40 +0000 (23:03 +0000)] 
no real changes, just use HandleWindowEvent() instead of GetEventHandler()->SafelyProcessEvent() in the last change

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

16 years agouse _vc8 suffix for VS2005 projects for consistency
Václav Slavík [Wed, 23 Jan 2008 22:51:05 +0000 (22:51 +0000)] 
use _vc8 suffix for VS2005 projects for consistency

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

16 years agocatch exceptions when sending menu events
Václav Slavík [Wed, 23 Jan 2008 22:31:04 +0000 (22:31 +0000)] 
catch exceptions when sending menu events

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

16 years agoremove wxT()
Robert Roebling [Wed, 23 Jan 2008 20:48:20 +0000 (20:48 +0000)] 
remove wxT()

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

16 years agoMove the mac stable branch build onto an x86 machine, as it was on an ia64
Michael Wetherell [Wed, 23 Jan 2008 16:22:23 +0000 (16:22 +0000)] 
Move the mac stable branch build onto an x86 machine, as it was on an ia64
machine by mistake which doesn't have the mac compiler in the path.

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

16 years agoregenerated makefiles with bkl-0.2.3
Václav Slavík [Wed, 23 Jan 2008 12:13:07 +0000 (12:13 +0000)] 
regenerated makefiles with bkl-0.2.3

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

16 years agoupdated bakefiles to take advantage of Bakefile 0.2.3 (now required)
Václav Slavík [Wed, 23 Jan 2008 12:04:13 +0000 (12:04 +0000)] 
updated bakefiles to take advantage of Bakefile 0.2.3 (now required)

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

16 years agoReverted wxAuiFloatingFrame dtor crash fix (r51324) in favor of wxWeakRef implementat...
Bryan Petty [Wed, 23 Jan 2008 07:53:03 +0000 (07:53 +0000)] 
Reverted wxAuiFloatingFrame dtor crash fix (r51324) in favor of wxWeakRef implementation, thanks Robert.

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

16 years agoremove the unnecessary non-const GetPage() overload
Vadim Zeitlin [Tue, 22 Jan 2008 19:31:10 +0000 (19:31 +0000)] 
remove the unnecessary non-const GetPage() overload

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

16 years agofixing 1877182
Stefan Csomor [Tue, 22 Jan 2008 14:02:37 +0000 (14:02 +0000)] 
fixing 1877182

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

16 years agoignore Visual Studio per-user/machine settings files
Václav Slavík [Tue, 22 Jan 2008 13:33:49 +0000 (13:33 +0000)] 
ignore Visual Studio per-user/machine settings files

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

16 years agoupdated include/wx/meta/* files list
Václav Slavík [Tue, 22 Jan 2008 13:31:20 +0000 (13:31 +0000)] 
updated include/wx/meta/* files list

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

16 years agofixed wxVector<T> to work with non-POD types again; added optimization to keep using...
Václav Slavík [Tue, 22 Jan 2008 11:29:21 +0000 (11:29 +0000)] 
fixed wxVector<T> to work with non-POD types again; added optimization to keep using (much faster) realloc with types that are movable

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

16 years agouse xdg-open in wxLaunchDefaultBrowser() on Unix if available
Václav Slavík [Tue, 22 Jan 2008 10:20:02 +0000 (10:20 +0000)] 
use xdg-open in wxLaunchDefaultBrowser() on Unix if available

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

16 years agoAdded event handler macro
Julian Smart [Tue, 22 Jan 2008 08:23:31 +0000 (08:23 +0000)] 
Added event handler macro

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

16 years agoFixed a rare wxAuiFloatingFrame dtor crash on MSW using a registration mechanism...
Bryan Petty [Tue, 22 Jan 2008 08:20:18 +0000 (08:20 +0000)] 
Fixed a rare wxAuiFloatingFrame dtor crash on MSW using a registration mechanism in wxAuiManager.

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

16 years agotemporary fix for shared build linking problems after the last change
Vadim Zeitlin [Mon, 21 Jan 2008 22:34:48 +0000 (22:34 +0000)] 
temporary fix for shared build linking problems after the last change

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

16 years agocall Create from wxGrid non-default ctor instead to ensure both methods of creation...
Václav Slavík [Mon, 21 Jan 2008 17:18:47 +0000 (17:18 +0000)] 
call Create from wxGrid non-default ctor instead to ensure both methods of creation are in sync (they drifted apart already)

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

16 years agowxGrid focus handling fixes:
Václav Slavík [Mon, 21 Jan 2008 17:11:49 +0000 (17:11 +0000)] 
wxGrid focus handling fixes:
- don't allow focus in helper labels subwindows
- draw selection in different colour when not focused
- hide cursor/highlight when not focused

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

16 years agoprefix implementation methods of wxBitmapButton with 'GTK' to prevent shadowing of...
Václav Slavík [Mon, 21 Jan 2008 15:03:10 +0000 (15:03 +0000)] 
prefix implementation methods of wxBitmapButton with 'GTK' to prevent shadowing of HasFocus

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

16 years agoupdated wxExecute checks in wxGTK to be same as in other Unix ports after recent...
Václav Slavík [Mon, 21 Jan 2008 14:51:49 +0000 (14:51 +0000)] 
updated wxExecute checks in wxGTK to be same as in other Unix ports after recent changes

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

16 years agosilence compiler warnings
Václav Slavík [Mon, 21 Jan 2008 13:53:37 +0000 (13:53 +0000)] 
silence compiler warnings

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

16 years agoadded wxWindow::HasFocus() for more convenient way of determining if a (possibly...
Václav Slavík [Mon, 21 Jan 2008 13:30:24 +0000 (13:30 +0000)] 
added wxWindow::HasFocus() for more convenient way of determining if a (possibly composite) window has focus

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

16 years agomention also the contrib libraries removal/movements
Francesco Montorsi [Mon, 21 Jan 2008 12:29:52 +0000 (12:29 +0000)] 
mention also the contrib libraries removal/movements

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

16 years agouse full path to headers in header guards
Václav Slavík [Mon, 21 Jan 2008 11:56:15 +0000 (11:56 +0000)] 
use full path to headers in header guards

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