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
Vadim Zeitlin
021f9dee07
added wxDECLARE_NO_COPY_TEMPLATE_CLASS_2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-27 11:36:10 +00:00
Julian Smart
f51723055a
Fixed wxRichTextCtrl base class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-27 10:54:12 +00:00
Vadim Zeitlin
2d8c0c2ce4
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
2009-02-27 10:21:38 +00:00
Julian Smart
492d6611d4
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
2009-02-27 09:00:48 +00:00
Stefan Csomor
8cbc59fe84
applying patch, fixes #10523
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-27 05:27:38 +00:00
Stefan Csomor
c3e433b159
applying patch, fixes #10524
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-27 05:23:22 +00:00
Jaakko Salli
bb2e05cf28
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
2009-02-26 19:35:46 +00:00
Jaakko Salli
4584344296
wxPropertyGrid::IsEditorFocused() is now public
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-26 19:00:46 +00:00
Vadim Zeitlin
36835e02e3
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
2009-02-26 18:59:03 +00:00
Vadim Zeitlin
8cc208e39f
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
2009-02-26 16:16:31 +00:00
Vadim Zeitlin
531cfed2d1
added wxDEPRECATED_BUT_USED_INTERNALLY_INLINE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-26 16:10:50 +00:00
Vadim Zeitlin
cd60273b3d
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
2009-02-26 15:24:03 +00:00