Commit Graph

22707 Commits

Author SHA1 Message Date
Chris Elliott
b5d6d28172 fix as per http://article.gmane.org/gmane.comp.lib.wxwindows.general/64255
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-22 16:07:58 +00:00
Stefan Neis
beabe005be Added wxSingleInstanceChecker for OS/2 (patch #10491).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-21 13:53:19 +00:00
Julian Smart
34a76eb481 Added licensing information
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-18 15:58:25 +00:00
Francesco Montorsi
4a7f0351fc always NUL-terminate the m_szFlags buffer; add test for %*s case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-18 15:49:09 +00:00
Stefan Csomor
2e70f5211e adding bitmap button version for colour picker, used by setting wxCLRBTN_USES_BMP_BUTTON to 1, off by default also on Mac for binary compat reasons.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-17 13:31:28 +00:00
Stefan Csomor
940037ca8b fixing typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-17 05:35:46 +00:00
Stefan Csomor
35833b845b fixing retain semantics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-16 10:59:55 +00:00
Stefan Csomor
d307d7762a fixing missed refreshes under 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-16 09:16:42 +00:00
Stefan Csomor
50ed678e3a paint event was missing the id, Connect not working for this otherwise
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-13 17:38:28 +00:00
Stefan Csomor
da76d8c2db porting back support for GetSelection(from,to)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-13 16:06:13 +00:00
Stefan Csomor
c7969d8feb support for collate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-13 16:05:12 +00:00
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