Commit Graph

36067 Commits

Author SHA1 Message Date
Robert Roebling
1e8dba5e29 Made MSW wxSpinCtrl emit UPDATE event when validating
the value in the text field upon kill focus.
 Documented this behaviour.
 This is in line with the GTK+ control.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 14:15:14 +00:00
Vadim Zeitlin
1a27de8838 corrected ifdef condition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 13:15:58 +00:00
Jamie Gadd
ffabb347f9 Fix label positioning when text is LTR.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 12:05:49 +00:00
Julian Smart
24964201d5 Reverted last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 08:17:13 +00:00
Václav Slavík
d18a706166 last change broke seting the surface in the common case, fixed (and reorganized the code a bit)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 08:09:51 +00:00
Robert Roebling
0bb3fc29c3 Fixed [ 1556843 ] wxGTK FindFocus returns NULL when a wxListBox is focused
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 08:08:53 +00:00
Kevin Ollivier
0d2d29b16a Improved handling of column widths, removed need for hidden column for sorting, and put in a stub for editing support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 22:09:41 +00:00
Robert Roebling
714dfaa6fb Fixed [ 1558015 ] No deselection event from wxGenericTreeCtrl::SelectItem()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 18:18:26 +00:00
Robert Roebling
d9d2dcd873 More tests for circles and arcs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 17:58:22 +00:00
Robert Roebling
9707fd13ba Fixed [ wxwindows-Bugs-1556877 ] Draw arcs are showed like a pie
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 17:56:27 +00:00
Robert Roebling
129c8cf352 [ 1557284 ] wxGenericComboControl -> wxGenericComboCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 17:29:45 +00:00
Robert Roebling
ce22ac4592 1552971 ] Add flag for wxODComboBox::OnDrawItem to indicate selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 17:16:50 +00:00
Kevin Ollivier
e42667e599 Handle cases where an index larger than GetItemCount() is passed into InsertItem.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 17:08:36 +00:00
Julian Smart
3966a9f4f8 Better compatibility between wxRichTextCtrl and wxTextCtrlBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 17:06:54 +00:00
Włodzimierz Skiba
762ad18553 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 16:30:15 +00:00
Włodzimierz Skiba
c744d3f862 'configtool' removal.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 15:37:21 +00:00
Václav Slavík
736ce0f79c fixed shutdown crashes after recent handlers creation changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 15:22:39 +00:00
Václav Slavík
4dc9a81d7e fixes to wxWindowDC flipping+clipping when painting on hidden windows or windows not being painted at the moment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 14:14:21 +00:00
Julian Smart
96c9f0f677 Corrections to take into account that range in the API has an end position
that is 1 more than the last affected position


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 13:47:32 +00:00
Václav Slavík
7807a2b499 fixed TLWs resizing to invalidate the DFB surface used for painting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 13:07:46 +00:00
Jouk Jansen
f97d937077 Include "xrc" support properly for OpenVMS
Modified Files:
	wxWidgets/descrip.mms wxWidgets/setup.h_vms
 	wxWidgets/lib/VMS_GTK2.OPT wxWidgets/lib/VMS_X11_UNIV.OPT
 	wxWidgets/lib/vms_gtk.opt wxWidgets/src/common/descrip.mms
 	wxWidgets/src/generic/descrip.mms
 	wxWidgets/src/gtk1/descrip.mms wxWidgets/src/motif/descrip.mms
 	wxWidgets/src/xrc/descrip.mms
 Added Files:
 	wxWidgets/samples/xrc/descrip.mms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 11:59:21 +00:00
Vadim Zeitlin
c403693947 add if wxUSE_NOTEBOOK around notebook-only renderer methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 11:40:40 +00:00
Mart Raudsepp
4eb8ef2d43 Fix a few warnings that appear with -Wextra (unused parameters where WXUNUSED is already used for other parameters
for the same function, and some GTypeInfo initializations)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 11:35:41 +00:00
Robert Roebling
2121eb69fa Another RTL fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 10:42:42 +00:00
Robert Roebling
61961a3cdf Give wxGrid its own string name for easier debugging.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 10:28:23 +00:00
Robert Roebling
bf6c0db624 Fix scrolling bug where client size was reported wrong
when the scrollbar size was not subtracted when
    using a targetwindow != this.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 10:22:20 +00:00
Vadim Zeitlin
8930b2ed1e rebaked after listctrl/imagelist and wxUniv changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 23:26:55 +00:00
Vadim Zeitlin
147b8a4ab5 refactor some existing themes methods in a new base wxStdRenderer class (before adding a new theme)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 23:09:42 +00:00
Vadim Zeitlin
9cd7a3f700 use native wxImageList for wxUniv, it's a low level class and so it doesn't make sense to always usegeneric version (also fixes wxUniv build broken by recent changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 23:06:35 +00:00
Robert Roebling
615b7e6ab0 More wxGrid RTL things.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 21:02:09 +00:00
Robert Roebling
01f512d7fc Fix compilo under MINGW32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 21:00:29 +00:00
Robin Dunn
2614da437c Kevin's prefered way to do the last fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 20:41:08 +00:00
Robin Dunn
ddb2cbee44 Use wxListCtrlNameStr for the generic control too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 20:39:41 +00:00
Robin Dunn
6a223074d3 docstrings and other minor tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 19:44:21 +00:00
Robin Dunn
e2b79cc98f revert last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 19:15:12 +00:00
Robin Dunn
72bc14da9d Add a couple missing methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 19:14:02 +00:00
Robin Dunn
bd6412b6d0 Don't unconditionally include the generic headers, fixes build
problems on Windows.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 19:13:11 +00:00
Robin Dunn
f1460f5b23 minor demo tweak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 15:26:09 +00:00
Robin Dunn
8c16f80618 Don't turn off the HAS_BUTTONS stle on wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 15:25:30 +00:00
Robert Roebling
bcb614b328 More RTL work. Now transform m_updateRegion and
do nothing special in IsExposed() since some
   code may use m_updateRegion directly. Keep
   untransformed version around for use with
   GTK clipping in the DC.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 14:29:16 +00:00
Robert Roebling
3b5bf82893 Draw 2-pixel width rectangle ourselves, the
X11 code leaves one pixel white (?) and
    looks differently positioned in RTL.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 13:20:08 +00:00
Stefan Csomor
2a81538d69 fixing notifications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 12:17:34 +00:00
Václav Slavík
5942996c94 basic blitting implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 11:20:58 +00:00
Julian Smart
11ea1abfa0 Removed rogue continue statement (bug 1560636)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 10:59:28 +00:00
Stefan Csomor
50d8f02279 fixed crash when no status bar is present, conditionals around optional parts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 07:52:49 +00:00
Kevin Ollivier
8a3e173a02 Remove duplication in wxImageList defines and always default to using the native wxImageList when available, even for wxGenericListCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 04:41:09 +00:00
Kevin Ollivier
f418332658 Fixing compilation on Mac, and attempting to better calculate the bottom position for the toolbar. However, this is not completely fixed and needs more work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 02:39:36 +00:00
Robert Roebling
31a8bf3fbf [ 1521481 ] wxPathList modernization
Applied part II.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 11:58:12 +00:00
Robert Roebling
5b2acc3a4f [ 1550698 ] Bottom aligned toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 11:51:08 +00:00
Robert Roebling
982a6623f7 [ 1558691 ] wxPNGHandler: Preserve palette
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 11:43:17 +00:00