]>
git.saurik.com Git - wxWidgets.git/log
Jaakko Salli [Thu, 26 Feb 2009 19:00:46 +0000 (19:00 +0000)]
wxPropertyGrid::IsEditorFocused() is now public
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59167
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 26 Feb 2009 18:59:03 +0000 (18:59 +0000)]
fix Remove() argument in the example (closes #10521)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59166
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 26 Feb 2009 16:16:31 +0000 (16:16 +0000)]
deprecate the old TryValidator/Parent() and replace them with the new and documented TryBefore/After()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59164
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 26 Feb 2009 16:10:50 +0000 (16:10 +0000)]
added wxDEPRECATED_BUT_USED_INTERNALLY_INLINE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59163
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 26 Feb 2009 15:24:03 +0000 (15:24 +0000)]
override TryValidator() in wxMDIParentFrame to implement forwarding of menu/toolbar events to the active child at wx level instead of forwarding the WM_COMMAND itself: this is better as it prevents the same event from being passed twice to wxApp fall back if a handler exists in the child frame but skips the event and also because the code is portable now and can be moved down to the base class; also call the base class TryValidator() from wxDocMDI classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59162
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 26 Feb 2009 14:15:20 +0000 (14:15 +0000)]
another missing WXDLLIMPEXP to fix DLL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59161
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jouk Jansen [Thu, 26 Feb 2009 07:24:25 +0000 (07:24 +0000)]
Updating OpenVMS compile configuration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59153
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Thu, 26 Feb 2009 00:17:23 +0000 (00:17 +0000)]
added wxXmlResource::LoadFile() to avoid URL-vs-filename ambiguity in Load()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59150
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Thu, 26 Feb 2009 00:13:03 +0000 (00:13 +0000)]
fixed wxXmlResource::Load's detection of filenames to be done as early as possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59149
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 25 Feb 2009 23:41:29 +0000 (23:41 +0000)]
added wxGrid::{Set,Get}{Row,Col}Sizes() methods allowing to save/restore all grid rows/columns sizes at once
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59144
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 25 Feb 2009 23:27:07 +0000 (23:27 +0000)]
compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59142
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 25 Feb 2009 23:02:53 +0000 (23:02 +0000)]
don't use template assign() with VC6, even though it can compile it it doesn't handle it correctly when using DLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59141
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 25 Feb 2009 21:12:47 +0000 (21:12 +0000)]
compilation fix after the previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59139
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 25 Feb 2009 21:04:45 +0000 (21:04 +0000)]
fix for DLL build: wxEvtHandlerArray should be in wxBase as it's used by wxEventLoopBase, not in wxCore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59138
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 25 Feb 2009 21:01:53 +0000 (21:01 +0000)]
undo the change of r57522, it's not needed any more after r59136
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59137
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 25 Feb 2009 21:01:19 +0000 (21:01 +0000)]
postpone the check for the validity of growable rows/columns indices until we know the total number of items in the sizer (closes #10294)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59136
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 25 Feb 2009 17:43:22 +0000 (17:43 +0000)]
replace templae Connect() overloads with separate Bind() method to improve compatibility (see #10000, closes #10477)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59134
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 25 Feb 2009 13:23:12 +0000 (13:23 +0000)]
add wxAppConsoleBase::OnEventLoopEnter/Exit callbacks; add wxEventLoopBase::IsMain() and wxAppConsoleBase::GetMainLoop() helpers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59132
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 25 Feb 2009 13:12:09 +0000 (13:12 +0000)]
document wxPolygonFillMode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59131
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 25 Feb 2009 13:10:25 +0000 (13:10 +0000)]
no real change: just group functions in a logic manner
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59130
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 25 Feb 2009 13:07:36 +0000 (13:07 +0000)]
don't call Refresh(empty-rect) unnecessarily
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59128
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 25 Feb 2009 12:08:12 +0000 (12:08 +0000)]
try to clear the device/logical unit fog; remove unused and unsupported (an assertion fails if they are used) wxMM_ constants; better docs for the supported wxMM_ constants; use MM_ANISOTROPIC in old win16 metafile code instead of wxMM_ANISOTROPIC since it's not supported by wx code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59127
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 25 Feb 2009 11:54:16 +0000 (11:54 +0000)]
revise all code; do not use many global objects; use wxLog to give errors/messages; put drawing code in a wxApp member; get rid of old code; fix indentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59126
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jouk Jansen [Wed, 25 Feb 2009 07:59:43 +0000 (07:59 +0000)]
Update compile configuration for OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59125
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Wed, 25 Feb 2009 02:11:21 +0000 (02:11 +0000)]
Remove no longer necessary re-entrancy check, fix function prototype definition for insertText, and add support for handling almost all the missing keys. (Function keys and the numpad Enter are still not handled properly.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59122
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 25 Feb 2009 00:09:23 +0000 (00:09 +0000)]
fix handling of long lines in wxGridCellAutoWrapStringRenderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59121
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Tue, 24 Feb 2009 22:19:10 +0000 (22:19 +0000)]
Fix for deprecated constructor issues, setting a function without a body as inline doesn't work for Mac whether debug is set or not. Since it's a workaround for old versions of gcc, limit its use to those cases to avoid future problems.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59120
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Benjamin Williams [Tue, 24 Feb 2009 19:34:01 +0000 (19:34 +0000)]
focus fixes for wxAUINotebook (fixes #4361)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59117
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 24 Feb 2009 18:10:43 +0000 (18:10 +0000)]
render <TH> contents in bold, as all the browsers do
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59115
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Tue, 24 Feb 2009 05:51:52 +0000 (05:51 +0000)]
Turn off the annoying beep when a key down is passed all the way up the handler chain.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59114
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 23 Feb 2009 21:24:37 +0000 (21:24 +0000)]
remove non-existent wx/msw/datecontrols.h from files.bkl (it's a private file and shouldn't be installed)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59110
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 23 Feb 2009 21:20:35 +0000 (21:20 +0000)]
add wx/persist/*.h files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59109
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 23 Feb 2009 21:15:45 +0000 (21:15 +0000)]
fix (harmless) warnings in release mingw32 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59108
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 22 Feb 2009 23:54:05 +0000 (23:54 +0000)]
correct the coordinates used for DIBs in StretchBlt() (closes #10501)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59101
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 22 Feb 2009 23:49:15 +0000 (23:49 +0000)]
avoid integer overflow when computing the radius in DoDrawArc() (see #10494)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59100
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 22 Feb 2009 23:38:52 +0000 (23:38 +0000)]
no changes, just update the copyright in the header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59099
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 22 Feb 2009 23:38:07 +0000 (23:38 +0000)]
add accessors for sockaddr to wxSockAddress (closes #10511)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59098
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Sun, 22 Feb 2009 22:20:06 +0000 (22:20 +0000)]
Quick fix to prevent a crash when running on 10.4.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59097
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 22 Feb 2009 21:52:00 +0000 (21:52 +0000)]
add public wxXmlResource::GetResourceNode() which can be used directly instead of deriving from wxXmlResource and using FindResource()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59096
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Sun, 22 Feb 2009 21:30:30 +0000 (21:30 +0000)]
Missed one symbol used in the compatibility path.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59095
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Sun, 22 Feb 2009 21:22:07 +0000 (21:22 +0000)]
Fix for building under 10.4, where the BlendMode constants are not defined.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59094
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Neis [Sun, 22 Feb 2009 19:09:49 +0000 (19:09 +0000)]
Various compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59091
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Sun, 22 Feb 2009 18:25:36 +0000 (18:25 +0000)]
Landing basic EVT_CHAR support, along with the rest of EVT_TEXT support fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59090
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Sun, 22 Feb 2009 18:13:49 +0000 (18:13 +0000)]
Add support for EVT_TEXT in OS X Cocoa.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59089
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 22 Feb 2009 17:38:48 +0000 (17:38 +0000)]
put something in the content field type in the tables to avoid ugly appearance of empty table cells in Doxygen-generated HTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59088
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Neis [Sun, 22 Feb 2009 17:10:06 +0000 (17:10 +0000)]
Cleanup of functions not taking any parameter.
Compilation fix for wxMappingMode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59087
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Sun, 22 Feb 2009 15:13:29 +0000 (15:13 +0000)]
Added wxComboPopup::GetComboCtrl()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59085
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 22 Feb 2009 14:42:35 +0000 (14:42 +0000)]
remove wxAppConsoleBase::OInitGui and leave it only in wxApp[Base] class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59084
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Sun, 22 Feb 2009 08:51:11 +0000 (08:51 +0000)]
Fixed documentation of wxComboPopup::m_combo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59082
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 22 Feb 2009 00:46:25 +0000 (00:46 +0000)]
add public wxLog::Log() to avoid ugly casts needed in order to call DoLog() from derived classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59080
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Sat, 21 Feb 2009 20:56:39 +0000 (20:56 +0000)]
fix the restore of the fix of r58979
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59077
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Feb 2009 20:37:30 +0000 (20:37 +0000)]
restore changes of r58979 accidentally overwritten by r59023
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59076
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Sat, 21 Feb 2009 20:30:57 +0000 (20:30 +0000)]
fix event table base for wxListMainWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59075
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Sat, 21 Feb 2009 18:08:40 +0000 (18:08 +0000)]
check for self-assignment in operator=
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59074
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Sat, 21 Feb 2009 18:08:19 +0000 (18:08 +0000)]
non-pch build fixes, some cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59073
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Sat, 21 Feb 2009 17:13:56 +0000 (17:13 +0000)]
fix for missing sighandler_t
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59072
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sat, 21 Feb 2009 16:43:22 +0000 (16:43 +0000)]
added asserts to check correct order of wxHtmlDCRenderer methods calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59071
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 21 Feb 2009 15:40:15 +0000 (15:40 +0000)]
fix a few typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59070
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Neis [Sat, 21 Feb 2009 13:52:20 +0000 (13:52 +0000)]
Added wxSingleInstanceChecker for OS/2 (patch #10491).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59068
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Feb 2009 13:40:41 +0000 (13:40 +0000)]
only update stc.h when USE_STC==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59067
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 20 Feb 2009 16:38:48 +0000 (16:38 +0000)]
fix a couple of drawing defects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59060
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 20 Feb 2009 16:07:50 +0000 (16:07 +0000)]
show wxMutexGuiEnter/Leave by drawing into a bitmap from a secondary thread; show the result while it's being created by a MyImageDialog dialog; small cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59059
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 20 Feb 2009 13:51:00 +0000 (13:51 +0000)]
remove MyExecThread: wxExecute can't be called from secondary threads since a long time; give the user the possibility to change the command to run from the main thread and provide sensible defaults for wxMSW and non-wxMSW platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59058
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 20 Feb 2009 12:45:04 +0000 (12:45 +0000)]
minor cleaning: use %p instead of 0x%lx; clear in the menu name which is the thread which is stopped/paused/resumed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59056
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 20 Feb 2009 12:40:30 +0000 (12:40 +0000)]
use %p when logging the thread IDs instead of %lu to make it easier to debug multithreaded programs when using GDB (which uses the %p syntax)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59055
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 20 Feb 2009 12:02:09 +0000 (12:02 +0000)]
implement wxThreadEvent safe copy ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59053
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 20 Feb 2009 11:56:43 +0000 (11:56 +0000)]
no real change; just reorder the sample putting all declarations together and all implementations together; move frame construction code in MyFrame ctor; add some comment about TEST_YIELD_RACE_CONDITIONsymbol
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59052
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 20 Feb 2009 11:34:52 +0000 (11:34 +0000)]
recategorize many misplaced classes; move lots of classes from miscellaneous [window] category to more specific categories; add the 'Book controls' and the 'Application and system configuration' class groups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59051
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Fri, 20 Feb 2009 06:48:26 +0000 (06:48 +0000)]
fix for HP aCC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59045
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Thu, 19 Feb 2009 23:45:23 +0000 (23:45 +0000)]
wxCHECK that there is an active event loop before using wxEventLoopBase::GetActive() pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59040
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Thu, 19 Feb 2009 22:48:43 +0000 (22:48 +0000)]
mention wxThreadEvent in wxEVT_CATEGORY_THREAD and in wxEvtHandler::QueueEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59039
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 19 Feb 2009 21:30:05 +0000 (21:30 +0000)]
fix Windows compilation after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59038
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Thu, 19 Feb 2009 20:57:47 +0000 (20:57 +0000)]
don't leak events in wxEvtHandler::QueueEvent when there's no event loop
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59037
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Thu, 19 Feb 2009 20:26:00 +0000 (20:26 +0000)]
Make wxImageList not copiable (fixes #10503), replace wxList with wxObjectList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59036
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Thu, 19 Feb 2009 20:18:53 +0000 (20:18 +0000)]
If a selected item is about to be deleted, try to select the next one first, otherwise the parent, like the wxMSW does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59035
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Thu, 19 Feb 2009 17:45:34 +0000 (17:45 +0000)]
add braces around if-body
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59034
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Thu, 19 Feb 2009 17:45:09 +0000 (17:45 +0000)]
remove old hacks for gtk blit problem which was probably fixed long ago
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59033
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Thu, 19 Feb 2009 17:44:49 +0000 (17:44 +0000)]
remove unnecessary cast, that type should match
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59032
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Thu, 19 Feb 2009 17:28:37 +0000 (17:28 +0000)]
better fix for aCC and rawbmp.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59031
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 19 Feb 2009 14:17:21 +0000 (14:17 +0000)]
compilation fix for systems without neither MSG_NOSIGNAL nor SO_NOSIGPIPE (such as AIX and old HP-UX): disable SIGPIPE manually in this case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59024
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 19 Feb 2009 14:01:26 +0000 (14:01 +0000)]
another AIX compilation fix: getservbyname_r() returns int, not servent* there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59023
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Thu, 19 Feb 2009 07:37:57 +0000 (07:37 +0000)]
avoid setting negative size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59022
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Thu, 19 Feb 2009 07:37:32 +0000 (07:37 +0000)]
unused variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59021
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Thu, 19 Feb 2009 07:37:12 +0000 (07:37 +0000)]
remove unused gtk includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59020
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Thu, 19 Feb 2009 07:36:27 +0000 (07:36 +0000)]
check for self-assignment in operator=
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59019
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Thu, 19 Feb 2009 07:35:55 +0000 (07:35 +0000)]
remove extra semicolons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59018
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Thu, 19 Feb 2009 05:34:48 +0000 (05:34 +0000)]
fix for HP aCC, it can't compile rawbmp.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59017
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Thu, 19 Feb 2009 05:34:25 +0000 (05:34 +0000)]
fix for IBM xlC 8, it can't parse the template syntax
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59016
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Thu, 19 Feb 2009 05:34:03 +0000 (05:34 +0000)]
fix for IBM xlC 8, it can't compile Clone() if wxDataFormat is not defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59015
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Thu, 19 Feb 2009 05:33:38 +0000 (05:33 +0000)]
fix for IBM and HP compilers, which don't allow ->* operator with undefined class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59014
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 19 Feb 2009 01:03:27 +0000 (01:03 +0000)]
AIX compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59008
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 18 Feb 2009 21:21:19 +0000 (21:21 +0000)]
Uncomment code accidentally left commented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59006
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 18 Feb 2009 21:20:04 +0000 (21:20 +0000)]
Don't use default size of control has a sizer (as per other ports)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59005
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 18 Feb 2009 19:32:00 +0000 (19:32 +0000)]
name wxThreadEvent and YieldFor in wxProgressDialog and in thread overview; update the sample code to use new event macros; minor other changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59002
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Wed, 18 Feb 2009 18:02:53 +0000 (18:02 +0000)]
use bool expression rather than implicit conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59001
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 18 Feb 2009 17:58:51 +0000 (17:58 +0000)]
make distinction between classes which send events (use @beginEventEmissionTable for them) from event classes (use @beginEventTable for them); add event tables for wxWindow, wxFrame, wxTopLevelWindow, wxApp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59000
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Wed, 18 Feb 2009 17:15:40 +0000 (17:15 +0000)]
remove unused wxKeyEvent member m_scanCode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58999
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Wed, 18 Feb 2009 16:16:24 +0000 (16:16 +0000)]
Under wxGTK, always use wxPopupTransientWindow as the popup window, even if UseAltPopupWindow() has been called. Do this because, of all popup window types, only wxPopupTransientWindow is able to have focused child controls when the popup is shown in wxGTK modal dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58998
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 18 Feb 2009 15:33:08 +0000 (15:33 +0000)]
remove comment erroneously committed in r58654
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58993
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 18 Feb 2009 15:14:41 +0000 (15:14 +0000)]
fix typo: the leave/enter order for the m_handlersWithPendingEventsLocker critical section was flipped
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58992
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775