Commit Graph

25916 Commits

Author SHA1 Message Date
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
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
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
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
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
41fb347540 correct Id tags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-19 13:30:34 +00:00
Robert Roebling
2f21b2be1b Forgot DeleteChildren()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-19 11:53:34 +00:00
Robert Roebling
e700e2964b Move model notification code of tree store from the store to the control, implement Insert() methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-19 11:42:54 +00:00
Vadim Zeitlin
089e95217e fix OS/2 compilation of wxDoGetCwd()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-19 11:42:03 +00:00
Vadim Zeitlin
1f73290186 use correct value for MTU - sizeof(TCP header)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-18 23:00:06 +00:00
Robin Dunn
861eef72aa destroy the abort dialog when done with it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-18 21:33:21 +00:00
Robert Roebling
fc1e45d95b Really set standard cursor when over title bar and decos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-18 20:37:31 +00:00
Jaakko Salli
b5b3c8a0cf Translate keycode(s) into character more consistenly in wxVListBoxComboPopup::HandleKey() (fixes #10395)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-18 19:57:23 +00:00
Vadim Zeitlin
c76fb54570 move ClassRegInfo out from anonymous namespace to work around mingw32 4.3 bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-18 18:49:23 +00:00
Stefan Csomor
54f1106086 mouse and cursor additions for cocoa, see #10361
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-18 16:10:46 +00:00
Vadim Zeitlin
9b66a1d31a compilation fix for old SDKs (VC6...) which don't define HDM_SETBITMAPMARGIN/Header_SetBitmapMargin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-18 15:09:52 +00:00
Vadim Zeitlin
9485b24f43 reduce the margins around bitmaps to avoid truncating the label unnecessarily
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-18 14:23:19 +00:00
Julian Smart
ad60f9e7b6 Workaround for GTK+ sensitivity bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-18 12:34:23 +00:00
Jaakko Salli
9667d393a8 Fixed bug: splitter was not drawn for nested categories
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-18 08:20:04 +00:00
Robert Roebling
80e8b5de77 Fix scrolled window bug when reducing the virtual size when being scrolled maximally down corrupted the display due to excess scrolling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 21:42:17 +00:00
Stefan Csomor
94929e7b60 fixing screen coordinate transformation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 18:58:05 +00:00
Stefan Csomor
0dc8fac22b fixing include style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 18:57:20 +00:00
Jaakko Salli
31f0b4831e Fix wxEnumProperty unspecified value by taking it into account in GetIndex()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 17:50:57 +00:00
Stefan Csomor
6ae55c76d8 missing commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 17:32:53 +00:00
Stefan Csomor
ccd5d46c7b fixing dangling includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 13:38:04 +00:00
Jaakko Salli
7e32a85533 Fixed relaying of wxEVT_MOUSEWHEEL to popup control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 13:29:27 +00:00
Vadim Zeitlin
fa97ee2490 implement wxTreeCtrl::ItemHasChildren() properly for virtual root item; added unit test for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 13:16:25 +00:00
Vadim Zeitlin
3faece9438 define [us]ptr_t properly for mingw64 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 11:52:59 +00:00