Commit Graph

47848 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
22cb31398e another missing WXDLLIMPEXP to fix DLL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-26 14:15:20 +00:00
Jouk Jansen
fec34ef52d Updating OpenVMS compile configuration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-26 07:24:25 +00:00
Václav Slavík
04ae32cdab 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
2009-02-26 00:17:23 +00:00
Václav Slavík
acd32ffcdb 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
2009-02-26 00:13:03 +00:00
Vadim Zeitlin
574e1c5a03 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
2009-02-25 23:41:29 +00:00
Vadim Zeitlin
0330301cb3 compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-25 23:27:07 +00:00
Vadim Zeitlin
936525578d 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
2009-02-25 23:02:53 +00:00
Vadim Zeitlin
a405cd89a2 compilation fix after the previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-25 21:12:47 +00:00
Vadim Zeitlin
c84d128369 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
2009-02-25 21:04:45 +00:00
Vadim Zeitlin
038d59e979 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
2009-02-25 21:01:53 +00:00
Vadim Zeitlin
4e4e06e349 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
2009-02-25 21:01:19 +00:00
Vadim Zeitlin
5293e4b710 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
2009-02-25 17:43:22 +00:00
Francesco Montorsi
ec38d07d03 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
2009-02-25 13:23:12 +00:00
Francesco Montorsi
808f5a3aac document wxPolygonFillMode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-25 13:12:09 +00:00
Francesco Montorsi
e399549343 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
2009-02-25 13:10:25 +00:00