Commit Graph

22696 Commits

Author SHA1 Message Date
Benjamin Williams
59ad790cd7 fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-12 22:47:27 +00:00
Benjamin Williams
125eedc1f0 maximize pane should ignore floating windows (#4066)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-12 22:42:10 +00:00
Václav Slavík
4d84b89293 compilation fix for wxABI_VERSION < 20808 (fixes #10493)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-12 19:38:20 +00:00
Vadim Zeitlin
82c8e585f4 add _T() to fix compilation after the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 14:55:44 +00:00
Vadim Zeitlin
f463e5c62a don't reuse the double click handled in activation event handler for toggling the item [backport of r57025 from trunk] (closes #9761)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 10:32:23 +00:00
Vadim Zeitlin
87908d388c don't generate EVT_LISTBOX_DCLICK events with incorrect indices [backport of r58405 from trunk] (closes #10429)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 10:29:09 +00:00
Vadim Zeitlin
e3646f4afd fix repaining of highlight for merged cells [backport of r55630 from trunk] (closes #9718)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 10:23:19 +00:00
Vadim Zeitlin
d166aa7c16 change not only the focus but also last remembered TLW focus in SetValue() to avoid focus being reset to the wrong radio button when TLW regains activation [backport of r54453 and r54454 from trunk] (closes #9676)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 10:17:47 +00:00
Vadim Zeitlin
ad651ebc3c do case normalization after long path one, this fixes the problem with incorrect paths case under Vista [backport of r53732 from trunk] (closes #9162)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 10:05:28 +00:00
Vadim Zeitlin
13bc685813 don't load comctl32.dll, just get the handle of the already loaded instance of it instead [backport of r56863 and r57405 from trunk] (closes #10203)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 10:01:03 +00:00
Vadim Zeitlin
a8e888b0c0 translate (c) and (C) to \u00a9 in wxAboutDialog [backport of r57245, r57514 and r57840 from trunk] (closes #4216)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 09:46:03 +00:00
Vadim Zeitlin
36523e69b4 use bitmap mask if any in splash screen (closes #10470)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 09:16:50 +00:00
Vadim Zeitlin
3f4b3f42cc don't access 0th element of an empty string, this throws an exception in wxUSE_STL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 22:03:30 +00:00
Stefan Csomor
fa99eaeaed correct shortcuts on mac, fixes #10464
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-02 05:12:43 +00:00
Stefan Csomor
66ddd74d23 guarding against events sent to semi-destroyed instances, fixes #10418
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 08:01:41 +00:00
Vadim Zeitlin
adf8a83f4f correct wxDateTime DST begin/end computations for years > 2006 in USA (closes #10425)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-28 21:52:37 +00:00
Bryan Petty
96134e5341 Check for null text control in wxPickerBase fixing a focus event crash on control deletion that will need to eventually be fixed, but this should be done anyway, and at least fixes wxFilePickerCtrl for now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-27 17:39:50 +00:00
Václav Slavík
e31dc22ee4 Automatically adjust toolbar's tool size if the provided bitmaps don't fit into the default size.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 23:32:16 +00:00
Vadim Zeitlin
efdd3d171c skip mouse events we're not interested in (e.g. mouse wheel ones) (closes #10062)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 14:45:52 +00:00
Vadim Zeitlin
1c8a2d1b92 zero {host,serv}ent_data before passing it to the system functions to avoid crashing (see #10332)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 12:45:29 +00:00
Vadim Zeitlin
9f403f22f8 take into account the controlling wxChoice size in GetBestSize() (closes #10394)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-24 14:12:59 +00:00
Bryan Petty
2e1ebd2d0b Fixed unicode build after r58272.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 22:16:16 +00:00
Vadim Zeitlin
13c766f651 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/branches/WX_2_8_BRANCH@58272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 17:02:11 +00:00
Julian Smart
ff0ac260ef 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/branches/WX_2_8_BRANCH@58256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 12:05:11 +00:00
Vadim Zeitlin
0af9ce687d fix OS/2 compilation of wxDoGetCwd()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-19 11:40:24 +00:00
Robin Dunn
7bd0064852 destroy the abort dialog when done with it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-18 21:31:36 +00:00
Jaakko Salli
991248b7f9 Translate keycode(s) into character more consistenly in wxVListBoxComboPopup::HandleKey() (fixes #10395)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-18 20:05:07 +00:00
Julian Smart
f4eed492a3 Further tweaks to GTK+ sensitivity fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-18 12:21:04 +00:00
Julian Smart
ca2c70db6f Workaround for GTK+ sensitivity bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 20:38:43 +00:00
Stefan Csomor
2739181bd1 simplifying code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 19:21:13 +00:00
Julian Smart
56511a5418 Fixed invisible CHM tooltip text bug when window text colour is black.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 16:18:01 +00:00
Stefan Csomor
dca07f802e supporting paper height, fixes #10376
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 11:55:37 +00:00
Bryan Petty
60ce2c0f83 Initialize m_action_window to NULL in wxAuiManager ctor (fixes #10383).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 18:56:41 +00:00
Vadim Zeitlin
81e01e291a fix PCH-less build with wxUSE_URL_NATIVE (see #10338)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 12:45:22 +00:00
Vadim Zeitlin
1836055f40 add missing .c_str() (closes #10337)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 12:42:36 +00:00
Jaakko Salli
1c9c557162 Let wxVariantDataDateTime::Write() and Read() work with invalid dates (otherwise wxVariant::GetString() will assert when value is an invalid wxDateTime)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 17:27:53 +00:00
Paul Cornett
ec88b74105 return index of first added image in Add(), like MSW does, #10013
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 05:39:04 +00:00
Paul Cornett
7ab97504f3 use text cursor only when control is enabled, #10347
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 05:34:07 +00:00
Julian Smart
b759e7d3d0 Fixed [wxRichTextCtrl] Right Alignment sets text in the RTC too close to the border (#10277)
Also [wxRichTextCtrl] Wrong text positioning if different font sizes in the same paragraph (#10279)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 14:55:07 +00:00
Stefan Csomor
80061353ef menubar activation, fixes #10352
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 17:30:45 +00:00
Stefan Csomor
4d371eebfc removing Leopard only code that doesn't mix well with the existing Printing Manager, fixes #10343
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 10:01:11 +00:00
Robert Roebling
6360b8b1a0 Update allocation of all child widgets after scrolling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-08 12:30:10 +00:00
Stefan Csomor
ecea45123d clearing shortcuts, patch from Leland, fixes #10342
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 20:07:09 +00:00
Julian Smart
d8952b4413 Always use live sash update on Mac/CG since it can't paint the splitter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 15:58:53 +00:00
Julian Smart
04355fb016 Added wxAUI_MGR_LIVE_RESIZE flag for live sash sizing, the default on wxMac/CG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 14:51:49 +00:00
Julian Smart
6c03c30fe9 Fixed assert caused by incorrect number of flex grid sizer rows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 11:45:05 +00:00
Julian Smart
e8792bc2cf Don't use client DC yet for size feedback on Mac/CG or you'll get a smear. Better to have no feedback.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 09:24:50 +00:00
Julian Smart
26c1972f27 Workaround for _SetDstBlits32BGRA crash when compiling and running
on Leopard (happens in complex app but not in AUI sample)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-06 17:36:29 +00:00
Stefan Csomor
164c67c40f bringing ctrl and cmd accel handling for menus in line with pure key event handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-06 09:40:34 +00:00
Stefan Csomor
8e0e596965 using GetFont calls instead of direct accessors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-06 09:36:54 +00:00