Commit Graph

47223 Commits

Author SHA1 Message Date
Vadim Zeitlin
02221dcb0a fix problem with using wxEVT_SPIN in event tables after new events patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 22:32:05 +00:00
Vadim Zeitlin
b8517209f2 use standard [Shift-]Ctrl-Z accelerators for wxID_REDO/UNDO
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 18:51:35 +00:00
Robert Roebling
9deec11183 Add drop hint
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 18:20:51 +00:00
Bryan Petty
a90280fe1a Applied minor documentation corrections to wxRegKey from charles (fixes #10407).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 18:04:37 +00:00
Robert Roebling
81a1c6869e Call SetDataSource() from OnEnter() so that querying/accessing the data is possible from then on, rename to MSWxxx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 17:44:55 +00:00
Vadim Zeitlin
055400c94e disable wxUSE_MEDIACTRL when wxUSE_ALL_FEATURES==no (closes #10415)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 17:26:25 +00:00
Vadim Zeitlin
00aa89f498 fix compilation (but not working) of the code in wxUSE_FILESYSTEM==0 case (see #10414)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 17:08:20 +00:00
Vadim Zeitlin
fa951ebd37 fix compilation with wxUSE_SPIN{BTN,CTRL}==0 (closes #10413)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 17:05:00 +00:00
Vadim Zeitlin
62e3e6c2bc fix wxURI::GetUser() for URIs without password; added unit test case for it (closes #10412)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 17:02:11 +00:00
Paul Cornett
d81b2f54cc don't use m_backing_window, it can't be drawn on
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 16:58:06 +00:00
Vadim Zeitlin
6fa6d65956 allocate size for the extra controls in the file dialog (#9679)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 15:32:02 +00:00
Vadim Zeitlin
14fd5e968b really fix compilation in !wxUSE_LOG_DIALOG case (still #10411)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 15:26:05 +00:00
Robert Roebling
05527158e5 Use wxDF_UNICODETEXT to make wxMSW crash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 15:14:33 +00:00
Robert Roebling
e90d2e8339 Reinitialise wxDataViewCustomRenderer's DC every time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 15:04:04 +00:00
Robert Roebling
11f20f99ee iter = NULL in iter_n_children() means root
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 14:53:50 +00:00
Vadim Zeitlin
f946f8bb9c fix compilation in !wxUSE_LOG_DIALOG case (closes #10411)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 14:49:02 +00:00
Vadim Zeitlin
81496fea46 add more wxUSE_XXX checks to allow compilation with some wx features disabled (closes #10410)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 14:47:45 +00:00
Robert Roebling
b4c409189d Copy and paste error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 14:39:39 +00:00
Robert Roebling
a653c966d4 Implement simple Drop, doesn't work under wxMSW (?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 14:02:44 +00:00
Robert Roebling
51c9c13c05 Add wxDataFormat GetMatchingPair() which wxGTK and wxMSW already had under different names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 14:01:31 +00:00
Vadim Zeitlin
d8efd2198f added wxStandardPaths::GetAppDocumentsDir() and use it by default for loading/saving documents in wxDocManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 14:01:30 +00:00
Robert Roebling
0cdbed4cfa Compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 13:59:35 +00:00
Julian Smart
e9f1000463 wxRTC now properly honours margin size
Added wxRE_CENTRE_CARET style to centre the caret line vertically


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 12:06:21 +00:00
Julian Smart
3e84eb5fa2 Restore control focus after adaptation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 11:48:53 +00:00
Robert Roebling
1fe91d7098 Give GTK specific (but public) methods a Gtk prefix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 11:36:28 +00:00
Vadim Zeitlin
a79a6671e4 send destroy events for children before they're fully destroyed; document SendDestroyEvent() and explain when to call it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 00:14:30 +00:00
Vadim Zeitlin
5ab2f2575d make sure events are enabled in DoWait() before starting to wait for them (closes #10396)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-20 23:53:35 +00:00
Robert Roebling
592883ed7e Implement simple drag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-20 19:57:54 +00:00
Robert Roebling
ce2fe79863 FindNode() must return m_root for wxDataViewItem(0)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-20 19:43:58 +00:00
Robert Roebling
821baf7da4 Skeleton for generic Drag code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-20 19:04:03 +00:00
Vadim Zeitlin
c6212a0cb7 set m_isBeingDeleted to true (only) in SendDestroyEvent(); call it as early as possible during the window destruction to ensure that destroy event handlers can still access the full window object
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-20 18:33:33 +00:00
Paul Cornett
8c2654ce3d build fixes and cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-20 17:50:51 +00:00
Kevin Ollivier
02f07b1980 Restore fixes needed for wxRenderer functions to work with wxGCDC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-20 17:37:00 +00:00
Stefan Csomor
19c7ac3d3b streamlining slider, scroller, spinbutton for osx carbon and cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-20 14:27:26 +00:00
Robert Roebling
9623be70d0 Typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-20 13:54:26 +00:00
Robert Roebling
d0a0c6e36a Minor error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-20 13:54:06 +00:00
Robert Roebling
e4de825ee6 Add event based Drop API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-20 13:46:21 +00:00
Robert Roebling
8cf30134cd Forgot this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-20 12:49:00 +00:00
Robert Roebling
591cc82deb Simplified event based Drag API for wxDataViewCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-20 11:58:52 +00:00
Robert Roebling
8c33ee2549 Docuement wxDataObject::IsSupported()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-20 11:42:01 +00:00
Robert Roebling
15cac64f75 New eventb based Drag interface for wxDataViewCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-19 22:27:06 +00:00
Jouk Jansen
304a807af9 Update compile support for OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-19 20:29:32 +00:00
Vadim Zeitlin
a7132f4b4b no changes, just added a clarifying comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-19 16:28:18 +00:00
Robert Roebling
7ff27f31ea remove comment recommending (wxWindow*) NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-19 14:49:41 +00:00
Robert Roebling
95b20f41b6 Rename XxxxCol() -> XxxxColumn() and resolve inheritance problems from it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-19 14:44:47 +00:00
Vadim Zeitlin
8653e1e780 use basetsd.h for non-MSVC compilers (including mingw32 too), replaces the previous fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-19 14:43:09 +00:00
Vadim Zeitlin
952555f7b1 compilation fix after NULL cast removal; also used it to get rid of an ugly OnTimerEvent(*(wxTimerEvent *)NULL) call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-19 14:40:13 +00:00
Vadim Zeitlin
fa00c4e3ba return true from HasPending() if we have at least 1 event, not exactly 1 (closes #10397)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-19 13:55:55 +00:00
Vadim Zeitlin
d3b9f782ef don't use annoying and unneeded in C++ casts of NULL to "T *" in all other files neither
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-19 13:55:27 +00:00
Vadim Zeitlin
c23b255ab4 don't use annoying and unneeded in C++ casts of NULL to "T *"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-19 13:39:25 +00:00