Commit Graph

47875 Commits

Author SHA1 Message Date
Vadim Zeitlin
805c8d92b9 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
2009-03-02 20:43:12 +00:00
Francesco Montorsi
d7612120de 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
2009-03-02 20:41:08 +00:00
Kevin Ollivier
7da00c46e1 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
2009-03-02 20:11:39 +00:00
Francesco Montorsi
191e43fd02 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
2009-03-02 20:09:10 +00:00
Vadim Zeitlin
00c89b2207 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
2009-03-02 19:28:44 +00:00
Vadim Zeitlin
33b3ade503 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
2009-03-02 19:17:42 +00:00
Kevin Ollivier
d12ba8b022 Rebake after OS X Cocoa header changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 18:30:23 +00:00
Kevin Ollivier
18888a063e 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
2009-03-02 18:23:02 +00:00
Kevin Ollivier
0b9dcf0ad0 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
2009-03-02 18:08:28 +00:00
Vadim Zeitlin
d0a22afc38 build fix: define DoGetValue() and GetEditableWindow()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 16:23:55 +00:00
Vadim Zeitlin
586a789446 compilation fix after GetEditableWindow() signature change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 16:22:30 +00:00
Vadim Zeitlin
2805bdda51 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
2009-03-02 14:54:04 +00:00
Vadim Zeitlin
ed17f32923 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
2009-03-02 14:49:55 +00:00
Vadim Zeitlin
4ba5f250ea 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
2009-03-02 14:03:19 +00:00
Vadim Zeitlin
3373e90070 wxUniv compilation fixes after wxTextEntry::DoGetValue() change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 13:58:42 +00:00
Vadim Zeitlin
0208a9a31b fix overloaded virtual warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 13:45:09 +00:00
Vadim Zeitlin
135b23b266 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
2009-03-02 13:31:29 +00:00
Vadim Zeitlin
7bc7db450b set correct properties
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 12:40:38 +00:00
Vadim Zeitlin
63f7d5022e 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
2009-03-02 12:25:01 +00:00
Vadim Zeitlin
231728361c 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
2009-03-02 12:10:40 +00:00
Vadim Zeitlin
9fa83f9318 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
2009-03-02 11:51:28 +00:00
Francesco Montorsi
e10539a9f0 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
2009-03-01 21:01:39 +00:00
Francesco Montorsi
a3fc1c9455 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
2009-03-01 21:00:57 +00:00
Francesco Montorsi
747199de1a 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
2009-03-01 20:35:07 +00:00
Francesco Montorsi
01a65e7c58 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
2009-03-01 17:21:46 +00:00
Francesco Montorsi
88c87a11a8 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
2009-03-01 16:53:53 +00:00
Francesco Montorsi
92c32bbee7 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
2009-03-01 16:46:49 +00:00
Francesco Montorsi
f8d0234d39 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
2009-03-01 16:09:44 +00:00
Francesco Montorsi
e6f1eb5622 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
2009-03-01 15:53:42 +00:00
Francesco Montorsi
e8f3bf98d0 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
2009-03-01 15:47:49 +00:00
Chris Elliott
2140f27355 avoid error of menu with zero ID
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-01 15:03:02 +00:00
Francesco Montorsi
0e40db5585 remove old and outdated tech notes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-01 15:02:11 +00:00
Francesco Montorsi
4290e8ed3b 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
2009-03-01 14:31:41 +00:00
Vadim Zeitlin
02b94f4e73 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
2009-03-01 12:27:31 +00:00
Vadim Zeitlin
2e7789a933 document wxTextEntry
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-01 12:23:31 +00:00
Vadim Zeitlin
8e1a01e475 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
2009-03-01 11:59:50 +00:00
Robert Roebling
ec2f175241 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
2009-02-28 17:30:41 +00:00
Robert Roebling
ba86da30cf 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
2009-02-28 17:22:35 +00:00
Bryan Petty
215e1b4736 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
2009-02-28 17:08:00 +00:00
Vadim Zeitlin
5baee1f4bf 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
2009-02-28 15:54:04 +00:00
Vadim Zeitlin
4e916e61ea 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
2009-02-28 15:49:10 +00:00
Kevin Ollivier
9d5cfd0e64 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
2009-02-28 00:19:59 +00:00
Vadim Zeitlin
73bde1ef25 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
2009-02-27 20:25:20 +00:00
Vadim Zeitlin
acf4541b7b Turkish translation update from Hakkı Doğusan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-27 18:09:45 +00:00
Julian Smart
128fae4632 Compile fix under wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-27 17:15:57 +00:00
Francesco Montorsi
4623dc32fc add references to OnEventLoopEnter/Exit callbacks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-27 14:49:00 +00:00
Francesco Montorsi
d455444a8b fix doxygen warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-27 14:48:27 +00:00
Francesco Montorsi
0e1e143d54 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
2009-02-27 14:41:48 +00:00
Vadim Zeitlin
27d77a5990 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
2009-02-27 13:12:25 +00:00
Vadim Zeitlin
a9e2e6e52b 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
2009-02-27 12:24:03 +00:00