]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
15 years agofix virtual function hiding warnings
Vadim Zeitlin [Tue, 3 Mar 2009 09:20:11 +0000 (09:20 +0000)] 
fix virtual function hiding warnings

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

15 years agoProcessPendingEvents() is now in wxApp
Francesco Montorsi [Mon, 2 Mar 2009 21:14:01 +0000 (21:14 +0000)] 
ProcessPendingEvents() is now in wxApp

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

15 years agodon't generate non-MSVC makefiles for MSVC-only samples
Vadim Zeitlin [Mon, 2 Mar 2009 20:49:00 +0000 (20:49 +0000)] 
don't generate non-MSVC makefiles for MSVC-only samples

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

15 years agomove pending event processing back to wxApp (these methods were moved into wxEventLoo...
Francesco Montorsi [Mon, 2 Mar 2009 20:45:22 +0000 (20:45 +0000)] 
move pending event processing back to wxApp (these methods were moved into wxEventLoopBase during YieldFor() refactoring - see #10320): we need to be able to queue events even when there's no event loop running (e.g. wxApp::OnInit)

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

15 years agowxOSX build fix for wxRichTextCtrl after wxTextEntry::GetValue() renaming to DoGetValue()
Vadim Zeitlin [Mon, 2 Mar 2009 20:43:12 +0000 (20:43 +0000)] 
wxOSX build fix for wxRichTextCtrl after wxTextEntry::GetValue() renaming to DoGetValue()

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

15 years agoremove references to datetime_constants; they're not needed anymore
Francesco Montorsi [Mon, 2 Mar 2009 20:41:08 +0000 (20:41 +0000)] 
remove references to datetime_constants; they're not needed anymore

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

15 years agoLand the rest of the changes made by a rebake after r59067.
Kevin Ollivier [Mon, 2 Mar 2009 20:11:39 +0000 (20:11 +0000)] 
Land the rest of the changes made by a rebake after r59067.

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

15 years agorevert r59246; the window parameter was there by purpose (i.e. for consistency with...
Francesco Montorsi [Mon, 2 Mar 2009 20:09:10 +0000 (20:09 +0000)] 
revert r59246; the window parameter was there by purpose (i.e. for consistency with other Get* methods -- even if unused); document what the win parameter does in the various wxRenderer::Get* methods

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

15 years agoanother wxOSX build fix after wxTextEntry::GetValue() renaming to DoGetValue()
Vadim Zeitlin [Mon, 2 Mar 2009 19:28:44 +0000 (19:28 +0000)] 
another wxOSX build fix after wxTextEntry::GetValue() renaming to DoGetValue()

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

15 years agowxOSX build fix after wxTextEntry::GetValue() renaming to DoGetValue()
Vadim Zeitlin [Mon, 2 Mar 2009 19:17:42 +0000 (19:17 +0000)] 
wxOSX build fix after wxTextEntry::GetValue() renaming to DoGetValue()

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

15 years agoRebake after OS X Cocoa header changes.
Kevin Ollivier [Mon, 2 Mar 2009 18:30:23 +0000 (18:30 +0000)] 
Rebake after OS X Cocoa header changes.

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

15 years agoCommit changes caused by setting configure.in's svn:eol-style to LF. (r58985)
Kevin Ollivier [Mon, 2 Mar 2009 18:23:02 +0000 (18:23 +0000)] 
Commit changes caused by setting configure.in's svn:eol-style to LF. (r58985)

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

15 years agoUpdate files.bkl to look in the proper place for moved header files.
Kevin Ollivier [Mon, 2 Mar 2009 18:08:28 +0000 (18:08 +0000)] 
Update files.bkl to look in the proper place for moved header files.

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

15 years agobuild fix: define DoGetValue() and GetEditableWindow()
Vadim Zeitlin [Mon, 2 Mar 2009 16:23:55 +0000 (16:23 +0000)] 
build fix: define DoGetValue() and GetEditableWindow()

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

15 years agocompilation fix after GetEditableWindow() signature change
Vadim Zeitlin [Mon, 2 Mar 2009 16:22:30 +0000 (16:22 +0000)] 
compilation fix after GetEditableWindow() signature change

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

15 years agofix warning about possibly uninitialized variable in release build
Vadim Zeitlin [Mon, 2 Mar 2009 14:54:04 +0000 (14:54 +0000)] 
fix warning about possibly uninitialized variable in release build

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

15 years agoremove SetValue() which is not needed and which definition was removed by the previou...
Vadim Zeitlin [Mon, 2 Mar 2009 14:49:55 +0000 (14:49 +0000)] 
remove SetValue() which is not needed and which definition was removed by the previous change

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

15 years agomake GetEditableWindow() protected as it's used by wxGTK wxTextEntry
Vadim Zeitlin [Mon, 2 Mar 2009 14:03:19 +0000 (14:03 +0000)] 
make GetEditableWindow() protected as it's used by wxGTK wxTextEntry

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

15 years agowxUniv compilation fixes after wxTextEntry::DoGetValue() change
Vadim Zeitlin [Mon, 2 Mar 2009 13:58:42 +0000 (13:58 +0000)] 
wxUniv compilation fixes after wxTextEntry::DoGetValue() change

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

15 years agofix overloaded virtual warning
Vadim Zeitlin [Mon, 2 Mar 2009 13:45:09 +0000 (13:45 +0000)] 
fix overloaded virtual warning

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

15 years agoadded wxTextEntry::DoGetValue() to allow returning empty string if the control curren...
Vadim Zeitlin [Mon, 2 Mar 2009 13:31:29 +0000 (13:31 +0000)] 
added wxTextEntry::DoGetValue() to allow returning empty string if the control currently contains hint text

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

15 years agoset correct properties
Vadim Zeitlin [Mon, 2 Mar 2009 12:40:38 +0000 (12:40 +0000)] 
set correct properties

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

15 years agoadded wxTextEntry::SetHint() (a.k.a. cue banner or placeholder string)
Vadim Zeitlin [Mon, 2 Mar 2009 12:25:01 +0000 (12:25 +0000)] 
added wxTextEntry::SetHint() (a.k.a. cue banner or placeholder string)

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

15 years agoadd ugly macros to abstract the difference between Bind() and Connect() -- this is...
Vadim Zeitlin [Mon, 2 Mar 2009 12:10:40 +0000 (12:10 +0000)] 
add ugly macros to abstract the difference between Bind() and Connect() -- this is still less ugly than having #ifs everywhere

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

15 years agoupdate to Dutch translations from Gideon van Melle
Vadim Zeitlin [Mon, 2 Mar 2009 11:51:28 +0000 (11:51 +0000)] 
update to Dutch translations from Gideon van Melle

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

15 years agodocument that wxDialog::ShowModal() creates its own event loop
Francesco Montorsi [Sun, 1 Mar 2009 21:01:39 +0000 (21:01 +0000)] 
document that wxDialog::ShowModal() creates its own event loop

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

15 years agodocument internal wxDateTime enums the way they're meant to be documented in Doxygen
Francesco Montorsi [Sun, 1 Mar 2009 21:00:57 +0000 (21:00 +0000)] 
document internal wxDateTime enums the way they're meant to be documented in Doxygen

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

15 years agodo not duplicate large blocks of docs; use @overload instead; provide link to the...
Francesco Montorsi [Sun, 1 Mar 2009 20:35:07 +0000 (20:35 +0000)] 
do not duplicate large blocks of docs; use @overload instead; provide link to the standard strftime() docs

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

15 years agofix rendering of wxGrid on wxMSW when a dialog is over the grid.
Francesco Montorsi [Sun, 1 Mar 2009 17:21:46 +0000 (17:21 +0000)] 
fix rendering of wxGrid on wxMSW when a dialog is over the grid.
To test the bug: open the "grid" sample and popup the about box, then move it over the grid; without this fix portions of wxGrid were painted as gray (disabled colour) even if the wxGrid itself was not disabled.

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

15 years agouse wxRenderer::GetCheckBoxSize() instead of doing wrong calculations in wxGridCellBo...
Francesco Montorsi [Sun, 1 Mar 2009 16:53:53 +0000 (16:53 +0000)] 
use wxRenderer::GetCheckBoxSize() instead of doing wrong calculations in wxGridCellBoolRenderer::GetBestSize; this fixes checkbox rendering under wxMSW (tested on wxMSW,wxGTK)

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

15 years agodeprecated GetCheckBoxSize(wxWindow *) in favour of GetCheckBoxSize() const (the...
Francesco Montorsi [Sun, 1 Mar 2009 16:46:49 +0000 (16:46 +0000)] 
deprecated GetCheckBoxSize(wxWindow *) in favour of GetCheckBoxSize() const (the window parameter was unused and not documented)

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

15 years agomove wxGridCellRenderer::Draw before other derived classes implementations (no real...
Francesco Montorsi [Sun, 1 Mar 2009 16:09:44 +0000 (16:09 +0000)] 
move wxGridCellRenderer::Draw before other derived classes implementations (no real change)

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

15 years agoforce use of generic about dialog as to test unfocused-repainting of wxGrid
Francesco Montorsi [Sun, 1 Mar 2009 15:53:42 +0000 (15:53 +0000)] 
force use of generic about dialog as to test unfocused-repainting of wxGrid

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

15 years agoname the enum with wxDir flags to make it easier to find it from the docs.
Francesco Montorsi [Sun, 1 Mar 2009 15:47:49 +0000 (15:47 +0000)] 
name the enum with wxDir flags to make it easier to find it from the docs.

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

15 years agoavoid error of menu with zero ID
Chris Elliott [Sun, 1 Mar 2009 15:03:02 +0000 (15:03 +0000)] 
avoid error of menu with zero ID

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

15 years agoremove old and outdated tech notes
Francesco Montorsi [Sun, 1 Mar 2009 15:02:11 +0000 (15:02 +0000)] 
remove old and outdated tech notes

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

15 years agobetter document the possible arguments accepted by wxLaunchDefaultBrowser; in particu...
Francesco Montorsi [Sun, 1 Mar 2009 14:31:41 +0000 (14:31 +0000)] 
better document the possible arguments accepted by wxLaunchDefaultBrowser; in particular mention the 'mailto:' scheme

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

15 years agorecognize schemes other than http and ftp in wxLaunchDefaultBrowser()
Vadim Zeitlin [Sun, 1 Mar 2009 12:27:31 +0000 (12:27 +0000)] 
recognize schemes other than http and ftp in wxLaunchDefaultBrowser()

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

15 years agodocument wxTextEntry
Vadim Zeitlin [Sun, 1 Mar 2009 12:23:31 +0000 (12:23 +0000)] 
document wxTextEntry

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

15 years agoadded const_cast<> to silence gcc warnings (see #10520)
Vadim Zeitlin [Sun, 1 Mar 2009 11:59:50 +0000 (11:59 +0000)] 
added const_cast<> to silence gcc warnings (see #10520)

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

15 years agoNever show tree lines when there are tree buttons under OS X and GTK+
Robert Roebling [Sat, 28 Feb 2009 17:30:41 +0000 (17:30 +0000)] 
Never show tree lines when there are tree buttons under OS X and GTK+

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

15 years agoUse gdk_window_invalidate instead of gtk_widget_queue_draw as the latter doesn't...
Robert Roebling [Sat, 28 Feb 2009 17:22:35 +0000 (17:22 +0000)] 
Use gdk_window_invalidate instead of gtk_widget_queue_draw as the latter doesn't e.g. invalidate a wxTreeCtrl correctly when place somewhere different from 0,0

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

15 years agowxPosition doesn't need renamed, it's supposed to be generic like wxSize or wxPoint.
Bryan Petty [Sat, 28 Feb 2009 17:08:00 +0000 (17:08 +0000)] 
wxPosition doesn't need renamed, it's supposed to be generic like wxSize or wxPoint.

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

15 years agocompilation fixes for ANSI mode build (closes #10518)
Vadim Zeitlin [Sat, 28 Feb 2009 15:54:04 +0000 (15:54 +0000)] 
compilation fixes for ANSI mode build (closes #10518)

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

15 years agoreset the tooltip text before changing it, this apparently prevents a spurious redraw...
Vadim Zeitlin [Sat, 28 Feb 2009 15:49:10 +0000 (15:49 +0000)] 
reset the tooltip text before changing it, this apparently prevents a spurious redraw of the control below it (see #10520)

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

15 years agoCast needed to fix compilation on 10.4 --This line, and those below,
Kevin Ollivier [Sat, 28 Feb 2009 00:19:59 +0000 (00:19 +0000)] 
Cast needed to fix compilation on 10.4 --This line, and those below,
will be ignored--

M    src/osx/cocoa/printdlg.mm

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

15 years agoadd missing WXDLLIMPEXP_CORE (which surprisingly is only needed in debug build for...
Vadim Zeitlin [Fri, 27 Feb 2009 20:25:20 +0000 (20:25 +0000)] 
add missing WXDLLIMPEXP_CORE (which surprisingly is only needed in debug build for some reason)

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

15 years agoTurkish translation update from Hakkı Doğusan
Vadim Zeitlin [Fri, 27 Feb 2009 18:09:45 +0000 (18:09 +0000)] 
Turkish translation update from Hakkı DoÄŸusan

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

15 years agoCompile fix under wxGTK
Julian Smart [Fri, 27 Feb 2009 17:15:57 +0000 (17:15 +0000)] 
Compile fix under wxGTK

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

15 years agoadd references to OnEventLoopEnter/Exit callbacks
Francesco Montorsi [Fri, 27 Feb 2009 14:49:00 +0000 (14:49 +0000)] 
add references to OnEventLoopEnter/Exit callbacks

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

15 years agofix doxygen warnings
Francesco Montorsi [Fri, 27 Feb 2009 14:48:27 +0000 (14:48 +0000)] 
fix doxygen warnings

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

15 years agomention that some event logic now requires a running event loop (see ticket #10320)
Francesco Montorsi [Fri, 27 Feb 2009 14:41:48 +0000 (14:41 +0000)] 
mention that some event logic now requires a running event loop (see ticket #10320)

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

15 years agoVC6 compilation fix after last change: WXDLLIMPEXP_TEMPLATE_INSTANCE_BASE is not...
Vadim Zeitlin [Fri, 27 Feb 2009 13:12:25 +0000 (13:12 +0000)] 
VC6 compilation fix after last change: WXDLLIMPEXP_TEMPLATE_INSTANCE_BASE is not needed for template classes used as base classes apparently; do suppress some DLL export-related warnings

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

15 years agorefactor wxDocChildFrame and wxDocMDIChildFrame to use wxDocChildFrameAny intead...
Vadim Zeitlin [Fri, 27 Feb 2009 12:24:03 +0000 (12:24 +0000)] 
refactor wxDocChildFrame and wxDocMDIChildFrame to use wxDocChildFrameAny intead of duplicating its code (with subtle differences, as usual); also added wxDocChildFrameAnyBase and store a pointer to it in wxView to reset the frame view if the view is being deleted because its creation fails to avoid crashes in this case

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

15 years agoadded wxDECLARE_NO_COPY_TEMPLATE_CLASS_2
Vadim Zeitlin [Fri, 27 Feb 2009 11:36:10 +0000 (11:36 +0000)] 
added wxDECLARE_NO_COPY_TEMPLATE_CLASS_2

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

15 years agoFixed wxRichTextCtrl base class
Julian Smart [Fri, 27 Feb 2009 10:54:12 +0000 (10:54 +0000)] 
Fixed wxRichTextCtrl base class

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

15 years agomove functions using deprecated methods out of line to avoid deprecation warnings...
Vadim Zeitlin [Fri, 27 Feb 2009 10:21:38 +0000 (10:21 +0000)] 
move functions using deprecated methods out of line to avoid deprecation warnings from MSVC when building any code including wx/event.h

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

15 years agoCorrected IMPLEMENT_CLASS/BEGIN_EVENT_TABLE base class
Julian Smart [Fri, 27 Feb 2009 09:00:48 +0000 (09:00 +0000)] 
Corrected IMPLEMENT_CLASS/BEGIN_EVENT_TABLE base class

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

15 years agoapplying patch, fixes #10523
Stefan Csomor [Fri, 27 Feb 2009 05:27:38 +0000 (05:27 +0000)] 
applying patch, fixes #10523

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

15 years agoapplying patch, fixes #10524
Stefan Csomor [Fri, 27 Feb 2009 05:23:22 +0000 (05:23 +0000)] 
applying patch, fixes #10524

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

15 years agoNo longer overestimate virtual height given to the vertical scroll bar
Jaakko Salli [Thu, 26 Feb 2009 19:35:46 +0000 (19:35 +0000)] 
No longer overestimate virtual height given to the vertical scroll bar

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

15 years agowxPropertyGrid::IsEditorFocused() is now public
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

15 years agofix Remove() argument in the example (closes #10521)
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

15 years agodeprecate the old TryValidator/Parent() and replace them with the new and documented...
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

15 years agoadded wxDEPRECATED_BUT_USED_INTERNALLY_INLINE
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

15 years agooverride TryValidator() in wxMDIParentFrame to implement forwarding of menu/toolbar...
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

15 years agoanother missing WXDLLIMPEXP to fix DLL build
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

15 years agoUpdating OpenVMS compile configuration
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

15 years agoadded wxXmlResource::LoadFile() to avoid URL-vs-filename ambiguity in Load()
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

15 years agofixed wxXmlResource::Load's detection of filenames to be done as early as possible
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

15 years agoadded wxGrid::{Set,Get}{Row,Col}Sizes() methods allowing to save/restore all grid...
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

15 years agocompilation fix after last commit
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

15 years agodon't use template assign() with VC6, even though it can compile it it doesn't handle...
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

15 years agocompilation fix after the previous commit
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

15 years agofix for DLL build: wxEvtHandlerArray should be in wxBase as it's used by wxEventLoopB...
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

15 years agoundo the change of r57522, it's not needed any more after r59136
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

15 years agopostpone the check for the validity of growable rows/columns indices until we know...
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

15 years agoreplace templae Connect() overloads with separate Bind() method to improve compatibil...
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

15 years agoadd wxAppConsoleBase::OnEventLoopEnter/Exit callbacks; add wxEventLoopBase::IsMain...
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

15 years agodocument wxPolygonFillMode
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

15 years agono real change: just group functions in a logic manner
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

15 years agodon't call Refresh(empty-rect) unnecessarily
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

15 years agotry to clear the device/logical unit fog; remove unused and unsupported (an assertion...
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

15 years agorevise all code; do not use many global objects; use wxLog to give errors/messages...
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

15 years agoUpdate compile configuration for OpenVMS
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

15 years agoRemove no longer necessary re-entrancy check, fix function prototype definition for...
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

15 years agofix handling of long lines in wxGridCellAutoWrapStringRenderer
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

15 years agoFix for deprecated constructor issues, setting a function without a body as inline...
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

15 years agofocus fixes for wxAUINotebook (fixes #4361)
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

15 years agorender <TH> contents in bold, as all the browsers do
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

15 years agoTurn off the annoying beep when a key down is passed all the way up the handler chain.
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

15 years agoremove non-existent wx/msw/datecontrols.h from files.bkl (it's a private file and...
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

15 years agoadd wx/persist/*.h files
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

15 years agofix (harmless) warnings in release mingw32 build
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

15 years agocorrect the coordinates used for DIBs in StretchBlt() (closes #10501)
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

15 years agoavoid integer overflow when computing the radius in DoDrawArc() (see #10494)
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

15 years agono changes, just update the copyright in the header
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

15 years agoadd accessors for sockaddr to wxSockAddress (closes #10511)
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

15 years agoQuick fix to prevent a crash when running on 10.4.
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

15 years agoadd public wxXmlResource::GetResourceNode() which can be used directly instead of...
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