Compare commits

...

8730 Commits

Author SHA1 Message Date
Chris Elliott
8534901ab1 tag revision 2.8.10
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/tags/WX_2_8_10@59585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-17 11:41:48 +00:00
Chris Elliott
487c255ad4 for 2.8.10
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-06 08:46:40 +00:00
Julian Smart
7264e9a13d Don't set a large minimum pane size; the splitter should take account of the
minimum size anyway. Having a large minimum size (for both panes) can cause
problems when both panes are small.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-05 15:54:25 +00:00
Julian Smart
4312d124eb Prevent the splitter sash being set smaller than minimum size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-05 15:44:24 +00:00
Bryan Petty
acf0714a67 Merged r59317 from trunk: More wxWindows -> wxWidgets updates (mostly URLs and mailing list addresses).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-04 19:12:53 +00:00
Vadim Zeitlin
1dac3cb00c fix old font size restoration in DoGetTextExtent() [backport of r56791 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-03 10:34:35 +00:00
Vadim Zeitlin
e269da69af update to Dutch translations from Gideon van Melle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 11:51:28 +00:00
Václav Slavík
2b2532d0ae fixed compiler warning about struct/class mismatch (fixes #10534)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 10:43:00 +00:00
Chris Elliott
8dc15a3207 fix as per thread from http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/111645
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-01 13:15:04 +00:00
Vadim Zeitlin
59214a529e don't use mbstowcs(NULL) with Cygwin (closes #10526)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-28 19:34:30 +00:00
Vadim Zeitlin
2175a98d7c mark alpha as being static if data is static too (closes #10525) [backport of r57528 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-28 15:44:53 +00:00
Vadim Zeitlin
7943d0c498 Turkish translation updated [backport of r59191 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-27 18:11:38 +00:00
Julian Smart
e76c939644 Corrected IMPLEMENT_CLASS/BEGIN_EVENT_TABLE base class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-27 08:56:42 +00:00
Kevin Ollivier
81a7515f07 Fix ordering.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-26 19:04:21 +00:00
Kevin Ollivier
c13b375d60 Adding new symbols needed for wxGraphicsBitmap support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-26 17:55:17 +00:00
Chris Elliott
eff8d6676c update for 2.8.10-rcX with bakefile 0.2.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-26 11:46:57 +00:00
Vadim Zeitlin
a387e1861f added wxAboutDialog::GetCopyrightToDisplay()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-26 10:59:01 +00:00
Vadim Zeitlin
4f1a25e2e2 rebake after WX_AGE change in build/bakefiles/version.bkl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-26 10:56:37 +00:00
Vadim Zeitlin
02b050d33e correct WX_AGE after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-26 10:51:53 +00:00
Chris Elliott
95b0440c91 update for 2.8.10-rcX with bakefile 0.2.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-26 09:32:29 +00:00
Chris Elliott
f0bc6d38f9 update for 2.8.10-rcX with bakefile 0.2.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-26 09:29:57 +00:00
Julian Smart
089e2370e6 Fixed symbol
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-26 08:02:30 +00:00
Vadim Zeitlin
07c18710a3 fix handling of long lines in wxGridCellAutoWrapStringRenderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-25 00:09:23 +00:00
Benjamin Williams
b3069defb2 focus fixes for wxAUINotebook (fixes #4361)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-24 18:37:01 +00:00
Bryan Petty
ff51d5a8cd Blind fix for crash when undocking AUI toolbars (#10371 and #10516).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-23 18:28:05 +00:00
Vadim Zeitlin
3860d4fa2b fix some buffer overflows (closes #10500)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-23 11:51:34 +00:00
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
Jaakko Salli
b1bcba1370 Fixed documentation of wxComboPopup::m_combo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-22 08:52:07 +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
Chris Elliott
8c83a06dcc use correct form of rtf for making PDF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-20 12:47:48 +00:00
Chris Elliott
19a575d6e9 use correct form of rtf for making PDF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-20 12:26:16 +00:00
Chris Elliott
bc134bdbd0 add missing macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-20 10:37:10 +00:00
Chris Elliott
4ed33956e1 missing backticks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-20 10:23:46 +00:00
Chris Elliott
5bedd2a85f moved bakefile_gen.exe
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-20 09:27:15 +00:00
Chris Elliott
0e313f3eb1 rc2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-20 08:58:17 +00:00
Chris Elliott
2151cce9a4 rc2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-20 08:56:53 +00:00
Julian Smart
0cfb0d905c Added licensing information
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-18 15:59:37 +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
Chris Elliott
b57c871024 as 58942 .svn not CVS files should be skipped
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-16 10:11:15 +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
Vadim Zeitlin
f0978a3a35 suppress the warning about deleting flags which hadn't been added with bakefile 0.2.5 [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-15 17:44:24 +00:00
Vadim Zeitlin
3293141ef4 backport bakefile M4 files from the trunk (they correspond to 0.2.5) and regenerated configure to use them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-15 15:31:47 +00:00
Chris Elliott
86e6edcdb4 fix tex2rtf processing (it could not access the same file twice)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-13 20:23:15 +00:00
Chris Elliott
6ad1aaea89 fix tex2rtf processing (it could not access the same file twice)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-13 20:23:03 +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
Stefan Csomor
fdcd74bfd4 adding missing ABI guard (SN)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-13 14:13:53 +00:00
Chris Elliott
e0d9498a6c update for 2.8.10-rc1 with bakefile 0.2.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-13 10:52:04 +00:00
Chris Elliott
60a1267929 update for 2.8.10-rc1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-13 09:18:23 +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
Chris Elliott
e0264d5d02 fix as in http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/109677/match=2.8+branch+bug+mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-12 17:55:39 +00:00
Julian Smart
477ce1a138 Fix for wxRichTextRange::!=
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-12 10:16:07 +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
490426ce32 fix other insert() overloads to work when inserting at the end of the list, continuation of r56299 (see #10103)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 23:46:53 +00:00
Vadim Zeitlin
672c426cdf fix insert(end()) [backport of r56299]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 23:37:13 +00:00
Vadim Zeitlin
729efd1077 removed wrong check from splice(it, list, first)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 23:23:49 +00:00
Vadim Zeitlin
990168e923 fix wxList::erase(it, end()) in non-STL build (see #10103)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 23:10:56 +00:00
Vadim Zeitlin
455f81ac36 use DECLARE_LOCAL_EVENT_TYPE for our custom event, we don't need to export it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 22:51:03 +00:00
Vadim Zeitlin
c406bd63ff fix Insert(iterator, T) in STL build [backport of r57290 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 22:09:22 +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
Václav Slavík
2174a8f4c8 wxrc: fix incorrectly generated code with --extra-cpp-code (fixes #9631)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 19:36:28 +00:00
Jaakko Salli
a783383c7d Added useful comment to a code sample snippet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-04 17:56:42 +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
Francesco Montorsi
71f246dfeb add the expected ABI for wxWidgets 2.8.10
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 19:50:20 +00:00
Francesco Montorsi
a00dee1c36 backport of r58600
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 17:19:25 +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
01154d688b Quick 2.8 branch Unicode build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-27 19:19:40 +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
0e15ad7d4d disable test which doesn't compile in STL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 12:59:01 +00:00
Chris Elliott
86e11a6376 prepare fo immenient release of watcom 1.8 (uses bakefile diff http://www.bakefile.org/changeset/1280 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 11:44:21 +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
40eadc76ec don't use _() in the public header in case WXINTL_NO_GETTEXT_MACRO is defined (closes #10132)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 14:40:43 +00:00
Vadim Zeitlin
3bb1213dbe fix a buffer overflow (#9596)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 12:48:40 +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
Francesco Montorsi
95a56e2aea add missing wxABI_VERSION checks for previously-committed wxAnimation ctors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-24 10:00:38 +00:00
Francesco Montorsi
4eb5b738b0 add default explicit ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-22 15:53:57 +00:00
Francesco Montorsi
4b0b232b3b add the wxAnimation ctor which was documented but not present (backport of r52640 from trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-22 15:28:26 +00:00
Bryan Petty
339f33bc4a Quick 2.8 latex docs fix (properly escape &).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 23:47:51 +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
Robin Dunn
4f8bdcc05e Remove the wx-addons package
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-18 21:16:23 +00:00
Robin Dunn
e4d89c457b Use "test" for borne shell compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-18 20:46:33 +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
5e5e1badf5 Enable/disable both widgets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-18 12:29:22 +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
Vadim Zeitlin
e5ce33315f added missing textfile test to 2.8 branch too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 12:07:25 +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
Vadim Zeitlin
dfc2f3defa fix the size of bitmaps we create (re-closes #4563) [backport of r50895 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 19:12:20 +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
73d2bd8f21 copy constructors and assignement operators for wxGraphicsObject subclasses
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 18:46:48 +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
Julian Smart
bfbab2b822 Use own cursor implementation if Mac CG=1, since otherwise there are cursor
dropouts with more than one wxRTC


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-06 17:06:33 +00:00
Bryan Petty
3b18bb593b Replaced IsLocked with IsOk in 2.8 docs (was already fixed in trunk).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-06 16:37:14 +00:00
Chris Elliott
5fa870119d set default scales to 1.0 (as in baseDC)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-06 10:04:32 +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
0470eca64e fixing include type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-06 09:39:13 +00:00
Stefan Csomor
d37d5de4fd adding DefaultAttributes support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-06 09:38:39 +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
Stefan Csomor
e8aff59639 using GetFont calls instead of direct accessors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-06 09:34:07 +00:00
Paul Cornett
e86b7af93b backport r55463, fix for infinite loop when wxBeginBusyCursor is called from idle handler, #1547
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-05 03:42:39 +00:00
Stefan Csomor
2cdacc9a81 support for proper mouse events for controls embedded in native toolbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-04 13:57:18 +00:00
Paul Cornett
eb0778f870 fix header dependancy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-02 17:35:16 +00:00
Vadim Zeitlin
76f2c12ee5 update copyright year to 2009 (closes #10319)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-01 15:18:40 +00:00
Václav Slavík
b345605988 backported wxArtProvider::PushBack() to 2.8 so that one can write code compatible with both wx2.8 and wx3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-31 23:40:06 +00:00
Vadim Zeitlin
7e5ededcad don't set the boolean cell value to an invalid value "0" (2nd part of #10307)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 11:14:12 +00:00
Francesco Montorsi
6f3815c3a6 fix signature of wxRichTextAttr::Apply (closes #10278)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-29 15:31:18 +00:00
Vadim Zeitlin
d29206bfbb fix wxURL::GetInputStream() for URLs with special characters in credentials (closes #10265)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-25 17:03:20 +00:00
Vadim Zeitlin
cc05060c18 make colours used by list and tree controls more consistent with the system theme settings; also use the correct colour for the status bar (closes #10089)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-25 13:03:24 +00:00
Vadim Zeitlin
37cfa1218a avoid warnings about localtime() being deprecated from MSVC8/9 by just not using it from a header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-22 19:52:20 +00:00
Vadim Zeitlin
e027fe757f correct Serbian locale name: should be sr_RS, not sr_SR (fixes #10295)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-22 19:50:17 +00:00
Bryan Petty
aa17604d8d Fixed regression in r57474 (this is the 2.8 branch, not trunk, treat strings like so).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-22 06:26:40 +00:00
Vadim Zeitlin
9be232e7a9 fix wxTimeSpan::Format() for negative spans with 0 hour component (#10055)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-21 12:16:06 +00:00
Vadim Zeitlin
7e4d15d545 really fix the length of the string returned by wxConvertStringToOle() (#10056)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-21 02:57:06 +00:00
Vadim Zeitlin
2d7040cb00 add popup sample to the workspace (fixes #10162)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-21 02:44:00 +00:00
Vadim Zeitlin
9dd0e3cfcf don't hard code the menu bar height under WinCE (#10248) [backport of r57393 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 11:29:20 +00:00
Vadim Zeitlin
9ea428c072 mention wxHashMap::insert() change (r57388, #10261)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 10:06:24 +00:00
Vadim Zeitlin
a1511c548e don't change the value of the hash element if insert() didn't add it (closes #10261)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 09:34:48 +00:00
Vadim Zeitlin
9c0e44102b mention that mouse events carry position in window coordinates of the window which generated the event (#10274)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-16 14:52:29 +00:00
Bryan Petty
78a2b18631 Always call ScrollWindow() when there are window children (originally discussed on wx-dev in Oct 2004, but only ever applied to 2.9+).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-15 19:09:31 +00:00
Václav Slavík
a53dd41397 fix for r56618: toolbar event handlers can toggle or disable tools again (patch #10241)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-09 18:34:50 +00:00
Paul Cornett
177fb2b1e4 make sure timer events will trigger idle processing, #10251
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 18:23:28 +00:00
Vadim Zeitlin
1392ea4b39 replace __UNICODE__ with wxUSE_UNICODE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-06 18:53:43 +00:00
Vadim Zeitlin
da895a08f5 fix handling of abandoned mutexes in wxMutex::Wait[Timeout]() (#10236)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-04 00:22:04 +00:00
Vadim Zeitlin
0386be5f06 don't call DragFinish() before calling DragQueryPoint() or we (naturally) don't get the correct answer from the query (#10238)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-04 00:17:36 +00:00
Julian Smart
548d175dcf Added Undo, Redo accelerators for wxRTC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-03 12:27:24 +00:00
Chris Elliott
003748f938 make safari 3 on windows read SVG file containing png images
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-01 10:41:46 +00:00
Chris Elliott
d7721b4389 make safari 3 on windows read SVG file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-01 09:39:55 +00:00
Paul Cornett
bdf646248d fix for uninitialized alpha being used to create mask, fixes wxMemoryDC with 32-bit bitmaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-01 02:03:38 +00:00
Vadim Zeitlin
6ddb01662f fix best size caluclation for the notebooks with multiple rows (#2335) [backport of r57024 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 22:39:47 +00:00
Vadim Zeitlin
e8b7069659 properly NUL-terminate the string when using strncpy() (#10230)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 13:43:32 +00:00
Julian Smart
2f4390c06b Centre/right justification fix when there is a right indent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 16:05:11 +00:00
Julian Smart
4b08e76925 Fixed centering and right-justification when combined with left indentation (bug #10221).
Fixed wrapping problem for long lines (bug #10149).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 15:52:52 +00:00
Julian Smart
225324fdb6 Fixed inability to select no superscript and no subscript in wxRichTextCtrl's
formatting dialog (fixes bug #10121)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 12:47:00 +00:00
Julian Smart
752801be6d wxRichTextCtrl no longer deletes a character when content is selected
before pressing Delete (fixes bug #10153).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 12:34:55 +00:00
Julian Smart
a68919467a Fixed a problem with HTML list generation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 12:20:12 +00:00
Paul Cornett
e6930eead4 fix for shown TLW having m_isShown == false, #9909
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-27 23:00:04 +00:00
Jaakko Salli
19b39f4e54 include wx/msw/private.h to fix PCH-less compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-26 15:31:18 +00:00
Jaakko Salli
dac1482189 To avoid error message, do not even try to set focus on MSW popup window that doesn't have WS_POPUP style (backported fix for #10157)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-25 17:14:32 +00:00
Chris Elliott
50aa31b878 add missing cocoa dir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 21:33:51 +00:00
Kevin Ollivier
29c98ea876 wxGraphicsBitmap implementation for Cairo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 04:40:08 +00:00
Kevin Ollivier
c41168ca31 Backport MSW wxGraphicsBitmap fixes from trunk.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-21 04:46:57 +00:00
Vadim Zeitlin
aa398e1d3a don't log an error if the directory can't be opened at all for compatibility with MSW (#10194)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-20 18:12:43 +00:00
Vadim Zeitlin
2f86dfdf1e display enumeration functions are in coredll.dll and not user32.dll under CE (closes #10189) [backport of r52077]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-20 17:46:46 +00:00
Vadim Zeitlin
fdeef79bfb Slovenian translation update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-19 09:54:17 +00:00
Kevin Ollivier
aec24dc76c More fixes for API on 2.8.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-17 21:39:29 +00:00
Kevin Ollivier
ff7007184b Mac fix for moving methods to non-virtual.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-16 23:58:58 +00:00
Kevin Ollivier
e368aa6911 Fix issues caused by making DrawBitmap/CreateBitmap non-virtual on MSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-16 23:46:58 +00:00
Kevin Ollivier
5df481d7cc Fix typo made during patch cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-16 23:28:23 +00:00
Kevin Ollivier
f6810851c6 Landing 2.8 ABI compatible version of wxGraphicsBitmap API/implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-16 23:25:09 +00:00
Kevin Ollivier
085dae419f Do proper cleanup of event handlers in wxWebKitCtrl and wxMacUnicodeTextCtrl, and unset the window focus when destroying a top level window to ensure that controls do not receive events after the wx portion of the control has been destroyed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-14 23:02:15 +00:00
Václav Slavík
85c62cec4d implement wxWindow::DragAcceptFiles() on all platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-13 22:32:21 +00:00
Vadim Zeitlin
661f0acbcc add wxTE_PROCESS_ENTER to the list of supported flags (closes #8865) [backport of r51036 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-09 12:40:07 +00:00
Vadim Zeitlin
142a233c8c fix race condition which could result in assert failures in debug builds and infinite loops in release (#9094)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-08 22:41:10 +00:00
Bryan Petty
22bb171a27 Fixed typo introduced in r51034 (don't unload Gnome VFS), apparently the fix in 2.8 wasn't tested (see also Gentoo bug #203389).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-08 18:03:17 +00:00
Vadim Zeitlin
5c2d559f12 release the mouse in wxGrid dtor to avoid asserts when the grid is destroyed during e.g. a cell selection operation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-08 00:06:34 +00:00
Vadim Zeitlin
31f1842097 Finnish translations update from Elias Julkunen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-07 22:50:33 +00:00
Vadim Zeitlin
affe623a16 don't undefine BOOL if it's already defined (closes #10167)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-07 22:45:47 +00:00
Vadim Zeitlin
de03ba59b5 override Do{Open,Save}Document() instead of On{Open,Save}Document() (closes #9892) [backport of r55342 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-04 17:47:07 +00:00
Vadim Zeitlin
098a10bd43 oops, fix the test broken by the last compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-02 23:21:03 +00:00
Vadim Zeitlin
73efb97d11 ugly VC6 compilation fix (non-ugly doesn't want to work for some reason as VC6 flat out refuses to use our overloaded operator<<)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-02 22:50:15 +00:00
Vadim Zeitlin
7acabb810d fix another MSVC /Wp64 warning about size_t to int conversion (closes #10140)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-31 23:07:49 +00:00
Vadim Zeitlin
46e217f47b fix MSVC /Wp64 warning about size_t to int conversion (closes #10068)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-31 17:14:12 +00:00
Václav Slavík
215649ad82 fix toolbar buttons so that they don't disappear temporarily when clicked if the event handler causes window update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-31 09:47:57 +00:00
Paul Cornett
d317e7032a make sure update UI handlers are called for accelerators, #10130
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-31 05:25:59 +00:00
Václav Slavík
3a23d484e3 wxHTML: don't include extra whitespace in table cells
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-30 07:25:18 +00:00
Robin Dunn
133932137d Bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-28 23:24:15 +00:00
Václav Slavík
05fbc682d6 fixed interpretation of line breaks in <pre> to conform to the spec (#10120)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-28 10:06:32 +00:00
Vadim Zeitlin
21246d94ba disable workaround for lack of alpha support in native static bitmap control for WinCE, apparently it breaks the display (#10093)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 18:15:19 +00:00
Vadim Zeitlin
988707fe39 use fabs() instead of abs() to fix mingw32 compilation [backport of r48782 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 18:09:05 +00:00
Michael Wetherell
d084ca71b0 Fix wxClassInfo::Register for Solaris.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-23 14:48:31 +00:00
Vadim Zeitlin
b8191878a5 added Vietnamese translations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-23 14:42:05 +00:00
Vadim Zeitlin
0b08b5e216 fix Normalize() test: can't use temporary wxStrings to initialize wxChar* pointers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-23 11:19:48 +00:00
Robert Roebling
e5bafa71da Ticket #10108 (bitmap from wxImage depth regression)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-22 17:01:02 +00:00
Stefan Neis
dd66ebf62f Compilation fix for gcc-4 and newer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-20 06:55:43 +00:00
Stefan Neis
1d9f444b5f Compilation fix for gcc-4 and newer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-19 12:57:46 +00:00
Stefan Csomor
78a7d145c6 adding alias support for directories
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 19:13:33 +00:00
Vadim Zeitlin
c8e0da59d8 fix another WC2MB off-by-one error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 13:45:34 +00:00
Vadim Zeitlin
753874333a reverted the change of r56246 and keep the old behaviour of MB2WC/WC2MB; document it even more clearly and correct code using these functions incorrectly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 11:31:22 +00:00
Paul Cornett
2471348611 build fix for --enable-universal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 04:19:04 +00:00
Václav Slavík
04a8c1985b fixed wxArtProvider::GetSizeHint() to return 16x16 for wxART_FRAME_ICON in non-wxGTK ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 18:53:58 +00:00
Vadim Zeitlin
ab5e7b0274 reset deferred position/size if the window was moved immediately (#10073)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 21:03:40 +00:00
Kevin Ollivier
ec065966ac Handle symlink replacement more gracefully.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 17:16:01 +00:00
Václav Slavík
5ddf8197fa fixed wxHtmlWindow::SelectionToText() to correctly insert newlines after single-cell paragraphs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 15:43:10 +00:00
Julian Smart
da5ecf248a Fixed problem with Croation input due to confusion of WXK_... values and character values.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 14:39:16 +00:00
Vadim Zeitlin
27895e2f37 fix off by one bug in the buffer size (fixes #10039)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 14:51:45 +00:00
Václav Slavík
cebbcdcf5e get help frame's icon using wxART_FRAME_ICON wxArtClient hint, not wxART_HELP_BROWSER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-11 20:18:19 +00:00
Vadim Zeitlin
e7df93b37d don't crash when the document contents can't be converted to the target encoding (#10064)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 16:15:17 +00:00
Vadim Zeitlin
d1de94e062 another attempt at fixing VC6 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 09:42:28 +00:00
Vadim Zeitlin
22fd83c027 reverted the last commit and do not define operator<<(wxFileOffset) for VC > 6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 08:52:29 +00:00
Vadim Zeitlin
5a9f031e29 apparently operator<<(wxFileOffset) is needed for all VC versions, not just VC6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 21:32:04 +00:00
Vadim Zeitlin
9fdc17f534 define operator<<(wxFileOffset) for VC6 only, it breaks compilation for at least wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 16:52:30 +00:00
Vadim Zeitlin
3fddc3a0bc VC6 compilation fixes (#10059)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 16:06:36 +00:00
Stefan Csomor
76a07a77ca focus propagation, fixes #10047
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 14:32:25 +00:00
Michael Wetherell
cd937026b3 VC++ 6 compilo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-07 09:29:45 +00:00
Václav Slavík
08393b0503 fixed VC++ compiler checks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-07 06:08:26 +00:00
Vadim Zeitlin
3ca5c26f6a fix double to int conversion warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 21:04:02 +00:00
Vadim Zeitlin
736c79854b don't build mfc and memcheck samples by default as they don't always compile (#10031)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-05 22:12:04 +00:00
Vadim Zeitlin
ad4cb2a1df generate command events for accelerators even when there is no menu bar (#9784) fixing the bug introduced in r54510
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 22:01:56 +00:00
Vadim Zeitlin
98b423c884 no changes, just removed commented out code accidentally checked in as part of r37393
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 12:13:21 +00:00
Julian Smart
797b922b23 Only ignore Alt down on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 14:56:12 +00:00
Julian Smart
8485ab5aee wxRTC now accepts keycodes generated using Alt, for example Polish Pro input on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 14:46:06 +00:00
Václav Slavík
7f90056d2e keep the old XRC unfinished 'spec' in 2.8, but add a prominent notice with URL of the new spec
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 10:24:42 +00:00
Václav Slavík
34c6a7ebcc wxToolBar XRC handler should call SetupWindow() to handle standard window properties too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 14:37:26 +00:00
Václav Slavík
3b957a30bc wxWizard XRC handler should call SetupWindow() to handle standard window properties
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 11:51:28 +00:00
Robin Dunn
be3bd76b6f 2.8.9.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 03:49:56 +00:00
Václav Slavík
5605fe7220 wxART_MISSING_IMAGE is not a valid wxArtClient value and doesn't make sense here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 19:52:58 +00:00
Julian Smart
67252bc96e Fix for deleting first word in the control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-28 18:01:47 +00:00
Vadim Zeitlin
2c19a02305 fix VC9 compilation: FileNameInfo identifier conflicts with an enum name in the SDK it uses, so rename it to TestFileNameInfo [backport of r55906 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-28 10:26:44 +00:00
Václav Slavík
b56659e1d5 wxGTK: Fixed printing to use fonts sizes adjustment consistent with wxMSW. In
particular, screen resolution no longer affects text size in printed output
when using wx's map-screen-to-paper approach to printing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-28 09:12:16 +00:00
Robin Dunn
87a98df654 Add changelog for 2.8.9.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-28 01:02:13 +00:00
Julian Smart
80219eee10 fix gcc warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 09:54:04 +00:00
Vadim Zeitlin
d8e8af008f using CLSCTX_ALL fails with Microsoft Office applications, correct the last change to use CLSCTX_SERVER only (see #9868)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-26 15:18:16 +00:00
Stefan Csomor
f8c34fc65a adding auibar, fixes #10006
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 18:31:42 +00:00
Václav Slavík
7525231807 fixed pagebreaks computation in tables (#9935, backport of r55505)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 17:19:30 +00:00
Stefan Csomor
a67b5195c2 optimization by Tim Kosse/Filezilla
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 09:50:38 +00:00
Vadim Zeitlin
25cd015f7b return false, not true, from wxSingleInstanceChecker::IsAnotherRunning() if an error occurred while opening or reading the lock file (#9986)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 13:47:41 +00:00
Vadim Zeitlin
71e9f07df1 don't crash if the grid is being deleted while a cell editor is still shown (closes #9991)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 16:12:46 +00:00
Václav Slavík
17b4b59c85 progress message passed to wxDC::StartDoc() is not appropriate for PostScript document title
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 08:50:42 +00:00
Stefan Csomor
40948a5a6c making sure unknown charsets are not defaulting to a valid system default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 20:49:38 +00:00
Vadim Zeitlin
5d19459c0f disable AUI (and also MDI in 2.8) under CE, it doesn't make much sense there and doesn't currently compile anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-16 08:03:55 +00:00
Vadim Zeitlin
4589d14838 WinCE compilation fix: don't use FNERR_INVALIDFILENAME
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 13:33:35 +00:00
Chris Elliott
8d4ecc7aca 2.8.9 ready
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 08:00:00 +00:00
Chris Elliott
027c53b163 2.8.9 ready
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 07:58:49 +00:00
Vadim Zeitlin
26a1755583 don't steal focus back to wxGrid when it hides an editor in the result of losing it (#9844)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 00:28:15 +00:00
Vadim Zeitlin
009605231a fix drawing of the column move hint when the grid is scrolled to the right (#9776)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 00:19:41 +00:00
Vadim Zeitlin
443fb14a30 only request Enter key for the spin control if it has wxTE_PROCESS_ENTER style [partial backport of r55617 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 19:56:14 +00:00
Jaakko Salli
eeddd5583c Workaround for VC6 IDE internal compiler error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 10:00:09 +00:00
Vadim Zeitlin
3b2f059d98 fix the event type in EVT_GRID_[CMD_]COL_MOVE declaration: this event handler receives wxGridEvent and not wxGridSizeEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 12:49:11 +00:00
Václav Slavík
2ee6af03cb wxDir/FilePickerCtrl's message should be translatable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-09 19:36:41 +00:00
Benjamin Williams
b8c38c4509 fix aui sample breakage; added some accessor methods to wxAuiToolBarItem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-08 09:54:28 +00:00
Vadim Zeitlin
f29fe86a76 oops, fixed Mac header name incorrectly copied from trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-07 18:38:38 +00:00
Vadim Zeitlin
3ba967c80b added UnsetToolTip() and use it in wxAUI code to fix wxX11 compilation [backport of r55269 from trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-07 17:09:38 +00:00
Vadim Zeitlin
b8e40fb308 fix wxUniv compilation by not using obsolete wxMenuItem ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-07 17:04:23 +00:00
Julian Smart
c02398c6f2 Fixed Cmd+Back, Cmd+Del word deletion behaviour in wxRichTextCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-07 15:35:11 +00:00
Václav Slavík
a8e65f2336 whatever it is, wxXmlResource::GetFirstRoot() isn't implemented - removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-07 09:15:46 +00:00
Paul Cornett
1438596e5d fix memory leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 16:59:23 +00:00
Vadim Zeitlin
4f547123b6 emphasize that mingw32-make and not MSYS make must be used to build using makefile.gcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-04 23:02:44 +00:00
Vadim Zeitlin
9353f8892e copy alpha presence flag when copying bitmaps using DIBs (#9883)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-03 20:45:52 +00:00
Benjamin Williams
f100df9bf6 fix small logic error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-03 17:41:46 +00:00
Benjamin Williams
d9f2f5d145 fixed a problem in the aui toolbar flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-03 14:43:05 +00:00
Benjamin Williams
93f6cd7984 make members private in various wxAuiToolBar helper classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-03 12:38:09 +00:00
Vadim Zeitlin
7fd10fa2d7 include wx/control.h for the base class declaration (part of #9931)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-03 07:28:03 +00:00
Vadim Zeitlin
dd36bd26da use {short,long}_help_string parameters of AddTool() (part of #9931)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-02 17:01:40 +00:00
Chris Elliott
2a493911d8 up to 2.8.9rc1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-02 08:29:49 +00:00
Chris Elliott
9159b2722e 2.8.9-rc1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-01 10:41:35 +00:00
Chris Elliott
ec8237456c need to get the correct bitmaps for future releases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-01 08:57:53 +00:00
Václav Slavík
02cfa300e7 fixed memory corruption in wxHTML when parsing '&;' in the markup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-31 13:59:55 +00:00
Vadim Zeitlin
702026dab5 copy both alpha and mask in Paste() (#9658) [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-30 13:18:33 +00:00
Stefan Csomor
04f1d418f6 fixing #9910
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 08:21:09 +00:00
Vadim Zeitlin
7ac410e8b7 update version script for wxAUI additions; use wxABI_VERSION check around the new wxAuiToolBar class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 12:35:18 +00:00
Chris Elliott
893ffe7482 2.8.9 ready for rc-1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 10:02:42 +00:00
Chris Elliott
79a0cca038 2.8.9 ready for rc-1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 09:56:44 +00:00
Chris Elliott
1588bf86f4 2.8.9 ready for rc-1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 09:53:45 +00:00
Chris Elliott
bb9ba5a815 2.8.9 ready for rc-1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 09:53:00 +00:00
Paul Cornett
0ab2444233 fix for GTK assertion `info->icon_pixmap == NULL' failed, #9905
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 05:10:45 +00:00
Vadim Zeitlin
f46874b01f allow periods in wxFileSystem URL anchors (patch #2265) [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 00:03:04 +00:00
Vadim Zeitlin
3053ecbd72 add parentheses for && inside || to fix g++ 4.3 warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 14:39:48 +00:00
Vadim Zeitlin
f837582af4 fix a couple of harmless warnings reported by g++ 4.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 14:39:11 +00:00
Vadim Zeitlin
d4e889f3c7 fix a couple of harmless warnings reported by g++ 4.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 14:34:23 +00:00
Benjamin Williams
dc0071da65 updated for wxAUI changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 11:38:06 +00:00
Kevin Ollivier
ceaf599d64 Respect the wxNO_BORDER flag for tool windows without a titlebar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 04:27:59 +00:00
Kevin Ollivier
68db272e35 Fix memory leak.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 03:01:14 +00:00
Robin Dunn
d774a149d5 64-bit compile fixes.
NOTE: These changes are done by hand and will need to be redone after rebaking the 
files, until the next version of bakefile is ready.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-24 04:14:45 +00:00
Robin Dunn
7bdd98dc13 64-bit compile fixes, turn off optimizations in GetCustomDrawnItemRect to avoid an ICE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-24 04:11:04 +00:00
Robin Dunn
21182a4762 64-bit compile fixes, cleanup and use GetTimeZoneInformation for Windows compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-24 04:08:10 +00:00
Robin Dunn
be33ac8477 64-bit compile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-24 04:06:41 +00:00
Vadim Zeitlin
62b8f1fc35 use tr1::unordered_{map,set} if available for wxHash{Map,Set} in STL build (#9532) [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 18:54:04 +00:00
Vadim Zeitlin
60e82f36d3 optimize wxGrid::BlockToDeviceRect() to avoid iterating over all cells, it's enough to only iterate over the visible ones (#9527) [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 18:47:48 +00:00
Vadim Zeitlin
7abb1a56f1 implement wxWinINetInputStream::GetSize() (#9600) [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 18:44:03 +00:00
Vadim Zeitlin
1c802b3b14 don't use BS_AUTORADIOBUTTON at all, BS_RADIOBUTTON works just as well and doesn't hang the application in some circumstances (#9786) [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 18:38:24 +00:00
Vadim Zeitlin
3b14cd750c always define wxUSE_RICHEDIT[2] -- this is better than never defining them (#9514) [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 18:30:30 +00:00
Vadim Zeitlin
a2170565cb fix warnings about passing double as unsigned char
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 18:17:49 +00:00
Vadim Zeitlin
d060ae855f fix changing font/colour of label in buttons with images (#3939) [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 18:17:12 +00:00
Vadim Zeitlin
e3959a350e don't reserve space for the icons if none are used, even if we're in icon view (#9472) [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 17:53:37 +00:00
Vadim Zeitlin
76ae7f748b handle FNERR_INVALIDFILENAME which happens if an invalid file name is passed to wxFileDialog (#9688) [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 17:49:04 +00:00
Vadim Zeitlin
e50f48d518 use wx_static_cast() instead of static_cast<> on an off chance that some compiler still doesn't have the latter; fix svn properties for the new file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 16:19:16 +00:00
Robert Roebling
a4c76fe11e wxComboCtrlBase::Enable() does not refresh the control #9900
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 08:20:00 +00:00
Benjamin Williams
2e6e6e6641 add missing header for WXMAC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 07:57:05 +00:00
Benjamin Williams
5e4a7d7825 fix header problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 07:24:10 +00:00
Benjamin Williams
fd19a674ad rebaked because of auibar.*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 06:37:17 +00:00
Benjamin Williams
441b14b09c updated aui sample with new toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 06:35:01 +00:00
Benjamin Williams
5875590747 added wxAuiToolBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 06:31:01 +00:00
Julian Smart
c5301893b2 Documented wxRTC fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-22 15:22:58 +00:00
Julian Smart
f493fe3249 Improved auto list numbering
Fixed selection bugs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-22 15:21:13 +00:00
Julian Smart
2e1ff9a2df Typo corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-22 14:00:39 +00:00
Stefan Csomor
34785fc861 routing SetTitle to SetLabel as MSW does, fixing potential zombie pointers after mouse down events which delete windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-22 13:08:41 +00:00
Julian Smart
1bf1c271b3 Generic caret no longer invisible on a dark background
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-22 10:34:32 +00:00
Julian Smart
cdcd2013d1 Improved style list size calculations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-22 10:08:53 +00:00
Vadim Zeitlin
e87b77933f don't always create DIBs in wxBitmap(wxImage) ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 20:43:48 +00:00
Václav Slavík
dbcb86a4dc fixed typo in 2.8 backport of MSW print preview fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 20:42:40 +00:00
Julian Smart
833770ca91 Fixed default margin sizes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 16:07:54 +00:00
Stefan Csomor
3f69d4b904 using the 'new' bottleneck methods, fixing bugreport from Bengt Nilsson <bengt.nilsson11@spray.se>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 08:56:50 +00:00
Václav Slavík
49ad7c5115 fixed scaling of print preview if there's not enough RAM for the full page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-20 21:59:10 +00:00
Stefan Csomor
b43a0635a2 fixing leak in the 'old' non-graphics code, thanks to Kevin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-19 04:50:45 +00:00
Vadim Zeitlin
8c42541999 fix MSVC warning about int->bool conversion introduced by r55113
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 20:04:58 +00:00
Vadim Zeitlin
ba7ef3304e paint the space remaining after the columns too in wxListHeaderWindow::OnPaint() (#9855)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 12:02:01 +00:00
Vadim Zeitlin
4f3118c4b2 use CLSCTX_ALL instead of CLSCTX_LOCAL_SERVER in CreateInstance() (#9868)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 11:57:55 +00:00
Vadim Zeitlin
cc68a5bd69 add comparison operators for UUID class (#9871)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 11:30:10 +00:00
Bryan Petty
0930be303a Backported r45754 to 2.8 branch closing #4785.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-16 02:46:05 +00:00
Paul Cornett
c53016953a fix for page change not working after veto, #3808
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-15 04:52:13 +00:00
Vadim Zeitlin
7de0d6637c fix typo in __WWXMAC__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-13 12:31:13 +00:00
Václav Slavík
d1fcc2c2c7 apply Stefan's fix for wxHtmlDCRenderer clipping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-12 16:02:31 +00:00
Václav Slavík
89e59df375 fixed alphabetical order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-12 15:49:30 +00:00
Robin Dunn
9fae82ec59 Use WXUNUSED and give more explaination for the handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 20:52:26 +00:00
Robin Dunn
46205f5352 Avoid default child window focus behavior in generic wxListCtrl. Fixes #9563
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 00:25:05 +00:00
Vadim Zeitlin
eaafc5e972 correct the bug with Replace()ing with empty string introduced by r54860 (re-fixes #9802)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-09 20:34:36 +00:00
Robin Dunn
ad48736221 Bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-08 05:09:54 +00:00
Julian Smart
307c2b253f Fixed scrolling problem where scrollbar was taken to be a valid child window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-07 15:58:51 +00:00
Julian Smart
e3cdca140e Fix from John Dallaway for jumping to the top when expanding/collapsing items.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-07 09:29:54 +00:00
Stefan Csomor
54fa957a48 fixing remainder of bug #3776, clean activateAndIgnoreClick behaviour for DataBrowser
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-05 17:55:14 +00:00
Julian Smart
c91aeed0a8 Allow small widths when setting initial strings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-04 15:33:13 +00:00
Benjamin Williams
62e1396736 fix mouse capture lost assert when dialog shown in tab change event handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 13:57:30 +00:00
Vadim Zeitlin
00a6c15a74 fix view rectangle calculation for the control with scrollbars (#9467)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 12:15:30 +00:00
Vadim Zeitlin
8679c16313 make SetValidator() symmetric with GetValidator() (#9793)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 11:12:58 +00:00
Vadim Zeitlin
7bd43065b4 compilation fix for PCH-less build after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 10:54:33 +00:00
Vadim Zeitlin
9530dade7c store palette information from XPM in wxImage (#9763)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 10:31:07 +00:00
Benjamin Williams
c57f3188ff fix segfault when Update() is called inbetween mouse-up and mouse-down
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 09:46:32 +00:00
Vadim Zeitlin
71fd0e9fa9 don't keep the transparent palette colour from the previous frame for the next one which may not have any transparency at all (#9747)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 00:36:52 +00:00
Vadim Zeitlin
81b8e40161 add support for reading alpha channel from BMP images (#9741)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 00:23:38 +00:00
Vadim Zeitlin
40f1280e0d fix keyboard navigation in radio boxes containing hidden or disabled items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 19:45:23 +00:00
Vadim Zeitlin
7e8f47db5e ensure that one of wxRA_SPECIFY_{COLS,ROWS} is set in the radiobox style, otherwise layout code doesn't work correctly and this can easily happen if the radiobox is created from an XRC file not specifying its style at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 15:59:13 +00:00
Stefan Csomor
bc217fe9dc guarding all text methods against unset font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 06:31:46 +00:00
Benjamin Williams
49d9fc10e4 added a number of NULL ptr asserts (#4145)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 21:04:03 +00:00
Benjamin Williams
469342afaa fix for defect #4827
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 18:58:47 +00:00
Benjamin Williams
c8dfe1e82b fix for ticket #4505, Floatable(false) wasn't working in all cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 18:35:08 +00:00
Benjamin Williams
2d1590a4bb floating pane now respects IsFixed pane status; indirect fix for #4044
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 16:07:46 +00:00
Julian Smart
85f0ca4cdf Fix for Vista splittree problem, by John Dallaway
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 10:51:37 +00:00
Vadim Zeitlin
0babb5fa2a fix setting the initial value when it's not in the default 0..100 range [backport of r53550 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-30 21:53:26 +00:00
Vadim Zeitlin
f7d2f0f9e7 optimize Replace() for the common case of replacing one character with another one (#9802)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-30 21:41:07 +00:00
Julian Smart
ef00e5367e Take on appropriate paragraph style in the newly created paragraph.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 13:22:50 +00:00
Vadim Zeitlin
f770962e9e updated Hindi translations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 13:09:42 +00:00
Paul Cornett
9c521e0003 build fix for wxMac with wxUSE_THREADS==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-28 16:58:25 +00:00
Paul Cornett
b65ce02c69 fix Gtk-WARNING "... no property named `row-ending-details'" (#4809)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-28 05:49:04 +00:00
Stefan Csomor
d6ba5a24d8 extending docs according #9713
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-26 09:13:27 +00:00
Vadim Zeitlin
23512f453f fix crash when reading malformed PCX images (#3836)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-22 20:16:03 +00:00
Stefan Csomor
2c02248f15 trying to fix dnd problems leopard refs #9748
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-22 15:41:53 +00:00
Stefan Csomor
cfb265f172 trying to fix dnd problems with the unicodetextcontrol under leopard refs #9748
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-22 14:53:24 +00:00
Václav Slavík
b2a8de5a15 Fixed detection of Meta key state so that NumLock isn't misdetected as Meta.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 22:09:22 +00:00
Vadim Zeitlin
f671cd5668 another compilation fix for wxDFB STL build (#9754)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 17:34:48 +00:00
Vadim Zeitlin
c712f3a701 compilation fix for wxDFB STL build (#9753)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 17:17:20 +00:00
Vadim Zeitlin
88ec1a0722 fix wxDFB compilation without wxUSE_LOG (#9752)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 17:14:32 +00:00
Vadim Zeitlin
95a695cd54 compilation fix for wxDFB STL build (#9751)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 17:05:14 +00:00
Vadim Zeitlin
b792497e3c add missing headers for wxDFB cross-build (#9770)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 17:01:35 +00:00
Vadim Zeitlin
51157e65e8 add missing trailing quote in a #warning (#9769)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 16:58:06 +00:00
Stefan Csomor
305a46fd55 fix for #9045
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 15:27:11 +00:00
Robin Dunn
db8472d601 2.8.8.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 05:34:56 +00:00
Vadim Zeitlin
1b8cb9ac59 don't call gtk_selection_data_set_text() with non-UTF-8 data as we did in ANSI build (#2037)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 03:39:40 +00:00
Vadim Zeitlin
5b774e5249 fix generation of events for an initially empty wxDirPickerCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-20 22:48:34 +00:00
Vadim Zeitlin
239aad9461 add a missing backslash (#9766)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-20 12:37:20 +00:00
Vadim Zeitlin
f90b293de6 already escaped backslash shouldn't escape the following quote in ConvertStringToArgs()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-19 01:53:04 +00:00
Vadim Zeitlin
23c883b71a fix bug with wxCSConv("ASCII")
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-19 01:45:38 +00:00
Vadim Zeitlin
c64b101c34 backport fix for wxCSConv(wxFONTENCODING_SYSTEM) creation from trunk: use system encoding for DoCreate(), not name which is not handled correctly for ASCII case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-19 01:34:36 +00:00
Vadim Zeitlin
55bef83fe0 return ISO8859-1 from wxLocale::GetSystemEncoding() for C locale, as in trunk, otherwise wxCSConv with default encoding doesn't work at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-19 00:32:57 +00:00
Vadim Zeitlin
2c6ca6f1fa mention compatibility implications of wxExecute() quoting changes; don't change quoting of already quoted arguments in 2.8 for compatibility; also fix handling of empty arguments as a side effect (see #4115)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-18 22:22:16 +00:00
Vadim Zeitlin
141d3d9563 remove duplicate SetIcon(sample_xpm) call which didn't even compile under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-18 13:56:25 +00:00
Julian Smart
b71d96c5d4 Tab removal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-18 12:55:14 +00:00
Michael Wetherell
1cdcc99947 Fix gzip class factory to return gzip not zlib stream.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-18 08:06:44 +00:00
Paul Cornett
8ea3ec21dc fix masking of disabled bitmaps with some themes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-18 02:45:48 +00:00
Vadim Zeitlin
2821d49f4c overwrite incorrect last commit (which did exactly what its comment said it couldn't do as it was breaking ABI compaitiblity...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-17 20:03:11 +00:00
Vadim Zeitlin
f4727ef952 use int32 values in invalid wxDateTime ctor after r54663 fixes to wxLongLong under LP64 platforms (unfortunately we can't do the same thing as in trunk as this would break ABI because default-constructed wxDateTime objects in the programs compiled against old headers would become different from the ones defined in the new library)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-17 19:59:02 +00:00
Vadim Zeitlin
649aee2a92 implement wxCSConv::From/ToWChar() correctly for Latin-1 (#9739)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-17 19:43:08 +00:00
Vadim Zeitlin
71d4b88bdf allow using SetFont(wxNullFont) to reset the font as per documented behaviour (#3238)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-16 15:53:44 +00:00
Vadim Zeitlin
063b161dec fix wxLongLong for LP64 platforms [backport of r45256 from trunk] (#9745)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-16 15:22:22 +00:00
Vadim Zeitlin
6169b1f960 disable the test declarations and not just the definitions if we don't have strtoll()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-16 03:02:19 +00:00
Vadim Zeitlin
f5482726ac disable test which doesn't work without setenv()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-16 02:59:37 +00:00
Vadim Zeitlin
ac706d114d fix a typo in wxUSE_UNICODE test when choosing between strtoull and wcstoull; include wchar.h when testing for the latter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-16 02:39:03 +00:00
Vadim Zeitlin
64ec9666a6 disable the test if we have no strtoll()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-16 02:30:40 +00:00
Vadim Zeitlin
79c723cb5e fix signed/unsigned comparison warning by using CPPUNIT_ASSERT_EQUAL instead of CPPUNIT_ASSERT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-16 02:19:03 +00:00
Vadim Zeitlin
bc26d147ac removed a test which doesn't really work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-16 02:18:01 +00:00
Vadim Zeitlin
6cc415390f backport fixes for the fix for transparency in static bitmaps (r51824) from trunk (r54651 and r54652)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-16 01:54:58 +00:00
Julian Smart
c5c703efea Fixed wxTreebook tree control border style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-15 21:29:10 +00:00
Vadim Zeitlin
f89a4c2df5 fix changing size of merged cells (#9736)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-15 14:36:28 +00:00
Julian Smart
c7739476c7 Documented wxRTC fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-14 10:00:21 +00:00
Vadim Zeitlin
ba4fb41424 fix heap corruption bug: use delete[] to delete a buffer allocated with new[], not delete
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-14 02:34:29 +00:00
Vadim Zeitlin
e95308c0ae set wxKeyEvent::m_uniChar correctly in the events generated by generic wxListCtrl (#4581)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-13 18:16:38 +00:00
Julian Smart
f8ae0bd260 Shift+Return now puts the cursor on the next line
Fixed GetContiguousPlainText bug that caused wrapping problem


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-13 12:11:36 +00:00
Robin Dunn
2b0ff79bb6 Bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-10 01:33:28 +00:00
Robin Dunn
aae461d4ff If an item is hidden, don't check it for overflows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-10 01:32:23 +00:00
Stefan Neis
1989629a23 Applied fix for wxGrid::ClearAttrCache (#9712).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-09 17:25:32 +00:00
Vadim Zeitlin
8827d7b444 unescape the value of wxHyperlinkCtrl label (#9683)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-09 14:02:19 +00:00
Vadim Zeitlin
ab6608cb9f update the year in wx information dialog (#9701)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-09 02:18:35 +00:00
Robin Dunn
01e2f8bbd1 Applied patch from Ticket #9563. Use just the rectangle of the widget with the focus when deciding if scrolling is needed, instead of the rect of the parent of the widget/child of the target window. This fixes some flickering when a panel of widgets is used inside the scrolled window, and also a total lack of scrolling if the focused widget is out of view but the upper-left corner of the panel is in view.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-09 01:38:08 +00:00
Vadim Zeitlin
5f492309e8 fix focus problems in picker controls under MSW which were due to not letting the system process kill focus for the text part of the control (#9687)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-06 23:57:23 +00:00
Stefan Neis
00687e20f5 Make AutoSizing in wxGrid's SetCol/RowSize work and use it from corresponding
AutoSize functions. This fixes #4107.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-06 16:29:58 +00:00
Vadim Zeitlin
021e69e5b0 fix unused parameters warnings (#9529)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-06 14:14:49 +00:00
Vadim Zeitlin
e21c350472 avoid duplicated command events if a wxFrame-level handler called event.Skip() (#4757)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-06 14:04:15 +00:00
Stefan Neis
fc37284dfb Added missing include (#9625).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-05 18:25:33 +00:00
Stefan Neis
3b32df32af Fixed Digital Mars breakage as suggested by Vadim on mailing list (#9619).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-05 17:54:03 +00:00
Stefan Neis
e96b728de9 Added missing include (depending on configuration, see #9622).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-05 17:38:58 +00:00
Stefan Csomor
dec0ad4bb9 changing condition to make sure we are not failing in case the min system is given as 10.3.9 ... solves #9693
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-04 14:23:38 +00:00
Julian Smart
cc8cb9c274 Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-04 09:49:48 +00:00
Vadim Zeitlin
6425e8747b support disabling items before adding them to the menu (#3423)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-03 15:42:18 +00:00
Vadim Zeitlin
84ef02fea0 don't ignore changes of empty string to 0 or vice versa in float grid cells (#2802)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-03 15:37:35 +00:00
Vadim Zeitlin
dcfcdd75a7 use proper name for a contributor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-01 13:44:07 +00:00
Vadim Zeitlin
b69b11c40c quote the arguments containing spaces or quotes correctly in wxExecute(char **) overload (#4115)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-01 00:05:36 +00:00
Vadim Zeitlin
c3e7fde30f fix a hang up in wxExecute(wxArrayString& output) overload (#4380)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-30 23:37:56 +00:00
Vadim Zeitlin
11d4aa9d05 VC8 compilation fix after last change (#9665)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-30 13:35:51 +00:00
Julian Smart
c2bf832bee Further style preview fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-30 09:42:19 +00:00
Julian Smart
6586262593 Compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-30 09:39:44 +00:00
Vadim Zeitlin
2e312581a5 compilation fix for ASCII STL build (#9661)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-29 21:46:29 +00:00
Julian Smart
d9b78cd63d Corrected problem of wrong paragraph receiving style in formatting dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-29 17:04:04 +00:00
Stefan Neis
c3f80e6c6b Don't force ColWidth to always grow for wxGridCellAutoWrapStringRenderer (#1798)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-29 15:15:19 +00:00
Vadim Zeitlin
5a1a494861 ensure that GetEditControl() returns something even if label editing was started by the user and not the program (#1325) [backport of r53831 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-29 01:35:24 +00:00
Vadim Zeitlin
364452f494 open the file for reading and writing in wx(F)FileStream, this class can't work otherwise (#3335) [partial backport of r54246 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-29 01:28:43 +00:00
Vadim Zeitlin
180e65df2d use _get_timezone() under VC8 as _timezone is not available in all CRT versions (#4691)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-29 01:21:37 +00:00
Vadim Zeitlin
8aba745d1d fix crash when vetoing label edit end due to a click outside of the text control (#8947) [backport of r51149 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-29 01:04:52 +00:00
Vadim Zeitlin
453c35deaf fix handling of the keys in wxSpinCtrl (#9637)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-29 00:50:36 +00:00
Vadim Zeitlin
10d24cc2f5 fix --disable-optimise configure option description (#9660)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 23:18:10 +00:00
Vadim Zeitlin
9bf4a4249a don't ignore changes of empty string to 0 or vice versa in float grid cells (#4764)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 23:14:35 +00:00
Václav Slavík
d9f3bf6e1b backported high-quality wxMSW printing to 2.8 (disabled by default, has to be enabled by changing wxUSE_HIGH_QUALITY_PREVIEW_IN_WXMSW to 1 in prntbase.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 20:52:59 +00:00
Vadim Zeitlin
c6b44b6c88 support wxDP_ALLOWNONE in generic wxDatePickerCtrl (#3164)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 18:58:07 +00:00
Václav Slavík
4133114e30 split wxPrintPreviewBase::RenderPage() into helper methods in the same way its done on the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 15:32:52 +00:00
Václav Slavík
9609c21f00 backport of r53980: fixed wxHTML default font size for printing to be 12pt regardless of the platform
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 15:16:17 +00:00
Vadim Zeitlin
ef87bd2ccc don't activate items on Alt-Space or Alt-Enter (#9615)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 01:49:44 +00:00
Vadim Zeitlin
54160f3c64 test for either Ctrl or Shift in MSWShouldPreProcessMessage() instead of Ctrl twice (#9620)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 01:43:26 +00:00
Vadim Zeitlin
cf92614370 don't call OnData() if OnEnter() rejected the drag (#9634)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 01:40:42 +00:00
Stefan Neis
44de0d66d2 Restricted column/row resizing in cell window to left button for consistency
with label windows and because ending the resize is only handled in
        case of LeftUp() (Fixing #4212).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 00:17:09 +00:00
Stefan Csomor
d2a6e31b73 updating help texts, fixes #9647
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-26 12:47:11 +00:00
Julian Smart
770756327c Fixed bug whereby sash would disappear beneath left-hand pane
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-26 10:55:16 +00:00
Stefan Csomor
185903c018 fixing an incorrect conversion path from utf8 to plain ascii instead of unicode, closes #9629
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-26 07:09:17 +00:00
Julian Smart
4a0b9504ee Documented filesys.no-mimetypesmanager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-25 08:37:33 +00:00
Julian Smart
b8dd5d063d Allow an app to cut down start time by not doing unnecessary mime types initialisation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-25 08:36:30 +00:00
Julian Smart
d56ca4d3f7 WinCE compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-25 08:35:35 +00:00
Julian Smart
d079ccd92d Recorded GNOME MIME types fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-25 07:57:36 +00:00
Julian Smart
2b3586c1b9 Gnome Mime type fix by scanning for .desktop files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-25 07:52:11 +00:00
Julian Smart
49237f5937 Better extension extraction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-25 07:51:09 +00:00
Chris Elliott
1b9a645ab7 add missing glgrab
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-23 16:47:28 +00:00
Vadim Zeitlin
b1e49a115c fix problem with label characters starting with -1 in ANSI build (#9572)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-22 15:49:12 +00:00
Chris Elliott
b49b8f1988 2.8.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-20 07:47:35 +00:00
Chris Elliott
951c18b217 2.8.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-20 07:46:28 +00:00
Chris Elliott
a3a0dd1240 fix for http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/103292
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-19 08:08:33 +00:00
Stefan Neis
b1e8cff3e2 Cleaned up/Fixed wxGrid{Cell,RowOrCol}AttrData::SetAttr, adding some comments.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-18 11:21:57 +00:00
Václav Slavík
db978ce982 fixed SetUserScale() calls to use correct scale on Y axis
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-16 08:08:49 +00:00
Robin Dunn
9c51ba9fa1 Fix off-by-1 error in GetTextRaw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 22:20:32 +00:00
Stefan Neis
c35a95c75d Fixed problems with reassigning the already assigned attribute, see #9567.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 17:26:31 +00:00
Stefan Neis
906ecfa15d Added missing screen update on deselection in wxGrid (ticket #4212, part1).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 14:10:41 +00:00
Vadim Zeitlin
d740f112a5 fix crash when copying empty selection to clipboard (#4783)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 11:45:05 +00:00
Vadim Zeitlin
315ed474f2 fix crash in wxSetEnv(var, NULL) (#9585)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 11:22:52 +00:00
Vadim Zeitlin
924d65ee97 don't clear the list control when wxLC_[HV]RULES style is toggled (#4688)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-13 22:38:33 +00:00
Vadim Zeitlin
94ac42a3e1 search for X11 headers in paths under /usr/local before those under /usr (#9477)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-13 22:19:24 +00:00
Vadim Zeitlin
e81695562e fix reference counting problems with wxGridCellWithAttr (re-#9567)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-13 21:37:58 +00:00
Julian Smart
06824a2876 Small improvement in HTML help options dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-13 12:52:43 +00:00
Julian Smart
924856e586 Use new API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-13 07:10:40 +00:00
Vadim Zeitlin
3a020570cd fix crash which happened if you called SetAttr(NULL) followed by SetAttr(attr) (#9567)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 23:58:19 +00:00
Julian Smart
8f787613ff Correction for menu code problem introduced in 2.8.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 20:25:44 +00:00
Vadim Zeitlin
4f9b965ff1 use locale-dependent decimal separator in our wxStrtod() implementation (recloses #8740)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-10 18:22:32 +00:00
Paul Cornett
cfa1d113a1 fix botched copy-n-paste from r40978
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-10 03:54:19 +00:00
Stefan Csomor
766b74922c use 10.3 backwards compatible names for constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-09 07:44:39 +00:00
Stefan Csomor
aafb2a38a0 10.3 support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-08 15:54:22 +00:00
Stefan Csomor
ba38a93d2a changing to c name mangling, so that glgrab.c can use it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-08 15:53:15 +00:00
Stefan Neis
e76c255ddf Updated information about bug tracker.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 09:26:45 +00:00
Vadim Zeitlin
c18b12458f don't refresh the current cell in SetCellHighlightROPenWidth() if it's invalid (#9523)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 02:09:03 +00:00
Vadim Zeitlin
d62e7042e3 specify the name of the control (#9515)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 00:04:53 +00:00
Vadim Zeitlin
2d164de6e1 don't leave current item index invalid after SetItemCount() (ticket #3720)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-06 22:55:23 +00:00
Julian Smart
208f7fd110 Fixed reading of image type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-06 15:21:35 +00:00
Vadim Zeitlin
ffbf09ac1e set focus to the control when it's clicked [backport of r53014 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-05 15:48:55 +00:00
Stefan Neis
f889378dac More compilation fixes for mingw-w64.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-04 10:52:33 +00:00
Stefan Csomor
0e7eeb264e when no prefix used, #if cannot work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-04 09:07:16 +00:00
Stefan Csomor
45cf406a74 guarding with wxMAC_USE_CORE_GRAPHICS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-04 07:16:36 +00:00
Stefan Csomor
68f2291fe5 adding glgrab to project
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-04 07:12:31 +00:00
Julian Smart
c5c857c9a2 Out by one correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-04 06:14:40 +00:00
Stefan Csomor
c20b3423a5 to make sure the CG code never gets called when not in a CG-Build, as this method is only needed for dcgraph's blitting, no loss anyway
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-04 04:35:11 +00:00
Benjamin Williams
dbdb570aef prevent memory leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-03 16:51:43 +00:00
Vadim Zeitlin
26a52b47a1 fix unused parameter warning (ticket #9529)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-03 12:42:13 +00:00
Julian Smart
082d227991 Blind fix for !CG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-03 10:18:20 +00:00
Robin Dunn
1736ea5474 Add a SetDoubleBuffered method for wxMSW (XP+)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 18:27:16 +00:00
Robin Dunn
a31d0ae84c Fallback to old API if there was an error getting the printer resolution
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 18:22:15 +00:00
Vadim Zeitlin
24755a87af regenerated after recent autoconf_inc.m4 change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 16:41:27 +00:00
Václav Slavík
223f9891fd regenerated all 2.8 makefiles with bakefile-0.2.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 10:59:26 +00:00
Václav Slavík
8f89791fb9 fixed OSX bundles bkl code to handle conditional targets correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 10:38:31 +00:00
Robert Roebling
0751db411c Only test new renderer methods on GTK+2, MSW and MAC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 09:58:29 +00:00
Vadim Zeitlin
0c2cc3c833 correct DateTimeTestCase::TestTimeTicks() [backport of r53902 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 20:32:26 +00:00
Paul Cornett
00337417d6 fix removing control tool (partial backport of r52840 and r53913), ticket #4102
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 20:18:12 +00:00
Chris Elliott
15fb47f71d force dos line endings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 20:00:42 +00:00
Chris Elliott
b60cdb6223 force dos line endings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 19:58:55 +00:00
Vadim Zeitlin
35a19b88d9 define TEST_NET as 0 instead of leaving it undefined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 19:16:15 +00:00
Vadim Zeitlin
0a1863bca2 disable tests which fail in build bot builds on test drive machines, as nobody is going to fix them anyhow it's better to at least be able to notice any new breakage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 18:49:55 +00:00
Vadim Zeitlin
4bdfaa384b fix wxDateTime::ParseRfc822Date() to handle missing seconds (ticket #1341)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 14:37:26 +00:00
Vadim Zeitlin
7cc81fb81e test for fifth getsockopt() argument type using C++ compiler, not C one (blind fix for HP-UX buildbot failure)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 13:15:22 +00:00
Stefan Csomor
bb6fc02ac1 supporting Freeze and Thaw in native control, has huge implications on performance of lists with many thousands of elements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-31 17:30:06 +00:00
Stefan Neis
4cfb1203e1 Compilation fixes for mingw-w64.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-31 12:43:44 +00:00
Robin Dunn
e55016647a Don't use both -framework OpenGL and -lGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-31 05:44:14 +00:00
Julian Smart
444c36355c Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 17:51:02 +00:00
Julian Smart
6f36b37f03 Don't update UI if hidden
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 17:44:06 +00:00
Stefan Csomor
667902fa25 remove duplicate line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 17:14:58 +00:00
Stefan Csomor
66b926e0cf fixing a problem where CoreGraphics didn't correctly clip to an empty region
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 16:47:45 +00:00
Stefan Csomor
a69994a545 make sure invisible windows cannot paint using a wxClientDC or wxWindowDC by making their clip rect empty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 16:42:09 +00:00
Robert Roebling
dee6abf6d4 Don't fail compilation with GTK+ 2.2 in 2.8 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 23:47:20 +00:00
Kevin Ollivier
a1e9e50736 Rebaked files after last commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 17:05:10 +00:00
Kevin Ollivier
638d138729 Implementing wxScreenDC::GetAsBitmap on Mac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 17:04:18 +00:00
Vadim Zeitlin
09cd20825b don't give an error if VT_DATE variant is being released, there is nothing to do for it anyhow (closes #4527)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 13:35:52 +00:00
Stefan Csomor
cdc601664a guarding against crashes because of out-of-bounds accesses in release mode (returning 0), better error reporting in debug builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 09:54:55 +00:00
Stefan Csomor
28387bbc2d guarding against crashes because of out-of-bounds accesses in release mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 09:53:59 +00:00
Stefan Csomor
1a4dea22ec define HAVE_DLOPEN as it's always available on >=10.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 07:06:45 +00:00
Kevin Ollivier
e2e6bba44d Rebake with 0.2.3.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 00:52:22 +00:00
Kevin Ollivier
e6785ad20b Fix for OBJCXXFLAGS issue in Bakefile 0.2.3.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 00:45:58 +00:00
Paul Cornett
edd6e2ed47 fix leak introduced by r53753
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-28 06:15:35 +00:00
Robin Dunn
89dec509c4 Add wxWebKitNewWindowEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-28 06:12:34 +00:00
Vadim Zeitlin
805585b530 recognize Vista by name in wxGetOsDescription()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 15:48:23 +00:00
Stefan Csomor
37f784703e guard against layout changes during DoSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 14:15:14 +00:00
Stefan Csomor
b91dd98ff1 make sure we add the correct wx-border pixels to native controls when calculating best size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 14:14:11 +00:00
Stefan Csomor
10a99f20aa fixing arc filling for angles > 180
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 04:57:52 +00:00
Robin Dunn
2371f236fe Don't add new enums to the middle of the list to preserve ABI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-26 18:50:17 +00:00
Paul Cornett
1160c0fd3a fix removing menu item, ticket 3387
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-26 17:28:41 +00:00
Václav Slavík
4b228a7842 use bakefile-0.2.3 to generate 2.8 bakefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-26 09:21:56 +00:00
Kevin Ollivier
959ddf25d3 Fix for wxClientDC::GetAsBitmap, which partially resolves ticket #9486
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-25 17:56:21 +00:00
Vadim Zeitlin
20a014cb69 call base class version from SetWindowStyleFlag() to update common styles such as border ones too (closes #9480)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 18:56:24 +00:00
Stefan Neis
7d75140ee8 Added workaround for "Internal compiler error" with old gcc(-2.8).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 22:58:28 +00:00
Stefan Neis
588f62ba25 Linker fix for non-PM builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 21:19:43 +00:00
Stefan Neis
8de7c76277 Compilation fix for old OS/2 compiler.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 17:22:00 +00:00
Paul Cornett
9a054f1079 add missing static keyword
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 16:46:08 +00:00
Bryan Petty
78d845168a Fixed \newsince typo pointed out by Tim Stahlhut.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 06:34:00 +00:00
Václav Slavík
99aa3020a4 added missing Plural-Forms header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-21 19:35:59 +00:00
Paul Cornett
fbeb764bf5 button text uses fg color, not text color
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-21 16:18:49 +00:00
Paul Cornett
11a7b96b4f get wxSYS_COLOUR_HIGHLIGHTTEXT from GTK+, ticket 4733
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-20 15:10:11 +00:00
Julian Smart
40b9e72e72 COnversion of some common font names to current platform
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-20 13:23:07 +00:00
Stefan Csomor
eee388cfcf allows resetting color of text to black, closes #4826
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-20 13:04:32 +00:00
Stefan Csomor
8d1b5fe728 allows resetting color of text to black, closes #4826
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-20 13:03:52 +00:00
Václav Slavík
bb7f17db1e symbols added in 2.8.8 need to check for wxABI_VERSION >= 20808, not 20804
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-20 09:28:48 +00:00
Robert Roebling
7a1638b8ba Added control renderers to GTK+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-20 09:04:40 +00:00
Paul Cornett
29c9975106 add missing braces
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-20 05:19:07 +00:00
Paul Cornett
f5d30ff905 add missing break statement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-20 03:36:33 +00:00
Chris Elliott
ceaa53089a up to 2.8.8.0 in prep for release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-19 19:46:44 +00:00
Chris Elliott
b4ac354822 up to 2.8.8 in prep for release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-19 19:32:19 +00:00
Chris Elliott
dfbfab687a up to 2.8.8 in prep for release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-19 19:31:20 +00:00
Chris Elliott
609942babe fix wrong file path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-19 19:23:58 +00:00
Chris Elliott
1596ce2308 up to 2.8.8 in prep for release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-19 19:20:36 +00:00
Chris Elliott
d4ebf0be89 up to 2.8.8 in prep for release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-19 19:13:13 +00:00
Chris Elliott
8ba854d05e up to 2.8.8 in prep for release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-19 19:09:22 +00:00
Chris Elliott
cf103cdbf3 up to 2.8.8 in prep for release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-19 19:07:31 +00:00
Chris Elliott
dae18732f8 ignore text statius of watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-19 08:06:19 +00:00
Chris Elliott
cd72ceb971 fix SF bug 1812087
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-18 19:46:18 +00:00
Julian Smart
dc99dea363 Fixed a bug preventing style resetting from occurring
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-18 17:04:26 +00:00
Vadim Zeitlin
c4886ae6c4 added language info for Northern Sami (patch 1964036)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-17 22:49:30 +00:00
Julian Smart
60efb3422f Fixed common style collection and superscript/subscript selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-17 17:54:51 +00:00
Vadim Zeitlin
b0e8363354 fix window rectangle computation in Centre(wxCENTER_ON_SCREEN)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-17 12:56:18 +00:00
Stefan Neis
bfeb1a5c06 Added missing #include.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-17 09:28:05 +00:00
Stefan Neis
3cf88bbd74 Ensure that wxApp::Yield is always processing pending event by creating a
temporary event loop if needed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-16 15:21:40 +00:00
Robin Dunn
390d9ef3a8 fixed last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-13 00:20:35 +00:00
Robin Dunn
b61daf80db Need to allow wxMemoryDC's at any time. (It derives from wxPaint event so the 2nd half of the test catches that.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-12 23:55:45 +00:00
Robin Dunn
63830277f5 Resolve overload ambiguities
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-12 23:54:34 +00:00
Bryan Petty
3223defdd2 Fixed bug #1340071 (outdated documentation of wxFrame::CreateStatusBar() function default values).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-12 22:42:51 +00:00
Stefan Neis
5373128f20 Fixed link to page with third party tools.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-12 12:21:56 +00:00
Paul Cornett
ce13ca1a6d disconnect handler in wxTaskBarIcon dtor, should have been part of previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 23:04:14 +00:00
Paul Cornett
fada2f46e0 prevent crash if panel/kicker is killed, bug 1872724
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 22:45:36 +00:00
Paul Cornett
da6deee1f7 don't change brush settings in SetBackgroundMode(), it is only supposed to affect text background, bug 1480986
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 20:17:30 +00:00
Vadim Zeitlin
61afd24c7a revert r52151, apparently it doesn't work in 2.8 (see patch 1939287)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 19:50:42 +00:00
Vadim Zeitlin
f79c87817e oops, fix compilation after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-10 21:02:36 +00:00
Vadim Zeitlin
b29e8302f4 backport wxDocManager::MakeNewDocumentName() from the trunk for forward-compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-10 20:16:50 +00:00
Julian Smart
7cd3ca16e8 Fix conversion from variant array
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-10 09:46:10 +00:00
Robin Dunn
95704802eb Add some additional renderer functions for Mac and MSW (so far) but do it as standalone functions in order to not disrupt the ABI. These are primarily needed for wxWebKit which is why they are going in to 2.8 instead of straight into 2.9 the proper way (as new methods of the wxRenderer* classes.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-10 00:05:20 +00:00
Robin Dunn
aae5ec8bbe Avoid asserts when wxDP_ALLOWNONE is used and the date is set to wxDefaultDateTime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-09 22:15:55 +00:00
Benjamin Williams
1570d8e9e2 applied patch 1908782 wxAuiMDIChildFrame not removed from wxAuiMDIClientWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-09 18:58:52 +00:00
Julian Smart
ca8eed8584 Apply previous paragraph style if pasting plain text, but not if pasting rich text.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-09 08:46:55 +00:00
Stefan Csomor
554ddc6197 applying 1960600 (avoid dereferencing lc if it hasn't been set)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-09 04:48:24 +00:00
Vadim Zeitlin
aba0599409 correct toolbar width calculation with comctl32.dll < 6.0 (patch 1902358)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 13:25:00 +00:00
Paul Cornett
282981549e use PNGAPI if it is defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-07 16:23:55 +00:00
Julian Smart
c3d7a91965 Added const when writing XPMs to avoid gcc warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-07 07:28:57 +00:00
Václav Slavík
0d00401fba fixed &nbsp; handling in wxHtmlWinParser, broken by TAB-handling changes (bug #1957041)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-05 10:53:58 +00:00
Julian Smart
af11165bd2 Reverted patch 1906896 because it broke prgrammatic style application with BeginStyle/EndStyle.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-05 10:10:40 +00:00
Julian Smart
cf9dd95107 Use fallback if passing -1 as point size (as allowed on other ports)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-05 08:16:16 +00:00
Julian Smart
2325bae316 Removed non-ANSI characters, even if the result is gibberish German
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-05 08:15:38 +00:00
Václav Slavík
ab86ce5ab8 clarified From/To8BitData's purpose
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-04 21:03:33 +00:00
Stefan Csomor
8f84d5c036 fixing memory leaks on three levels (bug report 1905138)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-04 13:49:42 +00:00
Václav Slavík
175fea401a check tables width parameter for invalid values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-04 09:37:00 +00:00
Julian Smart
3f889a8168 Fixed [ 1905777 ] Defining default accelerators for wxRichTextCtrl
Added standard accelerators for cut, copy, paste and select all.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-03 20:18:36 +00:00
Julian Smart
a2efbf7b88 Applied patch [ 1906896 ] Fix for bug #1906223 and optimization
Don't set default style to cursor style until entering text
Andrej Sinicyn



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-03 20:07:41 +00:00
Julian Smart
26213f31ea Don't trigger kill focus event twice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-03 19:53:30 +00:00
Vadim Zeitlin
8072d933e8 don't return junk from wxHtmlTag::GetParamAsInt() if the parameter is not an integer [backport of r53432 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-03 00:40:29 +00:00
Bryan Petty
84e3b6cd27 Removed missing parameter from docs of wxVListBox constructor (bug 1956198).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-02 15:46:36 +00:00
Julian Smart
65cdb1b702 Reduced the height requirement for the bullet dialog for small displays
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-29 11:56:13 +00:00
Julian Smart
a6fb54ec71 Added a wxRichTextCtrl-specific caret implementation in case of need
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-29 09:10:05 +00:00
Julian Smart
2b91dd9e34 More efficient implementation of DoGetPartialTextExtents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 13:46:11 +00:00
Stefan Csomor
6c18db538f adapted Julian's new speed improved version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 13:09:20 +00:00
Vadim Zeitlin
3fea4c9842 fix wxEVT_COMMAND_TEXT_ENTER generation in wxSpinCtrl [backport of r53396 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 11:33:47 +00:00
Václav Slavík
a772b79eb1 report Unicode characters when reporting EVT_CHAR in keyboard sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 11:09:33 +00:00
Julian Smart
824ff8bd8a Make controls better size on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 10:15:49 +00:00
Kevin Ollivier
612c1ebf57 Reverting last commit, it breaks ABI compat.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 04:19:15 +00:00
Kevin Ollivier
ee50eb7432 Store the DC used to initialize wxGCDC, and make it retrievable. This helps with things like wxRenderer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 02:29:44 +00:00
Julian Smart
00217f95a4 Bug fix for empty objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-27 17:17:08 +00:00
Julian Smart
ff004763b2 Further wxRichTextCtrl performance improvements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-27 13:26:57 +00:00
Vadim Zeitlin
70f90022b7 backport fix to _TIFFrealloc from newer libtiff in trunk: don't call ::GlobalSize(NULL)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-26 23:05:39 +00:00
Julian Smart
4ced5be46a Fixed quotation mark input/output
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-26 19:43:11 +00:00
Kevin Ollivier
24e71cb379 Add support for Mac dock icon bouncing. I used a cross-platform enum so that we can (ideally) craft a cross-platform API for 3.0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-26 05:43:41 +00:00
Kevin Ollivier
cf62ab93e6 Make build tools accessible in 2.8 branch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-26 02:33:48 +00:00
Václav Slavík
987e09dce1 Fixed handling of transparent background in borderless wxBitmapButton (patch #1477883)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-24 23:19:36 +00:00
Julian Smart
567197af17 Made performance acceptable for editing large paragraphs on low-powered machines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-24 14:39:54 +00:00
Julian Smart
3bc1747441 Further optimizations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-24 11:44:13 +00:00
Václav Slavík
c9630cbcf5 merged trunk translations for strings occuring but not translated in 2.8 into 2.8 catalogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-24 08:30:00 +00:00
Václav Slavík
00f39b52b0 updated 2.8 message catalogs from sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-24 07:58:37 +00:00
Václav Slavík
55135bf4cf don't merge msw/it.po with wxstd.pot during 'make allmo', it's manually maintained
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-24 07:56:14 +00:00
Kevin Ollivier
5e0ca64978 Ensure popup menus can display sub-menus.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-23 23:31:29 +00:00
Julian Smart
126bfec4f8 Further performance optimizations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-23 15:01:54 +00:00
Václav Slavík
c853b92bdb wxHTML: preserve TAB characters when copying <pre> content to clipboard (backport from trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-23 11:54:05 +00:00
Julian Smart
555accf41f Two bug fixes for FindWrapPosition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-22 07:57:16 +00:00
Julian Smart
33f0828996 Speeded up wrapping (again), this time using partial text extents.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-21 15:25:59 +00:00
Paul Cornett
c60eb134fd fix child window redraw glitches during scrolling (bug 1944002)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-20 22:44:17 +00:00
Václav Slavík
2e1f8b15ae implement wxLIST_AUTOSIZE support in wxMac's wxListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-20 22:10:04 +00:00
Václav Slavík
b38e4d6f23 fixed wxMac's wxListCtrl::SetColumnWidth(-1, ...) to really set width for every column
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-20 20:28:27 +00:00
Julian Smart
4e42bc75f6 Fix for slow first character insertion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-20 19:06:39 +00:00
Václav Slavík
f198b24343 fixed wxHyperlinkCtrl XRC handler to not crash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-20 11:39:16 +00:00
Vadim Zeitlin
813838abc9 replace inexistent wxTBK_DEFAULT with wxBK_DEFAULT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-19 21:56:10 +00:00
Stefan Csomor
40d3158d55 1945421 applied
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-18 08:06:16 +00:00
Michael Wetherell
bdbfedab84 Backport getgrgid_r fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-17 17:29:22 +00:00
Robert Roebling
8b95d6a8f9 [ 1942756 ] wxImage:SaveFile() returns true instead of result of subcall
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-17 15:10:20 +00:00
Robin Dunn
11d774e47d Also set wxHAVE_RAW_BITMAP for Mac and GTK2, use it in wxSTC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-14 18:41:43 +00:00
Vadim Zeitlin
77a0f3d154 fix bug when appending string to itself (closes bug 1942116) [backport of r48302 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-14 16:05:50 +00:00
Václav Slavík
87be8ad315 fixed incorrect layout width caching in wxHtmlContainerCell (patch #1931479)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-13 12:29:53 +00:00
Václav Slavík
3657a5a4d8 Fixed IMPLEMENT_APP() to be compatible with the -WU flag of Borland C++ (patch #1935997)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-13 12:17:37 +00:00
Vadim Zeitlin
ffdf14fca4 use WXDLLIMPEXP_FWD_CORE instead of WXDLLEXPORT to avoid newer mingw32 warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-12 02:31:04 +00:00
Vadim Zeitlin
2434c0104c ENDSESSION_LOGOFF is a bit flag, test for it using bit end and not equality in WM_ENDSESSION handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-11 17:56:30 +00:00
Václav Slavík
2411da816d compilation fix for newest DirectFB versions (patch #1939443 by Anders Larsen)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-10 17:58:44 +00:00
Julian Smart
b99e1e15be Added wxRichTextCtrl superscript and subscript support (Knut Petter Lehre).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-10 14:05:25 +00:00
Stefan Neis
df5e687a53 Added IMPLEMENT_DYNAMIC_CLASS for wxMiniFrame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-09 21:25:28 +00:00
Julian Smart
16dc7f8834 Try standard XDG location for documents directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-08 13:51:17 +00:00
Julian Smart
a6a5ab2472 Don't send event from ChangeValue
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-08 11:04:39 +00:00
Kevin Ollivier
77da448aff Since we use C-style casts to grab the pointer from an item id, we can return an invalid item if the control has extra items appended.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-08 00:31:44 +00:00
Vadim Zeitlin
47788d7b6c don't ask for bounding rectangle of a hidden root, this fixes a crash introduced by the previous patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-07 20:12:57 +00:00
Julian Smart
08013d598e Avoid the use font setters to avoid any memory leaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-07 12:25:08 +00:00
Vadim Zeitlin
2a62904f60 added a note about entry point in Unicode build (patch 1934836)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 16:01:01 +00:00
Vadim Zeitlin
691ed559c9 use background colour, not WINDOW_COLOR, in OnDrawItem() (patch 1934179)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:57:54 +00:00
Vadim Zeitlin
4934cef8fe refresh the item after adding its first child as, apparently, otherwise the '+' is not always drawn immediately (patch 1927179)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:37:52 +00:00
Vadim Zeitlin
21723122cb reset m_selection in DeleteAllPages() (patch 1922215); some cleanup of DoRemovePage() in trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:14:25 +00:00
Chris Elliott
432e43582d SF bug 1895101
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 09:31:01 +00:00
Vadim Zeitlin
619b3b447a use wxCHECK instead of wxASSERT in Alloc() to avoid crashing when (trying to) use strings of length close to INT_MAX (bug 1933693)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 17:54:02 +00:00
Vadim Zeitlin
c336299eb6 don't crash in ReadString() if the length read from the stream is too big (bug 1933560)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 17:28:32 +00:00
Robin Dunn
2bbbb7892f Fix AdjustForOverflow to use item->CalcMin, not item->GetSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-03 23:28:16 +00:00
Václav Slavík
f4e1026261 Fixed timing of malformed animated GIFs in wxHTML (patch #1926825 by Gennady Feller)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-03 18:55:46 +00:00
Vadim Zeitlin
3d8b2865a1 replace wrong wxUSE_DYNAMIC_LOADER test with the correct wxUSE_DYNLIB_CLASS one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-03 12:47:16 +00:00
Robin Dunn
f9ce2a0f19 fix warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-03 03:33:38 +00:00
Robin Dunn
b23effe830 Fix for potential layout glitches in wxGridBagSizer when items span cells but
some other item affects the size of one of spanned rows/cols.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-03 02:45:07 +00:00
Václav Slavík
d37ce8aaa7 backported wxXmlNode::InsertChildAfter and its use during XML parsing to 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-02 10:06:54 +00:00
Julian Smart
ccae5408e6 Only update the toolbar buttons if the toolbar is visible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-02 10:03:40 +00:00
Václav Slavík
ea0fabb19a changing label invalidates best size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-02 09:36:53 +00:00
Vadim Zeitlin
5ca19fa62c improve best height calculation for empty listbox [backport of r52927 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-31 16:39:53 +00:00
Václav Slavík
697d268c05 fixed wxXmlNode::InsertChild() documentation to match the code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-29 22:57:45 +00:00
Vadim Zeitlin
56c263be0b fixed typo (extra underscore) in wxEVT_COMMAND_LISTBOXDOUBLECLICKED
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 16:17:42 +00:00
Vadim Zeitlin
b79ed636b8 don't blit too much when copying static box border in OnPaint()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 13:03:02 +00:00
Vadim Zeitlin
c0f482da5b don't use gtk_notebook_insert_page() return value as some old GTK+ versions (the one in Solaris 9 for instance) don't have it; also don't use gtk_notebook_get_nth_page() which we need this return value for at all in the trunk as it seems to be unnecessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 00:28:45 +00:00
Václav Slavík
0ed3d9f17a fixed focus related regression in wxListCtrl's wxTextCtrl handling after r52476
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-26 23:45:20 +00:00
Julian Smart
be3a59f269 Added GetId() to Connect to ensure only the relevant events are processed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-26 15:49:08 +00:00
Julian Smart
c8de719de2 Fixed selection clearing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-26 08:47:58 +00:00
Vadim Zeitlin
a954b0dd20 fix crash when pressing Up key in empty combobox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-23 20:20:46 +00:00
Václav Slavík
3bf1d42654 fixed TABs positioning inside <pre> so that tags don't throw it apart
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 21:19:47 +00:00
Václav Slavík
26fa2f80fb backported fix to wxSpinCtrl::GetClientSize() in wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 18:23:17 +00:00
Václav Slavík
f480c1c138 made wxAcceleratorTable work with buttons in wxGTK too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-18 16:19:49 +00:00
Václav Slavík
c7f1724ac5 fixed unresolved symbols in wxSizer docs in 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-18 16:17:29 +00:00
Benjamin Williams
59016c269e vista tree crash fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-17 21:22:06 +00:00
Vadim Zeitlin
45ff30df68 implement wxSpinCtrl::Reparent() to properly reparent both the spin button and the text control part [backport of r52543 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-17 13:46:31 +00:00
Julian Smart
7b4d2b50ea Don't accept picker text events from any old text control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-16 13:50:17 +00:00
Václav Slavík
f9c213a146 Fixed generic art provider to scale bitmaps down to client-specific best size if needed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-16 00:36:37 +00:00
Václav Slavík
725a35f6a0 if we can't detect tooltip color, yellow as used by Tiger is still better than white, which isn't used anywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-16 00:35:34 +00:00
Václav Slavík
8fd5fa3a0e wxMSW: generate wxClipboardTextEvent from wxTextCtrl with wxTE_RICH style too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 12:33:04 +00:00
Vadim Zeitlin
540ed0d7f4 initialize m_nCurLine in wxTextBuffer ctor (part of patch 1908134)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 02:38:43 +00:00
Vadim Zeitlin
78de549990 use wxTE_PROCESS_{ENTER,TAB} with the wxGridCellChoiceEditor combobox (slightly modified patch 1906581)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 02:24:12 +00:00
Paul Cornett
ac6704fa9b fix for infinite sizing loop (partial patch 1907189)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-14 15:55:09 +00:00
Julian Smart
ac01374973 Added typecasts (Sebastian Gottschalk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-14 14:24:34 +00:00
Julian Smart
251a07fb90 Fixed bug in wxDialUpManagerMSW::GetISPNames - uses realloc() without checking for NULL, leading to a memory leak (Sebastian Gottschalk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-14 14:18:24 +00:00
Julian Smart
61090a1a07 Fixed bug for chars with ASCII value > 127, explicitly casting to an unsigned char (Sebastian Gottschalk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-14 14:17:14 +00:00
Julian Smart
da62ad4c09 Fixed bug for chars with ASCII value > 127, explicitly casting to an unsigned char (Sebastian Gottschalk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-14 14:16:28 +00:00
Julian Smart
2e4dc1ddb1 Fixed buffer overflow (Sebastian Gottschalk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-14 14:14:57 +00:00
Julian Smart
5796f3e926 Fixed bug in XTI constructor macro (Sebastian Gottschalk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-14 14:13:05 +00:00
Stefan Csomor
0d3c6e6983 use the same font matching fallbacks for all layout operations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-14 10:33:09 +00:00
Václav Slavík
af24f0bd0f make sure FindFocus returns newly focused window immediately after SetFocus on 2.8 branch too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-14 01:14:56 +00:00
Václav Slavík
77392f0261 fixed crash in wxHtmlHelpController if the help window is still open
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-13 23:29:27 +00:00
Paul Cornett
2ace713c9a fix for idle processing stopping without processing all pending events, replaces patch 1912157
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-13 04:37:03 +00:00
Václav Slavík
3c61f2e3ab include 'Version' in version string, it's what Apple apps do
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-12 21:28:03 +00:00
Vadim Zeitlin
0cdffad26b removed non-existent SockAddrLen()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-12 19:24:33 +00:00
Julian Smart
5ba820ec7e Better fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-12 13:45:14 +00:00
Julian Smart
13beff4a16 Sizing/scrollbar corrections for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-12 13:36:09 +00:00
Vadim Zeitlin
ba3049f5a5 VC6 compilation fix: remove redundant end variable declaration in Destroy()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-11 14:06:04 +00:00
Julian Smart
c6b4dd2e4d Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-11 11:31:13 +00:00
Vadim Zeitlin
68e2214bfc fix WXDLLIMPEXP_FWD declaration of wxCollapsiblePane
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-10 13:55:07 +00:00
Vadim Zeitlin
c0e61743de use extra parentheses to fix Borland problems with operator?:
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-09 12:59:26 +00:00
Vadim Zeitlin
4b506b8b34 suppress (harmless) warnings about unused variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-09 12:55:39 +00:00
Robin Dunn
b8a91a00eb Enable XRC to call wxStaticText::Wrap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-09 03:27:15 +00:00
Robin Dunn
da2f6baf7c Don't need to use wxHAVE_RAW_BITMAP any more.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-09 03:21:11 +00:00
Stefan Csomor
6262f74563 fix for 1742682
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-06 18:02:21 +00:00
Vadim Zeitlin
5949c5068f use \newsince instead of incorrect \since
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-06 14:41:57 +00:00
Václav Slavík
87069a16f1 Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-06 13:48:50 +00:00
Václav Slavík
febd29d9e9 added wxRESERVE_SPACE_EVEN_IF_HIDDEN support to XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-05 15:14:37 +00:00
Václav Slavík
b185fa1efb backported wxSizer::SetSizeHints() fix to make it work correctly when the best size decreases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-05 15:09:16 +00:00
Václav Slavík
c46a31dd46 backported wxSizer::ComputeFittingClientSize() and ComputeFittingWindowSize() to 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-05 15:02:22 +00:00
Václav Slavík
a0a0e2b8d8 backported ClientToWindowSize(), WindowToClientSize() to 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-05 14:19:38 +00:00
Vadim Zeitlin
90416caebe really use the position passed to ShowHelpAtPoint() when using CHM help controller [backport of r52203 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-05 13:20:26 +00:00
Václav Slavík
f891eca8c0 backported wxRESERVE_SPACE_EVEN_IF_HIDDEN to 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-04 17:46:43 +00:00
Bryan Petty
98b9d9c98b Fixed non-precomp headers build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-04 00:21:16 +00:00
Vadim Zeitlin
e0f1a90fb4 position help windows shown when Shift-F1 is pressed near the window and not at the mouse position unless the mouse is over the window [backport of r52271 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-03 02:01:31 +00:00
Václav Slavík
be50cecab6 fixed rendering of wxTextCtrl's border with wxTE_RICH(2) styles and XP's Classic theme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 20:40:12 +00:00
Vadim Zeitlin
7f02d57e99 don't post WM_NULL if there is already a WM_NULL in the queue to avoid overflowing it (patch 1904771)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 14:45:41 +00:00
Vadim Zeitlin
60d02d5637 don't clear value index in SetStringValue() if the value is invalid (patch 1905695)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 14:29:38 +00:00
Václav Slavík
17dd3f27e0 wxMac: Fixed wxListCtrl to respect items' non-default fonts.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 10:43:48 +00:00
Vadim Zeitlin
fff10a73bf ignore VC7 projects created by importing VC6 ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 00:35:01 +00:00
Vadim Zeitlin
c1554065e6 mention that SetNativeFontInfo() resets the font in 2.8 but doesn't in the next versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 00:32:48 +00:00
Stefan Csomor
f7a5176212 guard against an m_peer being NULL which is the case for a wxMenuBar, and here tools with introspection from python crash on OS X because they display all attributes in inheritance ...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-01 16:45:55 +00:00
Václav Slavík
c170f4aeec fixed ~wxWindowBase to remove associated context help from wxHelpProvider -- otherwise wrong help text could be reused by other controls later
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-29 21:11:53 +00:00
Václav Slavík
118e206211 misc. fixes to wxHelpProvider docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-29 20:02:09 +00:00
Vadim Zeitlin
731991e499 fix asserts when the root is hidden [backport of r45135 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-29 19:51:05 +00:00
Václav Slavík
d5805cba69 fixed addition of wxLANGUAGE_VALENCIAN to be binary compatible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-29 15:12:57 +00:00
Václav Slavík
e37c9b6c2e clear statusbar 'Connecting...' message on failure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-28 22:50:25 +00:00
Julian Smart
2c3cfbb21c Open and Close clipboard properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-28 18:44:24 +00:00
Julian Smart
f779be80e4 Logged some changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 18:16:01 +00:00
Julian Smart
a3afc2ad35 Take into account explorer associations and CurVer when finding the command to execute.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 18:07:23 +00:00
Vadim Zeitlin
d28fb3eb2b don't attempt to create 0*0 bitmaps in GetBuffer() (patch 1899643)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 18:03:12 +00:00
Vadim Zeitlin
2603810965 clip the text in report mode to prevent it from overflowing into the next column (patch 1898914)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 18:00:30 +00:00
Václav Slavík
f15a5120e4 forgot to add OnFocusChange to version-script.in in r52007
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 15:32:57 +00:00
Vadim Zeitlin
f9894504d5 forward WM_HELP from the buddy control to the main one in order to make context sensitive help work when the text part of wxSpinCtrl is clicked with "?" cursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 15:08:54 +00:00
Vadim Zeitlin
185b3cb324 don't hide the TLW being deleted unless there any other *visible* TLWs remaining (bug 1902632)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 14:49:46 +00:00
Julian Smart
25afa6b11a Added new symbols
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 08:58:05 +00:00
Julian Smart
3fd2105057 Made wxRichTextCtrl cursors accessible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 08:54:40 +00:00
Stefan Csomor
570da69887 applying patch 1873285
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 07:55:24 +00:00
Vadim Zeitlin
441be66059 translate "Copy URL" string in the popup menu (feature request 1803958)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 02:18:42 +00:00
Julian Smart
4d46b12984 Don't take the previous paragraph style when deleting paragraph marker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 17:59:20 +00:00
Julian Smart
cadb181684 Fixed [ 1775674 ] Invalid color in picker dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 15:27:00 +00:00
Julian Smart
5816d21269 Fixed [ 1720130 ] A minor 'bug' or 'annoyance' with header file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 15:04:54 +00:00
Julian Smart
2a7c13adbd Fixed bug [ 1714813 ] ApplyXXXToSelection remove style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 14:55:20 +00:00
Julian Smart
d688e6394f Removed redundant Init call (bug 1724495)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 14:27:48 +00:00
Julian Smart
592b8d3ebe Fixed [ 1764805 ] wxSeek with negative offset fails on WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 14:15:12 +00:00
Julian Smart
b9203caf27 Fixed bug [ 1870906 ] There are few problems selection text by mouse in RichTextCt
Fixed bug [ 1870265 ] window does not scroll after pasting text
Fixed bug [ 1870264 ] wxTextUrlEvent after click in empty space
Fixed bug [ 1806479 ] wxRichText URL issues (URL event triggered when clicking on blank space)
Fixed bug [ 1806953 ] wxRichTextControl::AddParagraph() is broken
Fixed a bug in SelectWord causing bad selections.
Added Ctrl+Backspace word deletion.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 12:53:39 +00:00
Vadim Zeitlin
4f5921d16e return true from IsShownOnScreen() for TLWs even if their parent is hidden [backport of r50876 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-25 18:36:48 +00:00
Vadim Zeitlin
0b3f446900 reset s_bInAssert in wxDoOnAssert() in an exception-safe way (replaces patch 1900613) [backport of r52078 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-25 13:43:07 +00:00
Václav Slavík
16f2c0f6e0 gcc on OS X has problems with compiling empty files on SMB shares, added a comment to make macsock.h non-empty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-25 11:06:39 +00:00
Václav Slavík
c2c60cff09 fixed wxListCtrl::RefreshItem(s) - it didn't update anything before
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-24 17:06:35 +00:00
Robin Dunn
361349fe79 Add MacHideApp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 20:39:11 +00:00
Václav Slavík
7f427f9cc2 fixed wxBitmapButton to use focus and hover bitmaps correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 19:57:54 +00:00
Václav Slavík
e1f6fc8616 fixed strange focus order in wxTipDialog and set initial focus to the checkbox instead of read-only textctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 18:37:18 +00:00
Julian Smart
acfdd26365 Fixed IsShownOnScreen() for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 14:11:46 +00:00
Julian Smart
0f7e255a73 Fix caret position when deleting last character
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-21 16:57:47 +00:00
Julian Smart
bff43ea980 Don't treat character attributes as non-paragraph attributes if using a named paragraph style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-21 16:23:22 +00:00
Julian Smart
9ffff44c8b Don't omit empty text objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-21 16:18:43 +00:00
Michael Wetherell
e2cd68454a Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-20 22:20:17 +00:00
Julian Smart
109b4aa352 Fixed two out by one errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-20 20:32:13 +00:00
Vadim Zeitlin
f89e3c6f87 revert not encoding the colons in FileNameToURL() under MSW (r51904, patch 1890922) as this completely broke wxFS URLs parsing; explain this in a comment in the trunk version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-20 16:33:55 +00:00
Vadim Zeitlin
d680d60989 add check for minimal BCC version as well as message advising to turn _USE_OLD_RW_STL on for BCC 5.6 [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-19 16:50:32 +00:00
Vadim Zeitlin
74ad534dd4 implement wxRadioBox::Reparent(): it didn't reparent the radio buttons (patch 1891030)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-19 02:43:29 +00:00
Vadim Zeitlin
ddd5ad6298 don't encode collons in file:// URLs under Windows as IE is incapable of opening them (and other browsers can open both forms) (patch 1890922)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-19 02:37:53 +00:00
David Elliott
cde9708088 Backport 51898 from trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-19 01:13:48 +00:00
David Elliott
136e8c5ca0 Backport 51895 & 51896 which define HAVE_DLOPEN/HAVE_DLERROR when configure
is run on an OS X system supporting them (everything >= 10.3).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-19 00:25:05 +00:00
Vadim Zeitlin
c842c9c98b honour locale modifiers such a @valencia in system locale (patch 1896444)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 23:43:29 +00:00
David Elliott
3869473778 Limit wxListBox best size to 100x100. Particularly important on trunk where
the best size is not cached and will thus keep telling the sizers that the
best size is the full size of the content (i.e. such that you wouldn't need
to scroll it).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 21:51:29 +00:00
David Elliott
ee528046a4 Ensure that the NSTableColumn width is that of its largest item to enable
horizontal scrolling in wxListBox.
Copyright 2008 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 21:13:58 +00:00
David Elliott
23c7aef4b7 Add a new macro to the Objective-C uniquifying support that allows a
uniquified class to be a subclasses of another uniquified class.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 20:36:16 +00:00
David Elliott
e164c469a8 Fix bug where native views with the NSScrollView wrapper would have their
document size reset to the wx virtual size upon any size event.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 04:58:07 +00:00
Vadim Zeitlin
0d61322672 add ka_GE, ku_TR and ne_NP; some cleanup and better handling of sr_XX (patch 1858926)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-17 20:11:17 +00:00
Stefan Csomor
5e2250c1eb going private again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-17 09:16:11 +00:00
Stefan Csomor
0bed86c449 going private again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-17 08:58:11 +00:00
Vadim Zeitlin
3ae0951d3a fix wxNotebook::GetPage{Text,Image}() when they were called from the page change event handler for the first added page (patch 1895161)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-17 01:37:23 +00:00
Stefan Csomor
8d2211719f wxstat fn_str() aftermath ..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 21:37:12 +00:00
Stefan Csomor
ea6164c71f wxstat fn_str() aftermath ..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 21:33:37 +00:00
Vadim Zeitlin
70ba4e9681 fix redundant storage of current date both in wxCalendarCtrl and popup m_currentDate variable which resulted in multiple bugs, e.g. calendar didn't open at the current date value [ABI preserving version of r51843 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 15:54:55 +00:00
Julian Smart
b007ad818b Avoid paragraphs with no children
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 13:35:42 +00:00
Julian Smart
b203a2d7d2 Fixed an XML parsing error for complex URLs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 12:09:31 +00:00
Julian Smart
924edb1897 Removed unnecessary include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 11:15:07 +00:00
Stefan Neis
179c53bbaa Backported bitmap drawing under Win9x and 2000 (not supporting alpha
transparency) from r51031 (modified patch 1761598).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 01:59:21 +00:00
Stefan Csomor
8cba764cef better implementation from VZ
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-15 20:46:02 +00:00
Julian Smart
1dff884202 Set default attributes after a SetSelection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-15 15:41:38 +00:00
Stefan Csomor
2baa0b125b applying patch 1894478
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-15 15:33:38 +00:00
Vadim Zeitlin
7e4170e8b7 compilation fix for TRACE_MASK after last change (replaces patch 1894434)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-15 13:14:49 +00:00
David Elliott
b00bf6e49e Better listbox scrollbar behavior.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 23:34:48 +00:00
David Elliott
00a7dfee85 Hack: force a vertical scroller on wxListBox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 22:54:20 +00:00
David Elliott
339d6db705 Ensure that the (separate on 2.8 branch) message dialog style gets set when constructing wxCocoa's message dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 21:31:18 +00:00
David Elliott
f033c4562a Move wxWindowCocoaScrollView class into its own header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 20:40:16 +00:00
David Elliott
bf064fec60 More GC fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 19:46:21 +00:00
Stefan Csomor
1bd09d0950 making the wxContainer select the text field for first child focus instead of choice, so that we have always the same behaviour, since text fields are always focusable, choices only with full keyboard access...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 17:14:27 +00:00
Julian Smart
9723d04855 Cut down on unnecessary update events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 11:11:48 +00:00
Julian Smart
d95647e65e Performance optimization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 11:01:02 +00:00
Paul Cornett
031ce0e940 backport r49252, use a GtkAlignment to set size of toolbar controls, instead of trying to "correct" size_allocate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 05:31:03 +00:00
Vadim Zeitlin
41bbc56e13 mention fix for the column index in the column right-click event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 23:09:20 +00:00
Vadim Zeitlin
6bc4157b6e use header window coordinates when searching for the right-clicked column (bug 1879009)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 23:07:30 +00:00
Vadim Zeitlin
cc6d111a24 set listview extended styles after switching to report view and not only when creating it (bug 1874996) [backport of 51390 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 22:46:30 +00:00
Vadim Zeitlin
53b974d86c don't define TRACE_MASK if it's not used (fixes gcc warning)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 22:43:31 +00:00
Vadim Zeitlin
6cdb1386bd fix gcc format string warning and simplify the code a little as was already done in the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 22:42:45 +00:00
Vadim Zeitlin
ed4b62eaba don't define HAVE_FSYNC if it's already defined (as it can happen when using Cygwin with configure)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 22:39:32 +00:00
Vadim Zeitlin
3d0ae18d75 initialize the colour to be invalid if the name passed to the ctor is invalid (bug 1891235)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 22:36:43 +00:00
David Elliott
b0788b27ae Fix (at least) slider action messages in GC mode.
Copyright 2008 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 20:30:36 +00:00
David Elliott
6dede16a71 If aWxString.fn_str() is used as the argument to wxStat then wxStat should not
be used at all because wxStat is looking for a wxChar* that it will pass
through wxConvFile whereas fn_str() effectively returns a char* suitable for
use directly with the real function.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 20:24:06 +00:00
Julian Smart
359c789d6b Make sure paragraph style is reset before applying a new style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 19:26:33 +00:00
Stefan Neis
9d8cbef00e Blind fix to improve wx-config's Bourne shell compatibility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 18:42:04 +00:00
Julian Smart
4b9bf89977 Implemented selection using shift left click
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 17:17:32 +00:00
Paul Cornett
0b9852a90e make sure client area is refreshed after last child frame is closed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 16:57:44 +00:00
Julian Smart
b402ac436c Fixed undo batching
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 16:27:49 +00:00
Julian Smart
35e93e199f Further fixes, for selected text display and new paragraph insertion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 14:24:37 +00:00
Paul Cornett
592476a384 backport r51481, fix for GTK assertion from gtk_widget_set_colormap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 06:58:35 +00:00
Paul Cornett
5dc5366512 fix assert at startup on non-MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 04:39:59 +00:00
Julian Smart
af5f42f506 Fixed several style, paste and undo bugs
Added a reload function to the sample for quickly restoring original text


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-12 17:05:32 +00:00
Stefan Csomor
aab329d19f adding filename conversion for wxStat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-12 13:16:30 +00:00
Vadim Zeitlin
fb6eab9ecb update m_lastcount correctly in wxBufferedInputStream::Read() when using the buffer associated with another stream and not created by this one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 20:23:29 +00:00
Vadim Zeitlin
3fc67306a4 implement wxListBox::EnsureVisible() in wxGTK; add a test for it to the widgets sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 16:03:23 +00:00
Stefan Csomor
c0faf10639 applying 1890924
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 15:19:53 +00:00
David Elliott
cbc3b98b2b When Cocoa sends [tabView:didSelectTabViewItem:] create a page changed event
instead of a page changing event and actually send it.
Copyright 2008 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 07:29:43 +00:00
Vadim Zeitlin
a419db5e61 Unicode compilation fix after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-10 14:41:34 +00:00
Vadim Zeitlin
bd73a91b55 fix compilation after last change: wxCFStringRef doesn't exist in 2.8, wxMacCFStringHolder does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-10 12:56:02 +00:00
Vadim Zeitlin
e0c3d1e0d5 backported Mac version of GetInfo() from trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-10 00:12:55 +00:00
Vadim Zeitlin
b03cf964a3 don't close UDP socket if it receives an empty datagram (patch 1885472)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-09 23:51:38 +00:00
Vadim Zeitlin
46915bd68a get wxSYS_COLOUR_MENU from a menu bar and not from a button (patch 1887197)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-09 23:35:16 +00:00
Vadim Zeitlin
4e825bab21 use generic file picker in wxFLP_SAVE case as the native one doesn't allow to select non-existent files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-09 23:30:47 +00:00
Vadim Zeitlin
1988baa62b added alpha support to wxImage::Paste() (patch 1883497, bug 1831612)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-09 15:32:04 +00:00
Vadim Zeitlin
d05d5c1687 don't lose the contents of the combobox if it was set to a value not in a list and a popup has been opened and closed (patch 1883474)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-09 15:22:15 +00:00
Vadim Zeitlin
be0d2b4b11 don't hardcode grey/white colours for non-MSW/Mac in InitColours(), use wxSystemSettings for all ports (even if some of them, such as wxGTK, still hardcode white for wxSYS_COLOUR_3DHILIGHT) (replaces patch 1883386)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-09 15:10:13 +00:00
Benjamin Williams
326ed6e95e maximize bug fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-08 13:55:30 +00:00
David Elliott
caea5ecdc0 Fix tracking rectangles in 64-bit build by remembering the tag as the 64-bit integer that it is in that mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-08 09:12:04 +00:00
Vadim Zeitlin
30b001e3af don't redeclare wxYield() if it had been already declared to fix g++ warnings with -Wredundant-decls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-08 08:17:41 +00:00
David Elliott
1be61dfe2d Reword the comment again. I forgot to save before committing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-08 08:06:26 +00:00
David Elliott
7f6224c05e Change the __NEXT_RUNTIME__ test to __OBJC_GC__ which is what I really meant
but I had to look up which preprocessor define was emitted by -fobjc-gc.
Also improve the comments a bit.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-08 08:04:46 +00:00
David Elliott
ff544956a5 Avoid warnings in the Objective-C uniquifying code when running in GC mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-08 04:24:35 +00:00
David Elliott
08433260e8 Add wxGCSafeRetain/wxGCSafeRelease to the vast majority of wxCocoa code.
Copyright 2008 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-08 00:35:39 +00:00
David Elliott
f42fc2c1a7 Instead of using wxCFRetain/wxCFRelease directly for Objective-C objects add
new wxGCSafeRetain/wxGCSafeRelease functions which are specific to Objective-C
objects and can be compile-time switched to standard retain/release without
breaking wxCFRetain/wxCFRelease for CF objects.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-07 23:37:30 +00:00
David Elliott
0b2ad6e81a Regenerate configure.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-07 21:29:23 +00:00
David Elliott
519dd9111f Add in some support for separate CXXFLAGS and OBJCXXFLAGS.
Add -DWX_PRECOMP to CXXFLAGS instead of CPPFLAGS.
Combined with very slight Bakefile changes to use OBJCXXFLAGS, this greatly improves the wxCocoa build.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-07 20:59:50 +00:00
Julian Smart
b7fd84915d Show 3D border on XP Classic theme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-07 16:42:22 +00:00
Julian Smart
d646b8d6c7 Avoid scrolling parts of the screen that don't belong to us
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-07 14:15:45 +00:00
David Elliott
78b65191d6 Fix most of the Objective-C GC problems by using the stronger CFRetain/CFRelease in wxObjcAutoRef.
Actually use wxObjcAutoRef for the wxNSViewNotificationObserver singleton to keep it from being finalized.

Copyright 2008 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-06 20:10:07 +00:00
Vadim Zeitlin
3d4b579bd8 correction after the previous commit which introduced bug 1888014 [backport of r51574 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-06 19:58:30 +00:00
Julian Smart
b850bbe616 Reset scroll position when clearing buffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-06 19:18:25 +00:00
Vadim Zeitlin
006988d24f fix GetTLWParentIfNotBeingDeleted() to work correctly even if an intermediate non-TLW parent is being deleted, it should still return the TLW parent and not NULL in this case, otherwise we'd crash when a button child of a panel being deleted is current temporary default button [backport of r51570 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-06 14:20:22 +00:00
Julian Smart
bc11931c4e Strip menu codes from page label for consistency with other platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-05 09:12:12 +00:00
Vadim Zeitlin
887f53ddf6 length passed to WideCharToMultiByte() was off by one in the last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-05 07:24:59 +00:00
Vadim Zeitlin
9b0956b277 set eol-style LF on even more Unix-only files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-04 17:05:54 +00:00
Vadim Zeitlin
f3282c3e51 set eol-style LF on more Unix-only files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-04 16:58:38 +00:00
Vadim Zeitlin
a129b6d15a use BSTR length to also deal with NULs inside BSTRs correctly in Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-04 08:08:57 +00:00
Vadim Zeitlin
6b5f2e44c1 use WideCharToMultiByte() instead of wcstombs() to deal with BSTRs containing NULs (modified patch 1886062)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-04 08:04:39 +00:00
Vadim Zeitlin
918a6614fa another correction to indices used in StringToLines()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 23:43:58 +00:00
Vadim Zeitlin
c0d550ed92 correct indices used in StringToLines() (modified patch 1882985)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 21:06:17 +00:00
Vadim Zeitlin
4e370c7f2a set svn:eol-style to LF [backport of r50845 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 17:08:41 +00:00
Vadim Zeitlin
fcaa9a6e30 build fix for wxUSE_INTL==0 (patch 1878908)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 14:12:45 +00:00
Vadim Zeitlin
3aac5b45ea don't use negative sizes for row/column labels subwindows to avoid GTK warnings (patch 1878512)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 14:11:24 +00:00
Vadim Zeitlin
807eac818a make XPM data const to avoid warnings from mingw 4.0 (patch 1874995)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 13:48:11 +00:00
Václav Slavík
285900728d fixed wxTextCtrl to not process clipboard events twice if there's a custom wxEVT_COMMAND_TEXT_* handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-02 14:07:19 +00:00
Michael Wetherell
f8f925e0a9 Compile fix when 2.6 compatibility on and --without-zlib.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-01 16:44:56 +00:00
Julian Smart
8b2a6dfc24 Added a reset-buffer event to give an opportunity to set the default initial style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-01 14:13:51 +00:00
David Elliott
7e27b3c853 Allow wxTopLevelWindowCocoa::SetDefaultItem(NULL)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-31 19:17:42 +00:00
Vadim Zeitlin
2902ec6116 return the result of ProcessEvent() from ProcessCommand() instead of always returning true unconditionally
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-30 21:31:03 +00:00
Julian Smart
349556aba5 Added checks to encoding conversion to avoid crash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-30 17:02:53 +00:00
Vadim Zeitlin
24ca0acd57 corrected comment: wxSingleInstance is not for Win32 only since about 10 years
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 23:11:55 +00:00
Julian Smart
ccaff46ee6 Corrected wxSetCursor documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 11:18:03 +00:00
Julian Smart
8012cfb11f Fixed global cursor setting on Mac, which fixes busy cursor and context help cursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 11:01:27 +00:00
Julian Smart
fbd42050d5 Take basic style into account when applying style sheet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 17:58:43 +00:00
Julian Smart
a5e384ca8d Take basic style into account when showing style under cursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 17:34:36 +00:00
Václav Slavík
a36c664252 Fixed wxCURSOR_HAND to map to GDK_HAND2 and not GDK_HAND1, for consistency with other applications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 15:26:44 +00:00
Vadim Zeitlin
da79097cbe only define wxEventPtr in wxBase, not wxCore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 12:57:04 +00:00
Vadim Zeitlin
38d05c1011 don't fail in wxTransferStreamToFile if file size is exact multiple of 4KB (bug 1835918)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-26 23:23:09 +00:00
Vadim Zeitlin
29f1f4864e delete the event object in ProcessPendingEvents() even if the handler throws an exception (bug 1836010)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-26 23:18:30 +00:00
Vadim Zeitlin
57f27af169 fix assert when using owner-drawn menu items with the newest (Vista) SDK [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-26 01:38:06 +00:00
Julian Smart
1ca0f7a249 Corrected image saving to HTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-25 16:38:18 +00:00
Julian Smart
52bd35f359 HTML output corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-25 15:02:44 +00:00
Julian Smart
b97ff943c6 Image objects should load and save attributes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-25 12:10:56 +00:00
Julian Smart
123cc0e9d7 Fixed a bug in HasAlignment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-25 09:16:01 +00:00
Julian Smart
c6f158dfbb Update caret in SetInsertionPoint
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-24 22:43:22 +00:00
Julian Smart
7885636055 Style removal fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-24 22:23:08 +00:00
Paul Cornett
9bcce52d3f don't clear m_items before deleting m_menu (partial backport of r49263)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-24 18:12:55 +00:00
Paul Cornett
0913baedc3 fix memory leak when wxMenu is used as a popup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-24 17:59:11 +00:00
Julian Smart
d06f01b7a2 Optimization correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-24 17:28:41 +00:00
Vadim Zeitlin
d05fe24689 fix assert when calling ExpandAll() on hidden root item (bug 1768282)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-24 11:23:30 +00:00
Julian Smart
4d6022b2c6 ABI compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-23 13:03:22 +00:00
Julian Smart
00ba76f198 Splittree header commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-23 07:29:48 +00:00
Stefan Csomor
27aa92bfa0 fixing 1877182
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-22 13:59:45 +00:00
Václav Slavík
a9cb1b92a3 use xdg-open in wxLaunchDefaultBrowser() on Unix if available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-22 10:19:39 +00:00
Julian Smart
8bd0636fca Added event handler macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-22 08:23:44 +00:00
Václav Slavík
2ce6b01ba5 wxGrid focus handling fixes:
- don't allow focus in helper labels subwindows
- draw selection in different colour when not focused
- hide cursor/highlight when not focused



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-21 17:16:15 +00:00
Václav Slavík
8439c5e20e C++ files are not executable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-21 16:30:13 +00:00
Stefan Neis
0ed66b8299 Applied patch #1875242 - fixing more bugs related to using OS/2's DevQueryCaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-19 14:10:36 +00:00
Vadim Zeitlin
479ba6e11e use bgcolor when restoring styles as this is what we write, not backgroundcolor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-19 03:42:05 +00:00
Vadim Zeitlin
87c5dec670 skip focus events after handling them in wxTextCtrl, otherwise they never reach wxApp (bug 1875046)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-19 03:35:47 +00:00
Stefan Neis
e5a898b54d Fixed errors in OS/2's wxDC::SetMapMode (patch #1871556, needed for Filezilla).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-18 21:38:26 +00:00
Václav Slavík
19d59a461f the wxConvUI hack in wxMsgCatalog should only be done in ANSI build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-17 18:01:23 +00:00
Vadim Zeitlin
980abc9e64 don't write wide string to std::ostream which outputs them as pointer values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-16 22:15:18 +00:00
Julian Smart
d1254299f1 Correction for cursor setting when moving out of a sash window (John Dallaway)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-16 13:50:23 +00:00
Vadim Zeitlin
3588d8d1c4 set mime-type to image/x-xpixmap and eol-style to native for all XPMs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-16 13:05:34 +00:00
Vadim Zeitlin
0593dff688 use more WXDLLIMPEXP_FWD declarations instead of WXDLLIMPEXP (patch from Tim Stahlhut)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-16 12:56:37 +00:00
Vadim Zeitlin
0a585911c0 don't enable disabled windows when showing them (patch 1871879)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-16 01:49:36 +00:00
Václav Slavík
90b5819c2e fixed wxXmlResource::GetText() in ANSI build to correctly convert the string to current locale's charset
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-14 22:40:28 +00:00
Julian Smart
e3726cf6c9 More split tree fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-14 15:56:48 +00:00
Stefan Csomor
1403931675 make matching code case-insensitive
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-13 18:07:01 +00:00
Vadim Zeitlin
8bb9ea69f1 fix bug introduced in wxRegion::DoUnionWithRect() in r41429 which broke refreshing/repainting in wxGTK1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-12 20:28:56 +00:00
Vadim Zeitlin
1c78eba4ff compilation fix for wxGTK1 after r49740 (GtkOnSize() there needs size parameters)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-12 19:52:08 +00:00
Stefan Csomor
7edab562a0 adding old 'pict' support to quartz mode for receiving bitmapobjs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-11 19:18:57 +00:00
Stefan Csomor
dc21f4bbb0 adding old 'pict' support to quartz mode for receiving bitmapobjs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-11 19:17:46 +00:00
Bryan Petty
8e9674bbd2 Backported wxRect::Intersect() documentation (patch 1868322 from Laurent Humbertclaude).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-11 18:38:20 +00:00
Julian Smart
fa0c928797 Fixes for split tree when using generic tree control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-10 19:57:35 +00:00
Julian Smart
416a4f3cd9 Colour correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-09 20:39:02 +00:00
Julian Smart
1b7e34be56 Fixed GetInfo to use the current language.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-09 15:54:42 +00:00
Julian Smart
51d48f09cf Don't ignore path when prompting for file in SaveAs()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-09 14:56:12 +00:00
Vadim Zeitlin
1faf469de3 test Clear() in the sample [backport of r51116 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-09 14:43:15 +00:00
Stefan Csomor
75d8e044ec adding back support for font encoding in non-unicode builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-07 13:59:53 +00:00
Robert Roebling
462c155465 [ 1865141 ] wxNotebook::DeletePage can result in invalid page selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-07 13:04:19 +00:00
Vadim Zeitlin
7f45b76c62 return false from Dispatch() if gtk_main_quit() was called (patch 1864846)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 15:26:16 +00:00
Vadim Zeitlin
9214b97a17 don't unload libgnomevfs.so, this results in a crash on exit later so keep it loaded as a lesser evil (see Gentoo bug 203389)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 13:14:41 +00:00
Vadim Zeitlin
cf91c9b8c1 fix comparison of BYTE variable with -1 after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 00:27:41 +00:00
Vadim Zeitlin
9d39c3f3aa fix handling of OEM VKs in wxCharCodeWXToMSW() (patch 1810940)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-05 18:59:09 +00:00
Vadim Zeitlin
7f8344ab96 meaning of left/right keys should be inversed in RTL locale (patch 1863866)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-05 18:53:12 +00:00
Michael Wetherell
3306244cb4 Revert previous commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-03 17:11:45 +00:00
Paul Cornett
0fa6253bdf fix for last commit: didn't work if mask was white
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-03 06:58:11 +00:00
Paul Cornett
4142b4383b Fix wxCursor(wxImage&) ctor for image widths not a multiple of 8, and finding second-most frequent color.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-03 05:29:07 +00:00
Paul Cornett
87cc328112 backport: fix leak when creating wxCURSOR_BLANK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-03 03:50:25 +00:00
Vadim Zeitlin
074ca2937d don't hardcode 16/32 as sizes for small/normal icons (fixes bug 1862812)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-03 01:13:44 +00:00
Vadim Zeitlin
bf37d5c83e also scroll vertically if necessary in MoveToItem() when the control is in a non-report mode (based on patch 1857650)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-03 00:52:42 +00:00
Vadim Zeitlin
ec1cc2edad don't call LogLastRepeatIfNeeded() from dtor, it's too late to do it there anyhow; do call it from Flush() however (replaces patch 1857589)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-02 21:27:31 +00:00
Vadim Zeitlin
c476ef9b48 don't lock the gs_prevCS critical section recursively (replaces patch 1857581)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-02 21:18:15 +00:00
Vadim Zeitlin
cb3c7437d2 allow creating empty ZIP archives (patch 1861030)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-02 20:31:31 +00:00
Vadim Zeitlin
f748392d04 added wxS(); use it in a couple of places
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-02 16:31:38 +00:00
Vadim Zeitlin
43de9abf95 do VMS-specific X symbols redefinitions only once in wx/platform.h instead of doing it in individual files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-01 20:38:33 +00:00
Robin Dunn
c0e28504ec Ensure AutoComp items with no type will set the item's image index to -1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-31 20:12:59 +00:00
Vadim Zeitlin
ee635d523a fix bug with parsing negative time zones in ParseRfc822Date()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-30 23:35:40 +00:00
Julian Smart
d596490f4b Reduction of includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-30 16:11:12 +00:00
Julian Smart
cb6aa66cae Fixed pasting inefficiency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-30 14:22:24 +00:00
Robin Dunn
9de26f99db It is possible for a scrolled window to get focus events from children other than
the target window's children (the wxGrid label windows for example) so don't
trigger an assert about it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-28 17:57:55 +00:00
Mart Raudsepp
fb8c131d10 Workaround an assert that leads up to causing a crash on the next time anything tries to CaptureMouse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-28 07:16:38 +00:00
Mart Raudsepp
f95d54fe64 Fix compilation of unicode debug builds, broken since rev50864
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-25 23:33:16 +00:00
Mart Raudsepp
ba333a53b0 Cherry-picked from trunk: Update some references of CVS to SVN, more remain that should be changed; update the daily makefiles link in winCE project file downloading instructions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-25 23:01:48 +00:00
Vadim Zeitlin
355d2bbff0 implement wxListCtrl::ScrollList() (in report view and vertical direction only) (slightly modified patch 1843647)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 15:58:38 +00:00
Vadim Zeitlin
56bbaa28a3 fixes to wxImage::ResambleBox() (patch 1843902)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 15:52:48 +00:00
Vadim Zeitlin
9b3fbee03e discard any pending messages for the socket being destroyed to avoid the problem with having them delivered to the next socket we create which reuses the same message number (patch 1856012)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 14:05:25 +00:00
Václav Slavík
7d840762c6 fixed XRC handler for sizers to do the expected thing when putting controls into wxScrolledWindow: let them determine virtual size, not real size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-21 22:50:35 +00:00
Václav Slavík
16fb9e58c1 fixed wxScrolledWindow best size calculation to not use current size in computation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-21 22:48:44 +00:00
Václav Slavík
108c23222a wxScrolledWindow can get wxEVT_CHILD_FOCUS event for itself, handle that case too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 20:05:46 +00:00
Václav Slavík
237d84033e backported: when a window inside scrolled window receives focus, make sure the parent is scrolled so that the window with focus is visible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 18:36:19 +00:00
Václav Slavík
d198606868 skip wxChildFocusEvent in WX_DELEGATE_TO_CONTROL_CONTAINER, so that other code can see the notification too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 18:32:55 +00:00
Julian Smart
89639ecdba Corrected wxRTTI for wxNotebook so dynamic casting to wxBookCtrlBase works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 10:51:33 +00:00
Vadim Zeitlin
09d2ce335c set up the correct layout direction for memory dc in Render() (patch 1789359)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 01:19:15 +00:00
Robin Dunn
b445553485 Use 1040 for the PPC VERSION_MAX_ALLOWED, and do a proper weak linker
reference check for CGContextSetBlendMode.  This allows the wxPython PPC half of the 
Universal binary to be fully functional on Tiger+.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-18 19:35:57 +00:00
Stefan Csomor
4c2356097d fixing the HITextView single line scrolling under 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-18 16:53:10 +00:00
Paul Cornett
7328ad4ec7 fix tests for brush hatch styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-17 07:32:05 +00:00
Vadim Zeitlin
495d64ce39 don't misinterpret the time after the date as a weekday (patch 1836708)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 21:03:21 +00:00
Vadim Zeitlin
35227fd226 don't use 8 bit characters in sources to avoid warnings in non-latin1 locales (patch 1841741)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 02:57:58 +00:00
Vadim Zeitlin
bffe71ce01 Spanish translation updates from MiguelSky
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 02:37:52 +00:00
Robin Dunn
fcc7e7595b Ensure child is frozen before trying to thaw it, to avoid assert.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-13 20:49:34 +00:00
Mart Raudsepp
6d7fdd21e4 Include defs.h before checking if wxUSE_GRAPHICS_CONTEXT is requested in build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-12 20:19:36 +00:00
Vadim Zeitlin
1c786fa848 don't leak wxImageList if wxHF_CONTENTS is not used in wxHtmlHelpWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-11 23:00:15 +00:00
Julian Smart
cb6a7b264e Set the object for the context menu event.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-11 15:28:39 +00:00
Stefan Csomor
eb239e05b8 fix for document preview
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-11 13:41:14 +00:00
Bryan Petty
e1469c7c4e Backported r50561: Fixed std::cout redirection code example.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-08 10:01:41 +00:00
Julian Smart
d9fa0b5388 Don't show messages for directories that can't be read
since some users will think it's scanning their system


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-07 08:59:15 +00:00
Robin Dunn
51481e7400 Add wxID_EDIT to the list of stock IDs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-06 18:09:37 +00:00
Robin Dunn
151f9e50dc bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-06 18:08:58 +00:00
Julian Smart
7a6db76600 Big wxRichTextCtrl performance increase due to faster wrapping code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-06 12:25:59 +00:00
Julian Smart
6d8d750e37 Clarified context menu event behaviour.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-05 08:44:41 +00:00
Julian Smart
bbde7abce9 Reverted mouse position change - wxMSW does send (-1, -1) for keyboard context menu access
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-04 21:51:33 +00:00
Václav Slavík
5012afdc2a added <scrollrate> parameter to wxScrolledWindow XRC handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-04 19:06:09 +00:00
Bryan Petty
94c500fb7b Backported LaTeX CSS modifications (r50468) to 2.8.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-04 17:41:36 +00:00
Julian Smart
89c830a332 Context menu event from keyboard records the mouse position, not -1, -1, in line with wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-04 13:38:02 +00:00
Julian Smart
5a106018fa Fixed player dialog listbox and app icon on wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-03 09:45:13 +00:00
Julian Smart
938dbb9c29 Added Forty Thieves icon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-03 09:23:13 +00:00
Robin Dunn
cab87307a9 Use ?= assignment operator for WX_UNICODE so it can be overridden from the environment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 19:45:52 +00:00
Stefan Csomor
94ca03630b fixing bug 1841377
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 09:14:44 +00:00
David Elliott
527b35a84d wxCocoa only: Give the buddy text control focus if the user changes the spinner.
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 05:52:24 +00:00
David Elliott
75027d2856 Implement text update events so the spin control works better.
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 05:08:21 +00:00
David Elliott
b6efa4b335 Fix for wxCocoaMessageDialog construction accidently using the totally wrong wxDialog constructor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-29 07:35:45 +00:00
David Elliott
ef5fc865ba Implement wxBitmap::GetSubBitmap.
Patch authored by Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-29 07:28:17 +00:00
David Elliott
7acb34f44c Implement wxIcon::LoadFile by defering to wxBitmap implementation instead of creating a dummy 5x5 image.
Patch authored by Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-29 07:24:19 +00:00
Stefan Csomor
bbe295ba4d fixing potential alignment error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-28 09:52:19 +00:00
Paul Cornett
685238a900 Solaris /usr/bin/tr requires [] around character ranges
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-28 06:46:25 +00:00
Vadim Zeitlin
6676642577 fix typo in an example (patch 1837973)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-28 02:56:19 +00:00
Vadim Zeitlin
944b70c815 set disposition to OPEN_ALWAYS for write and read-write modes (replaces patch 1836605)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-28 02:46:34 +00:00
Vadim Zeitlin
e3e6427c91 return immediately after processing TaskbarCreated message instead of asserting (the accepted part of patch 1835507)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-28 01:59:59 +00:00
Vadim Zeitlin
854f41ceaf removed ADVANCED_CMN_NATIVE_HDR, files in it (wx/datectrl.h ad dataview.h) are used in all ports, not just native ones [backport of r50290 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-28 00:29:03 +00:00
Vadim Zeitlin
f9a9805da9 don't use Gnome printing in wxUniv [backport of r50037 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-28 00:24:25 +00:00
Robin Dunn
b80bba0f09 Use kControlContentIconRef for toolbar bitmap buttons. Fixes bug #1826474
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-27 20:48:15 +00:00
Robin Dunn
4bd72ec7dc Bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-26 19:44:17 +00:00
Vadim Zeitlin
8c56d4a586 use WXDLLIMPEXP_FWD_CORE instead of WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-26 13:48:36 +00:00
Vadim Zeitlin
802bde46ad fix unused parameter warning inside FILEDIRBTN_OVERRIDES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-25 13:12:53 +00:00
Václav Slavík
d2e72b6805 ensure that wxGrid::AutoSizeColumn/Row() never sets column/row size smaller than the minimal size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-24 17:55:14 +00:00
Vadim Zeitlin
1129ffa76d fix \texttt after the last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-24 01:23:05 +00:00
Vadim Zeitlin
e3e86b6997 compilation fix for wxUSE_STL==1 in DoGetSibling()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-23 21:34:10 +00:00
Vadim Zeitlin
b191e948b5 correction to the last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-23 21:29:29 +00:00
Václav Slavík
c25ddfa8a3 backported wxGrid labels autosizing patch (r44835) to 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-23 21:21:25 +00:00
Václav Slavík
6144cede54 TeX files are not executables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-23 20:45:59 +00:00
Václav Slavík
1f8d85852d fixed the changelog to have only one 2.8.7 section instead of two
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-23 20:39:00 +00:00
Vadim Zeitlin
bf348771b2 more WXDLLIMPEXP_FWD_XXX fixes from Tim Stahlhut
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-23 19:19:31 +00:00
Václav Slavík
e4cc138cfd wxCRIT_SECT_* macros compilation fixes for wxUSE_THREADS=0 case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-22 15:18:37 +00:00
Paul Cornett
4bab970b1a non-pch build fix for wxUSE_DISPLAY==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-22 02:52:10 +00:00
Chris Elliott
17eaca17b2 remove .svn from manifest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-21 15:58:53 +00:00
Stefan Csomor
54be106d59 optimizing scrolling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-21 13:05:15 +00:00
Stefan Csomor
51156271b7 focus fixes for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-21 10:51:20 +00:00
Chris Elliott
9a30d30b26 makefiles.dmc should not be in SVN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-21 08:42:01 +00:00
Václav Slavík
caf5b94341 removed gstreamer dependency from all libraries except for wxMedia, not only from wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-20 22:52:40 +00:00
Václav Slavík
5cb8b7450a backport of r48962: fixed cellpadding when printing (bug #1795572)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-20 22:48:25 +00:00
Stefan Csomor
aee427f150 attempt to fix part of the focus problem under 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-20 22:36:29 +00:00
Vadim Zeitlin
e1ac649f62 add gstreamer libraries to EXTRALIBS_MEDIA which is only used for GUI programs, but not for wxBase (which avoids dependency on a whole bunch of GUI libraries in console applications)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-20 22:03:01 +00:00
Vadim Zeitlin
cf22e46119 added wxWindow::GetPrev/NextSibling() [backport of r50108 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-20 16:12:12 +00:00
Vadim Zeitlin
20d78b39b2 don't capture the mouse when just moving it in the grid (replaces patch 1779923) [backport of r50010 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-19 13:14:54 +00:00
Chris Elliott
1ed8248cc8 2.8.7
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-19 09:43:27 +00:00
Julian Smart
1a0eb174c3 Removed redundant mnemonic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-19 09:12:08 +00:00
Chris Elliott
e05c2f0c25 document os2 bug as in http://thread.gmane.org/gmane.comp.lib.wxwidgets.devel/94104/focus=94133
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-19 08:52:08 +00:00
Chris Elliott
4ffc8423cf 2.8.7 release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-18 21:03:11 +00:00
Vadim Zeitlin
8fd00bbf88 handle NULL BSTRs as empty ones per Microsoft convention
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-17 15:16:33 +00:00
Vadim Zeitlin
24e0d81d80 compare colours using their operator==() instead of comparing individual RGB components as this is shorter and more correct for the colours with the same RGB but different alpha components (patch 1832844)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-17 14:24:18 +00:00
Vadim Zeitlin
8b7f7d67f4 reset global wxTheApp pointer before deleting it to avoid use of half-destroyed object (bug 1831130)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-16 23:41:38 +00:00
Chris Elliott
7d4f9d70c8 fix Borland _stat needed for filedlgg.cpp in univ mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-16 17:19:37 +00:00
Chris Elliott
5b9b0810cc add missing wxUSE to amke univ/Borland compile...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-16 16:14:49 +00:00
Chris Elliott
a74bea2f30 Borland still hates ? (head was 49127)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-16 15:52:17 +00:00
Julian Smart
d9bb81e462 Documented another bug fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-16 13:15:33 +00:00
Julian Smart
f74357863f Added some change logs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-16 13:14:38 +00:00
Julian Smart
bd78c20dd6 Don't suppress accelerators that include Enter just because a tree control is focused
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-16 13:12:07 +00:00
Chris Elliott
384e1abeb7 possible os2 watcom makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-16 10:02:09 +00:00
Chris Elliott
f8be834d3d fix missing cast, sf bug 1832866
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-16 09:03:27 +00:00
Paul Cornett
9c7c7b18de fix reference to temporary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-15 16:44:08 +00:00
Mart Raudsepp
4bd115e503 Fix non-pch build. Spotted by David Hart
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-15 16:27:43 +00:00
Julian Smart
e82402f986 Border correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-15 10:22:36 +00:00
Julian Smart
5c9940227f Corrected symbol for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-15 08:03:59 +00:00
Julian Smart
4b0714aea2 Added missing include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-15 07:11:28 +00:00
Julian Smart
8875116b93 Style correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-14 14:53:36 +00:00
Julian Smart
209e9baf33 Border style corrections, and more economical window sizes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-14 14:22:56 +00:00
Benjamin Williams
28b0f20e4c added null pointer check and assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-13 20:17:58 +00:00
Paul Cornett
3c3dab18a1 fix for missing gtk_icon_size_lookup, broken in rev 46605
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-13 20:04:09 +00:00
Robin Dunn
0e3b6fc254 Fix pathname for copying the editra icon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-13 18:00:47 +00:00
Vadim Zeitlin
9becb2e665 unselect all selected items, not just the currently focused one, when the mouse is right clicked outside of selection to minimize user confusion (patch 1702201, bug 1676471) [backport of r49916 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-13 17:23:32 +00:00
Paul Cornett
dc8f4ea54d build fix for wxUSE_DISPLAY==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-12 23:46:23 +00:00
Robin Dunn
02fdc7d4fb install tweaks for Editra
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-12 19:03:53 +00:00
Robin Dunn
8e51fb7785 add some changelog notes for 2.8.7.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-12 19:03:25 +00:00
Vadim Zeitlin
693c373183 implement wxClientDisplayRect() using _NET_WORKAREA WM hint [backport of r49697 and r49700 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-11 23:52:54 +00:00
Kevin Ollivier
b373368d75 Use ldflags instead of ldlibs, because wx-config --libs mixes libs and ldflags, and being able to specify order of ldflags is important. (e.g. on Leopard, if any other *-config script adds -L/usr/lib to the linker flags, wx will link against the system-provided wx.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-10 19:31:25 +00:00
Vadim Zeitlin
40e0c0c3b5 use WXDLLIMPEXP_FWD instead of WXDLLIMPEXP to avoid gcc4 warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-10 01:09:42 +00:00
Vadim Zeitlin
3f9ba9a06a show default title if no custom one was specified instead of clearing it (patch 1829254)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-10 01:01:46 +00:00
Vadim Zeitlin
bee86e0097 cleanup wxURLModule after wxSocketModule to avoid crash when destroying default proxy (patch 1828964)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 23:17:49 +00:00
David Elliott
177af5232f Need to initialize m_message and m_caption on 2.8 branch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 19:10:04 +00:00
David Elliott
b060a142a6 Add RCS-ID and normalize whitespace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 18:56:31 +00:00
David Elliott
0cfe8dc0fa Reconcile 2.8/trunk wxMessageDialog differences.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 18:48:59 +00:00
David Elliott
a2fa59b890 Merge new wxCocoaMessageDialog from trunk.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 18:32:38 +00:00
Julian Smart
8ea477f697 Fixed toolbar hiding when going full-screen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 15:07:40 +00:00
Julian Smart
9ff4f05ff9 Colour change event now sent on wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 15:06:52 +00:00
Chris Elliott
7bfe40662e add technotes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 14:16:29 +00:00
Julian Smart
91ee4921fc Fix from wxAUI forum (http://www.kirix.com/forums/viewtopic.php?f=16&t=564) for display problem on Vista
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 12:06:11 +00:00
Julian Smart
3b19dd2ff1 Fix for layout in wxGTK when showing or hiding a toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 11:08:13 +00:00
Julian Smart
cef14be8f0 Menubar accelerators are now preserved in full screen mode, as per wxMSW and wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-08 14:55:48 +00:00
Julian Smart
8763183678 Warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-07 18:16:37 +00:00
Julian Smart
b930b63769 Logged fix for wxChoicebook controller centring
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-07 14:01:43 +00:00
Julian Smart
aafc8ff13c Vertically centres a left-aligned wxChoiceBook controller
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-07 12:48:47 +00:00
Robert Roebling
8fe46e13ea Remove check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-07 11:09:21 +00:00
Robert Roebling
365a5b20e9 Correct area from where to start dragging the window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-07 10:23:21 +00:00
Robert Roebling
d1bd2fd468 Use custom GTK+ code for hint window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-07 10:18:02 +00:00
Julian Smart
51e2413b5a Removed no longer needed desktop size hack
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 23:06:07 +00:00
Robin Dunn
c4ce3de05c rebaked with new version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 18:42:32 +00:00
Robert Roebling
e4735aa9c6 Minor optical corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 18:41:36 +00:00
Robin Dunn
442c7aed20 fix release number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 18:22:43 +00:00
Benjamin Williams
5507f0848f don't renumber dock rows to remove gaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 17:02:16 +00:00
Benjamin Williams
fbe979db94 aui dock renumbering fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 14:02:44 +00:00
Julian Smart
51b0da175a Correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 10:50:04 +00:00
Julian Smart
3ac8e9c3b0 Moved desktop margin options to more sensible place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 10:47:58 +00:00
Julian Smart
63048b6ccb Added sizer.desktopmargin.x/y system options to allow for desktop decorations in wxSizer::Fit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 09:41:17 +00:00
Chris Elliott
04b64abdae 2.8.7.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 09:28:42 +00:00
Stefan Csomor
17532da814 setting selection to 0,0 in create, bug 1826548
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 08:06:46 +00:00
Julian Smart
3de05b706a Updated month
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 22:49:43 +00:00
Julian Smart
15b33070e4 Backported wxGTK wxSYS_COLOUR_WINDOW fix to 2.8.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 22:48:57 +00:00
Stefan Csomor
4a2f97be30 forgot one 10_5 fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 17:35:55 +00:00
Stefan Csomor
509e9e120a added change notes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 17:20:20 +00:00
Stefan Csomor
28a22e2687 fixing #if s for Leopard SDK and running on older systems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 17:15:22 +00:00
Stefan Csomor
6001148d74 popupwin on mac behaves as the implementation for msw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 16:55:13 +00:00
Stefan Csomor
804a5713e9 popupwin on mac behaves as the implementation for msw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 16:54:48 +00:00
Chris Elliott
e0e18c5fe9 version now 2.8.7 (manual edit autoconf shows many other changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 10:27:23 +00:00
Chris Elliott
5b816b33e6 version now 2.8.7
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 10:19:15 +00:00
Stefan Csomor
219708e588 frame tools without decorations are done using plainwindowclass, but this also must have a scope activation of none, otherwise the frame gets incorrectly deactivated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 21:49:53 +00:00
Stefan Csomor
ddfbff357f avoiding refcount checks under Leopard, the behaviour differs there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 21:24:23 +00:00
Benjamin Williams
5cdb970271 bug fix for vista in multi-selection tree
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 19:36:14 +00:00
Vadim Zeitlin
7921598f7f no real changes, just left over code cleanup from attempts to fix the bug of the patch 1774701
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 17:03:13 +00:00
Stefan Csomor
aba999a319 if we don't have a valid background color, paint a white grow box
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 14:21:15 +00:00
Stefan Csomor
b644173858 narrowing allowed classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 14:06:59 +00:00
Stefan Csomor
cdc86e05a3 applying slightly modified patch 1825163
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 11:28:41 +00:00
Stefan Csomor
639db60ccb factoring common code, applying patch 1825183
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 10:32:30 +00:00
Stefan Csomor
8a4529c6a6 factoring common code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 10:30:16 +00:00
Stefan Csomor
6c2324fa9c factoring common code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 10:28:11 +00:00
Stefan Csomor
7063c559ec factoring common code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 10:27:33 +00:00
Stefan Csomor
cccf218e48 factoring common code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 10:26:36 +00:00
Vadim Zeitlin
d3a5f4096c don't undef Windows symbols here, just include wx/msw/winundef.h [backport of 48116 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-03 23:50:04 +00:00
Vadim Zeitlin
469db76712 handle failure of gtk_drag_begin() (which can happen e.g. because gdk_pointer_grab() failed) in DoDragDrop() (patch 1825237) + minor cleanup in trunk version of the code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-03 21:46:55 +00:00
Paul Cornett
33aefff95d do not use [] around tr character ranges, it is not portable and not necessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-03 16:14:28 +00:00
Paul Cornett
782980f9b4 fix for configure error message "grep: Unmatched [ or [^"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-03 16:02:40 +00:00
Stefan Csomor
43df4ed8f5 adding alignment, indent, and tab support (only 1 distance)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-03 13:53:02 +00:00
Kevin Ollivier
6eac055841 Commit header changes for radio box fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-02 17:30:32 +00:00
Vadim Zeitlin
7b83197b34 don't make the dialog 3 times as wide as the length of the label string, this is excessive (bug 1824673)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-02 16:11:08 +00:00
Vadim Zeitlin
481697d020 don't crash in HiglightAll() (called, in particular, from SortItems()) when the control is empty (patch 1821550)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-01 20:41:30 +00:00
Vadim Zeitlin
645bd39e5d don't recreate wxLog target from ~wxLog (adaptation of changes in trunk r49587)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-01 20:35:45 +00:00
Julian Smart
1c26a14208 Sizing improvements and read-only preview controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-01 17:36:48 +00:00
David Elliott
a2ca9e95f1 Fix mouse coordinates in scrolled views to be those that wxWidgets expects.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-01 06:06:07 +00:00
David Elliott
a55c88bd35 Implement scrolling like wxWindow expects. That is, scrollbars send an event
which the application processes to scroll the window the desired amount rather
than letting the toolkit do it.
There's still a lot more to go w.r.t. coordinate system transformations.
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-01 04:25:25 +00:00
Robin Dunn
5cd9237f3a Ensure we don't reset the group parent if it wasn't set at the begining
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-31 23:31:35 +00:00
Robin Dunn
256d6b81c5 Patch from Niki Spahiev: Treat empty domain name the same as NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-31 23:05:53 +00:00
Vadim Zeitlin
ba678694f0 backport the WXDLLIMPEXP_FWD_XXX macros to 2.8 (patches 1822143 and 1822146)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-31 20:46:21 +00:00
Vadim Zeitlin
7d75181ca1 don't clear the selection in the edit control in SetInsertionPoint()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-31 18:55:58 +00:00
Vadim Zeitlin
49b337a8fc make strings used in the dialog translatable (patch 1823372)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-31 16:08:18 +00:00
Kevin Ollivier
a45091ed51 Fix GetLabel and GetLabelText to be consistent with other platforms.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-31 01:59:45 +00:00
Kevin Ollivier
301f9db326 Implement IsItemShown and IsItemEnabled.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-31 01:58:25 +00:00
Kevin Ollivier
0f9706b3c8 Return the value set, even if we aren't currently using the value in the implementation. This keeps unit tests from asserting.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-31 01:57:13 +00:00
Robin Dunn
942d424dbe Bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-30 22:05:11 +00:00
Vadim Zeitlin
ec4a768339 compilation fix for WXWIN_COMPATIBILITY_2__4==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-30 00:32:18 +00:00
Vadim Zeitlin
e692a0354b don't associate dummy NULL line to the root group [backport of r49476 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-29 19:00:07 +00:00
Vadim Zeitlin
51a7e46bc6 define TTF_TRANSPARENT if it's absent from SDK headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-29 15:27:40 +00:00
Chris Elliott
36150c17ed DMC does not have TTF_TRANSPARENT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-29 15:14:07 +00:00
Vadim Zeitlin
bf226ee6ea fix syntax errors in the example
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-29 12:13:53 +00:00
Vadim Zeitlin
e0839f485f fix syntax error in the example
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-29 12:11:55 +00:00
Václav Slavík
56ee0e3779 added WXDLLIMPEXP_FWD_FOO macros to 2.8 branch for forward compatibility with wx3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-29 09:10:46 +00:00
Vadim Zeitlin
d334f03482 use TTF_TRANSPARENT to fix problem with flashing tooltips (patch 1821229)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-29 00:38:57 +00:00
Vadim Zeitlin
b2e013ad0f use fixed TOOLINFO struct size instead of trying to (wrongly) deduce it from the _WIN32_IE value, fixes bug with tooltips not appearing under Windows 95
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-29 00:33:48 +00:00
Stefan Neis
6fe4c1b327 Applied patch #1821711 (workaround for Watcom inconsistency wrt Posix functions)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-28 18:50:06 +00:00
Vadim Zeitlin
872978fccb don't delete uninitialized m_eventHandler pointer if initialization failed (patch 1819944)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 21:16:54 +00:00
Julian Smart
0340c1465f Added wxVSCROLL to wxRichTextCtrls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 16:04:42 +00:00
Julian Smart
fafbc17819 Reverted recent docview string changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 09:25:04 +00:00
Julian Smart
c457168b21 Corrected duplicate ids
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 08:33:26 +00:00
Robin Dunn
3655aa7616 When freezing a top-level window freeze its top children instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 22:35:54 +00:00
Robin Dunn
3aca1743e7 Patch [ 1820537 ] Fix for uninitialized alpha value in wxColour::FromRGBColor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 21:34:11 +00:00
Robin Dunn
796f0bebbb Move the %disownarg directive to the .i file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 19:06:57 +00:00
Julian Smart
bf3078cb60 Added documentation for gtk.window.force-background-colour.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 10:46:40 +00:00
Julian Smart
c9182d1f18 Workaround for gtk-qt theme bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 10:24:34 +00:00
David Elliott
596963d4b6 Look for and remove any "-NSKey" "value" types of options from argv just like
the -psn_XXXX option is removed.  This allows Cocoa debug options like
-NSShowAllViews YES to be used as with any other Cocoa program.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-25 18:01:36 +00:00
Julian Smart
a47427fa62 Fixed bug in optimization for character input, affecting first paragraph in the buffer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-25 16:13:33 +00:00
Paul Cornett
b091a2ec60 fix for scrolling wxSpinCtrl, broken by fix for scrolling wxStaticBox (rev 48550)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-25 16:12:45 +00:00
Julian Smart
768f35ecc6 Now uses the correct selection colours.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-25 14:53:25 +00:00
Julian Smart
1f57c2895e Fixed a style application bug inserting a newline other than after the end of a paragraph.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-25 14:41:05 +00:00
Vadim Zeitlin
6dd14c57a4 release update region as soon as we finished painting the window instead of keeping it indefinitely (bug 1819635) [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 23:27:57 +00:00
David Elliott
d3e7370f8a Don't check for wxMac before overriding WORDS_BIGENDIAN based on compiler
endianness definitions.  This allows any toolkit to be compiled universally
on OS X, not just wxMac.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 21:43:36 +00:00
David Elliott
379f96b46d Remove defined(__WXMAC__) && defined(__APPLE__) case from the OS if/elif block.
It would never have been used in a configure build since setup.h which defines
__UNIX__ is included from platform.h before the if/elif block.  Likewise, it
would not have been used for wxMac Xcode builds since they use config_xcode.h
which also defines __UNIX__.  That's fortunate since __POWERPC__ was defined
unconditionally in that case.  Note that classic builds wouldn't have used
the case either since they have their own case just before it (which remains).

Add __MACH__ to the list of UNIX defines (e.g. like __hpux) so that the UNIX
case of the OS if/elif block is guaranteed to match for all Mach systems.  In
addition to that, within that case check for __APPLE__ && __MACH__ and make
sure that __BSD__ and __DARWIN__ are defined, TARGET_CARBON is defined,
and wxSIZE_T_IS_ULONG is defined.

Add __ppc__ to the list of defines that will cause __POWERPC__ to be defined
although it's interesting to note that we don't seem to use it anywhere.

Make sure that each case of the OS if/elif block has a /* OS ... */ comment
to make the code a bit easier to follow.

Remove comment about __DARWIN__ being used to work around defects in GCC,
that was removed years ago.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 21:03:53 +00:00
Vadim Zeitlin
ba23715453 add a critical section protecting ms_prev variables (replaces patch 1819224)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 18:06:10 +00:00
Vadim Zeitlin
7ecc0db815 removed extra semicolon (bug 1819361)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 14:48:10 +00:00
Julian Smart
00540e1ee5 Small usability improvements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 14:20:43 +00:00
Julian Smart
8efe7046a8 Made dialog captions more standard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 14:16:47 +00:00
Robin Dunn
f6edc96028 add missing versioned symbol
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 21:37:13 +00:00
Robin Dunn
06b0c0a39d Use premultiplied alpha pixel format to match what is used everywhere else in wxMSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 21:31:43 +00:00
Robin Dunn
ca71c6bf10 Avoid compile error and return a value from StartDoc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 21:30:28 +00:00
Kevin Ollivier
728d38cbe5 Add implementation of native DrawCheckBox for Mac. (patch #1786282.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 19:10:52 +00:00
Stefan Csomor
c00df9c854 adapting single selection deselect to generic listctrl 1812903
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 18:48:40 +00:00
Robin Dunn
eb0144e8b1 Use kControlContentIconRef in SetBitmapLabel for wxBORDER_NONE buttons.
Factor out code to create a standard sized bitmap so it can be used in
SetBitmapLabel too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 18:27:52 +00:00
Julian Smart
3815803a84 Small code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 13:35:10 +00:00
Stefan Csomor
a0f0ebebb9 making sure we only have the badged exclamation/warning sign for wxICON_EXCLAMATION (sf 1817033)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 12:30:38 +00:00
Paul Cornett
37a67a422c remove extraneous semicolons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 07:27:12 +00:00
David Elliott
bd78775a3f Go back to my original idea of checking for EILSEQ and EINVAL and failing
immediately if either of those is set after wxVsnprintf call returns a
negative number to indicate some type of failure.

All other errno are assumed to simply mean that the buffer is undersized so
the platform C library function can set errno to anything it likes or simply
not set it at all and our code will keep trying to increase the buffer size
just as it did originally.

This should (hopefully) fix compilation with C libraries that only support
the most basic set of errors (of which EINVAL and EILSEQ are part).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 03:30:16 +00:00
Robin Dunn
44abeba10d Patch [ 1816051 ] MSW DrawEllipticArc inconsistent with other platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 18:07:45 +00:00
Vadim Zeitlin
ac7bf2261a vswprintf() compilation fix for mingw32 with STLport 5.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 11:32:59 +00:00
Stefan Csomor
296faa4b72 offsetting fixed, color handling factored out
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:16:07 +00:00
Stefan Csomor
53b6774787 correct scrollbars with empty grow-box
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:14:52 +00:00
Stefan Csomor
c4dded970b fixing height for buttons with different variants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:13:50 +00:00
Stefan Csomor
b724d57fc7 making sure pdf pages are correctly layouted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:12:25 +00:00
Stefan Csomor
d0a2daec58 flushing corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:11:31 +00:00
Stefan Csomor
9b7384b523 scrolling fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:11:01 +00:00
Stefan Csomor
2144aae383 removed inlines, adding straight implementation for Flush
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:10:16 +00:00
Paul Cornett
e3800748e4 add wxUSE_MINIFRAME wrapper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:07:29 +00:00
Stefan Csomor
293f319ffc fixing missed line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:05:49 +00:00
Stefan Csomor
0e88f17166 factoring color representation on mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:04:40 +00:00
Stefan Csomor
43733e3e6c making it obvious method is virtual, factoring out GrowBox painting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:03:35 +00:00
Stefan Csomor
08114fa8aa making funcs non-inline, adding a Flush method which will only be needed on mac at the moment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:02:10 +00:00
Stefan Csomor
10b4c543d2 fixing int overflows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 17:59:09 +00:00
Paul Cornett
951bb5741e fix header wrapper typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 17:59:02 +00:00
Stefan Csomor
c5a95b5e56 clarifying comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 17:58:22 +00:00
Stefan Csomor
06f80bde28 unifying offseting rules
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 11:54:03 +00:00
Stefan Csomor
a06fe67b79 fixing possible offsetting glitches
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 11:52:54 +00:00
Stefan Csomor
0417955ddb adding correct filling area to arc, correct rounding and clipping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 11:51:45 +00:00
Stefan Csomor
248e9b5834 extensions and fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 15:23:18 +00:00
Robert Roebling
2207b90d2c [ 1816882 ] wxListBox::SetSelection() doesn't update the control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 15:01:42 +00:00
Vadim Zeitlin
223a3d63c0 export wxInvalidSize from DLL builds (patch 1805738)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 14:34:43 +00:00
David Elliott
eec17f8302 Fix wxVsnprintf-using code on both trunk and 2.8 and document how native
functions are supposed to behave as well as how some of them do.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 03:44:01 +00:00
Stefan Csomor
40c5b2dc48 better native type for files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 14:46:03 +00:00
Julian Smart
a4f93a823c Show debug report directory in long form on Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 11:40:07 +00:00
David Elliott
eb0bfa0d51 Improve behavior of menubar switching when windows are activated.
Specifically, if a non-wx (e.g. internal Cocoa) window becomes key but a
wx window remains main, be sure to use the wx window's menubar rather
than swapping it out for the menubar we show when no wx window
is active.  Fixes Leopard issue.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 05:39:18 +00:00
David Elliott
39d095adb5 Add missing wxT().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 04:42:23 +00:00
David Elliott
551896d9da Add wxAddProcessCallback for both wxMac and wxCocoa and use it for wxCocoa.
It can be turned on for wxMac if desired.  See utilsunx.cpp comment.
NOTE: I can't add the symbol to version-script.in because other platforms
have had this symbol even though wxMac/wxCocoa have not.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 03:10:31 +00:00
David Elliott
0e3d1f4af5 Backport modified 49154 from trunk. Normalizes multiple and incorrect usage
of darwin/mac/cocoa tests into one USE_OLD_DARWIN_END_PROCESS_DETECT which
now excludes wxCocoa since it will be using the new method.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 02:42:42 +00:00
David Elliott
5e093a9bb5 Add ProcessPendingEvents to wxApp::Yield which makes the code almost identical
to wxMSW's implementation save for using Cocoa instead of MSW.
Add a wxAutoNSAutoreleasePool around wxApp::WakeUpIdle so that calling it from
a thread does not leak the NSEvent.
Add several hundred lines of comments explaining the unique method that
wxCocoa uses to hook the underlying event loop and run loop so that wxCocoa
is able to provide things like wx idle events.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 02:13:13 +00:00
Michael Wetherell
a49453dab9 When testing for getpwuid_r and getgrgid_r also check the signature. Solaris
7-9 have these with non-POSIX signatures.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 16:34:55 +00:00
Robin Dunn
e388b63f0d Another typo. I should really wake up before writing...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 16:14:50 +00:00
Robin Dunn
6275bcf28d fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 15:49:30 +00:00
Robin Dunn
86f87473ea Make event overview doc more clear about instances of wxEvtHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 15:47:59 +00:00
David Elliott
e20d0f2a10 Fix crasher caused by wxProcessTerminationEventHandler::OnTerminate killing
itself inside the context of wxEvtHandler::ProcessPendingEvents which
still needs itself to be valid because it accesses it's m_eventsLocker.

NOTE: This code is no longer used on trunk and hopefully soon won't be
used in 2.8 either, but at least it doesn't crash now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 09:31:21 +00:00
David Elliott
df13d77add Revert part of 49140 on the 2.8 branch making it continue to use
wxNonControlNSControl where WXNSView would do except that on the 2.8
branch I use a hack to stuff the control label in there since
2.8 has no m_labelOrig field in wxControlBase.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 08:30:39 +00:00
David Elliott
0d220868d4 Merge 49213/49214 from trunk. Working wxFont implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 08:23:05 +00:00
David Elliott
4ece5784e2 Added include/wx/cocoa/private
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 08:02:43 +00:00
Robin Dunn
08221a1ddb Add a section for 2.8.6.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 00:43:29 +00:00
Robin Dunn
a28e037ad5 Add richtext to CORE_GUI_LIBS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 00:42:43 +00:00
David Elliott
4ec06c2eed Add const_cast and explain why it's needed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 22:07:21 +00:00
David Elliott
032f2af9a2 Apply modified patch 1785299 to trunk and 2.8.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 21:52:02 +00:00
Paul Cornett
336fec8f8f Fix declaration-after-statement compile error, remove C++ comments, remove unused GtkPizzaAdjData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 02:58:17 +00:00
Benjamin Williams
1bf86c4b18 check if pane still exists before closing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 16:33:05 +00:00
David Elliott
e4d2c5d6fd Don't force the child's m_isShown state to match that of the parent in CocoaAddChild.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-14 04:44:54 +00:00
David Elliott
f11da5baf1 Implement creation of wxFont from wxNativeFontInfo.
Implement all of the getters to return the fields from the wxNativeFontInfo
contained in the wxFontRefData.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 08:47:38 +00:00
David Elliott
065fe5b7e2 Replace most of the fields in wxFontRefData with one wxNativeFontInfo.
Done on both trunk and 2.8.  Because the data members line up perfectly
and because I did not add nor remove any methods the ABI is (surprisingly)
not effected by this change.
The GetNativeFontInfo call now works.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 08:30:59 +00:00
David Elliott
605d362b4f Move wxCocoa's wxFontRefData from the header to the implementation file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 07:18:04 +00:00
David Elliott
a5e02a1fae Rename src/cocoa/font.cpp to font.mm in both trunk and 2.8 branch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 06:58:26 +00:00
David Elliott
8392d7bdf7 Use WXNSView just like wxWindow does when creating a wxControl. There are
already wxControl subclasses such as wxStaticBox not using primary views which
derive from NSControl so wxControl has to support this already.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-12 20:27:02 +00:00
Julian Smart
2eef38b7d6 Warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-12 20:04:49 +00:00
David Elliott
a43a0ae686 Implement wxWindow::GetTextExtent to use wxDC to at least return something
reasonable rather than leaving uninitialized garbage values unchanged.

Fix wxWindow::DoSetVirtualSize so that the underlying Cocoa view always
takes up at least as much area as its enclosing clip view.  In particular,
wxDefaultCoord was not being handled, resulting in -1 size components.

Together, these make the generic wxListCtrl mostly usable.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-12 19:17:45 +00:00
Chris Elliott
de850acd75 update souce of wxart2d
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-10 10:52:12 +00:00
Benjamin Williams
8bc47fe436 added DockFixed() pane option; doc updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-10 10:23:48 +00:00
Robin Dunn
2ccf76cd1f Give wxMac's wxStaticBox an AcceptsFocus method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 16:03:38 +00:00
Stefan Csomor
0f876f047a removing interference between two layering fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 15:29:50 +00:00
Benjamin Williams
1149bfedc9 in LoadPerspective, if pane wasn't found, just skip it instead of bailing out
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 07:22:11 +00:00
Robin Dunn
a2d954469d On Mac the first visible line needs to be recalculated after the Scroll because it can be set
to the wrong value in Scroll because of the paint event generated by the Update() there.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-08 22:28:33 +00:00
Robin Dunn
5a82f10e3b Added missing wxPython event binders for the notebook tab events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-08 22:16:00 +00:00
Vadim Zeitlin
c438e941c4 use wxFD_XXX constants instead of wxXXX in the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-08 11:35:32 +00:00
Julian Smart
697060e3e0 Corrected typo affecting outline level reading
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-07 14:12:33 +00:00
Julian Smart
9ee6506afd Added missing URL attribute testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-07 14:09:59 +00:00
Julian Smart
f89920b9b5 Fixed dangling pointer bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-06 09:02:42 +00:00
Václav Slavík
b59815009e fixed WX_CLEAR_HASH_SET to compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-05 22:42:35 +00:00
Robin Dunn
e95746d5bd bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-05 20:48:00 +00:00
Chris Elliott
51f7a64ca7 add missing inc files docsrc.rsp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 15:52:36 +00:00
Stefan Csomor
b94f04c563 supporting failed data conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 12:01:15 +00:00
Stefan Csomor
9295dc1092 make conversion fail safe on OS X (japanese to mac roman ascii conversions lead to a crash)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 10:10:06 +00:00
Stefan Csomor
9493740d71 compile error in non-quartz builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 07:40:04 +00:00
Stefan Csomor
9ad88af224 icns support from resources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 07:32:09 +00:00
Stefan Csomor
00ae2ece4a adding PICT support in Quartz - whose native metafile format is PDF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 07:30:43 +00:00
Stefan Csomor
2c59ab92e0 adding PICT support in Quartz - whose native metafile format is PDF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 07:29:24 +00:00
Stefan Csomor
308cdd25d5 moving tooltip implementation into private header, allowing for easier reuse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 07:27:44 +00:00
Stefan Csomor
fa30edf36f moving tooltip implementation into private header, allowing for easier reuse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 07:26:40 +00:00
Stefan Csomor
df12d367e3 Hide toplevel window in order to avoid erratic redraws of zombie windows on mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 07:25:26 +00:00
Stefan Csomor
64b9adaeda fixing utf16 recognition, as this always conforms to public-plain-text the sequence needs to be inverted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 04:58:35 +00:00
Vadim Zeitlin
f8e0186b73 fix range used for native volume in Set/GetVolume()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-03 22:36:29 +00:00
Vadim Zeitlin
3486da5d11 look for message catalogs also directly under prefix in GetMsgCatalogSubdirs() as we used to do in 2.6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-03 21:45:33 +00:00
Michael Wetherell
e48dd4e3ae Define CPPUNIT_STD_NEED_ALLOCATOR to 0 if it is undefined as we compile
with -Wundef.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-02 14:56:53 +00:00
Vadim Zeitlin
1573c16360 don't leak wxFileType returned from GetFileTypeFromExtension(); fix compilation with wxUSE_MIMETYPE==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-02 11:25:29 +00:00
Michael Wetherell
52c5891fa3 Code around a bug in getgrgid_r which I've just noticed exists in some
versions of glibc but not others. It fails to return a value through its last
parameter.  getpwuid_r doesn't seem to have the same bug, but avoid its last
parameter too as a bit of defensive programming.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-01 21:25:08 +00:00
Benjamin Williams
85aabfa200 better child focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-01 16:02:22 +00:00
Vadim Zeitlin
f9d8aad8f4 don't crash in GetAsDOS() if the time is not in time_t range (bug 1804421)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-30 20:37:29 +00:00
Stefan Csomor
7daa1d24b7 making sure we only have single selection (1802048)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-30 19:57:39 +00:00
Vadim Zeitlin
b0feee41b2 fix DrawLine() and DrawPolygon() which were totally broken for GTK1 since rev 36998
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-29 23:10:35 +00:00
Vadim Zeitlin
0f6089b1b7 backport WX_ASSERT_SIZET_EQUAL from trunk, use it to fix compilation of the test on 64 bit platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-28 22:15:08 +00:00
Robert Roebling
d1cc3f3463 Backport DoDrawArc fix (close it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-28 06:58:48 +00:00
Robert Roebling
6d330872cb [ 1803350 ] Wrong top-level window positioning on scrolled window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-27 20:29:59 +00:00
Václav Slavík
6cfb0d7d5f use Assign to copy wxLists, operator= is broken (and can't be fixed in 2.8 in binary compatible way, because it's inline
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-27 15:19:26 +00:00
Julian Smart
34b7782e3b Added forward declaration for wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 06:40:58 +00:00
Robin Dunn
0403841aa3 Don't use the WXK_NUMPAD_* values for the EVT_CHAR events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-25 23:14:44 +00:00
Robin Dunn
fc75d58855 don't overdo the clipping otherwise we truncate descenders in the header label on OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-25 23:13:21 +00:00
Chris Elliott
005a65170e 2.8.6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-25 07:59:25 +00:00
Robin Dunn
fb33cc64ca wxT() needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 22:52:51 +00:00
Václav Slavík
a1e7544104 document that GetPropVal's argument must not be NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 22:30:34 +00:00
Václav Slavík
a52a60e4d3 wxXmlNode::GetPropVal's pointer argument must not be NULL, check for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 22:08:46 +00:00
Robin Dunn
e2ae339e7b Always reset m_curPage in RemovePage incase the last page has been removed and
the notebook will be empty

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 18:25:15 +00:00
Robin Dunn
9aeee9e8fd Avoid double deletion of notebook page windows, don't call DestroyChildren in
~wxAuiMDIClientWindow.  Also skip the hide page optimization when destroying 
the notebook. 

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 18:18:48 +00:00
Julian Smart
1d01eaa3da Didn't fix the ReadLine hang bug after all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 13:12:46 +00:00
Julian Smart
3378c3a594 Reverted last change that causes further problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 13:11:36 +00:00
Chris Elliott
41f4b1fb77 doing 2.8.6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 10:34:00 +00:00
Robin Dunn
8a945515b8 Since we are ignoring horizontal wheel motion for now we need to reset the event
type, otherwise bogus left down events will be sent.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-22 19:17:12 +00:00
Robin Dunn
4dfdfde4e2 fix for non-pch builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 21:38:21 +00:00
Stefan Csomor
e4123a47e0 supporting wxBU_EXACTFIT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 20:15:30 +00:00
Julian Smart
52ce637645 Doc corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 17:53:07 +00:00
Stefan Csomor
3c93f27b0b reverting patch 1789066
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 16:47:15 +00:00
Julian Smart
e422a1b847 Added space to help with PDF RTF generation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 13:43:57 +00:00
Julian Smart
3d1ae41a86 Size of help window tabs reduced to prevent ugly overlap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 13:30:23 +00:00
Julian Smart
bf2208910c Update to obsolete but occasionally useful script
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 12:46:36 +00:00
Julian Smart
9276995304 Reverting unnecessary fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 12:45:15 +00:00
Julian Smart
e73efb0713 Make SetFont actually do something
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 12:39:43 +00:00
Julian Smart
60e53ef92a Corrected bug in in revision 47973
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 10:33:26 +00:00
Stefan Csomor
6e4e10716d drawing sash correctly in quickdraw mode when embedded
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 10:19:53 +00:00
Stefan Csomor
a526724e8e smaller code, notes for testing and todo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 09:21:45 +00:00
Julian Smart
1350f790de Fix for wxLIST_STATE_SELECTED not being returned from GetItem[State]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 08:50:30 +00:00
Vadim Zeitlin
a979884143 update from Antonio Cardoso Martins [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 22:24:25 +00:00
Vadim Zeitlin
3f060e2cf1 replaced the old half-done Ukrainian translations with the complete version from the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 12:43:25 +00:00
Vadim Zeitlin
26dbc71d28 added Portuguese translation to 2.8 branch too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 12:28:44 +00:00
Stefan Csomor
be8f21d42c correcting parenting from the window's overlay layer to its parent group
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 05:01:42 +00:00
Paul Cornett
6b2d974aaf fix HAVE_ macros not being converted to uppercase on Solaris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 02:06:04 +00:00
Robin Dunn
517d08fa87 document another place the version number needs updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 23:22:33 +00:00
Robin Dunn
7764fbde0a need image.h for non-precomp build mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 23:21:51 +00:00
Robin Dunn
4c604e3e77 rebake with new version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 23:18:34 +00:00
Robin Dunn
07ea4d8b5c regenerate configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 23:16:03 +00:00
Robin Dunn
950e87bb68 Use autohacks for this script
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 23:14:59 +00:00
Robin Dunn
32d66614fb Give wxPowerEvent wxRTTI, update C:R:A for imminent release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 23:11:28 +00:00
Stefan Csomor
9758f9ebdf upping version number, adding new files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 16:33:19 +00:00
Stefan Csomor
383800a39d adding defines from wxcocoa to darwin wxmac builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 16:26:25 +00:00
Stefan Csomor
9204fed878 support for wxNO_BORDER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 15:20:05 +00:00
Michael Wetherell
d19153e4d7 Remove extra semicolon.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 15:05:14 +00:00
Stefan Csomor
365139a05b preparing for NSCursor usage, turned off by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 14:53:30 +00:00
Stefan Csomor
6cc052801a preparing for NSCursor usage, turned off by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 14:52:25 +00:00
Stefan Csomor
9f96ea4339 was an inadvertent commit, turning off that functionality again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 14:50:20 +00:00
Stefan Csomor
409771917e grouping of tlw supported
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 14:47:10 +00:00
Stefan Csomor
8573e3645f upping version numbers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 14:39:45 +00:00
Stefan Csomor
2efa52d91b binary compatible workaround for getting the parent for native window grouping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 14:38:55 +00:00
Julian Smart
3deff17419 Mentioned Stefan's toolbar bug fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 14:12:44 +00:00
Robert Roebling
9f53ea911b GTK+ selects the first item initially
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 13:48:25 +00:00
Julian Smart
648955779b Updated readme and manual version and date
Some clarifications of wxBORDER_THEME
Don't use wxBORDER_DOUBLE in GTK+/Univ



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 13:39:45 +00:00
Stefan Csomor
b460fd01ab fixing PICT conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 12:42:17 +00:00
Chris Elliott
f529a00d4b current/revision/age=2/1/2 for 2.8.6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 12:19:42 +00:00
Robert Roebling
b59cced653 Mention the future
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 12:01:13 +00:00
Robert Roebling
c8ee20fcd1 Correct alphabetical order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 11:58:16 +00:00
Robert Roebling
527d971833 mention wxGTK changes since 2.8.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 11:54:52 +00:00
Robert Roebling
75c048e209 Let wxListCtrl generate the context menu event itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 11:34:39 +00:00
Robert Roebling
a5db377c39 Backport wxListBook resizing bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 11:24:38 +00:00
Stefan Csomor
ea62c5fc9e using CGImage for all native toolbar items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 09:19:00 +00:00
Chris Elliott
a96dc804f3 2.8.6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 09:05:19 +00:00
Chris Elliott
2b46a2343f 2.8.6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 09:01:42 +00:00
Vadim Zeitlin
6a12373db0 fix bug with deleting and recreating entries in wxFileConfig (patch 1796866)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 00:41:55 +00:00
Stefan Csomor
4bbe185b1f fix for no striped background under panther when using coregraphics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-18 18:37:11 +00:00
Stefan Csomor
c29d47c8c1 fixing bug 1782738
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-18 18:34:16 +00:00
Stefan Csomor
cdb36045cd applying patch 1789066
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-18 17:31:06 +00:00
Stefan Csomor
71b31f9983 adding reminder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-18 17:27:13 +00:00
Julian Smart
4cd7d4ec01 Layout corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-18 15:11:29 +00:00
Julian Smart
3a5b0aa5e0 wxBORDER_THEME now means 'use an appropriate themed border' on all plaforms
as opposed to wxBORDER_NONE which may or may not show a border, depending on control.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-18 14:15:27 +00:00
Julian Smart
2fda87f1f7 Committed missing part of earlier bottom tab patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-18 11:07:46 +00:00
Robin Dunn
4c5138b91e changelog for 2.8.5.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 19:47:21 +00:00
David Elliott
8275efea98 Instantiate NSSecureTextField instead of NSTextField when wxTE_PASSWORD is specified.
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 16:43:30 +00:00
Michael Wetherell
4dcba1484e Cache user and group names for tar streams as getting these can be expensive.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 11:41:38 +00:00
Julian Smart
07c22012ff Removed restriction that multiple centre panes can't be resized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 09:28:36 +00:00
Julian Smart
df72db91c4 Added omitted variable copy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 09:25:56 +00:00
Julian Smart
7fb2b1df3d Remove "not yet working" comment for --enable-universal_binary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 09:13:38 +00:00
Vadim Zeitlin
d1755c19e4 expand the table cells to fill the entire table width (patch 1722794)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 11:19:46 +00:00
Vadim Zeitlin
0a5d1517a8 fix divide by 0 bug in UpdateScrollbars() (part of patch 1716763)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 11:04:26 +00:00
Vadim Zeitlin
092b143181 fix off by one (or rather "off by border width") bug in ScrollWindow() (part of patch 1716763)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 23:43:03 +00:00
Vadim Zeitlin
545330e56d fix the bug with not showing all the text in the text control even if there is enough space (replaces patch 1716758)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 23:35:18 +00:00
Robert Roebling
a53f323b1f Only send keypress events to focus widget, not its parents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-15 10:28:35 +00:00
Vadim Zeitlin
2528a5f80c add support for reading alpha data from TIFF images (backport of 47204 from trunk, replaces patch 1793718)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 23:21:29 +00:00
Vadim Zeitlin
418f27dbeb blind fix to let wxDB compile in debug without threads
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 19:02:28 +00:00
Vadim Zeitlin
24ba0ff2cb don't crash if conversion to MB string fails in wxLogStream::DoLogString()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 18:58:48 +00:00
Chris Elliott
79612af124 add missing sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 16:37:28 +00:00
Robert Roebling
2b4dbe37c7 Remove debug code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 12:19:00 +00:00
Julian Smart
0bd53ba770 Fixed caret sizing bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 12:17:36 +00:00
Robert Roebling
d04fb039dc Remove check for non-existing wxUSE_TASKBARICON
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 10:37:57 +00:00
Robert Roebling
deb64c34ff Fix ending label-editing bug when clicking elsewhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 07:57:21 +00:00
Julian Smart
2af5a7ead3 Fix for status bar having themed border
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 07:15:51 +00:00
Paul Cornett
c69dd6e4b0 build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 04:22:04 +00:00
Paul Cornett
64f175203f more value updating fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 04:11:01 +00:00
Vadim Zeitlin
e79310d60f don't interpret the first DWORD of data as its size if there is nothing following it (this fixes bug 1791459 for the 2.8 branch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 18:42:19 +00:00
Paul Cornett
fcf879e4f7 fix SetValue
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 17:34:27 +00:00
Robert Roebling
51f5939388 [ 1793012 ] wxSpinCtrl::SetValue() doesn't update internal counter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 14:33:38 +00:00
Paul Cornett
4a0203300d add wxUSE_TASKBARICON wrapper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-12 16:48:41 +00:00
Vadim Zeitlin
5326ac9c73 chop off the unwanted \r from GetLineText() return value for richedit 2.0 controls (patch 1780110)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 11:16:04 +00:00
Vadim Zeitlin
2e90607dbe don't change locale in XRC GetFloat() method, change the strings to use the current locale decimal point separator instead (patch 1783849)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 22:24:43 +00:00
Vadim Zeitlin
97fee60f06 declare wxEVT_GRID_COL_MOVE event (which was defined but not declared in the header) and add macros for handling it (patch 1788077)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 21:39:11 +00:00
Vadim Zeitlin
58d7052775 don't give spurious error message if non-empty status bar field style is specified in XRC (patch 1791037)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 21:32:44 +00:00
Vadim Zeitlin
1d497cf7db fixed off by 1 bug in wxDC::GradientFillLinear() (patch 1788549)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 19:36:50 +00:00
Julian Smart
721fbc2f1c Only write text colour if the colour is valid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-07 14:15:46 +00:00
David Elliott
d230db40d0 Merged 48589 from trunk:
Make a slider control created with a particular size/position adjust itself to the only size that works and adjust the positioning accordingly.
Implement the wxSL_AUTOTICKS style.
Patch from Mark Oxenham.  Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-06 16:47:01 +00:00
Vadim Zeitlin
ececeb6536 fixed off by 1 bug in converting premultiplied DIB pixel values to non-premultiplied image ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-05 23:01:02 +00:00
Robert Roebling
0e4341c1ec fixes [ 1779152 ] FileDataObject Unicode, [ 1643699 ] DnD File Unicode error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-05 12:39:06 +00:00
Julian Smart
9ffcc41fc4 Change log for wxRichTextCtrl default colour correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-04 18:56:49 +00:00
Julian Smart
47ced6d05c Corrected default background and text colours
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-04 18:53:55 +00:00
Julian Smart
5d8cbd4bac Documented URL fix in wxRichTextCtrl's XML saving code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-04 15:47:32 +00:00
Julian Smart
4cb2dc5b7e Fixed URL saving/loading
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-04 14:20:22 +00:00
Robert Roebling
facdc71a63 backport wxTaskBarIcon fixes for GTK+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-04 13:47:54 +00:00
Julian Smart
f418465ed4 Always set the background colour for XP, for consistent toolbar backgrounds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-04 13:44:02 +00:00
Robert Roebling
1e59f7f503 correct scrolling of various GTK+ widgets such as GtkFrame (wxStaticBox)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-04 13:24:46 +00:00
Julian Smart
9ccefe88a6 Corrected a typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-04 13:23:25 +00:00
Julian Smart
20f7966a08 Only apply the background fix if the toolbar has controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-04 06:58:11 +00:00
Vadim Zeitlin
cc285521ad fix translation of wx priority values to the standard Unix ones in SetPriority()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 22:52:38 +00:00
Vadim Zeitlin
8d2e73e34d fix WX_GL_STEREO attribute handling: value for it was missing in the attribute list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 22:35:43 +00:00
Paul Cornett
20ba4616e6 call SetLegacyWMProperties last, it calls gtk_widget_realize, which will lead to assertion failures if initialization has not been done yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 20:45:21 +00:00
David Elliott
7748a0b287 Merged 47941 from trunk:
Implement wxRadioButton Get/SetLabel methods.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 18:16:03 +00:00
David Elliott
6d120be7b8 Merged 48530 from trunk:
Try the DefaultProperties key if the buildSettings key doesn't work when reading the SDKSettings.plist.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 18:12:28 +00:00
David Elliott
aadb49f665 Implement wxButton::SetDefault to call SetDefaultItem on the top-level window.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 17:17:35 +00:00
Stefan Neis
1ebca144e6 Fixed obvious error (no idea why it apparently used to compile before...).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-02 21:09:21 +00:00
Julian Smart
ceae285234 Fixes for standard SDK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-02 20:24:14 +00:00
Julian Smart
725e527204 Alternative project editing instructions for WinCE/VS 2005
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-01 16:25:41 +00:00
Paul Cornett
93f7a33ef5 X property data is long for format 32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-30 17:13:20 +00:00
Chris Elliott
16d040053a 2.8.4 still found; updated to 2.8.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-30 13:34:07 +00:00
Julian Smart
6dbe31d3de Avoid crash if user aborts the print
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-29 16:40:46 +00:00
Julian Smart
f9f54ae680 Log for wxToolBar background colour fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-29 15:41:08 +00:00
Julian Smart
296a086a76 The toolbar background for some colour schemes cannot be determined
(for example Silver). So set an explicit background colour to avoid parts of
the background being painted wrongly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-29 15:39:12 +00:00
Robin Dunn
483f7ab600 update version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-29 05:31:34 +00:00
David Elliott
e72ebd8dc5 Added autom4te 2.59 frozen m4 so autoconf -B build/autoconf_prepend-include
will work even when autoconf is not 2.59 (e.g. it is 2.61)
Updated configure pending release such that it shows the real svn Id of
the configure.in it was generated from.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-29 03:42:45 +00:00
Robin Dunn
aec20c9c0f bake with bakefile 0.2.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 23:39:10 +00:00
Robin Dunn
66352e8859 Set version number to 2.8.5.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 23:32:41 +00:00
David Elliott
a492cbb83a Merge 48438 from trunk:
wxTextCtrl: Implement alignment flags, editable (read only) status, and GetLastPosition.
Patch from Mark Oxenham. Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 21:49:40 +00:00
Julian Smart
5f1362cee2 Compile fix for old W32API headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 19:26:16 +00:00
David Elliott
3ee177cf23 Merged 47742 from trunk:
Implement --with-macosx-sdk[=SDK] and --with-macosx-version-min[=VER].
Deprecate --enable-universal_binary but support it by adding the -arch flags
as before and automatically setting the SDK using the new --with-macosx-sdk.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 19:11:16 +00:00
Julian Smart
607734ff6e Give rich text control themed style by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 16:30:48 +00:00
Chris Elliott
7b69e00bcd try for dos line endings in dsw and dsp files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 08:28:23 +00:00
Chris Elliott
2dc9863584 2.8.5-rc3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 08:06:33 +00:00
Paul Cornett
f1b202da70 fix getting frame extents on 64-bit platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-27 17:26:54 +00:00
Julian Smart
76804be10e Only show the context menu if the event belongs to this window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-27 08:22:30 +00:00
Paul Cornett
b34dfc2e86 remove gtk_window_set_type_hint from GetTooltipColors, it's not necessary and GDK_WINDOW_TYPE_HINT_TOOLTIP is not available before GTK 2.10
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-26 16:17:37 +00:00
Julian Smart
55b809ac82 Don't assert in update handler if read-only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-26 13:49:38 +00:00
Paul Cornett
e10dbaccde fix getting tooltip colors for GTK 2.11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-26 05:45:21 +00:00
Julian Smart
b9808d753a Changed version and date
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-25 14:27:42 +00:00
Julian Smart
3674a96220 Updated the change log
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-23 10:10:22 +00:00
Julian Smart
9e7995db49 Corrected wxAccess arg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 14:55:07 +00:00
David Elliott
aa779707d4 Add static wxEventHashTable::ReconstructAll() to undo the effects of ClearAll().
Call it from wxEventTableEntryModule::OnInit() so that it is now symmetric with OnExit().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 14:46:50 +00:00
Julian Smart
cdf3fdeb89 Applied [ 1767537 ] [wxOS2]Watcom build - filefn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 10:41:54 +00:00
Julian Smart
07f2fa7a65 Fixed focus rect for Mac with CG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 10:08:44 +00:00
Julian Smart
5587fc5751 Compile fix for non-CG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 10:07:32 +00:00
Václav Slavík
ee71546f91 optimized wxHtmlEntitiesParser::Parse() for the common case of no entities in the input
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 06:18:48 +00:00
Robin Dunn
818a665f80 Don't set the event type until we are sure it is a vertical wheel event. (Horizontal wheel events are not
supported in 2.8 and can cause a divide-by-zero if they are handled incorrectly.)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 20:04:49 +00:00
Julian Smart
013cbef2d9 Avoid selecting/updating in destructor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 16:56:10 +00:00
Julian Smart
97e7beedd4 Test to avoid crashes in some circumstances
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 16:48:32 +00:00
Julian Smart
e88f2e9e59 _get_timezone not available on Pocket PC 2003
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 15:09:59 +00:00
Julian Smart
8c9b5dc8b8 Applied patch [ 1776951 ] wxSizer::GetContainingWindow fails for nested sizers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 14:08:16 +00:00
Julian Smart
6689a950a6 Revised timezone fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 13:57:04 +00:00
Julian Smart
09064afea3 APplied patch [ 1776062 ] wxWinCE 2.8.3 (dynamic) VS 2005 - _timezone problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 13:30:06 +00:00
Robert Roebling
219d29fe36 use live header button update when resizing, no XOR line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 12:23:19 +00:00
Julian Smart
9a8c1ee977 Applied patch [ 1764987 ] fix localtime link error using wm5 SDK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 12:14:26 +00:00
Robert Roebling
fcf33cf6fc Compilo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 11:45:19 +00:00
Václav Slavík
3ac7365cb3 fixed wxPropertySheetDialogXmlHandler backport: added missing wxABI_VERSION checks and added to version-script.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 11:35:50 +00:00
Julian Smart
c8bfd8314d Applied patch [ 1736135 ] AUI: Clicking caption ignored on centered panel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 11:15:20 +00:00
Robert Roebling
54f9847147 Remove redundant line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 10:53:06 +00:00
Julian Smart
e86b1adb88 Applied patch [ 1747059 ] wxAUIDefaultTabArt wxAUI_NB_BOTTOM
Langhammer



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 10:51:24 +00:00
Robert Roebling
46b598d49b Removed gaps between header buttons and the strange header offset
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 10:46:12 +00:00
Robert Roebling
7a7c08d49c Compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 10:45:24 +00:00
Julian Smart
f83de45263 Addition to [ 1701723 ] wxAUI: Added event for doubleclicks on the tabbar bg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 09:38:27 +00:00
Julian Smart
451498a30c Applied patch [ 1701723 ] wxAUI: Added event for doubleclicks on the tabbar bg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 09:37:16 +00:00
Julian Smart
19ea446249 Applied patch [ 1678412 ] handling non-existent panes and uninitialized sizers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 09:18:32 +00:00
Julian Smart
3b4111d217 Removed unnecessary code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 09:06:23 +00:00
Julian Smart
f9e830861d Applied patch [ 1675084 ] wxAUI - Added events to be notified after drag and close
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 08:55:59 +00:00
Julian Smart
97008f4b93 Fixed [ 1645203 ] Problem with resizing floating panes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 08:35:08 +00:00
Julian Smart
2ff8932f92 Applied patch [ 1768229 ] auibook.cpp: Fix undefined reference if wxUSE_MDI == 0
Tim Kosse



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 08:14:21 +00:00
Julian Smart
44f1ac5a18 Fixed wxTabFrame leak by deleting all pages in the dtor (fixes bug [ 1774394 ] wxAuiNotebook::AddPage Memory Leak)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 08:05:00 +00:00
Julian Smart
e4e1fe0922 Applied patch [ 1777700 ] call Reparent() from wxAuiNotebook::InsertPage()
(Fixes bug [ 1769662 ] wxAuiNotebook::InsertPage() does not change page parent)

Applied patch [ 1777713 ] wxAuiNotebook::InsertPage() - properly update m_curpage
(Fixes bug [ 1769655 ] wxAuiNotebook::InsertPage() leads to inconsistent state)

From Andrey Yazhuk.



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 07:42:02 +00:00
Kevin Ollivier
56afe8efb3 (Port to 2.8) Fix for wxMemoryDC::GetAsBitmap(wxRect) on Windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-20 23:43:32 +00:00
Robert Roebling
3e9e24033f backported wxList<T> docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-20 13:35:35 +00:00
Chris Elliott
6396b86b21 fix missing makefiles for 2.8.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-20 08:45:59 +00:00
Kevin Ollivier
1e73a96f7a wxURI variable removed by previous commit is used on MSW, so add it back in for that port.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-20 01:41:09 +00:00
David Elliott
79176a4aa1 Fix wxCocoa's wxLaunchDefaultBrowser in the 2.8 branch.
Roughly equivalent to trunk 45892 (NOTE: CVS)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 19:22:09 +00:00
David Elliott
24da507dbe Merged 48171 from trunk: Make SetCursor work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 04:01:34 +00:00
David Elliott
7f3f8ee6ac Merged 48150 and 48169 from trunk:
Improve the tracing of the tracking rect manager and mouse movement synthesizer.
Fix a number of problems with tracking rectangles by avoiding rebuilding them when unnecessary.
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 03:37:08 +00:00
Kevin Ollivier
56ca408de4 (Port to 2.8) Add the unified style on OS X 10.4, and default to using it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 21:58:07 +00:00
Julian Smart
319f678c18 Don't hang in ReadLine when there's no input left
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 12:26:30 +00:00
Julian Smart
1aaadf2089 Clarified meaning of new menu functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 11:45:44 +00:00
Julian Smart
6ed7498cbf Comment cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 11:04:36 +00:00
Julian Smart
6850d91fa4 Left click only focuses if the event wasn't handled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 11:02:42 +00:00
Kevin Ollivier
814495f08b Implement GetCountPerPage, and fix a bug where we don't check for the state mask
before altering selection state. (Port to 2.8 branch)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 06:23:58 +00:00
Julian Smart
eb5b9c7fe5 Added necessary headers for Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-17 17:42:59 +00:00
Robert Roebling
a6fb15b640 typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-17 10:53:26 +00:00
Chris Elliott
4b295ba7e2 fix missing contrib in 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-17 08:57:46 +00:00
Julian Smart
edeec0cdfc Implemented Firefox-like behaviour whereby clicking again on a tab focuses the tab, but otherwise the focus goes to the page itself.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 19:25:38 +00:00
Julian Smart
511c456b72 wxMac doesn't like wxAND_REVERSE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 19:04:32 +00:00
David Elliott
acc7223944 Merged 48131 from trunk:
Use one run-loop observer for all synthesis of mouse moved events instead of a separate observer for each view.
Actually check the last mouse position and don't send synthesized events if the mouse hasn't moved.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 17:58:41 +00:00
Julian Smart
bf0bb41e04 Compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 17:46:28 +00:00
Julian Smart
fc15b59f81 Added GTK+ headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 16:33:12 +00:00
Julian Smart
a99f59788c Added AdvanceSelection, ShowWindowMenu and keyboard handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 16:19:22 +00:00
Julian Smart
c39dee2331 Removed double border style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 14:41:48 +00:00
David Elliott
d50b18a354 Use the new wxUSE_ABI_INCOMPATIBLE_FEATURES to enable enhancements for wxCocoa builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 17:58:46 +00:00
David Elliott
ae85087030 Add a new wxUSE_ABI_INCOMPATIBLE_FEATURES and corresponding --enable-abi-incompatible-features which defaults to the opposite of --enable-shared.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 17:43:50 +00:00
David Elliott
7e2c3353a6 Merged modified 47462 (VZ) from trunk:
allow using dashes in the names of --enable/with options used with WX_ARG_XXX macros

This has the side effect of using wx_cv_use_ in preference to ac_cv_use_.
I did not include changes related to how --enable-all-features works.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 17:17:35 +00:00
David Elliott
395707a297 Regenerate configure to incorporate the proper CFLAGS/CXXFLAGS -g test that doesn't blow away the existing flags.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 17:09:29 +00:00
David Elliott
65b26bd6b5 Update the wxAutohacks libs.m4 with some of the changes from newer autoconf (this will make generated configure at least match what is currently in the tree).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 17:08:08 +00:00
David Elliott
5f9f0b0dee Clean autoconf_inc.m4 of references to now-deleted contribs like animate and propgrid.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 16:31:42 +00:00
David Elliott
5b89dd4a73 Regenerate all of the Makefile.in files with Bakefile 0.2.2.
* Minor whitespace changes in WINDRES commands
* Updates version to 2.8.4 from 2.8.2.
* Other minor generation differences.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 16:24:17 +00:00
David Elliott
83b3034b24 Merged 48106 from trunk:
Add support for uniquifying to all wxCocoa Objective-C classes.
Patch from Mark Taylor.
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 16:12:45 +00:00
Julian Smart
5e3cd885d5 Regenerated makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 16:00:33 +00:00
Vadim Zeitlin
62294caa47 don't enable previously checked button in a radio group (patch 1767481)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 13:13:43 +00:00
Vadim Zeitlin
7cd001e79b include wx/datetime.h, it's not always included from the other headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 11:46:57 +00:00
Vadim Zeitlin
b118620caa set the correct properties for the source files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 11:43:32 +00:00
Vadim Zeitlin
8c11256eee added missing headers (patch 1774617)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 11:40:39 +00:00
Vadim Zeitlin
1fc54328f4 fix incorrect wxSYS_VSCROLL_X mapping to the Win32 constant (replaces patch 1770501)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 11:38:07 +00:00
Vadim Zeitlin
1e64ae1faf use one shot timers in wxAnimationCtrl (patch 1774535)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 11:36:50 +00:00
David Elliott
1346171e5f Merge in the recent wxSlider work from svn trunk (various commits). This patch keeps ABI compatibility but won't yet
generate events caused by mouse movement (next commit will do that ABI compatibly).
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 04:42:44 +00:00
David Elliott
4ac5084fa4 Upgrade Makefile.in to Bakefile 0.2.2 because I don't feel like maintaining an 0.2.1 install just for wx 2.8.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 04:36:31 +00:00
David Elliott
438ed1ab0f Merge 48074:
Fix the top-level window client size setting code such that the window position does not change as seen by wxWidgets.
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 22:39:46 +00:00
David Elliott
e62c4f3047 Merged 48068 from trunk:
Install wx/cocoa/objc/objc_uniquifying.h for wxCocoa and add a usage note
to the header.
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 20:56:47 +00:00
Julian Smart
6292769c37 Added documentation for wxBORDER_THEME
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 14:03:58 +00:00
Julian Smart
5be3c356e4 Ambiguity correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 08:51:44 +00:00
Julian Smart
b164acb3fe Fix for non-appearance of themed border with wxTE_RICH if size passed to the constructor and then not changed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 07:26:38 +00:00
Julian Smart
3ad3e4b42d Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 17:33:35 +00:00
Julian Smart
edd33d520c Minor doc fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 17:18:08 +00:00
Julian Smart
fb9c1ff9cb Binary compatible API fixes for menu label retrieval with and without
mnemonics/accelerators.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 17:07:01 +00:00
Julian Smart
49ab1eb964 Added XRC handler for wxPropertySheetDialog (Sander Berents)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 12:05:18 +00:00
Julian Smart
61ec769dfb Fixes for WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 11:13:03 +00:00
Julian Smart
dbecd656ca Typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 10:27:05 +00:00
David Elliott
bd0a55df29 Merge 48007 from trunk:
Tell NSTextField to send us its action message and respond to it so we can generate wxEVT_COMMAND_TEXT_ENTER.
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 18:44:58 +00:00
Julian Smart
28e0a7aae8 Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 11:48:34 +00:00
Julian Smart
dadb9fa991 Don't access null tip_window pointer [ 1767485 ] wxGtk uses private API, breaks with gtk 2.11.6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 11:04:42 +00:00
Julian Smart
b4709ab2a7 For consistency with other ports, don't generate a selection event
when we change a listbox item's label


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 10:37:28 +00:00
David Elliott
4ac1930ee2 The SetTitle title parameter is no longer unused (trunk 44896)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 05:17:27 +00:00
David Elliott
c0f84d8c9a Merged 44802 (NOTE: CVS) from trunk:
implement Set/GetTitle() (last part of patch 1679337)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 05:16:16 +00:00
David Elliott
8533ecf875 Merged 47996 from trunk:
Fix wxScrollBar initial size to match the limited sizes that Cocoa allows.
Author: Mark Oxenham
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 05:14:14 +00:00
David Elliott
3ea8f7f2af Merged 47994 from trunk. WARNING: changes runtime behavior:
Implement transformation between the wxDisplay coordinate system and the Cocoa screen coordinate system.
Use this to fix TLW initial positioning/sizing (including wxTopLevelWindow, wxFrame, and wxDialog)
Use this to implement wxWindow::DoScreenToClient and DoClientToScreen
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 04:47:49 +00:00
David Elliott
94d815b39e Merged 47990 and 47991 from trunk:
Add wxBitmap constructors and Create methods to allow creating a wxBitmap from an NSBitmapImageRep or NSImage instance.
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-09 19:08:30 +00:00
David Elliott
3a26d6e324 Merged 47988 from trunk:
Add Objective-C uniquifying to WXNSWindow and WXNSPanel
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-09 18:17:18 +00:00
David Elliott
7d36c568e1 Merged 47986 from trunk:
Implement wxBU_LEFT/wxBU_RIGHT styles.
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-09 17:31:48 +00:00
David Elliott
b41c7b7ed7 Merged modified 47984 from trunk:
Implement wxStaticBitmap.
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-09 17:01:14 +00:00
Robin Dunn
8c6769e73c (un)install scripts for wxaddons and wxversion packages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-09 15:59:57 +00:00
Julian Smart
bc4dba6b4c Gave toolbars some extra height, Without which DoGetBestSize can report a size that's
smaller than the actual window, causing windows to overlap slightly
in some circumstances, leading to missing borders. Removed a hack in AUI to
adjust for wrongly reported size.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-09 15:09:03 +00:00
Vadim Zeitlin
c2074367fa remove extra space which confuses some servers (at least wu-ftpd 2.6.2) from interpreting the PORT command correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 23:34:14 +00:00
Julian Smart
84426bea01 Added wxWindowMSW::GetThemedBorderStyle as a helper for 2.8
Improved help window borders


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 12:38:13 +00:00
David Elliott
8d4c087418 Merged 47957 from trunk:
Implement the wxST_NO_AUTORESIZE style for wxStaticText.
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 04:35:58 +00:00
David Elliott
59d61f1645 Merged 47955 from trunk:
Translate the wxALIGN flags to the Cocoa alignment type in wxStaticText::Create
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 04:27:44 +00:00
David Elliott
c3030af596 Merged 47953 from trunk:
Use static wxControl::GetLabelText in preference to wxStripMenuCodes with the wxStrip_Mnemonics flag for readability.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 04:06:59 +00:00
David Elliott
af32bcf456 Merged trunk 47951:
Select the first choice in the radiobox upon creation for parity with other ports.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 03:18:05 +00:00
David Elliott
569c875a57 Merged trunk 47949:
In wxNotebook::Create setTabViewType based off of wxNB_TOP/LEFT/RIGHT/BOTTOM flags if given.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 03:08:07 +00:00
David Elliott
a5743e7bdf Merged 47946 from trunk: Return true in unsetenv case.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 01:38:08 +00:00
Vadim Zeitlin
949a443764 correction to last commit: don't test unsetenv() return value, it's void under Darwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 22:39:29 +00:00
Vadim Zeitlin
6e66311d0a use unsetenv() instead of setenv(var, NULL) which is invalid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 22:29:07 +00:00
Robin Dunn
fbd4ef1c5e tweak the size and layout of the cancel button a bit so it doesn't get clipped.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 21:42:47 +00:00
Julian Smart
2ee1e5bbb0 Added wxBORDER_THEME and made wxTextCtrl and wxSearchCtrl show the correct borders. Because
we can't add virtual functions because of binary compatibility considerations, we can't make
controls intelligent enough to know when they need themed borders. So in 2.8 we have to add
wxBORDER_THEME explicitly where necessary.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 19:40:08 +00:00
Robin Dunn
931e5c417c Patch #1769242: Check for wxUSE_GRAPHICS_CONTEXT in renderer.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 19:12:09 +00:00
Chris Elliott
72d5e4361f cvs to svn changes for 2.8.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 12:01:07 +00:00
Chris Elliott
8de86fa902 new is_text from head for svn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 11:52:39 +00:00
Chris Elliott
4860c85f44 2.8.5 not 2.8.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 11:46:04 +00:00
David Elliott
3a1a045929 Merged 44792 (NOTE: CVS) from trunk:
implemented GetLabel() (part of patch 1679337)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-06 14:55:00 +00:00
David Elliott
9330455ae2 Merged 47902 from trunk:
Consolidate cocoa view/control/cell label setting into wxControl::CocoaSetLabelForObject.

Also implements wxStaticBox Get/SetLabel which wasn't in the 2.8 branch.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-06 14:19:41 +00:00
Vadim Zeitlin
e91a95b89e add wx/univ/tglbtn.h to wxUniv headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-06 01:00:58 +00:00
Vadim Zeitlin
f391158f90 make wxTmemxxx() functions return char* and not void* in ANSI build for compatibility with wx 2.9 [backport of 47876 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-04 21:58:53 +00:00
Robin Dunn
f36a4d4e45 Fix the building of debug python package if the debian/ubuntu system supports it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-04 02:31:04 +00:00
Robin Dunn
48ad659aa2 Patch from KO to allow the renderer to be able to draw onto a wxGCDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-04 02:27:24 +00:00
Julian Smart
d916510cb3 Added Get/SetParentWindow to allow the same easy printing object to be used even
if the original parent frame was deleted


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-03 08:50:49 +00:00
David Elliott
a635e97d0e Merged 47838 from trunk:
Make masks and alpha work for wxCOPY when blitting a selected bitmap from a
wxMemoryDC with an eye towards possibly doing more in the future.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-02 16:28:31 +00:00
David Elliott
1898e412ad Add missing wxT.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-01 04:29:40 +00:00
David Elliott
29224b7773 Merged trunk 47795:
Add a wxAutoNSAutoreleasePool to wxBitmap::CopyFromIcon


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 20:40:09 +00:00
David Elliott
f8ea76d331 Merged trunk 47522:
Add a couple of wxAutoNSAutoreleasePool in some key spots where Cocoa itself does a number of autoreleases.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 19:35:12 +00:00
David Elliott
19d3db8dec Merged trunk 46229 (NOTE: CVS) inside #if 0 pending research into how to do it in an ABI-compatible way:
Implement mouse entered, exited, and synthesize move events while the mouse is inside.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 19:06:06 +00:00
Robin Dunn
45b891b8e1 Use generic code for wheel scrolling on wxGTK as discussed on wx-dev a couple weeks ago
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 16:55:01 +00:00
Robin Dunn
96937739a9 Also build the debug python package, and more tweaks from Ubuntu's wx rules file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 16:54:01 +00:00
Robin Dunn
6995f729d4 Use the wxWidgets name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 16:15:31 +00:00
Vadim Zeitlin
42a5b4e4f7 recognize hover bitmaps (patch 1758843)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 00:21:11 +00:00
Vadim Zeitlin
e97b634c4c stop after at most 200 iterations in WalkFrom() to avoid looping endlessly when the stack is corrupted (patch 1759239)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 00:16:55 +00:00
David Elliott
d6c69e0dec Merged trunk 47757:
* Implement the wxMask copy constructor to retain the source object's
  m_cocoaNSBitmapImageRep (fixes multiple release bug).
* Add some debug messages for unimplemented wxMask::Create overloads.
* Implement mask creation w/ key color from 8-bpp grayscale bitmap.
  This makes the mask image in the drawing sample's mask page work.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 21:45:12 +00:00
David Elliott
35da598faf Merged trunk 47733:
Silence the warning about lack of [NSApplication +setAppleMenu:]


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-26 18:19:59 +00:00
David Elliott
0eb7ba85df Merged trunk 47732:
Added missing #import <Foundation/NSArray.h>


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-26 18:18:53 +00:00
Julian Smart
17b1150b3f Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-25 07:18:10 +00:00
Stefan Csomor
f70fcfefbf fixing layering problems when modal dialogs should appear in front of floating windows (eg miniframes), as long as wxSTAY_ON_TOP is not set on the miniframe
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 10:22:17 +00:00
Stefan Csomor
de809c336e applying 1660835, making sure wxSTAY_ON_TOP mini frame windows don't get hidden on deactivate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 10:16:09 +00:00
Stefan Csomor
0458df5e6a we now always have a transparent sizer grip
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 20:14:05 +00:00
Stefan Csomor
ae9d03dd77 we now always have a transparent sizer grip
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 20:12:59 +00:00
Stefan Csomor
6287620649 making sure we never have a grow box overlapping a scrollbar [1758336]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 20:11:41 +00:00
Stefan Csomor
8002d90bef making sure we never have a grow box overlapping a scrollbar [1758336]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 20:09:19 +00:00
Stefan Csomor
188b7013e8 implementing wxALWAYS_SHOW_SB from 1744665
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 17:08:28 +00:00
Robin Dunn
b63b53820a Allow supporting more than one version of Python at a time, if python-central is available and
installed in the Debian distro, and if it specifies that more than one version should be supported.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 15:51:36 +00:00
Julian Smart
e738283be2 Avoid a hang if we're dragging a tab to a notebook that's a child of the original tab
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 12:23:15 +00:00
Stefan Csomor
52ec12df36 correcting my last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 04:42:48 +00:00
Stefan Csomor
f3869c8030 applying 1741073
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 15:20:58 +00:00
Stefan Csomor
c27d4c699f restricting mouse-wheel support to y axis only, trunk is having both dimensions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 15:03:53 +00:00
Stefan Csomor
429a5b011e changing handling of mouse-down buttons according to patch 1749825
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 14:54:01 +00:00
Stefan Csomor
d79f943ad0 fixing path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 13:20:18 +00:00
Stefan Csomor
e34d630c63 no 68k macs more to support...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 10:12:13 +00:00
Stefan Csomor
4bc6b9ae41 adding quicktime framework (needed for PICT conversion)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 08:30:09 +00:00
Stefan Csomor
1321c5ea09 adding cocoa utils file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 08:28:35 +00:00
Vadim Zeitlin
66ce99069b initialize m_labelWidget to 0 to fix crash when the label is empty (backport of part of r45312 changes from trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 22:51:49 +00:00
Vadim Zeitlin
ba92f56af9 removed unused variable left after the last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 21:36:30 +00:00
Vadim Zeitlin
b5d63b3390 correct the last patch: we should compare wxGenericTreeItem pointers, not a pointer with an id
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 11:41:34 +00:00
Vadim Zeitlin
25a8ee4c6c always use GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, independently of whether wxDD_MUST_EXIT flag is used, as the create folder dialog has confusing UI [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 01:30:13 +00:00
David Elliott
a8634fc361 wxCocoa: Implement wxControl::GetLabel/SetLabel by stowing the label in the
wxNonControlNSControl instance used when the wxControl is a non-native
subclass (e.g. a generic control).
Not needed in trunk since there is now m_labelOrig.
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 22:11:16 +00:00
David Elliott
d4364d403b Merged trunk 47600:
wxCocoa: Implement wxTopLevelWindow::SetDefaultItem
Copyright 2007, Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 20:41:05 +00:00
David Elliott
729535acbe Merged trunk 47598:
wxCocoa: Basic support for font underlining:
* Make wxWindow::SetFont call wxWindowBase::SetFont.
* Make wxDC::SetFont store the font in existing m_font.
* Make wxFont::GetUnderlined return the m_underlined flag.
* Implement underlining in wxDC::DoDrawText
Copyright 2007, Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 19:47:02 +00:00
Paul Cornett
ada47ad6fb more AC_CHECK_HEADERS fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 18:27:35 +00:00
Paul Cornett
332987ea38 add missing parens to bitwise expression
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 06:44:02 +00:00
David Elliott
eb6e94c125 Merged trunk 47585:
Implement wxWindow::SetCursor to invalidate Cocoa's cursor rects.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 05:47:19 +00:00
David Elliott
7afe960213 Merged trunk 47580, 47581:
Rewrite conversion from classic Mac OS 'CURS'-style structures to NSCursor.
* Leave data as separate image and mask planes instead of interleaving it
* Specify bytesPerRow to make compatible with 10.4 (Tiger) and higher
* Use endian-independent math.
* Document that the cursor data came from wxMac source.

Rework the wxCusor ctor taking wx stock number to provide as many cursors as
possible by using the system cursors first, a set of built-in cursors copied 
from wxMac if a system cursor was not found, and a normal cursor otherwise.

Fixes lack of wxCURSOR_HAND and makes the code easier to follow by clearly
showing which cursors are and are not available from each source.

Copyright 2007, Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 04:16:56 +00:00
David Elliott
4f5c9325a1 Merged trunk 47570:
Strip mnemonics from the label before passing it to Cocoa.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 04:13:54 +00:00
Vadim Zeitlin
3e1fc4d2ae check for setenv first, then putenv as using setenv in wxSetEnv() is much easier [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 23:00:32 +00:00
David Elliott
5c40864f51 Merged trunk 47523, 47567, 47569 (full wxRadioBox implementation):
* Partially implement wxRadioBox for wxCocoa.
* Implement most of wxRadioBox's methods.
* Implement wxCocoa wxRadioBox event.
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 19:48:55 +00:00
David Elliott
a735b922c9 Merged trunk 47568:
Make wxRadioButton::SetValue(true) deselect all other wxRadioButton in its group if it is part of a group.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 19:44:59 +00:00
David Elliott
5f00f5084c Merged trunk 47521:
Don't use exceptions to determine lack of a method implementation.  Exceptions
aren't designed for this in Cocoa.  Instead, use respondsToSelector:.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 19:43:28 +00:00
Vadim Zeitlin
77d0b13798 don't assert when right/down cursor arrows are used in an empty tree control with wxTR_HIDE_ROOT style [backport of patch 1756184 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 13:55:42 +00:00
Vadim Zeitlin
7f41d85861 always generate the taskbar sample makefile; this was wrong since the line adding it to SAMPLES_SUBDIRS was added in the wrong place in rev 15927
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 01:06:01 +00:00
Václav Slavík
308b73a81f compilation fix for minimal build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-18 15:03:10 +00:00
Robin Dunn
f8b99869e8 wxPython wants monolithic build on OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-17 23:34:47 +00:00
Vadim Zeitlin
61044f83ce check whether the string is non-empty before accessing its first element [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-17 22:47:30 +00:00
Vadim Zeitlin
83ea1b79e7 fix rounding errors in stretchable items size calculation (patch 1754785)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 20:04:13 +00:00
Vadim Zeitlin
cb47b30098 don't overwrite build setup.h with user setup.h unless the latter is newer (as we already do in the trunk) (patch 1752567)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-15 20:48:29 +00:00
Václav Slavík
23536a41a8 forward compatibility with wx3: accept empty string as well as NULL in places where wx3 uses empty strings only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-15 14:12:08 +00:00
Vadim Zeitlin
901abc184c allow setting empty tooltip in SetIcon() [backport of rev 47474 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 20:27:01 +00:00
Vadim Zeitlin
ec0b903a1d cast abs() argument to int (from long) as BCC 2007 doesn't define abs(long) overload in stdlib.h (only cstdlib)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 11:07:40 +00:00
Benjamin Williams
e945389331 fix for bug #1747890 - close button problem fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 10:06:41 +00:00
David Elliott
993c3acd5e Merged 47382:
Fix Raise and Lower to leave all other sibilng views in the order they were in.
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 22:30:56 +00:00
David Elliott
f4bf53c757 Merged 46227 from trunk (Note:CVS):
Allow many Objective-C classes to be uniquified at runtime.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 21:49:41 +00:00
David Elliott
f9f9b40c64 Merged 46116 from trunk (NOTE: CVS):
* Add public wxApp::sm_isEmbedded flag like on wxMac.  Default initialization
  to true but a plugin can set it to false to cause wxCocoa to not initialize
  things like the application delegate or the menubar manager.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 21:30:31 +00:00
David Elliott
428424f525 Merged modified 46013 from svn trunk (NOTE: CVS).
Rework idle handling so that NSApplication does not need to be subclassed or posed as.
Copyright Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 21:14:45 +00:00
David Elliott
f5d9bc0a49 Provide versioning for backport of 46117 (wxLog::DoCreateOnDemand).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 20:25:10 +00:00
Vadim Zeitlin
ed3c1af165 use wxLongLong::ToLong() and not GetLo() to extract time_t value in GetTicks(): they are very different on 64 bit platforms [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 13:48:10 +00:00
David Elliott
65f7483bd6 Merged 47182 from svn trunk:
Make wxCocoa compile in 64-bit mode.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 03:06:22 +00:00
David Elliott
4084e91fe6 Merged 46226 from svn trunk (Note: CVS):
Add implementation of Objective-C class name uniquifying.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 02:49:34 +00:00
David Elliott
8729117682 Merged 46117 from trunk. (Note: CVS):
Add a wxLog::DoCreateOnDemand and call it from DoCommonPreInit so that
logging will work even if wxWidgets is reentered after being cleaned up.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 02:36:29 +00:00
David Elliott
3274765ffd Merged modified 46014 from trunk (Note: CVS).
This version only removes the include of ObjcPose.h from source files that no longer need it due to the previous commits.  ObjcPose.h still remains and is still used by the NSApplication code until I can do the necessary modifications to backport that without breaking ABI compatibility.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 22:34:42 +00:00
David Elliott
40d19e2b59 Merged 47384 from svn trunk:
Improve static_cfref_cast so that it can be used without causing an unnecessary retain/release in the case when one is only using the cast to convert to a more-derived raw CF ref type.



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 21:46:46 +00:00
David Elliott
2d654f593f Merged 47226 from trunk:
Don't include <CoreFoundation/CFBase.h> because it in turn includes MacTypes.h which causes too much namespace pollution.
Instead, declare the CFTypeRef type and the CFRelease and CFRetain functions.



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 21:44:57 +00:00
David Elliott
3b4012e471 Merged r45869 from trunk (Note: CVS, rename done using svn move on 2.8 version):
Move src/cocoa/utils.cpp to src/cocoa/utils.mm.



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 21:30:50 +00:00
David Elliott
1d98985358 Merged slightly-modified r45749 from trunk (Note: CVS):
Add comments and a debugging aid to Get/SetLabel implementations which are intentional no-ops for wxCocoa.
Copyright Software 2000 Ltd.



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 21:24:26 +00:00
David Elliott
8933152887 Merged (slightly modified to maintain ABI compatibility) r45554 from trunk (Note: CVS):
Remove Objective-C class posing for everything except for NSApplication.



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 21:17:27 +00:00
Robin Dunn
005638a1d7 Bump sub-release number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 20:53:29 +00:00
David Elliott
a73e1b2d97 Merged r45553 from trunk (note: CVS):
Move Objective-C interfaces into separate header files in preparation for being able
to use them from other source files.
No new or changed code.  Work on behalf of Software 2000 Ltd.



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 20:46:00 +00:00
Kevin Ollivier
0ebe472f38 Update to work with the latest wxPython and to work with more shells. Also, get the script's directory
using $0 rather than relying on it to be run from the dir it lives in.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 21:06:09 +00:00
Stefan Csomor
a0a4f762d3 forcing bitmap type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 15:16:03 +00:00
Julian Smart
9d3f10cc34 Test for wxUSE_UXTHEME
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 08:55:11 +00:00
Julian Smart
aa53874e59 Fixed a crash in wxGrid on creation due to OnSize being called too soon.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 08:37:18 +00:00
Julian Smart
06e3372526 Avoid a crash due to OnSize being called before initialisation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 08:32:10 +00:00
Robin Dunn
c6d2cc32d7 Switch GetHeaderButtonWidget to use a real column header button.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 17:00:12 +00:00
Robert Roebling
6027b33b15 Block all events in wxSpinButton::SetValue etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 12:00:48 +00:00
Robert Roebling
ef1e53d1b3 Block all events in wxSpinCtrl::SetValue etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 11:48:41 +00:00
Robin Dunn
af6c0493cf Need to send an event in the wxCP_NO_TLW_RESIZE case too so the user
code knows when to update the layout


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 19:49:50 +00:00
Robin Dunn
f225e6ed83 Use a button that has a tree widget as a parent as the widget style
for DrawHeaderButton, as this is apparently how the gtk themes decide
whether to draw a normal button or a column header button.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 18:30:38 +00:00
Vadim Zeitlin
49266c6b45 generate wxEVT_COMMAND_LIST_END_LABEL_EDIT event even if label didn't change [backport of rev 47265 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 15:00:42 +00:00
Julian Smart
10c14670ec Added gravity
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 14:31:09 +00:00
Paul Cornett
6a467b6cc6 process pending wx events before sending idle events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-08 05:31:32 +00:00
Kevin Ollivier
5719de8643 Fixing mixed tab/spaces indentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 04:35:11 +00:00
Vadim Zeitlin
d88636da66 use WXDLLIMPEXP_GL instead of WXDLLEXPORT (which is for core, not gl)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 15:43:06 +00:00
Vadim Zeitlin
a4ae2e8c81 remove the unneeded +1 from wxGauge::SetValue() call in Update() [backport of rev 47192 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 12:13:37 +00:00
Michael Wetherell
bcfabaa871 Fix missing exports.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 07:44:19 +00:00
Vadim Zeitlin
fedc6cd535 prevent a single selection control from having multiple selected items [backport of 47175 and 47176 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 22:52:30 +00:00
Vadim Zeitlin
056ae23eeb fix the memory corruption in multiline controls due to wrong WrapLines() implementation [backport of rev 45343]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 21:37:36 +00:00
Vadim Zeitlin
6b0792e009 simplify test for 64 bit architectures: just check if the string '64' occurs in the arch string, this also covers more cases [backport of rev 47127 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 22:33:59 +00:00
Vadim Zeitlin
c24b72715b fixed bug which resulted in generation of spurious EVT_RADIOBOX events when a radiobox button was focused but not selected (patch 1739140) [backport of rev 47124 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 21:24:41 +00:00
Benjamin Williams
b3d886a215 fix for bug #1686328
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 16:38:03 +00:00
Václav Slavík
df9eb68cb5 compilation fixes: \_, not _
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 08:18:55 +00:00
Paul Cornett
2a0eb543b2 get color count from ComputeHistogram, use sprintf for hex conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-03 17:17:20 +00:00
Robert Roebling
3e755df90b [ 1746670 ] wxGnomePrintDC::GetTextExtent() returns wrong size of text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-03 12:58:30 +00:00
Robert Roebling
804ce4d2b2 Use the same 250ms when waiting for slow-clicks for starting
the edit label process in wxTreeCtrl and wxListCtrl.
Take icon size in the first column into account when shwoing
   text control.
Only activate label editing when clicked on the first label,
   not somewhere else


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-03 12:00:58 +00:00
Robert Roebling
88a48ead61 Let GtkScrolledWindow handle scroll wheel events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-03 11:13:19 +00:00
Robert Roebling
b1a7ff6ca0 Move visible scroll range after scrolling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-03 11:10:58 +00:00
Paul Cornett
1a5f13bcf5 fix XPM SaveFile for more than 92 colors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-03 03:08:26 +00:00
Julian Smart
33fac1eaf7 Added SetBitmap, GetBitmap to wxWizard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-02 08:00:17 +00:00
Julian Smart
21f7b53d4f Replaced tabs with spaces.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-02 07:50:00 +00:00
Benjamin Williams
c007ebeaca in wxAuiNotebook, prevent unwanted page selection changes during tab drags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-01 15:11:35 +00:00
Václav Slavík
38c8f6b67e XRC: Handle wxFLP_USE_TEXTCTRL in wxFilePickerCtrl handler (patch #1745662)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-30 09:06:20 +00:00
Robin Dunn
ab5ba3a010 copy wxAutohacks into main tree
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-30 00:09:32 +00:00
Robin Dunn
b4e90b91d6 copy wxAutohacks into main tree
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-30 00:09:31 +00:00
Robin Dunn
69635c0066 Move wxPython portion of wx 2.8 branch to new location
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-30 00:06:00 +00:00
Vadim Zeitlin
254705fe87 strip the leading dot from extension if present in GetFileTypeFromExtension() [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 18:23:39 +00:00
Julian Smart
909fa782a9 Prevent seg fault for older GTK+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 16:59:23 +00:00
Benjamin Williams
4c2a8b753d applied patch 1737156 to wxAuiManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 11:53:13 +00:00
Benjamin Williams
21a35b7088 in wxAUI, set the hint transparency before showing the hint window, as this prevents a flicker of the solid hint window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 11:34:25 +00:00
Benjamin Williams
5aadb60fc3 updated change log with information about wxAuiNotebook updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 09:35:59 +00:00
Vadim Zeitlin
1006538504 restored key events generation (backports 45371 from the trunk, closes bug 1724916)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 01:51:11 +00:00
Robin Dunn
8a50922bbe be able to change tabs with arrow keys
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 00:23:18 +00:00
Robin Dunn
fc0691ce71 Patch from Andrea. Adds focus rectangle on the tabs, and provides
best size.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 18:38:59 +00:00
Benjamin Williams
d89144081d fix for wxAuiNotebook middle-click close (was closing wrong page)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 13:07:02 +00:00
Paul Cornett
82c1d75f14 wxMac bitmap now requires QuickTime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 02:16:19 +00:00
Benjamin Williams
b34b4a9be7 added middle-click close to wxAuiNotebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 16:46:41 +00:00
Benjamin Williams
667d0fb4a6 in wxAuiNotebook, code to reduce flicker on page close
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 12:35:27 +00:00
Benjamin Williams
ffbdb33034 wxAuiNotebook::RemovePage() rewritten; fixes bugs #1737293 and #1737433
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 11:28:09 +00:00
Robin Dunn
06e77c1372 fixed svn properties
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-25 14:41:07 +00:00
Václav Slavík
5f8566b2a3 fixed 'url' field extraction to be done for wxHtmlWindow only (bug #1741900)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-25 12:16:51 +00:00
Robin Dunn
b4e7990f52 build tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-23 21:09:02 +00:00
Robin Dunn
de923d3446 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-23 21:07:51 +00:00
Robert Roebling
56e3b9d239 Mention changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-23 17:00:26 +00:00
Robert Roebling
29127dcf8b Remove Update() from ScrollWindow() again as this has
been taken care of by the same call in wxScrollHelper.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-23 16:52:50 +00:00
Robert Roebling
c83062ceb2 Prevent wxScrollbar::SetThumbPos from sending any
event, too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-23 16:26:28 +00:00
Robert Roebling
8639c0ea73 Corrected mouse wheel support.
Prevent wxWindow::SetScrollPos() and ::SetScrollbar
    from emitting the wxScrollWinEvent
  Call wxWindow::Update() in ScrollWindow() as the
    update region would otherwise be out of sync


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-23 15:48:31 +00:00
Robin Dunn
0d5d808ece Add DetachOldLog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-23 05:30:56 +00:00
Robin Dunn
f15c583631 docstring update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-23 05:30:16 +00:00
Václav Slavík
a4c1a52979 clarified global and local config files behavior
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 22:19:38 +00:00
Vadim Zeitlin
b6f6729e23 don't always add wxCAPTION to wxMiniFrame style unconditionally (patch 1739821; backport from HEAD)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 19:14:00 +00:00
Václav Slavík
ea75081be2 fixed documentantion for wxMemoryFSHandler::AddFileWithMimeType() -- older version for two versions of AddFile() was checked in by mistake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 12:56:53 +00:00
Robert Roebling
35d1efe657 Always use (or create on-the-fly) pixbuf representation
in wxBitmapButtom, fixes
  [ 1739413 ] Transparency, wxBitmapButton, GTK, disabled


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 12:25:11 +00:00
Robert Roebling
7887fa4046 Only apply wxALWAYS_SHOW_SB to main window in wxListCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 12:17:49 +00:00
Julian Smart
3cfd8e8730 Backported filter fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 12:12:10 +00:00
Robert Roebling
a8aeb8d9d2 Rewrote code that prevents (double) TEXT_UPDATE events
in wxTextCtrl::SetValue(). This should fix
  [ 1735374 ] EVT_TEXT doesn't get called when changing wxTextCtrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 10:37:23 +00:00
Robert Roebling
29c30ff8f2 Correct grid lines in wxListCtrl (I cannot find the
bug report anymore)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 10:09:48 +00:00
Robert Roebling
67bceb50ff Call base class methods for setting clipping region.
Part of [ 1739766 ] Clipping non-rectanguar areas in wxGnomePrintDC


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 09:22:56 +00:00
Paul Cornett
3f51011bf0 gtk_widget_destroy does not unref the widget unless it's a TLW or in a
container, so use gtk_object_sink to delete temporary, parentless widgets.
Fixes memory leak bug #1741184.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 06:53:30 +00:00
Vadim Zeitlin
034f884a00 blind fix for wxUSE_WXDIB==0 compilation (replaces patch 1739858)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 18:14:29 +00:00
Robin Dunn
cd8dea93d5 docstring update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 15:52:52 +00:00
Robin Dunn
8c180c05f3 Added MemoryFSHandler.AddFileWithMimeType
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 15:26:35 +00:00
Robin Dunn
71b20f46de docstring fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 15:25:36 +00:00
Robin Dunn
94a2b65937 move wxDouble typedef to _defs.i
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 15:24:46 +00:00
Vadim Zeitlin
4f252980d9 pass double as sqrt() argument as at least Sun compiler has troubles with sqrt(2) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 15:23:42 +00:00
Robin Dunn
6c474d6a46 Layout and other tweaks/fixes from Ric
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 15:19:49 +00:00
Julian Smart
18be86b20b Copied fonts in art Clone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 15:16:10 +00:00
Julian Smart
3d77f4389c Added new wxAuiNotebook symbols
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 15:13:00 +00:00
Julian Smart
8dc797d705 Added font setting and ability to determine AUI notebook height for a given page height
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 15:07:51 +00:00
Vadim Zeitlin
1240117c23 added wxLogChain::DetachOldLog()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 14:46:02 +00:00
Vadim Zeitlin
4ab9366fc1 no changes, just replaced TAB with spaces
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 14:44:43 +00:00
Julian Smart
f7cf8da78e Added DetachOldLog to avoid destruction of old log target
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 12:34:32 +00:00
Vadim Zeitlin
10aee5e5d4 fix bug in our wxStrtod() reimplementation which prevented it from ever working (bug 1721643)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 11:53:48 +00:00
Vadim Zeitlin
d5cc95bff0 check that we do have scrollbars before using them to avoid crashes when SetScrollXXX() methods are called for windows which are not scrollable [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 11:46:56 +00:00
Vadim Zeitlin
24d135e59d fix to the previous commit: percent signs have to be escaped first
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 11:24:31 +00:00
Paul Cornett
3dac5efb81 fix reversed left/top variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 03:43:01 +00:00
Vadim Zeitlin
64540685b9 fix handling of '#' in file names (patch 1740328) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 00:06:17 +00:00
Vadim Zeitlin
1cf8287602 make setting the foreground colour of wxTextCtrl in wxGTK work [backport of 1.685 from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 21:30:16 +00:00
Paul Cornett
065ada7625 fix reparenting a control into wxToolBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 17:49:13 +00:00
Julian Smart
a2a50c2dfe Give controls more width to avoid edge being clipped
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 15:35:54 +00:00
Julian Smart
4bfc438fd5 Fixed uninstalled toolbars in native toolbar mode, with a method for
specifying non-native if required
Added code to toolbar sample for testing uninstalled toolbar


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 14:02:06 +00:00
Julian Smart
4b22bf79df Compile fix for non-CG mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 08:16:50 +00:00
Julian Smart
884f232074 Compile fixes for non-Core Graphics mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 08:14:04 +00:00
Mart Raudsepp
df24902892 Fix SetExtraLong parameter type in docs from int to long. Noticed by nept2 on IRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 04:22:56 +00:00
Vadim Zeitlin
8adb6b9372 don't free "static" alpha data (patch 1738966) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 00:13:57 +00:00
Robin Dunn
a9642c3a21 fix import error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 15:45:23 +00:00
Julian Smart
8cb244cc1c Finally fixed control scrolling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 15:08:13 +00:00
Robin Dunn
4a132d8cdf Coerce to floating point to fix ResampleBicubic. See bug #1736953.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 19:39:13 +00:00
Robin Dunn
8bc128301d Send the calendar and date changed events to the datepicker ctrl first
(not its parent) so they can be caught by dynamic event handlers
connected directly to the picker.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 19:34:56 +00:00
Robin Dunn
53d7f318ea Added patch from Chriss Mellon that gives PyShell a custom context
menu that is better integrated with the shell environment.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 19:09:00 +00:00
Robin Dunn
066efa7cf1 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 18:57:24 +00:00
Robin Dunn
996a3ff6a8 docstring fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 18:53:07 +00:00
Robin Dunn
f703b16a42 some cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 18:52:15 +00:00
Robin Dunn
c91397af88 it looks better if we just change the main bitmap, not all of them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 18:51:34 +00:00
Václav Slavík
9f50431f18 improve XRC loading performance on Unix by avoiding MIME database loading
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 18:37:40 +00:00
Mart Raudsepp
707dcbad73 gtk_border_free is for freeing GtkBorder's, not g_free.
Using g_free instead used to have no ill effects as gtk_border_free called that anyway, but in gtk+-2.11 GtkBorder
uses GSlice and gtk_border_free therefore uses g_slice_free and using g_free makes things crash hard.
So fix it or wxGTK won't work with the upcoming gtk+-2.12 stable release planned for end of July.
Hopefully we will release 2.8.5 by then...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 06:16:45 +00:00
Mart Raudsepp
09632bb00c Fix memory leak in wxTextCtrl au_check_word that was triggered only with wxTE_AUTO_URL style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 05:53:03 +00:00
Václav Slavík
b996028c3b when selecting text in wxHTML, selecting half a character is enough to select it (patch #1719530; this is standard behaviour when selecting text)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-17 17:58:20 +00:00
Václav Slavík
887e1ab976 fixed selecting part of word from right to left in wxHTML (patch #1719530)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-17 17:31:09 +00:00
Václav Slavík
faf75a0f58 don't make read-only text controls editable when enabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-17 09:29:41 +00:00
Vadim Zeitlin
1644f8fccc correct setting of pSymbol->SizeOfStruct (patch 1737789) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-17 00:59:29 +00:00
Robin Dunn
0e65b1d1cd Patch #1738147 Improved imagebrowser
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 23:16:37 +00:00
Robin Dunn
14b4674a0b bugfixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 23:15:13 +00:00
Vadim Zeitlin
b060ae7de4 added wxDocument::GetUserReadableName() for forward compatibility with 3.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 12:53:56 +00:00
Stefan Csomor
dde33f39c1 use CFAlerts on mac for asserts, better isolation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-14 23:07:20 +00:00
Stefan Csomor
ea3bf30068 popupwin for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-14 23:04:35 +00:00
Stefan Csomor
fa887f51c1 making spell checking selectable via system options, Bug 1736428
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-14 22:14:09 +00:00
Stefan Csomor
dd8fb0aa37 making spell checking selectable via system options, Bug 1736428
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-14 21:59:28 +00:00
Vadim Zeitlin
b9b6aefc64 corrected strptime() test, don't use NULL pointer as this crashes under Darwin [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-14 10:24:33 +00:00
Vadim Zeitlin
7cf8af693d check if strptime() works correctly and disable its use if it doesn't [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-14 01:10:17 +00:00
Stefan Csomor
af81408a3e fixes for popupwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 22:55:58 +00:00
Václav Slavík
56a25b3eb8 prefer wxFFile to wxFile if both are available, for better performance (see bug #1736365)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 20:49:27 +00:00
Stefan Csomor
ba281f497a fixing 1736334
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 16:36:28 +00:00
Stefan Csomor
dd9f8154e5 fixing 1736428
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 13:03:12 +00:00
Stefan Csomor
6a7ecf17b1 fixing 1736447
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 12:56:34 +00:00
Stefan Csomor
715b146a8b fixing 1736298
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 12:43:36 +00:00
Stefan Csomor
44b4624ed8 fixing 1736298
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 12:35:29 +00:00
Stefan Csomor
16f129a555 universal support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 04:35:23 +00:00
Stefan Csomor
b04e8701aa changing weak linking pattern
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 04:24:17 +00:00
Stefan Csomor
904c5051aa unhighlighting the menu when a dialog is shown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 04:22:15 +00:00
Stefan Csomor
d86e89f3f9 universal os x fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 04:20:40 +00:00
Stefan Csomor
d3521487d4 universal os x fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 04:05:37 +00:00
Stefan Csomor
cc10fcc4a8 universal os x fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 03:46:20 +00:00
Stefan Csomor
50af8f6e66 fixing pict export under coregraphics with quicktime, using tiger functions for faster conversion where possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-12 19:49:51 +00:00
Robin Dunn
9c952d068f more updates on recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 21:59:01 +00:00
Robin Dunn
de511875dc Added save to stream methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 21:31:19 +00:00
Robin Dunn
1779d8df50 Added wxRoses sample from Ric Werme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 20:40:43 +00:00
Vadim Zeitlin
a74f1a0dfa generate disconnection event if recv() returns 0 in Detected_Read() (patch 1730589) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-10 09:24:55 +00:00
Julian Smart
8248c56400 Faster hex encoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-09 17:52:47 +00:00
Vadim Zeitlin
96b17da728 initialize the variable as XtVaGetValues() may not do it apparently [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-09 17:04:58 +00:00
Vadim Zeitlin
90dfa0efd3 fix custom draw bug for controls with only one column (patch 1731024) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-09 10:58:38 +00:00
Vadim Zeitlin
9aad4a641c fix SetProcessAffinityMask() prototype (was missing WINAPI, i.e. the all important stdcall) (patch 1731976) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-09 10:55:16 +00:00
Vadim Zeitlin
112ef6914c cancel dragging if Esc is pressed (patch 1733657) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-09 10:54:00 +00:00
Kevin Ollivier
d6518e3ef7 Bakefile only supports 'and' conditions, so refactor the debug conditions to reflect that.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-08 18:25:40 +00:00
Stefan Csomor
4ca8cbec78 now that the bitmap context is always in topleft coords, we need the adjusted call for drawing an image
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-08 16:07:25 +00:00
Julian Smart
a76b434a2e Small typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-08 12:41:22 +00:00
Robin Dunn
dcc8666d99 zap an extra print statement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-08 05:03:19 +00:00
Robin Dunn
a05097c7ae * Some menus and buttons are kept in sync with EVT_UPDATE_UI.
* Tool menu items use wx.ITEM_RADIO
* New polygon and scribble tools
* Text tool uses wx.FontDialog rather than home grown dialog
* Switched to double-buffering (code borrowed from doodle sample.)
* Spent a lot of time on improving handling of canvas scrolling redraws
which look bad under __WXMSW__, IMHO.
* All tools are subclasses of DrawingTool now.
* All objects are subclasses of the base DrawingObject now (rather than
typecode switch)
* Majority of event handling delegated to tools
* Manipulation of handles refactored to move most of the logic into
DrawingObject subclasses
* Use GenBitmapToggleButton for the Tool buttons instead of reimplementing
same functionality.
* Nicer looking fill/stroke preview (I think anyway)
* Toggle for choosing between wx.DC and wx.GCDC


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-08 04:56:29 +00:00
Julian Smart
6468e29b37 Init fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 20:28:50 +00:00
Robin Dunn
1e00fb2d66 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 18:49:33 +00:00
Robin Dunn
b40cb84f3f Patch from Paul McNett to check for the Acrobat version more robustly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 18:47:19 +00:00
Robin Dunn
40a426b367 Premultiplied Alpha is now exepcted on Mac too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 18:46:07 +00:00
Robin Dunn
a90ee73cdc Use correct name in MustHavApp macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 18:45:06 +00:00
Robin Dunn
769c0c934f Add ShutdownDemo to better clean up when switching to another sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 18:44:14 +00:00
Robin Dunn
d2a924d5f2 Mac lipo build patch from Kevin O.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 18:43:02 +00:00
Robin Dunn
c824de2497 Yielding from a non-gui thread needs to bail out, otherwise we end up
possibly sending events in the thread too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 18:34:54 +00:00
Julian Smart
85543d154a Don't insert a newline when we get text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 12:49:35 +00:00
Stefan Csomor
3a9b6f8275 better param type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 06:57:22 +00:00
Stefan Csomor
d241e86059 add a PICT export for Quartz (needed under 10.3 as ImageRefs are not accepted everywhere)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 05:58:16 +00:00
Stefan Csomor
b11cd08867 making pdf implementation compile and work under 10.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 05:37:40 +00:00
Stefan Csomor
876da30ac3 uma versions for tiger only calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 05:34:42 +00:00
Kevin Ollivier
f619081d63 Make macbuild-lipo more robust, add lipo-dir which will lipo two dirs (one a ppc install and one an intel install) together.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-06 05:26:41 +00:00
Robin Dunn
27c390f313 Convert '0' or '1' to int before converting to bool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-05 21:53:10 +00:00
Robin Dunn
3a21ebbefd Check for 8.0 too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-05 21:51:36 +00:00
Robin Dunn
544c04c362 Use utf-8 for saving to file. Patch #1730543
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-05 21:50:57 +00:00
Robin Dunn
74ef4c65c8 Add undo stack. Patch #1730517
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-05 21:18:42 +00:00
Michael Wetherell
243ad5c89e Add to patch 1671804 (menu alignment for VC6) so that it does work, and move
it to msw/missing.h.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-05 16:40:12 +00:00
Michael Wetherell
1880068bb9 Warning fix for VC5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-05 15:21:24 +00:00
Julian Smart
56df653964 Don't crash if failing to convert text on write
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-05 13:16:11 +00:00
Václav Slavík
eeb6a21019 don't crash when using wxHtmlWidgetCell in wxHtmlListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-05 12:12:46 +00:00
Kevin Ollivier
3e13084a77 Restore compilation on Panther when using CoreGraphics. Also take a stab at Panther CoreGraphics impl based on previous implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-05 04:12:21 +00:00
Vadim Zeitlin
72115a3034 mingw32 doesn't define _tsystem so provide one ourselves (bug 1726904) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-03 23:03:51 +00:00
Vadim Zeitlin
fce88a4c47 initialize wxListItem::m_image to -1 (which means no image), not 0 (bug 1727909) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-03 22:38:28 +00:00
Vadim Zeitlin
8653d7fa60 added colour normalization to PNM handler [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-03 22:14:32 +00:00
Julian Smart
d101b7b205 Typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-03 11:23:02 +00:00
Stefan Csomor
9c891bce20 coordinate adjustment not needed here anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-03 11:01:00 +00:00
Stefan Csomor
1c9461245f do coordinate conversion in the context creation already
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-03 10:59:44 +00:00
Robin Dunn
7eab1fe3cc reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-03 00:11:43 +00:00
Robin Dunn
619376a5fd install wx/mac/corefoundation/cfdataref.h and wx/mac/corefoundation/cfref.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-03 00:06:31 +00:00
Robin Dunn
d0e0b73c37 bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:57:20 +00:00
Robin Dunn
3f492c34a1 Richtext updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:53:22 +00:00
Robin Dunn
006c2c2d82 Additional tags to treat as bitmaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:50:57 +00:00
Robin Dunn
e99d058646 Show the .this attribute too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:50:10 +00:00
Robin Dunn
7bbac90b23 tweak layout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:49:31 +00:00
Robin Dunn
04fc249824 menu and accel tweaks for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:49:09 +00:00
Robin Dunn
d207b97bd1 out typemap for wxPyComboCtrl*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:46:36 +00:00
Robin Dunn
f1828885d3 wxRect* typemap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:46:09 +00:00
Robin Dunn
f00702242f wxOutputStream wrapers and typemaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:43:46 +00:00
Robin Dunn
dba31789b1 docstring fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:43:04 +00:00
Robin Dunn
eefcdd4b0f Python sequence wrappers for wxLists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:42:18 +00:00
Robin Dunn
616fdc4311 Don't use the wxRect* typemaps in the wxRect class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:38:52 +00:00
Robin Dunn
fd4860ffb7 wxOutputStream wrapers and typemaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:37:34 +00:00
Robin Dunn
f0ab7c7d9f docstring fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:36:20 +00:00
Kevin Ollivier
2b2be21f18 Allow wxpresets to work with wxPython libraries on Windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 21:06:22 +00:00
Vadim Zeitlin
79ac0cd199 fix crash after destroying a default button in a backwards compatible way (patch 1727956)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 13:25:43 +00:00
Vadim Zeitlin
4be667976c enable non-top tabs workaround for Vista too (replaces patch 1724221) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 13:22:20 +00:00
Vadim Zeitlin
056eb8dc99 added msw.font.no-proof-quality system option as it makes more fonts available (feature request 1617941) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 13:13:24 +00:00
Julian Smart
4bf6833edf Backported toolbar rendering fix for Vista
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-29 13:32:30 +00:00
Julian Smart
d129f01808 Give the correct colour for notebook pages under Vista with the default theme,
if we're using a solid colour background. wxUxThemeEngine::GetThemeColor doesn't
return the correct colour for Aero.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-29 13:15:33 +00:00
Robert Roebling
e583c01cce Invalidate best size after wxChoice::SetString()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-29 08:10:06 +00:00
Robert Roebling
54873ec085 Mention support for clipping in GNOME print backend.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 16:03:06 +00:00
Robert Roebling
760e6f58d0 Support clipping in GNOME print backend.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 16:01:59 +00:00
Robert Roebling
23e276114e Really do nothing if pressed on an already pressed
radio toolbar button tool


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 19:18:08 +00:00
Julian Smart
f7321adde9 Fix assert due to multiple border styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 16:34:52 +00:00
Vadim Zeitlin
95408c8a62 s/wxStaticIcon/wxStaticBitmap/g (bug 1724527) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 10:58:33 +00:00
Vadim Zeitlin
340f784d7a fix wxODCB_PAINTING_SELECTED not being always set (patch 1719364) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 00:03:26 +00:00
Vadim Zeitlin
00f028e500 don't crash in dtor if the dialog had never been shown (patch 1723848) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-23 23:40:12 +00:00
Stefan Csomor
4d5f003a08 removing residual higlights in case the menu item was not handled at all (eg missing about handler)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-23 09:47:45 +00:00
Stefan Csomor
a684b88f30 bitmap support factored
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-23 04:19:39 +00:00
Stefan Csomor
2693d8c121 scrap implementation changed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-23 04:17:59 +00:00
Stefan Csomor
9676c44fda cocoa bridge added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 17:33:47 +00:00
Stefan Csomor
6196dabfb0 cocoa bridge added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 17:19:40 +00:00
Stefan Csomor
ccddbd2046 cocoa bridge file added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 17:17:34 +00:00
Stefan Csomor
6f5a0f880b cocoa bridge file added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 16:15:44 +00:00
Stefan Csomor
4321890d77 rename file to work around problem with idential object file names in gcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 16:14:01 +00:00
Stefan Csomor
61b314d902 cocoa bridge utils
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 16:01:41 +00:00
Stefan Csomor
16ff3d55ea more cgimageref support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 14:39:54 +00:00
Stefan Csomor
53109bdaf2 another round for quartz bitmap fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 14:21:00 +00:00
Stefan Csomor
602acd8ead adding CGImageRef support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 08:49:03 +00:00
Stefan Csomor
5cf4ae7020 adapting new APIs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 08:48:02 +00:00
Robert Roebling
58080ea3e8 [ 1712381 ] CRASH: closing floating panel on GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 07:55:39 +00:00
Robert Roebling
c5b9bd2560 [ 1721029 ] [GTK] memory leak in wxMenu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 07:49:59 +00:00
Stefan Csomor
4a08026583 cgimageref support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 06:35:53 +00:00
Stefan Csomor
67a5196678 switching to pasteboard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 06:24:50 +00:00
Stefan Csomor
77bd276696 switching to pasteboard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 06:05:46 +00:00
Stefan Csomor
40943a0473 64 bit workaround
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 06:04:12 +00:00
Stefan Csomor
f6b5742d33 scrap.h removal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 06:02:49 +00:00
Stefan Csomor
a4f7b8fde3 scrap.h removal and 64 bit offset fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 05:58:58 +00:00
Stefan Csomor
0f4a5af3d8 adding support for cursor change from OnDragOver [1522063]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 03:52:59 +00:00
Vadim Zeitlin
16a1e10235 don't compare wxList::compatibility_iterator with NULL, this operation is undefined and provokes g++ warnings about using NULL in arithmetic expression [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 01:56:41 +00:00
Stefan Csomor
041b2ce47b adding correct assignement and copy constructors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-21 20:26:40 +00:00
Stefan Csomor
5433c25fc2 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-21 19:21:50 +00:00
Stefan Csomor
0fd55b6c41 removing old codeparts, fixing bug 1532580
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-21 18:54:42 +00:00
Stefan Csomor
8ef877aabe avoid assertions in case the toplevel window is not really created by wx (native filedialogs)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-21 18:34:49 +00:00
Stefan Csomor
f919acdc41 event handlers get deallocated automatically with their object
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-21 12:45:15 +00:00
Stefan Csomor
a1485bc734 different solution to debug messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-21 12:43:24 +00:00
Stefan Csomor
42f14e5e2b applying patch 1630145
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-21 08:54:43 +00:00
Stefan Csomor
7df8462e99 revert order of release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-21 08:44:52 +00:00
Stefan Csomor
4e690da6eb added comments on why no CFRelease is used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-21 08:27:01 +00:00
Stefan Csomor
c00e451f86 clean up for non-promised data incorrect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-21 07:42:26 +00:00
Stefan Csomor
988c502299 cleaning up nav dialogs properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-21 07:10:06 +00:00
Stefan Csomor
67e7088d06 removing debug message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-21 04:18:37 +00:00
Stefan Csomor
2f57b4f435 activating data release again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-21 04:05:07 +00:00
Stefan Csomor
38c44d30d5 switching from old to new API for datatransfer (pasteboard)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-20 17:37:08 +00:00
Robert Roebling
5638b0cacb Retrieve paper orientation from page setup dialog
and print dialog and transfer it to wxPrintData
    in GNOME print backend.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-20 10:39:26 +00:00
Robert Roebling
6bc03f4b72 Prepend file:// if the URI in wxLaunchDefaultBrowser()
has no scheme and the local file exists.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-19 12:38:34 +00:00
Vadim Zeitlin
695911ebea don't dereference NULL parent in wxMDIChildFrame dtor if it hadn't been really created [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 16:33:45 +00:00
Vadim Zeitlin
ce631c0b13 1. Override DoGetTextExtent() in wxMetafileDC instead of redefining (unused)
GetTextExtent()
2. Do use the provided font in it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 15:14:44 +00:00
Julian Smart
0fb56f7115 Allow negative line spacing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 12:31:55 +00:00
Stefan Csomor
91108b611a moving to PDF for metafiles on Quartz
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 07:59:07 +00:00
Stefan Csomor
cacec24186 moving to PDF for metafiles on Quartz
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 07:44:07 +00:00
Stefan Csomor
dfc9fdca6f including ref classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 07:41:15 +00:00
Stefan Csomor
f23cf8d532 added reminder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 07:39:36 +00:00
Stefan Csomor
e5346bb3a7 adding private helpers (backport)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 07:29:49 +00:00
Robert Roebling
07e647c02f Mention printing Landscape fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-17 11:09:59 +00:00
Robert Roebling
9cdd4f8793 Now fixed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-17 10:54:31 +00:00
Robert Roebling
9ac12a7a79 Also fix landscape printing under GNOME print.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-17 10:51:34 +00:00
Robert Roebling
36b8149e59 Fix wxPageSetupDialog logic under MSW (page size is
inverted in the native MSW dialog).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-17 10:50:16 +00:00
Robin Dunn
14fb2cfc31 Move the old widgetLayoutTest app to the tests dir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 23:29:56 +00:00
Robin Dunn
44b93c82b3 Add a new script that can build RPMs in a chroot.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 23:26:46 +00:00
Václav Slavík
6a3fc311ce fixed CDATA processing to convert the content to output charset, it should be treated just like text in this respect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 22:40:56 +00:00
Robert Roebling
85fee7346c Minor fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 21:20:37 +00:00
Stefan Csomor
cc9249ea7f cleanup for Core Graphics / removing QD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 18:24:01 +00:00
Stefan Csomor
20edcc0e99 cleanup for Core Graphics / removing QD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 16:50:44 +00:00
Stefan Csomor
251163b92c cleanup for Core Graphics / removing QD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 16:17:31 +00:00
Stefan Csomor
ef7bf59cb8 LP64 fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 11:47:07 +00:00
Robert Roebling
1884063d39 Mention changes since 2.8.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 08:56:15 +00:00
Robert Roebling
603b9b07cf [ 1718338 ] wxToolBarGTK: Implement tool right-click handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 08:52:31 +00:00
Václav Slavík
ee42205879 Do not follow HTML links if selecting text (patch #1719577)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 07:17:11 +00:00
Paul Cornett
2317ce6c13 need to invert offsets for gdk_pixbuf_scale
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 07:11:11 +00:00
Paul Cornett
061c69fe01 speed up Rescale by not using server to draw each point separately
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 02:44:15 +00:00
Stefan Csomor
96c37f91f7 LP64 additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 20:58:06 +00:00
Stefan Csomor
49c8c6915a LP64 additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 20:47:56 +00:00
Stefan Csomor
ad21891891 LP64 additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 20:39:10 +00:00
Stefan Csomor
f853dd2a96 LP64 additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 20:22:55 +00:00
Stefan Csomor
ddb795e6ee LP64 additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 20:12:31 +00:00
Robert Roebling
f76f144b00 Further attempts to get wxPrintDialog and wxPageSetupDialog
to get the defaults from wxPrintData etc. in the GNOME
   print backend.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 19:53:12 +00:00
Vadim Zeitlin
9d25436636 use C++ compiler for va_copy test, at least under IRIX the C99 C compiler has it but C++ compiler doesn't have it [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 00:42:20 +00:00
Vadim Zeitlin
4a085fca7a compilation fix in GetPixelSize() for wxUSE_GRAPHICS_CONTEXT==0 [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 22:57:57 +00:00
Robin Dunn
d89144d305 change the names of the 32-bit chroot's back to the base name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 22:14:12 +00:00
Robin Dunn
1252c02e97 add builds for 64-bit Ubuntu, move them to Cyclops
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 18:36:59 +00:00
Robin Dunn
84050e9e36 regenerate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 18:36:01 +00:00
Chris Elliott
082a136500 2.8.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 08:18:10 +00:00
Robin Dunn
1d7b76e4cb Fix reference leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 00:32:04 +00:00
Robin Dunn
a6b501a057 Toss in a few Refresh() calls to make this sample work better on wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-13 02:19:08 +00:00
Robin Dunn
991dc050e0 Use the wx.CP_NO_TLW_RESIZE style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-13 02:18:25 +00:00
Robin Dunn
0518197407 Don't change the tree fonts when running on the older comctl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-13 02:17:14 +00:00
Bryan Petty
7c97f806b6 This commit was manufactured by cvs2svn to create branch
'WX_2_8_BRANCH'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-12 19:30:09 +00:00
Vadim Zeitlin
17c07bd8af fix for wxUSE_STL=1 build with MSVC8 with _HAS_ITERATOR_DEBUGGING==0 (patch 1712215) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-12 18:25:31 +00:00
Vadim Zeitlin
2a1b187b50 getting text colour using the themes API doesn't seem to work, revert to using the global system colours for it [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-12 03:18:46 +00:00
Vadim Zeitlin
b4c10903ff apply the table bg colour between the cells too (patch 1713170) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 23:12:33 +00:00
Vadim Zeitlin
e07964301a fix wxComboCtrl colours under Windows Vista (patch 1710006) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 22:56:00 +00:00
Vadim Zeitlin
5f1a951b00 avoid truncating the colour channels values, this results in warnings when using VC8 debug CRT (patch 1717288) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 22:41:50 +00:00
Vadim Zeitlin
84fa2eebd2 translate the 'About' string (patch 1717088) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 22:39:15 +00:00
Vadim Zeitlin
4f3081c923 added Slovak translation to 2.8 too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 22:29:42 +00:00
Bryan Petty
7f8ddaf52a This commit was manufactured by cvs2svn to create branch
'WX_2_8_BRANCH'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 22:29:42 +00:00
Robin Dunn
f3e0dee205 catch exceptions from ConvertToBitmap and bail out
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 21:36:53 +00:00
Robin Dunn
675d0ab503 Remove the Skip, it causes problems in wxGTK...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 19:55:57 +00:00
Robin Dunn
8e367593b8 Use RemoveEventHandler instead of PopEventHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 19:51:37 +00:00
Robin Dunn
d40652f42e masked/textctrl.py: A code refactoring bugfix for .ChangeValue() support.
masked/combobox.py: Several fixes for value selection behavior, and
                    one for navigation in readonly control.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 19:48:22 +00:00
Robin Dunn
cf151d7e00 Fix pywxrc's generation of menu and menubar classes and aldo fix how
it generates attributes for menus, menubars and menuitems comtained in
other objects.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 18:56:25 +00:00
Robin Dunn
d9f0e96051 Typo fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 18:54:09 +00:00
Robin Dunn
bc8f0f9d07 Disable the for loop in ~wxAuiManager to avoid possibly accessing
memory via bad pointers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 17:23:34 +00:00
Robert Roebling
1e3847f4b9 Call wxKeyEvent::SetEventObject() if no last key event
available from which it is otherwise copied.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 16:48:46 +00:00
Robin Dunn
dad1c9b9ae rename new image, add to encode_bitmaps.py
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 15:28:01 +00:00
Kevin Ollivier
d330c453a5 Don't highlight the active pane, and add source png for the custom control to the demo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 15:08:33 +00:00
Vadim Zeitlin
86f2f2101e use LRESULT instead of LONG in MSWOnDraw() to fix it under Win64 (bug 1715591) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 13:05:02 +00:00
Vadim Zeitlin
9038e724d3 don't try to update TLW default button in WM_SET/KILLFOCUS handlers if the TLW is being deleted (bug 1660913) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 13:04:33 +00:00
Robert Roebling
843179c40f Mention printer change in the docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 09:27:29 +00:00
Robert Roebling
491c407519 Support setting paper size, collate and orientation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 09:23:16 +00:00
Robin Dunn
38d5d92565 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 07:46:17 +00:00
Robin Dunn
321f7d7394 Don't allow AUI flaotables by default and remove the Options menu
since it is mostly about AUI stuff.

Change the tree icon when there is user-modified code.

Save and restore the current item and the expansion state when
rebuilding the tree.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 07:42:16 +00:00
Mart Raudsepp
5dd5470a3b [wxGTK2] Support wxTEXT_ALIGNMENT_JUSTIFIED in wxTextCtrl if GTK+ version is at least 2.11. This is for future benefits as stable gtk+-2.12 should come out much before wxWidgets new stable cycle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 07:25:07 +00:00
Robin Dunn
36def90d09 The handlers for EVT_CLOSE and EVT_MENU(wx.ID_EXIT) should not be the same
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 23:22:27 +00:00
Robin Dunn
2afefd2523 Mention the actual version of TreeMixin we are using
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 23:18:38 +00:00
Robin Dunn
45d023b7d2 fix default styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 23:17:59 +00:00
Vadim Zeitlin
4871a65d6f declare variables in the beginning of the block in C files [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 15:10:04 +00:00
Vadim Zeitlin
2fa68e336b fix unused variable warning under non-MSW platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 02:07:41 +00:00
Vadim Zeitlin
3fe1a32c22 remove unused static function (avoids a warning about it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 02:06:45 +00:00
Vadim Zeitlin
fc56ba9552 use .c_str() inside vararg functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 02:05:08 +00:00
Vadim Zeitlin
9ae4fd9db4 added wxListCtrl::SetItemPtrData() to allow associating pointers with items under 64 bit architectures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 02:02:21 +00:00
Robin Dunn
1ac4f9d97b Add a few more tips for the tip window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 22:59:06 +00:00
Robin Dunn
824b3e0ab8 Use a wx.FileConfig to store options, and use wx.StandardPaths to know
where to put it.  Also use this dir for the cache of modified sample
files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 22:58:44 +00:00
Vadim Zeitlin
9fbac28b2d require libsm-dev, it's needed for KDE/GNOME detection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 22:48:47 +00:00
Vadim Zeitlin
846f84d3f1 regenerated with autoconf 2.59 to avoid warnings about Makefile ignoring --datarootdir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 22:38:00 +00:00
Robin Dunn
a369962eda Bail out of SetTreeModified if not using the CustomTreeCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 21:17:38 +00:00
Vadim Zeitlin
bc98b9c3d1 added 2.8.4-0 entry
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 21:11:56 +00:00
Vadim Zeitlin
7359bd292f define wxConvCurrent when wxUSE_WCHAR_T==0 too, this fixes wxMGL link in this build configuration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 18:10:26 +00:00
Vadim Zeitlin
5576149ba6 test for round() using C++ compiler, not C one (should fix IRIX mipsPro build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 16:14:05 +00:00
Robin Dunn
2440002b75 fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 03:52:43 +00:00
Robin Dunn
b4e7d19cea reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 03:51:28 +00:00
Robin Dunn
718170fcde backport more icon changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 03:50:13 +00:00
Robin Dunn
66b9271785 More icon changes (backport),
process UPDATE_UI for move and refresh buttons


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 00:46:57 +00:00
Bryan Petty
39406bda13 This commit was manufactured by cvs2svn to create branch
'WX_2_8_BRANCH'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 00:46:57 +00:00
Robin Dunn
98c16c304e no need to import customtreectrl here,
switch to """ instead of '''


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 00:37:30 +00:00
Robin Dunn
a329847b07 Need to UnInit the AuiManager when closing the frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 00:37:02 +00:00
Robin Dunn
52f1f72876 Need the sound flags for the !wxUSE_SOUND case too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 00:36:40 +00:00
Robin Dunn
8e5daaa57c Use native wx.TreeCtrl by default, but make it easy to switch back to
CustomTreeCtrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 00:35:57 +00:00
Robin Dunn
1ee028bf83 some new icons for XRCed (backport)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 20:47:37 +00:00
Bryan Petty
4a71e14016 This commit was manufactured by cvs2svn to create branch
'WX_2_8_BRANCH'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 20:47:37 +00:00
Robin Dunn
2405814403 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 20:42:31 +00:00
Robin Dunn
04b3d5e844 Andrea's patch (plus some changes of my own) to add icons and other
features to the demo's main frame.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 20:36:58 +00:00
Vadim Zeitlin
bd33fd3e22 only add -woff 3970 to C[XX]FLAGS when using SGI mipsPro 7.4.4 or later, previous versions didn't support this warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 20:20:57 +00:00
Robin Dunn
a599423672 Prevent segfaulting if a NULL window is passed to the DCs, avoid
reasserting if the base class already did it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 20:10:47 +00:00
Robin Dunn
2033f5ec6a A bit of cleanup, use a lighter shade of grey for the default pen, use
the base class HasFlag, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 20:09:21 +00:00
Vadim Zeitlin
e9528e32da compilation fixes for wxUSE_WCHAR_T==0 (this is the case for DJGPP which is used for wxMGL compilation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 20:05:16 +00:00
Paul Cornett
5df5d12d5e don't stomp on user CXXFLAGS on Tru64
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 19:35:25 +00:00
Robin Dunn
5ff565de94 delete the AuiManager before destroying the frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 17:51:21 +00:00
Robin Dunn
9e47df4fba fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 17:50:36 +00:00
Robin Dunn
f24fd27a8e Workaround corner case where a widget can have a containing sizer, but
no sizer item.  (The static box in a StaticBoxSizer)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 17:50:15 +00:00
Robin Dunn
d67347f960 Docstring tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 17:49:25 +00:00
Stefan Csomor
b56eab36ac if it's a separate thread, it's allowed to hang (perf issue reported by BOINC)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 04:52:26 +00:00
Robin Dunn
422771b89d select the parent or the root if the current/selected item is one
being deleted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 02:50:20 +00:00
Robin Dunn
770b865b66 add a Py 2.5 build on OSX 10.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 02:48:37 +00:00
Robin Dunn
d637430584 test app for TLW transparency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 02:46:23 +00:00
Robin Dunn
6b4b24eee9 Avoid using wx.ClientDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 02:44:48 +00:00
Robin Dunn
551c802495 Adapt to ProgressDialog.Update change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 02:44:04 +00:00
Robin Dunn
1130e951de docstring fixEnsure that wnd is not None before calling Hide
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 02:42:20 +00:00
Robin Dunn
0d7fe3edac Ensure that wnd is not None before calling Hide
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 02:41:40 +00:00
Robin Dunn
fed4b83921 SetFont fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 02:40:07 +00:00
Robin Dunn
03c88f6092 more backports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 02:34:23 +00:00
Robin Dunn
9c57223c80 Assert on NULL window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-07 23:44:39 +00:00
Chris Elliott
7318c04677 add univ files to MGL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-07 09:34:27 +00:00
Václav Slavík
1ec1052865 backported wxString::From/ToUTF8 to 2.8 for forward compatibility with wx3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-06 12:57:43 +00:00
Mart Raudsepp
a7f6f72906 Fix "depreciated" to "deprecated".
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-06 03:59:58 +00:00
Robert Roebling
c307c6dfd4 Apply [ 1712381 ] CRASH: closing floating panel on GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 19:43:02 +00:00
Paul Cornett
7edab35128 add wxUSE_DRAGIMAGE wrapper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 19:00:35 +00:00
Paul Cornett
c5fd16fca0 build fix for wxUSE_DRAGIMAGE==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 18:48:56 +00:00
Stefan Csomor
446e3c13a4 making proper resource-fork apps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 17:22:09 +00:00
Paul Cornett
f3aca483fe build fix for wxUSE_CONFIG==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 17:13:30 +00:00
Vadim Zeitlin
762b9d2f34 fix compilation in wxUSE_MENUS==0 case to fix wxDFB build [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 14:51:51 +00:00
Vadim Zeitlin
aec0c095e4 upgrade to bakefile 0.2.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 14:27:16 +00:00
Vadim Zeitlin
89add395bb fix warning about signed/unsigned comparison; use STL-compatible methods; deTABified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 14:19:50 +00:00
Vadim Zeitlin
374dd72767 fix bakefile version mismatch between configure and makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 14:13:22 +00:00
Robert Roebling
503af0875f Backport from HEAD: Fix memory leak in wxAUI.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 13:55:36 +00:00
Robert Roebling
26001fdbee Fixed [ 1712998 ] wxFD_FILE_MUST_EXIST does nothing on GTK
(broken both in GTK+ and generic code).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 13:53:12 +00:00
Robert Roebling
d7749fea0f Apply [ 1713345 ] combobox: cmd accelerators shouldn't steal editing hotkeys
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 13:15:47 +00:00
Vadim Zeitlin
732ddb4ef7 regenerated to reflect recent fixes in configure.in, in particular the one from 1.1234 (should fix IRIX build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-04 21:55:38 +00:00
Robin Dunn
161fe81e73 Doc and version update from Chris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-04 01:02:14 +00:00
Robin Dunn
e057fb3454 Backport: Various fixes and improvements to get look-and-feel similar across
different platforms.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-04 01:01:08 +00:00
Vadim Zeitlin
89419ee6a9 added src to the HelpGen directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-04 00:28:14 +00:00
Robin Dunn
17adffb5e9 update generated doc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 17:47:51 +00:00
Robin Dunn
310ed6a345 Correct import
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 17:46:45 +00:00
Robin Dunn
c0aa162dcd add floatcanvas/Utilities subpackage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 17:46:00 +00:00
Robin Dunn
972a78b5b5 Suppress log message, work around deprecation warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 17:45:02 +00:00
Robin Dunn
8c9f00aaa3 backport more fixes from HEAD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 17:01:32 +00:00
Chris Elliott
07e945b244 fix contrib docs to build for 2.8.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 09:22:45 +00:00
Robin Dunn
8764117f28 Fixes from Chris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 04:46:44 +00:00
Vadim Zeitlin
200a46635e compilation fix when not using PCH after the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 02:19:16 +00:00
Robin Dunn
58bcd368ff Rephrase the text about the new XRCed feature.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 21:13:45 +00:00
Robin Dunn
c9e1d317b1 Fix to previous masked.TextCtrl change, to ensure inheritance chain
for derived controls isn't broken by new .ChangeValue() support in
base control.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 21:12:28 +00:00
Václav Slavík
b198c59447 added wxString::From/To8BitData() for forward compatibility with wx3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 18:03:26 +00:00
Václav Slavík
01020cb2dc added wxABI_VERSION checks around wxString::[w]char_str()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 17:09:30 +00:00
Chris Elliott
205886cded update to 2.8.4rc2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 14:53:49 +00:00
Stefan Csomor
c9c94a99ff trying optimal scrolling solution perf-wise
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 14:01:12 +00:00
Robin Dunn
a3c484e025 Mention today's changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 06:14:11 +00:00
Robin Dunn
7dc46e9d9e Patch #1710943, Fix a bug in pywxrc script for "MenuBar" and "Menu"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 06:12:06 +00:00
Robin Dunn
5ae04a0c4e Updates to MaskedEdit controls from Will Sadkin:
maskededit.py:
    Added parameter option stopFieldChangeIfInvalid, which can be used to
    relax the validation rules for a control, but make best efforts to stop
    navigation out of that field should its current value be invalid.  Note:
    this does not prevent the value from remaining invalid if focus for the
    control is lost, via mousing etc.

  numctrl.py, demo / MaskedNumCtrl.py:
    In response to user request, added limitOnFieldChange feature, so that
    out-of-bounds values can be temporarily added to the control, but should
    navigation be attempted out of an invalid field, it will not navigate,
    and if focus is lost on a control so limited with an invalid value, it
    will change the value to the nearest bound.

  combobox.py:
    Added handler for EVT_COMBOBOX to address apparently inconsistent behavior
    of control when the dropdown control is used to do a selection.

  textctrl.py
    Added support for ChangeValue() function, similar to that of the base
    control, added in wxPython 2.7.1.1.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 05:23:01 +00:00
Robin Dunn
e75f43c577 Updates to MaskedEdit controls from Will Sadkin:
maskededit.py:
    Added parameter option stopFieldChangeIfInvalid, which can be used to
    relax the validation rules for a control, but make best efforts to stop
    navigation out of that field should its current value be invalid.  Note:
    this does not prevent the value from remaining invalid if focus for the
    control is lost, via mousing etc.

  numctrl.py, demo / MaskedNumCtrl.py:
    In response to user request, added limitOnFieldChange feature, so that
    out-of-bounds values can be temporarily added to the control, but should
    navigation be attempted out of an invalid field, it will not navigate,
    and if focus is lost on a control so limited with an invalid value, it
    will change the value to the nearest bound.

  combobox.py:
    Added handler for EVT_COMBOBOX to address apparently inconsistent behavior
    of control when the dropdown control is used to do a selection.

  textctrl.py
    Added support for ChangeValue() function, similar to that of the base
    control, added in wxPython 2.7.1.1.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 01:00:30 +00:00
Václav Slavík
3ead8c473e fixed wxPLURAL definition in wxUSE_INTL=0 case to work in Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 21:10:46 +00:00
Robin Dunn
94384f859f Oops, put the WXUNUSED in the wrong spot.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 19:45:38 +00:00
Robin Dunn
9e20de35b1 Backport change to wxGrid::OnSize so both subwindow sizes and
scrollars will be adjusted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 19:41:52 +00:00
Stefan Csomor
b17e81e0e2 adjusting refcount asserts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 19:34:00 +00:00
Vadim Zeitlin
3b85f3189e fix wxStringOutputStream::Write() in Unicode build when the output overlaps a boundary between UTF-8 characters (bug 1701426)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 13:52:19 +00:00
Stefan Csomor
82520ec1fa Patch 1708290
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 13:35:00 +00:00
Stefan Csomor
45070d269b Patch 1678304
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 11:55:02 +00:00
Stefan Csomor
32107b5d76 Patch 1709069
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 11:49:35 +00:00
Stefan Csomor
718dbef6c5 Patch 1709108
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 09:37:56 +00:00
Robin Dunn
c3e1d30aea backport of XRCed changes from today
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 06:03:28 +00:00
Robin Dunn
3f4ec51e47 Updated FloatCanvas code from Chris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 05:55:19 +00:00
Vadim Zeitlin
94356f539a fix m_sizerPage memory leak for the wizards not using sizers (replaces patch 1708331, fixes bug 1647290) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 19:48:04 +00:00
Vadim Zeitlin
1885d4d4e2 don't drop lines without trailing new line character in wxExecute() with capture [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 01:17:43 +00:00
Robin Dunn
611d0e5cea Another fix for: AttributeError: 'XML_Tree' object has no attribute 'itemColour'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-29 00:05:34 +00:00
Michael Wetherell
eb03e7fe93 Register the test under the name displayed by "./test -l"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-28 15:59:12 +00:00
Michael Wetherell
08b8d89fc6 Map illegal UTF-8 sequences to a range in Unicode's private use area as
discussed recently on wx-users.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-28 15:56:17 +00:00
Robin Dunn
3bd8d81d3e backport
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 22:15:09 +00:00
Robin Dunn
d698728cea backported Roman's latest updates on HEAD to 2.8 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 18:49:06 +00:00
Robin Dunn
e78f78e598 notes about recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 18:26:53 +00:00
Robin Dunn
f35e2ab9ed reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 18:24:08 +00:00
Robin Dunn
9305b2c072 Backport fix for window being repositioned after hiding, then reshowing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 18:19:59 +00:00
Paul Cornett
0263748a12 Fix return type for "map_event" and "unmap_event" handlers.
Fix wrong return in Show().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 16:42:52 +00:00
Robert Roebling
c3c7278aa7 Mention change in wxComboBox::SetValue()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 21:21:30 +00:00
Robert Roebling
d9138d0539 Don't emit EVT_TEXT after wxComboBox::SetValue()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 21:18:24 +00:00
Chris Elliott
5166603dcc update to 2.8.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 09:29:31 +00:00
Chris Elliott
8b87433ebd release should be 4 in 2.8.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 09:24:49 +00:00
Vadim Zeitlin
93c2397b68 don't assert in wxUniv SetSelection(wxNOT_FOUND), just clear text zone contents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 02:23:51 +00:00
Vadim Zeitlin
9fe19926fa don't assert in SetSelection(wxNOT_FOUND), just clear text zone contents (patch 1707475) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 02:17:18 +00:00
Robin Dunn
c15bb63bc3 invalidate the best size when adding or deleting items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 01:04:47 +00:00
Robin Dunn
c92bd38c72 ensure there is a current cell before using it to try and get width/height
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 00:15:42 +00:00
Robin Dunn
3814954344 backport the shrinking embedded controls fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 00:08:09 +00:00
Robin Dunn
9503fa830b backport file extension case fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 00:06:45 +00:00
Robin Dunn
3640fa6670 demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 20:53:24 +00:00
Robin Dunn
35e224a636 test activate event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 20:52:35 +00:00
Robin Dunn
372cc7aca9 Update treemixin to 1.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 20:50:36 +00:00
Robin Dunn
35c770fa95 Fix typo that prevented an overridden PaintBackground in a
wx.grid.PyGridCellEditor derived class from being called.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 20:49:30 +00:00
Robin Dunn
40ec2b2462 More fixes needed for allowing classes to be derived from PyAuiDockArt
and PyAuiTabArt.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 20:47:51 +00:00
Robin Dunn
fc56edf93b Use lower case property names in wx.DateSpan and wx.TimeSpan in order
to not conflict with static methods with same names.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 20:42:17 +00:00
Robin Dunn
a9e9358c43 Use wxWANTS_CHARS style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 20:29:02 +00:00
Robin Dunn
a9d109cb9b bump version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 20:28:01 +00:00
Robin Dunn
f5850761c3 Use wx.FileHistory for the recent files menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 20:25:07 +00:00
Chris Elliott
33a02df508 add missing makefile.vc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 12:15:29 +00:00
Vadim Zeitlin
d420454eb1 don't select the window about to be deleted as parent for modal dialog in ShowModal()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 20:11:11 +00:00
Robert Roebling
0fe70eff13 Typo in docs [ 1693034 ] 2.8.3: wrong docs for wxCHECK_W32API_VERSION
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 09:28:08 +00:00
Vadim Zeitlin
f28f0531b9 don't use wxLocale if wxUSE_INTL==0 (fixes 2nd part of bug 1692898)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 00:45:38 +00:00
Vadim Zeitlin
d75c9b05c8 define wxGetTranslation() as (trivial) inline function, not macro, in wxUSE_INTL==0 case to allow compilation of the code using its second domain argument (fixes bug 1692898)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 00:43:19 +00:00
Vadim Zeitlin
b46506f365 really ensure that the window being centered is fully visible (fixes bug reported in patch 1683239); also place it on the same display as its parent, if any [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 23:14:30 +00:00
Vadim Zeitlin
c3a30557ce update wxApp::argc/argv to remove the options parsed by GTK+ itself from them [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 21:18:44 +00:00
Vadim Zeitlin
139779bc3f don't let def window proc start another drag operation if we just started one ourselves for a multiselection tree (replaces patch 1702133) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 17:49:00 +00:00
Vadim Zeitlin
339a867854 don't leave gaps around hidden columns/rows in wxFlexGridSizer (closes bug 1659872; part of patch 1667343) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 15:17:01 +00:00
Kevin Ollivier
b293119a93 Backport of key handling and selection fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 00:18:10 +00:00
Vadim Zeitlin
d2adcde938 don't pass 0 time_t to Borland localtime(), it crashes (bug 1704438); also check for error return from both localtime() and gmtime() [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 00:04:39 +00:00
Vadim Zeitlin
e9ef27252d allow having children of status bar in XRC (patch 1704125) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 23:24:42 +00:00
Kevin Ollivier
d0c0cecb3d Backporting support for adding wx Window menu items into the system Window menu.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 23:17:27 +00:00
Vadim Zeitlin
c458cf7a2c add missing dynarray.h includes (patch 1702312) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 18:17:50 +00:00
Vadim Zeitlin
8e295ee217 fix bug with not updating the last line correctly when a group was deleted and recreated (bug 1685312) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 15:10:56 +00:00
Benjamin Williams
a633c45776 fixed bug when a fixed pane is resized inside a fixed dock
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 08:54:25 +00:00
Vadim Zeitlin
0af3e42a1f create the spin control with the correct range instead of setting it later which results in unwanted events and a crash (patch 1702847) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 01:18:13 +00:00
Paul Cornett
71dc04a664 backport rev 1.60: don't clamp scroll position before updating GtkRange
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-18 17:24:52 +00:00
Robin Dunn
ce7feab06b wx.lib.flatnotebook: Patch from Andrea that implements the following:
* A new style FNB_FF2: my intentions were to make it like Firefox 2,
   however it turned out to be an hybrid between wxAUI notebook glose
   style & FF2 ...I still think it looks OK. The main purpose for
   making it more like wxAUI is to allow applications that uses both
   to have same look and feel (or as close as it can get...);

 * Changed the behavior of the left/right rotation arrows to rotate
   single tab at a time and not bulk of tabs;

 * Updated the demo module.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-17 16:40:05 +00:00
Robin Dunn
bf2481b9cf Patch from Andrea that fixes the following problems/issues:
a) ZeroDivisionError when using the Vista selection style and calling
SelectItem; for some strange reason, sometimes the item rect is not
initialized and that generates the ZeroDivisionError when painting the
selection rectangle;
b) Added a DeleteWindow method to GenericTreeItem class, for items
that hold a widget next to them;
c) Renamed CustomTreeCtrl method IsEnabled to IsItemEnabled, otherwise
it conflicts with wx.Window.IsEnabled;
d) Now CustomTreeCtrl behaves correctly when the widget attached to an
item is narrower (in height) than the item text;


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-17 16:26:28 +00:00
Vadim Zeitlin
f962edd617 reverted last change as using pango_version_check() (unavailable in the old Pango versions) makes wx applications impossible to run on older systems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 21:46:59 +00:00
Robin Dunn
275ca791f6 Don't use m_popupInterface pointer if it is still NULL (backport from HEAD)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 20:51:27 +00:00
Vadim Zeitlin
3e07effcf7 call gtk_file_chooser_set_current_folder even if the default file name is empty (but default directory isn't) (bug 1701682) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 18:24:04 +00:00
Vadim Zeitlin
6dced616e6 removed extra semicolons to fix compilation with gcc -Wpedantic (patch 1701236)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 13:03:05 +00:00
Václav Slavík
6a0da7e4b9 added wxMBConv argument to char_str()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 11:04:35 +00:00
Vadim Zeitlin
55efbeb23c adjust the window coordinates for parent client area origin when in Create() too and not only in DoSetSize() [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 00:32:27 +00:00
Stefan Csomor
af08919ae0 fixing assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 11:41:16 +00:00
Vadim Zeitlin
0a3c4e03f4 even controls with transparent background should draw it if they have an explicitly set background colour, so handle this at wxWindowUniv level instead of adding hacks to individual controls, such as wxStaticText, to deal with this (replaces patch 1700004) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 01:17:28 +00:00
Vadim Zeitlin
127e4f1caf fix wxTextCtrl::SetSelection(-1, -1) to behave as documented (patch 1700000) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-13 23:41:59 +00:00
Vadim Zeitlin
c8c1e854b1 implement support for right-aligned/centered items owner-drawn items (patch 1699415) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-13 23:38:28 +00:00
Vadim Zeitlin
c477ac5630 include memory.h to help Borland compilation in Unicode mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-13 14:13:47 +00:00
Robin Dunn
fa4ae2ba92 Don't use hidden items for size calc (patch 1698314) (backport from HEAD)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-11 21:54:15 +00:00
Vadim Zeitlin
492d813979 remove documentation of (protected) AutoSizeColumnOrRow()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-11 19:53:45 +00:00
Vadim Zeitlin
62ea29db7d removing the files recently added to HEAD from 2.8 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 15:43:11 +00:00
Stefan Csomor
a96745c934 removing duplicated error message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 11:25:14 +00:00
Stefan Csomor
39183827a1 fixing refcounting for embedded native controls, backporting code for Realize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 09:59:44 +00:00
Vadim Zeitlin
fa3eb1ed3c truncate the static box label to fit the control size (patch 1695228) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 21:41:54 +00:00
Vadim Zeitlin
03f100f508 don't use Pango hack for drawing underlined text when using new enough version of Pango (patch 1697040) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 21:24:16 +00:00
Vadim Zeitlin
d5d363321c don't return the next line text from GetLineText() for empty lines (patch 1697208) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 21:19:59 +00:00
Vadim Zeitlin
a46324a7fb don't access the window after it had been deleted by the focus event handler (patch 1693063) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 11:41:15 +00:00
Stefan Neis
32e3e93e6e Backported bugfix (comparision vs. assignment).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 22:19:21 +00:00
Benjamin Williams
208bec08eb avoid assert in window list drop down
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 16:31:23 +00:00
Vadim Zeitlin
95be621f72 call SetEventObject() for wxHtmlLinkEvents we generate [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-04 02:04:23 +00:00
Robin Dunn
a1732cbc15 Use our own getters and properties for wxVisualAttributes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-03 18:42:01 +00:00
Vadim Zeitlin
e70fb09f3e replaced more occurrences of 2.8.3 with 2.8.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-03 14:06:04 +00:00
Vadim Zeitlin
62274eb11e updated version to 2.8.4 after addition of wxString::[w]char_str()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-03 13:58:31 +00:00
Paul Cornett
3a570c4285 build fixes for wxUSE_VALIDATORS==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-03 02:44:32 +00:00
Václav Slavík
89b6915f14 added wxString::[w]char_str() to 2.8 for forward compatibility with wx3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 12:25:40 +00:00
Vadim Zeitlin
3646999e0c fix PangoFontMetrics leak in GetCharHeight() (bug 1691180) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-31 13:05:02 +00:00
Vadim Zeitlin
e224e2ccc8 clear m_oldStatusText after restoring it, otherwise we could restore it again the next time instead of restoring the up-to-date status bar text [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 20:07:29 +00:00
Vadim Zeitlin
5f814f27d9 don't handle orderly socket shutdown by the peer as an error (patch 1688222) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 19:04:25 +00:00
Vadim Zeitlin
beb4cfa4c8 don't crash when attempting to select hidden tree root (bug 1681118)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 12:57:15 +00:00
Vadim Zeitlin
993ad8f9b4 don't call gtk_label_set_line_wrap() from DoGetBestSize() as this results in an infinite resizing loop when the control is inside a GTK+ widget doing its own layout (such as wxToolBar) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 12:16:10 +00:00
Vadim Zeitlin
6e165a8d49 backported clarifications to Wait() semantics from HEAD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 11:53:20 +00:00
Vadim Zeitlin
7e7c2a6715 fix PangoFontMetrics leak in GetCharHeight() (bug 1691180) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 11:50:46 +00:00
Vadim Zeitlin
7643dd1947 fix memory leak when handling background attribute (patch 1687900) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 18:14:35 +00:00
Vadim Zeitlin
4d24771f79 fix compilation with wxUSE_EXTENDED_RTTI && !WXWIN_COMPATIBILITY_2_6 (bug 1688249) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 18:02:11 +00:00
Vadim Zeitlin
4a6e08d02c added wx/cocoa/tooltip.h to COCOA_HDR (bug 1689148) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 17:48:04 +00:00
Vadim Zeitlin
1059208429 fixed bug in wxThread::Wait() in console applications introduced in 2.8.3 (bug 1690777)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 17:28:21 +00:00
Vadim Zeitlin
38f9c9355c define ATTRIBUTE_PRINTF(m,n) and not just ATTRIBUTE_PRINTF as nothing when the compiler doesn't support it, otherwise it can result in compiler errors when wx/defs.h is included before a standard header using ATTRIBUTE_PRINTF() as (at least version 2.6.20 of) xmlerror.h from libxml2 does [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 14:04:49 +00:00
Robin Dunn
eb7885ccf0 revert last change, it wasn't intended
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-28 00:09:19 +00:00
Julian Smart
b4c61ec475 Need an extra pixel or best size is incorrect when we have a divider (apparent with e.g. wxAUI)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-27 13:41:12 +00:00
Robin Dunn
579c608e3e 0.9.1 of TreeMixin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 19:55:31 +00:00
Robin Dunn
bb7882b5d1 Fix off-by-one error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 19:53:37 +00:00
Robin Dunn
c322433224 new test app
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 18:56:07 +00:00
Robin Dunn
08e98210c4 Patch from Rob McMullen allowing the plot title to be optional
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 18:55:12 +00:00
Robin Dunn
123129601c fix offset of widget
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 18:54:05 +00:00
Robin Dunn
4366f1b660 Use disabled state if needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 18:52:55 +00:00
Robin Dunn
d376e326d8 Update to 0.9 of TreeMixin.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 18:50:46 +00:00
Robin Dunn
4c0a5a842e regenerated for the 2.8.3.0 release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 18:49:49 +00:00
Julian Smart
e99dd1156f Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 09:42:43 +00:00
Vadim Zeitlin
9ce84d105d make wxNO_BORDER work with wxRadioBox (patch 1525406) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-25 02:03:27 +00:00
Vadim Zeitlin
7a6043ae7c don't use TPM_RECURSE under NT4, it results in TrackPopupMenu() not showing the menu at all (bug 1663216) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-23 16:23:12 +00:00
Robin Dunn
56502ea468 add more simple test apps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 18:49:37 +00:00
Robin Dunn
625b827359 Fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 18:48:36 +00:00
Vadim Zeitlin
c0459b5cfa correct the checked flag in the event generated by checkable menu items (fixes bug introduced in 1.143.2.1, patch 1685634)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 03:04:09 +00:00
Vadim Zeitlin
5d511d9b6e don't lose the combobox text when it's opened and closed (patch 1684252, closes bug 1612994) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 02:46:21 +00:00
Vadim Zeitlin
0f97497fcf corrected static box label appearance when its foreground colour was set and either background colour was set too (it was ignored) or font of non default was used (label wasn't drawn correctly) (backport of patch 1683573 from HEAD)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 02:31:35 +00:00
Robin Dunn
b4bc14f4f1 Change day of the week too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 23:06:29 +00:00
Robin Dunn
80d0b595be reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 22:50:13 +00:00
Robin Dunn
c46c318c2f Add notes about XRCed changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 22:47:39 +00:00
Robin Dunn
7e8e2ed24c Change date
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 22:34:57 +00:00
Robin Dunn
03206fc970 Add build for Ubuntu Feisty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 22:34:20 +00:00
Robin Dunn
eebadca297 be explicit about testing skiprpm so the srpm in the current build
tools doesn't gert skipped by accident


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 22:33:27 +00:00
Robin Dunn
8595a01736 fix import
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 22:32:28 +00:00
Robin Dunn
9aeb0dc9f8 fix a release date
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 22:31:51 +00:00
Robin Dunn
43ea4adf3f fix typo: GetClosetPoint --> GetClosestPoint
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 22:31:13 +00:00
Robin Dunn
b028366c4a Fix for bug #1681189, use the right typemap for GetActiveChild, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 22:30:27 +00:00
Robin Dunn
411f2d350b Fix for bug #1681052
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 21:22:41 +00:00
Robin Dunn
d1fc268ab2 fix version number (there were no 2.8.2.0 .deb's) and move a few more
things over from changes.txt


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 20:47:20 +00:00
Vadim Zeitlin
4b4faab50c fixed handling of accelerators using PageUp/Down keys (bug 1683613) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 20:20:22 +00:00
Vadim Zeitlin
148fcf6358 corrected VT_DATE conversion (bug 1683882) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 20:00:59 +00:00
Robin Dunn
210032dc4f Use import xxx instead of sys.modules['xxx']
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 18:03:19 +00:00
Robin Dunn
5b97ec9195 Removed test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 17:56:22 +00:00
Robin Dunn
30d91f9ebc Preferences for default "sizeritem" parameters for new panels and
controls can be configured ("File">"Preferences...").

Implemented comment object for including simple one-line comments and
comment directives as tree nodes. No validation is performed for a
valid XML string so comments must not contain "-->". Comment directive
is a special comment starting with '%' character, followed by a line
of python code. It is executed using 'exec' when the resource file is
opened. This is useful to import plugin modules containing custom
handlers which are specific to the resource file, hovewer this is of
course a security hole if you use foreign XRC files. A warning is
displayed if the preference option 'ask' is selected (by default).

Added support for custom controls and plugin modules. Refer to this
wxPythonWiki for the details:
        http://wiki.wxpython.org/index.cgi/XRCed#custom

Tool panel sections can be collapsed/expanded by clicking on the
label of a tool group.

Some undo/redo and other fixes.

Fixes for wxMSW (notebook highlighting, control sizes, tree Unselect).

Notebook page highlighting fix. Highlight resizes when the window
is resized. ParamUnit spin button detects event handler re-entry
(wxGTK probably has a bug in wxSpinButton with repeated events).

Fix for dealing with empty 'growable' property, using MiniFrame
for properties panel, the panel is restored together with the
main window.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 17:55:26 +00:00
Bryan Petty
459fbbc100 This commit was manufactured by cvs2svn to create branch
'WX_2_8_BRANCH'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 17:55:26 +00:00
Robin Dunn
0996afab2e Fix docs about wx.SizerFlags.Border
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:27:10 +00:00
Robin Dunn
925723fb81 fix typo in ctor name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:05:13 +00:00
Robin Dunn
6008a5a288 New version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:03:52 +00:00
Robin Dunn
6c51117514 Update to 0.8 from Frank
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:02:51 +00:00
Robin Dunn
306a5d85e7 update the info panel when refreshing the tree
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:01:48 +00:00
Robin Dunn
dc04c2d154 Patch from Andrea
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:01:05 +00:00
Benjamin Williams
ac7d2adfa6 applied patch 1683441
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 14:52:48 +00:00
Chris Elliott
43b544be3d adds gtk1, which was not in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 12:50:38 +00:00
Vadim Zeitlin
5799c14012 give us wxSTAY_ON_TOP style if our parent has it, otherwise we wouldn't be visible behind it (patch 1683221)[backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 20:39:13 +00:00
Vadim Zeitlin
1c885a7afe fix XModifierKeymap memory leak (patch 1683137) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 17:49:06 +00:00
Vadim Zeitlin
e16c771033 updated copyright and version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 12:00:42 +00:00
Vadim Zeitlin
3af556e74e added samples/minimal/Info.plist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 11:59:13 +00:00
Vadim Zeitlin
574a10327f fix extra indentation in wxHTML_ALIGN_JUSTIFY display (patch 1565375) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 16:41:37 +00:00
Vadim Zeitlin
c09ab22919 output '}' as wxChar, not char, which results in using the int overload of operator<<() in Unicode build (patch 1682643) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 14:40:30 +00:00
Vadim Zeitlin
a3e7853b08 shutdown sockets gracefully instead of doing it with TCP reset (patch 1682438) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 02:15:31 +00:00
Julian Smart
25a07ef892 Further correction in case where string value is omitted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 08:13:14 +00:00
Vadim Zeitlin
29435411cb call GetWidth/Height() only once in Rotate() and not inside the loops (patch 1681544) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 00:23:07 +00:00
Julian Smart
6c4293efcc Don't send initial event in ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 16:09:57 +00:00
Vadim Zeitlin
f23c26e8f7 rebaked after version change to 2.8.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 15:00:16 +00:00
Chris Elliott
9d467ea93d add readme.txt to files to change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 14:55:02 +00:00
Vadim Zeitlin
f78799054b regenerated after 2.8.3 version update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 14:44:53 +00:00
Vadim Zeitlin
d255901207 numped up revision for 2.8.3 (there have been no API changes whatsoever)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 14:35:31 +00:00
Stefan Csomor
6e05e54122 removing superfluous file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 13:57:29 +00:00
Chris Elliott
bbe61f41ec update to 2.8.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 13:02:10 +00:00
Stefan Csomor
7fef4d1ff3 library architecture for debug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 12:07:42 +00:00
Stefan Csomor
8e219408ed product name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 12:05:02 +00:00
Stefan Csomor
617c3ec30d adapting version numbers for 2.8.3, adding new file, building native arch for debug builds, adding run script for static target as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 12:02:55 +00:00
Stefan Csomor
d59b88c939 adapting version numbers for 2.8.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 10:31:35 +00:00
Chris Elliott
561e395420 update to 2.8.3 (configure and version.bkl to follow)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 09:54:05 +00:00
Julian Smart
f4c858ac7b Change log and readme/manual contents update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 09:45:17 +00:00
Julian Smart
953ca2aab4 Reverted changes that broke accessors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 09:40:24 +00:00
Vadim Zeitlin
a1ac47b927 fix GetSize() for large files (patch 1680876) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 00:21:59 +00:00
Vadim Zeitlin
3a5c9d1005 don't add extra GetCharHeight() pixels to the top border if our label is empty (patch 1581459) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 00:29:43 +00:00
Benjamin Williams
6ecfa38fff prevent disappearing menus in tabmdi
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-12 13:52:34 +00:00
Vadim Zeitlin
17865d5407 include wxUniv files in wxDFB distribution [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-12 12:03:26 +00:00
Vadim Zeitlin
b61fb62542 added wxSafeConvertXXX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-12 11:30:36 +00:00
Benjamin Williams
711bdb6a28 applied 1661995 (somehow this didn't get applied to the 2.8 branch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-12 10:37:45 +00:00
Benjamin Williams
bdbaa5280d applied patch 1675101 - reduce flicker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-12 08:38:23 +00:00
Julian Smart
0a2a5608a1 Applied patch [ 1678626 ] Non-ascii characters in wxRichTextCtrl (unicode build)
Laumingis Skripkauskas


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-12 07:46:56 +00:00
Vadim Zeitlin
788cc3ac41 added wxSafeConvertMB2WX/WX2MB() and use them when interfacing with C functions which crash if we pass them NULL pointers [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 23:40:32 +00:00
Paul Cornett
5409d2ca03 fix assertions on invalid items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 23:29:26 +00:00
Julian Smart
b40735833e Fixed wrapping with tabs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 12:48:38 +00:00
Paul Cornett
4a2dbb5fb1 don't create new refdata unnecessarily in Unshare()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 02:29:49 +00:00
Vadim Zeitlin
17df84c821 include wx/utils.h in PCH-less build to ensure that we get the correct (DLL-exported) declaration of wxHandleFatalExceptions() as otherwise it was silently not exported (patch 1674514) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 17:24:09 +00:00
Vadim Zeitlin
a7cffe675e added wxDIRCTRL_EDIT_LABELS style support (patch 1676853) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 17:23:26 +00:00
Vadim Zeitlin
2f9bbd2b04 return effective dnd operation result and not the expected one (replaces patch 1677399) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 16:29:30 +00:00
Vadim Zeitlin
908edf446e set SO_REUSEADDR before binding for UDP sockets too (2nd part of patch 1667145) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 16:19:25 +00:00
Vadim Zeitlin
a185136829 allow using numpad enter key to activate the default button too (patch 1640446) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 16:08:59 +00:00
Vadim Zeitlin
5d7e2c51f4 don't send incorrect char events when entering Unicode characters (patch 1640443) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 16:07:09 +00:00
Vadim Zeitlin
fe4b2c6b43 corrected bug due to testing for wrong return value in wxConditionInternal::WaitTimeout() (patch 1650643) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 15:54:38 +00:00
Vadim Zeitlin
34889e01f2 use high order bytes of RGB values in RGBColor to construct wxColour, not the lower order ones (patch 1662064)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 15:51:19 +00:00
Paul Cornett
7d2aa90eae use simpler color ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 04:46:18 +00:00
Paul Cornett
592b9f3da5 add 4th parameter to AC_CHECK_HEADER to skip preprocessor check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-09 17:57:21 +00:00
Vadim Zeitlin
8a34b854e4 compilation fix for wxUSE_STL==1 build [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-09 16:25:07 +00:00
Chris Elliott
02b8c958e2 add htb build to win docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-09 12:40:18 +00:00
Robin Dunn
c80bb70aaa Renamed the wx.lib.inspect and wx.lib.mixins.inspect modules to
inspection, in order to avoid conflicts with the inspect module in the
standard Python library.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 19:24:13 +00:00
Robin Dunn
236a17eb09 Make GetItemImage API consistent with other trees
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 19:21:39 +00:00
Vadim Zeitlin
0138e546f4 include wx/thread.h in debug build which is needed after last change [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 14:58:45 +00:00
Paul Cornett
3e9dc5dbe9 remove unreachable declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 04:31:24 +00:00
Paul Cornett
c7598331a4 add HAVE_ROUND
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 04:29:36 +00:00
Vadim Zeitlin
d248bee891 fix infinite recursion typo in operator!=() (patch 1665591) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 01:21:03 +00:00
Vadim Zeitlin
f48bee736a fix the bug which could have resulted in failing to read config file if a chunk boundary fell in a middle of a multibyte character (patch 1674488) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 01:18:25 +00:00
Robin Dunn
5ab99c0f69 More 0.5 pixel offset fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 00:25:37 +00:00
Robin Dunn
7d28058dd8 Notes about some 2.8.2 changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 00:25:09 +00:00
Robin Dunn
f264e6001a test drawing rectangles with wxGCDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 00:24:31 +00:00
Robin Dunn
10cbe76833 fix a comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 00:23:50 +00:00
Vadim Zeitlin
e2b383694b update the value shown in the combobox itself correctly in SetValue() (patch 1669275; bug 1667563) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 23:47:54 +00:00
Vadim Zeitlin
d4a260b03a test for special keys first, before testing for alphanumeric ones as even keys such as WXK_F2 can be recognized as alnum in some locales, in ToString() (modified patch 1669197; bug 1620758) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 23:42:04 +00:00
Vadim Zeitlin
a1d9fc2426 avoid flicker when setting the text which is the same as the current status bar pane value (patch 1669140) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 23:29:49 +00:00
Vadim Zeitlin
3f0bfc200d fix wrong assert in SetItemBitmap() (patch 1668449; bug 1667505) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 23:29:03 +00:00
Vadim Zeitlin
8ff7d4b06d fix handling of wxSOCKET_REUSEADDR in wxDatagramSocket (patch 1667145) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 23:21:48 +00:00
Vadim Zeitlin
bebb6b2f05 fix base64 computation for strings whose length modulo 3 is 2 (patch 1665520; bug 1661616) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 23:07:17 +00:00
Vadim Zeitlin
8059fb2713 fix hang on startup in Unicode build if any standard GTK+ command line arguments were passed (patch 1665203; bug 1663597) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:45:32 +00:00
Vadim Zeitlin
4c4850d399 take images and margins into account when setting column width to wxLIST_AUTOSIZE_USEHEADER (patch 1664598) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:32:42 +00:00
Vadim Zeitlin
d79446e3ce clip column image (and not only the text) to the column width (patch 1664588) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:28:30 +00:00
Vadim Zeitlin
7568c3a29c fixed detection of number of processors under Linux 2.6 [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:25:17 +00:00
Vadim Zeitlin
e62a53c7f6 use critical section to protect global TablesInUse (patch 1660652) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 21:29:30 +00:00
Vadim Zeitlin
0c2aec0e8f return correct client area for at least the primary display, fixes the problems with incorrect positioning of the Center()d windows [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 19:51:00 +00:00
Vadim Zeitlin
bd2720af3c merge multiple lines into one as otherwise the display is corrupted/unreadable [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 19:41:49 +00:00
Chris Elliott
68b7456cdc fix for sf bug 1671804
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 09:31:30 +00:00
Paul Cornett
a8875f1961 queue resize on child when its position changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 06:17:23 +00:00
Julian Smart
5bd277f015 Correct too-small size when the progress dialog is very simple
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-06 10:06:56 +00:00
Julian Smart
c99645f3ee Made choice convenient dialog more, well, convenient: fixed lack of vertical
expansion and increased list size for larger screens.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-06 09:56:43 +00:00
Robin Dunn
b2b9f13f59 keep a reference to the textctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 19:18:51 +00:00
Robin Dunn
969f4438ef Add GetTopLevelParent convenience function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 19:08:10 +00:00
Julian Smart
a5ef3ff1d9 Updated change log, date
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 17:21:08 +00:00
Julian Smart
427f484df5 Fixed problem with tab size calculation not reflecting current position in the line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 17:15:01 +00:00
Julian Smart
a1dcd726e6 Optimization: don't set the base background colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 16:13:40 +00:00
Julian Smart
7e3a37bedf Drawing correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 16:08:15 +00:00
Julian Smart
be0d60f7e1 Implemented text background colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 15:22:07 +00:00
Julian Smart
9d90b84e1b Fix for exiting on Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 11:34:19 +00:00
Julian Smart
658ba84dc9 Fixed helpview sample and app in binary compatible way by only exiting
on idle (would exit prematurely since help frame doesn't prevent app exit
when still open)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 10:46:54 +00:00
Vadim Zeitlin
c5effe4953 use virtual size for the size of the buffer when wxBUFFER_VIRTUAL_AREA style is used [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 08:58:09 +00:00
Paul Cornett
a42fc8644c Don't assert on value change which shouldn't occur, but does. Closes bug 1672671
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-03 18:37:08 +00:00
Robin Dunn
a8162c4cd0 Docstring fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-02 21:39:34 +00:00
Robin Dunn
caee23d55d wx.lib.customtreectrl patches from Andrea:
1. ExpandAll has been renamed as ExpandAllChildren, and the new
     ExpandAll now takes no input arguments (consistent with
     wx.TreeCtrl)

  2. ctstyle keyword is now defaulted to 0: every style related to
     CustomTreeCtrl and the underlying wx.PyScrolledWindow should be
     declared using the keyword "style" only. For backward
     compatibility, ctstyle continues to work as I merged ctstyle and
     style in the __init__ method.

  3. GetClassDefaultAttributes is now a classmethod.

  4. UnselectAll bug fixed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-02 21:04:52 +00:00
Robin Dunn
ba35daf089 Mention GraphicsContext changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-02 17:18:13 +00:00
Robin Dunn
255abfaa80 Include dcmemory.h if not using precomp headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-02 16:53:03 +00:00
Robin Dunn
d48e3998b0 Fix to allow using Cairo version < 1.2 where
cairo_image_surface_get_data doesn't exist.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-02 16:39:21 +00:00
Paul Cornett
ec6146c7a6 wxRunningEventLoopCount is only defined when wxUSE_THREADS==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-02 03:06:52 +00:00
Robin Dunn
36e6f51a0f Some docstring tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 22:00:29 +00:00
Robin Dunn
99f22cf696 Patch from Gianluca Costa:
-Refactorization of the script-creation code in a specific "img2py()" function
    -Added regex parsing instead of module importing
    -Added some "try/finally" statements
    -Added default values as named constants
    -Made some parts of code a bit easier to read
    -Updated the module docstring
    -Corrected a bug with EmptyIcon


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 21:51:23 +00:00
Robin Dunn
6b260f32ca header cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 19:37:00 +00:00
Robin Dunn
0aeaaaaf31 Add missing 'recursive' parameter to wx.Sizer.GetItem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 19:35:26 +00:00
Robin Dunn
b1ea5b28ab Create the other frame on all platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 19:01:55 +00:00
Robin Dunn
37a2b499e5 use a hidden frame to prevent premature exit on wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 18:53:57 +00:00
Robin Dunn
58e564cb92 don't set hover state when button is pressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 18:52:13 +00:00
Robin Dunn
8cb3186049 wx.lib.plot: patch #1663937 to allow user to turn off scientific
notation on plot.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 01:26:13 +00:00
Robin Dunn
5d1ccdb489 Will Sadkin provided a patch for the wx.lib.masked package that fixes
its support for using the navigation keys on the numeric keypad.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 01:08:41 +00:00
Robin Dunn
456b3f4363 now able to make a debug -dev package
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 01:02:22 +00:00
Robin Dunn
a2a197f5d7 new and updated tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-28 21:42:29 +00:00
Robin Dunn
9ba691fd6a Add an implementation of wxCairoContext::DrawBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-28 21:42:09 +00:00
Robin Dunn
483efacde6 Fix runtime crash in wxStdDialogButtonSizer. Don't set the label on a
button we don't have.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-28 21:40:32 +00:00
Vadim Zeitlin
49baf35105 don't generate size events when the window is unmapped, this is at best unnecessary and also breaks window layout in some situations [backport from HEAD rev 1.683]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-27 20:52:10 +00:00
Vadim Zeitlin
db122f4a78 removed erroneous return in DoSetFont() [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-27 14:06:58 +00:00
Robin Dunn
25f8729c3d Updated to TreeMixin 0.7
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-26 23:35:07 +00:00
Robin Dunn
ee059415c1 Allow using a memory dc (or a buffered dc) as the target of
a wx.GraphicsContext.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-26 23:28:04 +00:00
Robin Dunn
a927054171 Simple test for using a memory dc (or a buffered dc) as the target of
a wx.GraphicsContext.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-26 23:24:49 +00:00
Robin Dunn
d6b9ff1c54 Reorder what happens when a button is pressed so if the user's event
handler blocks it won't leave the buttonbar in a funny state when it
finally returns.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-26 23:23:57 +00:00
Robin Dunn
f1cafba603 Added the wx.SizerFlags class, and also added AddF, InsertF and
PrependF methods to wx.Sizer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-26 23:22:25 +00:00
Vadim Zeitlin
df1a8b2e0c interpret stringsinvalid in current encoding as ISO8859-1 instead of discarding them completely [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-26 10:00:35 +00:00
Robin Dunn
ca7f6330aa Backport fixes from ROL: Fixed SetItemBold and editing 'growable'
properties of wxFlexGridSizer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-24 00:11:49 +00:00
Julian Smart
83d4d9efdf Fixed a control-arrow bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-23 10:30:40 +00:00
Julian Smart
1c44e75697 Fixed a confusion between window and client size that could lead to
gradually increasing window size on repeated layout, by duplicate
application of the client to window size conversion.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-22 17:57:05 +00:00
Robin Dunn
20a3ae94cc Support wxTELETYPE font family
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-21 23:41:35 +00:00
Robin Dunn
6dfee8c4c2 update version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-21 23:41:06 +00:00
Robin Dunn
30a04aa8cc show better technique for updating drawing from outside of EVT_PAINT handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-21 23:40:24 +00:00
Robin Dunn
65df1b5001 enable this demo for the Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-21 23:37:37 +00:00
Robin Dunn
a60374d0de Oops, forgot to remove the commented out code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-21 22:28:36 +00:00
Robin Dunn
f7a9ee3aa6 simple test for wxGCDC::DoDrawEllipticArc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-21 22:24:40 +00:00
Robin Dunn
ea91c399c5 Use floating point math in wxGCDC::DoDrawEllipticArc. Also removed
the lines closing the arc since wxDC doesn't do that.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-21 22:24:02 +00:00
Robin Dunn
155efe740f Applied patch [ 1664571 ] ListCtrl::ColumnSorterMixin-new callback
OnSortOrderChanged


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-21 19:47:56 +00:00
Julian Smart
90cd8c2729 Applied [ 1613294 ] wxGetMouseState/wxIsKeyDown bug
(troelsk - allow for left-handed mouse)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-21 15:07:26 +00:00
Julian Smart
8a6dda6ff7 Fixed a problem with tabs when text spills over the end of the tab stops
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-20 12:54:44 +00:00
Julian Smart
1b8dc48cde Ignore Windows key
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-20 07:57:54 +00:00
Robin Dunn
4df1ca4f16 another typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-20 02:39:26 +00:00
Robin Dunn
352ed6aaaa simple test for drawing and measuring text with a GC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-20 02:29:59 +00:00
Robin Dunn
bff84b0d09 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-20 02:28:24 +00:00
Robin Dunn
0a7dc77803 fix 'instance' typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-20 02:27:07 +00:00
Robin Dunn
27315f82f2 Add a bit of testing code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-20 02:18:37 +00:00
Robin Dunn
dc44ffb35e Add implementations for:
wxCairoPathData::AddPath
    wxCairoContext::Clip
    wxCairoContext::ResetClip
    wxCairoContext::GetTextExtent

Adjusted the baseline-relative DrawText to be offset by the ascent.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-20 02:12:47 +00:00
Robin Dunn
27b13b5b0c Add wx.DD_DIR_MUST_EXIST style. (Patch #1662736)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 21:17:27 +00:00
Robin Dunn
a556dce309 simple wx.LogWindow test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 21:14:07 +00:00
Robin Dunn
9d99f4d8f5 fix import
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 21:13:22 +00:00
Robin Dunn
b658d79e44 Patch #1662729: TreeListCtrl::SetColumnWidth accepting wxLIST_AUTOSIZE
and wxLIST_AUTOSIZE_USEHEADER.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 20:35:36 +00:00
Robin Dunn
55ce0bae63 TreeMixins 0.6 from Frank
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 20:31:11 +00:00
Robin Dunn
191406ad84 wxMac can handle the foreign DnD too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 20:30:23 +00:00
Julian Smart
49a0fc52cf Layout correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 18:32:07 +00:00
Julian Smart
f699514631 Doc corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 18:30:26 +00:00
Robin Dunn
b293a41f30 use InspectableApp for testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 23:47:24 +00:00
Robin Dunn
5b570e6240 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 23:46:28 +00:00
Robin Dunn
c9f693519e Remove boxus property (getter requires param)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 23:35:48 +00:00
Robin Dunn
31fff11b15 Add wx.lib.mixins.treemixin from Frank Niessink.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 23:34:47 +00:00
Robin Dunn
4943ebb1e3 Fixes as described in #1661049 (Uncollectable ogl objects)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 23:32:37 +00:00
Julian Smart
24f640b8d9 IsShown shouldn't cause empty sizers to not have their positions calculated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 22:12:58 +00:00
Vadim Zeitlin
cefb28b4d7 don't delete inexistent column indices in DeleteCols() [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 17:43:39 +00:00
Julian Smart
f15bea31f9 Added support for hover bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 08:16:37 +00:00
Vadim Zeitlin
1b43a6c780 various compilation fixes [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-13 23:22:24 +00:00
Vadim Zeitlin
af77802f1f removed superfluous semicolon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-13 23:20:12 +00:00
Robin Dunn
01ffc0fba2 rebaked makefiles with new version numbers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-13 16:52:00 +00:00
Chris Elliott
1038cd1374 version update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-13 11:26:41 +00:00
Robin Dunn
503cad4a4c Make the greyed image list be the same size as the main image list,
don't assume 16x16


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 21:27:09 +00:00
Julian Smart
92a785767b Pass correct values to spin control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 21:01:58 +00:00
Vadim Zeitlin
42c680d04a fixed LastRead() after Read(wxOutputStream&) (patch 1658301) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 19:11:12 +00:00
Robin Dunn
5a802ba35e add Windows Python 2.3 build back in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 18:18:47 +00:00
Robin Dunn
dc02e004d6 Compile fix for Panther
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 18:17:40 +00:00
Robin Dunn
c695fa396c fix version numbers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 17:46:11 +00:00
Vadim Zeitlin
c9bfe63bb0 compilation fix [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 16:36:41 +00:00
Chris Elliott
84d2a69e29 version 2.8.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 13:13:45 +00:00
Vadim Zeitlin
fa63e208ce removed spurious cast of GetTruncatedJDN() return value to WeekDay enum which breaks the code with Watcom (and maybe others) (bug 1618853) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 13:05:47 +00:00
Chris Elliott
3c7b955411 add docs/msw/install.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 10:54:52 +00:00
Chris Elliott
063f631a02 change version to 2.8.2 in places mentioned in technotes tn0011
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 10:50:43 +00:00
Julian Smart
24ef688ebe Added some change logs, updated version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 10:05:49 +00:00
Robert Roebling
d42677b8c8 Backport wxListBox::Insert() changes to 2_8.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 14:39:31 +00:00
Vadim Zeitlin
1bd50ac5be don't Printf() the string into itself (replaces patch 1655318) (backport from HEAD)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 02:58:33 +00:00
Vadim Zeitlin
7d5be546b1 fit the control when its real contents is attached and not simply (re-)layout it as it has no effect (patch 1644924) (backport from HEAD)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 02:34:57 +00:00
Vadim Zeitlin
b54a991894 don't use strlen() to verify the length of the string as it can contain embedded NULs (patch 1643843; closes bug 1642284) (backport from HEAD)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 02:24:56 +00:00
Vadim Zeitlin
0c1688d7b1 define DisableAutomaticSETranslator() correctly when wxUSE_ON_FATAL_EXCEPTION==0, this fixes linking in this case (replaces patch 1646340) (backport from HEAD)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 02:17:28 +00:00
Vadim Zeitlin
53c48a7304 write the entire file at once in Flush() instead of doing it line by line (patch 1656509) (backport from HEAD)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 02:14:59 +00:00
Vadim Zeitlin
1b5665ea3f update the popup menu item when it's [un]checked too, as it already happens for the items in the main menu bar (backport from HEAD)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 00:59:37 +00:00
Julian Smart
90863a014b Don't optimize if there are child windows since children won't be scrolled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-10 09:41:42 +00:00
Robin Dunn
fe641ffb97 Turn off wxUSE_GRAPHICS_CONTEXT if compiling with MSVC 6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-10 02:06:54 +00:00
Robin Dunn
73795abcef reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-10 00:15:51 +00:00
Robin Dunn
076c29d8f7 Check for NotImplementedError
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-10 00:14:56 +00:00
Robin Dunn
7f3e41c4d3 A bit of code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-09 23:43:24 +00:00
Robin Dunn
47f2df6d21 ensure that a bad locale is destroyed before it is attempted to be used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-09 23:42:57 +00:00
Robin Dunn
0408709133 Docs about wxToolBar::SetToolDisabledBitmap and SetToolNormalBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-09 23:41:32 +00:00
Julian Smart
09e161721b Reverted renderer changes and just use window variant within renderer functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-09 14:05:11 +00:00
Julian Smart
3d31f62a1f Updated the mask
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 21:45:07 +00:00
Robin Dunn
3c901e1e03 backport Roman's changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 20:30:27 +00:00
Bryan Petty
e728b32239 This commit was manufactured by cvs2svn to create branch
'WX_2_8_BRANCH'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 20:30:27 +00:00
Julian Smart
8dfd2d0aad Added control size constants to renderer to allow component drawing to match the
window variant, initially on Mac


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 17:18:43 +00:00
Julian Smart
869d741e0b Added missing include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 15:48:27 +00:00
Vadim Zeitlin
872ff793e6 added dllexport/import declarations for wxRunningEventLoopCount to fix linking in DLL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 02:32:48 +00:00
Vadim Zeitlin
484f1362b2 update wxChoice value when SetSelection() is called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 17:43:03 +00:00
Vadim Zeitlin
bdcb00e8ec fix compilation after the last change in msw/thread.cpp: we can't use wxEventLoop from there; use the hack described at http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/83190 instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 16:30:34 +00:00
Vadim Zeitlin
c9897ce282 define wxUSE_ACTIVEX, not (non existent) wxUSE_OLE_ACTIVEX (backport from HEAD)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 16:09:02 +00:00
Julian Smart
bacea03059 Added flag for removing attributes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 12:24:17 +00:00
Julian Smart
11ab3d4687 Removed unnecessary assignment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 12:21:42 +00:00
Robin Dunn
7f0213cad6 Remove default ctors from wxGraphicsMatrix and wxGraphicsPath since
they are supposed to be constructed vie the factory functions in
wxGraphicsContext.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 18:24:54 +00:00
Robin Dunn
9358d3e22f Allow wxWANTS_CHARS to be effective on native controls too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 18:15:22 +00:00
Robin Dunn
0711a2d38c Add wxHL_* styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 18:14:08 +00:00
Robin Dunn
c7ffa7e49f Backport Mac optimization to always use Refresh instead of Update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 18:12:49 +00:00
Włodzimierz Skiba
53ab8e0d5f Fixed wxComboBox always sorted in all univ builds (see wxforum.shadonet.com/viewtopic.php?p=53661)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 12:26:33 +00:00
Julian Smart
745cf1fff9 Backported corrections to head
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 08:47:45 +00:00
Robin Dunn
be62fdc518 backport from HEAD: don't assert about font face errors, just log it
and use the default


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 22:01:44 +00:00
Robin Dunn
4582da584a backport from HEAD:properly clip the area between the scrollbars if needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 22:00:50 +00:00
Robin Dunn
50720b056a reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 21:59:43 +00:00
Robin Dunn
79484dbd9c fiddle with py2exe options
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 21:57:59 +00:00
Robin Dunn
53ad97d7f9 Check for TypeError exceptions in PostCreate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 21:54:35 +00:00
Robin Dunn
04578e2657 more micro tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 21:53:56 +00:00
Robin Dunn
a8e358c072 Add premixed InspectableApp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 21:18:31 +00:00
Julian Smart
dde243668f Avoid triggering false update event when setting the initial range
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 14:40:55 +00:00
Julian Smart
69e05a2e97 Restored drag position mysteriously removed in revision 1.233
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 14:14:46 +00:00
Julian Smart
3e470db324 Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 11:46:52 +00:00
Julian Smart
4642e25987 Typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 08:45:15 +00:00
Vadim Zeitlin
fa38bddf76 fix assert when the control doesn't have a valid date initially (bug 1648192)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-02 23:41:54 +00:00
Vadim Zeitlin
f30083b960 don't wait for Windows messages in WaitForThread() if we don't dispatch events (should fix the bugs 1523302 and 1650795)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-02 23:22:22 +00:00
Robin Dunn
8aaba8af80 Reset g_lastMouseEvent after processing the mouse button release event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-01 22:54:19 +00:00
Robin Dunn
b80e33a799 Don't capture the mouse until after we're sure we're not sending
wxEVT_GRID_CELL_BEGIN_DRAG


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-01 22:52:01 +00:00
Robin Dunn
ff5ab4a4c5 Use Get instead of deprecated asTuple
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-01 22:49:09 +00:00
Robin Dunn
d650caff99 fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-01 22:48:21 +00:00
Vadim Zeitlin
8aaf987c83 use wxObject copy ctor, not default ctor, in wxEvent copy ctor (backport from HEAD)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-01 00:10:25 +00:00
Julian Smart
87c2199ea3 COrrected style doc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-31 14:27:31 +00:00
Vadim Zeitlin
5520cb30af Added wxSizerFlags::Top() and Bottom()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-31 03:34:00 +00:00
Julian Smart
4ea7392787 Added extra hit test style for more accurate reporting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-28 16:57:07 +00:00
Robin Dunn
c0623ba670 fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-26 22:59:39 +00:00
Robin Dunn
4771f3e8ef refactor InspectionTool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-26 22:39:24 +00:00
Robin Dunn
f4d0946dcf Patch #1645253, fixes overflow error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-26 20:14:33 +00:00
Robin Dunn
d93d8a12ef Added some missing "private:" keywords
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-26 16:37:40 +00:00
Václav Slavík
30a31f64f9 fixes to InputPath values in custom build steps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-26 12:41:04 +00:00
Robin Dunn
183be3a463 Switch to AUI instead of splitter windows. Also load and save config settings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-26 07:23:26 +00:00
Robin Dunn
9f43d3229c fix docstring
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-26 07:17:30 +00:00
Robin Dunn
3d642f975d reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-25 23:36:36 +00:00
Robin Dunn
69d4bbb974 Added wxToolBar::SetTool[Normal|Disabled]Bitmap for wxMSW, wxGTK and wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-25 23:35:07 +00:00
Robin Dunn
a34d58f775 wx.FRAME_FLOAT_ON_PARENT experiments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-25 23:07:47 +00:00
Robin Dunn
6b5e94c6f9 Don't use a reference for the return value of wx.Rect.Inflate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-25 23:07:21 +00:00
Robin Dunn
512696b918 DocString fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-25 23:05:55 +00:00
Robin Dunn
d4aca4baf0 Use ChangeValue instead of SetValue when changing the DescriptiveText
in order to not generate unexpected EVT_TEXT events.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-25 23:04:44 +00:00
Robin Dunn
228b1b3c2f Fill in more info for the wxEVT_STC_AUTOCOMP_SELECTION event.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-25 22:59:04 +00:00
Robin Dunn
fc368d7872 reorder the creation of the drag objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-25 22:52:44 +00:00
Robin Dunn
3565c263f5 minor tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-25 22:52:24 +00:00
Vadim Zeitlin
0fac79547e changing text alignment dynamically doesn't always work under XP, recreate the control there too (backport from HEAD)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-25 15:39:58 +00:00
Robin Dunn
b09a2663c3 newline at end of file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-24 00:01:53 +00:00
Robin Dunn
712c874643 use the run module when run standalone.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-24 00:01:12 +00:00
Chris Elliott
3e6f2f98a1 fix SF bug 1640955
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-23 09:06:42 +00:00
Robin Dunn
b4517eaa77 bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-22 21:57:07 +00:00
Robin Dunn
78c0c938dd changelog for 2.8.1.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-22 21:46:14 +00:00
Bryan Petty
e5ab3bbc9c This commit was manufactured by cvs2svn to create branch
'WX_2_8_BRANCH'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-22 21:46:14 +00:00
Stefan Neis
a7dde52f0a Improve resetting table via SetTable (extended version of patch #1636377).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 22:39:56 +00:00
Robin Dunn
0d3847e80c reswigged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 07:07:46 +00:00
Robin Dunn
e86fbab1ba suspend logging while in wx.DataFormat.GetId
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 07:07:07 +00:00
Robin Dunn
1ddcb14574 remove bad property
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 07:05:30 +00:00
Robin Dunn
a0d5472b1b Build and distrib tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 07:03:55 +00:00
Robin Dunn
6caa0f5cd1 No animate contrib anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 06:59:10 +00:00
Robin Dunn
5712281c5d Return an empty string from wxDataFormat::GetId if there was an error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 06:58:05 +00:00
Robin Dunn
68585e1770 Add some wxCHECK_MSG's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 06:53:42 +00:00
Robin Dunn
4aab34290a Return an empty string from GetValue if the textctrl is set to the
descriptive text


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 06:47:33 +00:00
Robin Dunn
f24b783af3 Revert menus and toolbars to using wxNewId() too since their IDs can't
be negative either


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 06:43:59 +00:00
Paul Cornett
6d727f6c10 expose handlers are supposed to return a gboolean;
false may be correct, at least it's not random


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 01:58:53 +00:00
Vadim Zeitlin
5f28de16f3 fix infinite recursion when processing navigation keys in panels containing book controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 01:21:45 +00:00
Vadim Zeitlin
0fdd3cc881 reverted last commit, using result of NewControlId() when creating the control (instead of wxID_ANY) results in an assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 01:01:39 +00:00
Vadim Zeitlin
447325a44f use wxID_ANY for internal controller control instead of wxID_CHOICE/LIST/TOOLBAR/TREEBOOKTREEVIEW; this fixes asserts about using negative ids after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 00:52:05 +00:00
Vadim Zeitlin
3aba082d50 don't crash in dtor if the X11 window hadn't been created (patch 1640153)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-20 14:32:18 +00:00
Vadim Zeitlin
fc9f11cc6f name user config file appname.conf when it's locayed in ~/.appname by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-20 14:15:57 +00:00
Vadim Zeitlin
869c929083 set command int (indicating whether the item is checked) correctly for the menu events (bug 1639891)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-20 14:13:52 +00:00
Robin Dunn
9030e77918 wx.FRAME_FLOAT_ON_PARENT notes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-20 03:28:09 +00:00
Robin Dunn
67879c5b41 Use float-on-parent frames for the popups if wxPopupWindow is not available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-20 03:26:34 +00:00
Robin Dunn
a0232aa520 Added support for the wxFRAME_FLOAT_ON_PARENT style
Also add a mode for the wxPOPUP_WINDOW style as a temporary hack to
make it easier using a wxFrame as a replacement for wxPopupWindow.
See how it is used in wxStyledTextCtrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-20 03:23:43 +00:00
Václav Slavík
01ad5e43bf fixed typo in code for setting alternative locale name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-19 23:25:39 +00:00
Robin Dunn
1d51064ce3 Bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-19 20:17:39 +00:00
Robin Dunn
0149e27783 Add a note about wxSearchCtrl::[Get|Set]DescriptiveText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-19 20:15:22 +00:00
Robin Dunn
7fa8d0854b some updates to CHANGES.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-19 20:13:16 +00:00
Robin Dunn
fd363e1abc Added stepColour utility function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-19 19:51:08 +00:00
Julian Smart
df794ecc9f Corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-19 12:36:54 +00:00
Julian Smart
9aaca412e2 Added missing functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-19 12:17:27 +00:00
Robin Dunn
6646ca90e8 Added wxSearchCtrl::[Get|Set]DescriptiveText
Tweaked the layout of the subcontrols a bit
Lightened the icons to be more like Mac


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-19 05:27:16 +00:00
Vadim Zeitlin
b901ac2c3b disabled wxMBConv(wxFONTENCODING_UTF7) test -- it doesn't work under Unix with iconv()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-19 00:19:57 +00:00
Vadim Zeitlin
04af2f5ce3 added wxCONFIG_USE_SUBDIR flag to wxFileConfig (patch 1620876)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 22:38:21 +00:00
Paul Cornett
49f29fbe2c revert last, GUI mutex isn't GUI-only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 21:56:51 +00:00
Robin Dunn
65d7319f85 styles, toolbar, and other visual tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 21:51:41 +00:00
Robin Dunn
1fe8ec6d3d Use kControlContentIconRef when recreating the tool for toggled state
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 21:51:01 +00:00
Vadim Zeitlin
0f0298b10c added wxCSConv::IsOk() (patch 1637944)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 20:39:10 +00:00
Vadim Zeitlin
646c7e13ea corrected VC warning about possibly uninitialized variable in the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 20:37:12 +00:00
Vadim Zeitlin
6594faa98e make wxTextFile work with unseekable files again (patch 1632613, bug 1629581)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 20:29:12 +00:00
Vadim Zeitlin
5a2d9e121f reverted last change: wxGTK-specific wxMutextGui code breaks linkage of wxBase programs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 19:53:36 +00:00
Robin Dunn
6a6c9417a8 Add GetDateOnly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 19:10:43 +00:00
Václav Slavík
627ddac99e compilation fix for !wxUSE_STATBOX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 18:27:58 +00:00
Paul Cornett
165d3652ff use GTK-specific GUI lock
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 18:13:34 +00:00
Vadim Zeitlin
186453cc7c added wx/window.h included needed by last change using wxWindow::NewControlId() (fixed PCH-less builds, bug 1638781)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 17:00:52 +00:00
Vadim Zeitlin
9249d38d6e use wxWindow::NewControlId() instead of wxNewId() to avoid clashes with the user-defined ids
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 14:15:54 +00:00
Vadim Zeitlin
fb96cf856e added wxDateTime::GetDateOnly()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 14:06:37 +00:00
Vadim Zeitlin
75d0223f8c corrected crash: need to set m_frame eariler (Wlodek Szafran, closes bug 1636225)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 14:03:16 +00:00
Robin Dunn
8030e0e954 minor tweaks for the widget inspector
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-17 23:39:00 +00:00
Robin Dunn
27587c251c The inspect module is now a widget browser plus a shell.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-17 23:37:12 +00:00
Robin Dunn
b08d67c27b reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-17 23:32:26 +00:00
Vadim Zeitlin
5541976c17 discard time part of m_date, otherwise comparisons with other dates fail
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-17 23:31:05 +00:00
Robin Dunn
7d69a5715e Make GridBagSizer.GetItem use FindItem if possible, to allow a
GBSizerItem to be returned instead of a SizerItem


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-17 23:23:34 +00:00
Robin Dunn
61071e6160 some minor tweaks to make it possible to not show the default intro text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-17 23:05:14 +00:00
Robin Dunn
3e47020738 Use the system settings for the selection colours
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-17 23:03:46 +00:00
Julian Smart
2207fd2168 Spacing corrections, removed duplicate functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-17 15:26:53 +00:00
Julian Smart
df0468c73a Corrected typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-17 14:51:11 +00:00
Julian Smart
652dbdc0ab Documented Set/GetBaseId
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-17 09:07:32 +00:00
Václav Slavík
81073d9209 SETUPHDIR is Bakefile variable, not MSVC IDE one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-17 08:40:56 +00:00
Vadim Zeitlin
c25db58432 honour the drag effect supported by the drag source in wxIDropTarget (Tim Kosse)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-15 19:02:29 +00:00
Vadim Zeitlin
4d1f840337 added wx/image.h to fix non-PCH compilation after last commit (patch 1635649)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-15 10:54:40 +00:00
Paul Cornett
a1b289f1f9 don't change wxPRINTER_CANCELLED to wxPRINTER_ERROR, bug #1635284
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-15 02:23:13 +00:00
Paul Cornett
09a0945522 remove some unneeded includes, clean up gnome force link stuff a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-15 01:26:05 +00:00
Paul Cornett
3f83a9cda3 only gtk1 needs poll now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-15 00:24:54 +00:00
Paul Cornett
3b5d20079c chain to the polling function GLib was using before we replaced it, eliminating all the poll baggage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-15 00:21:57 +00:00
Vadim Zeitlin
b8508db8b4 create in place edit control with wxTE_PROCESS_ENTER style as otherwise it's not closed on Enter when used inside a panel or a dialog (which uses Enter for dialog navigation) (patch 1630586)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-14 21:04:27 +00:00
Vadim Zeitlin
0d3997fd6d corrected drawing of the bitmaps for the disabled menu items (replaces patch 1632891, closes bug 1632888)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-14 20:59:17 +00:00
Vadim Zeitlin
cfbf301d7c test rendering of disabled items with bitmaps (for bug 1632888)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-14 20:45:30 +00:00
Vadim Zeitlin
d95527de9a added wxSizerFlags::Shaped() and FixedMinSize() methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-14 16:52:55 +00:00
Vadim Zeitlin
fc2b0e31bb added wxABI_VERSION check around new public wxFileHistory::Set/GetBaseId() methods and added them to version script
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-14 16:38:53 +00:00
Vadim Zeitlin
4f690a1d5e don't crash when setting tooltip for a picker without text control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-14 16:18:36 +00:00
Julian Smart
5d389b0445 Provide access to file history base id
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-14 12:43:01 +00:00
Václav Slavík
6a6e282245 fixed child windows scrolling to use wxSIZE_ALLOW_MINUS_ONE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 21:46:51 +00:00
Robin Dunn
302129f896 PyCrust now has an option for showing/hiding the notebook.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 19:20:32 +00:00
Robin Dunn
19a885344a minor tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:42:56 +00:00
Robin Dunn
46831f391b Bug fix from Pierre
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:40:51 +00:00
Robin Dunn
cfce9d35ad Just reset the size, not the minsize too, when changing the label or
font.  This is how the native static text widgets behave.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:40:30 +00:00
Robin Dunn
f1c5e92f3f new test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:39:39 +00:00
Robin Dunn
da88bc1a18 removed bogus ImageList property
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:39:04 +00:00
Robin Dunn
d576c660f7 Added typeId property
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:38:15 +00:00
Robin Dunn
156d7d8626 Use the SearchCtrl for the filter. Make the accelerator table usable
again for testing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:28:40 +00:00
Robin Dunn
e49426a206 Fix for problem when Realize is re-called on a vertical toolbar, it
was making the tools layout horizontally.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:27:27 +00:00
Robin Dunn
7749035c4e DoGetBestSize fix, the lbWidth was not getting updated because of a
misplaced #endif


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:25:21 +00:00
Robin Dunn
f241631e6d Fix for when only a default dir is given without a default file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:24:19 +00:00
Stefan Csomor
4b6930c813 making sure it is only breaking at newlines for measuring
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:00:01 +00:00
Paul Cornett
8d206c073d add wxToolbook checking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 17:54:14 +00:00
Stefan Csomor
5a253c3f0a using the CF Message box only for non main thread alerts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 17:22:02 +00:00
Vadim Zeitlin
a8b2285edf only set cursor immediately in SetCursor() if the mouse is currently inside the window or we capture it (fixes the problem introduced in rev 1.675 while still correcting the original bug that change was done to fix)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 01:28:14 +00:00
Vadim Zeitlin
21de14b331 use wxNO_LEN and wxCONV_FAILED symbolic constants instead of -1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-11 16:41:43 +00:00
Julian Smart
e7b21b01fe Use the associated document manager, not the global one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-11 13:55:26 +00:00
Julian Smart
3d490242f0 Write a newline, not a 10 into the stream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-11 13:54:29 +00:00
Vadim Zeitlin
d40e9e06bb no changes, just refactor the code sending spin update event to SendSpinUpdate() instead of duplicating it; also initialize m_oldValue
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-11 01:59:42 +00:00
Vadim Zeitlin
b6d8301814 apply patch 1630906 after all as with my simpler fix in the last commit the control may remain empty when it is supposed to show 0 value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-11 01:48:52 +00:00
Vadim Zeitlin
e816f5c736 fix lack of spin control update event when control lost focus (replaces patch 1630906, corrects bug introduced in rev 1.66)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-11 01:45:31 +00:00
Vadim Zeitlin
be809e82f2 suppress spurious error message when copying from clipboard brought empty string (patch 1630108)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-11 01:34:08 +00:00
Vadim Zeitlin
9c80e160ec reverted wrong change of rev 1.129 and fixed the first part of bug 1422217 in a better way by using InsertMenuItem() correctly for checkable items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-11 01:21:42 +00:00
Vadim Zeitlin
02f0eca5fb do strtoll() test using C++ compiler as at least under SGI this function is accessible from C99 but not C++ code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-11 00:30:13 +00:00
Václav Slavík
c640dfa5e8 added wxDFB to distribution scripts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-10 15:01:42 +00:00
Julian Smart
d716e45315 Removed versions so we don't have to update with every release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-10 14:53:57 +00:00
Julian Smart
9d5bd96c58 Updated date
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-10 14:52:35 +00:00
Julian Smart
3273f8342e Updated version and date
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-10 14:51:18 +00:00
Václav Slavík
1ff18f49b9 added support for Bakefile's upcoming msvs2005prj format (not enabled by default yet, would fail with the latest released version otherwise)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-10 14:03:23 +00:00
Vadim Zeitlin
8ef74b15f7 add #if wxUSE_TOOLTIPS around DoSetToolTip()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-10 13:45:11 +00:00
Chris Elliott
3b849b9a88 2.8.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-10 13:40:28 +00:00
Chris Elliott
b432b50d61 fix missing setup.h file(s) http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?8:mss:96442:cbnogdligcfeekgnnppi
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-10 13:38:17 +00:00
Julian Smart
715ce94da9 IsRich should be defined even if wxUSE_RICHTEXT isn't
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-09 21:26:53 +00:00
Julian Smart
3633deedb4 Fix for missing separator if any previous items were ownerdrawn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-09 21:19:09 +00:00
Vadim Zeitlin
a3c8c017cf check parameters after options check sothat usign -version doesn't result in an error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-09 14:35:06 +00:00
Vadim Zeitlin
fb66c150a4 show -version in the list of options; exit after showing the version as all the other programs do
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-09 14:29:38 +00:00
Vadim Zeitlin
63dd461bc8 more about virtual functions access specifier changing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-09 14:01:08 +00:00
Robin Dunn
a8990bd443 don't use default style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-08 23:54:11 +00:00
Robin Dunn
3173a64c51 Tweak dates and version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-08 23:45:11 +00:00
Robin Dunn
5fd01bf150 Version --> 2.8.1.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-08 23:31:44 +00:00
Robin Dunn
1ceb4f4d19 Minor tweaks to get up to date with wx CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-08 23:10:39 +00:00
Robin Dunn
070a1e7e3b ignore things that are just defined for the sake of the preprocessor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-08 22:58:22 +00:00
Vadim Zeitlin
0b8055d224 added more wxUSE_TREE/LISTCTRL tests to fix compilation when they're set to 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-08 15:04:19 +00:00
Chris Elliott
c267649e53 2.8.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-08 15:04:07 +00:00
Chris Elliott
8e3fa7eecc remove space which broke tex2rtf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-08 14:47:02 +00:00
Chris Elliott
c1cef60b50 fix part of proposal at http://news.gmane.org/find-root.php?message_id=%3c45A2343E.40203%40gmx.de%3e
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-08 13:40:59 +00:00
Vadim Zeitlin
6f8415ca56 use wxLongLong_t instead of long long
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-08 11:17:15 +00:00
Paul Cornett
46beb2e98d non-pch build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-08 07:11:51 +00:00
Kevin Ollivier
255dcbd7cb Fix GetNextItem for virtual wxListCtrl, and improve behavior for wxLIST_NEXT_ALL.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-08 02:52:09 +00:00
Vadim Zeitlin
090afcf011 fix compilation for latest SDK where EnumModulesProc() first parameter is now const (bug 1629333)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 23:35:49 +00:00
Vadim Zeitlin
d200d68cbf updated version to 2.8.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 22:48:56 +00:00
Vadim Zeitlin
311360b893 also update wxVERSION_STRING
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 22:48:06 +00:00
Vadim Zeitlin
f559e6218d fix wxConfig::DeleteGroup() for arguments with trailing slash (replaces patch 1624589)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 22:41:39 +00:00
Vadim Zeitlin
e7f84ba5b1 apparently the previous version was generated with a wrong bakefile, regenererated with 0.2.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 22:30:12 +00:00
Vadim Zeitlin
af0ee083f8 also update manual.tex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 22:28:07 +00:00
Vadim Zeitlin
7bf325389e more informative output
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 22:26:44 +00:00
Vadim Zeitlin
4fd169bda5 updated version to 2.8.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 22:21:20 +00:00
Stefan Neis
2887cb4e38 Attempt at fixing deepCopyHostent/Servent.
Fixed MT problem my making mutexes global.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 21:38:08 +00:00
Vadim Zeitlin
7de9aaf012 added a script to update release version field
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 21:34:48 +00:00
Vadim Zeitlin
21ead7676a don't compile wxDataViewDateRendererPopupTransient if !wxUSE_POPUPWIN (as is always the case under Mac) (bug 1616964)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 20:13:16 +00:00
Vadim Zeitlin
8854a202f4 no changes, just removed duplicate TreeView_HitTest() calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 20:09:15 +00:00
Vadim Zeitlin
a1d5a2937a corrected message about page number overflow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 19:58:48 +00:00
Vadim Zeitlin
9fcf8144d9 added EVT_TASKBAR_CLICK and use it to show taskbar icon menu on right button release, not press, under MSW (bug 1623761)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 19:44:14 +00:00
Vadim Zeitlin
52b222fe31 regenerated after wx/richtext/richtextstyles.h addition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 19:41:52 +00:00
Vadim Zeitlin
ff202bcb56 added wx/richtext/richtextstyles.h (bug 1624364)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 19:29:54 +00:00
Vadim Zeitlin
bcbec8656f make HitTest() public (bug 1626543); this changes ABI for protected part of wx API but not for the public one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 19:27:33 +00:00
Stefan Neis
43c974071f Fixed switching to a different drive/volume on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 18:22:57 +00:00
Kevin Ollivier
ad31e6a2da Add more sanity checks to virtual list item nums as the native control sometimes fires events before things are totally set up.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 17:53:42 +00:00
Kevin Ollivier
2458daa728 Make it easier to switch between native and generic sample for testing purposes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 17:28:18 +00:00
Vadim Zeitlin
0917b10c4b disable wxCollapsiblePane compilation in wx/chkconf.h, not wx/generic/collpaneg.h (bug 1620397)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 17:26:19 +00:00
Vadim Zeitlin
2c03d7714c fix attribute memory leak in wxGrid::ShowCellEditControl() (patch 1629949)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 17:09:54 +00:00
Vadim Zeitlin
b726328b48 added support and enable long long support when wxLongLong_t is available even if SIZEOF_LONG_LONG is not under wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 16:58:17 +00:00
Vadim Zeitlin
3e85709e97 fix wxMDIChidFrame::GetPosition() (patch 1626610)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 16:42:00 +00:00
Vadim Zeitlin
35c4b4da0a fix wxConfig::DeleteGroup() for arguments with trailing slash (replaces patch 1624589)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 16:36:54 +00:00
Vadim Zeitlin
bde1da6d3f include WebKit.h as otherwise WebKit is not detected on PPC with gcc 3.3 (patch 1623616)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 16:25:04 +00:00
Vadim Zeitlin
82950569f9 mention RTL fixes by Diaa Sami
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 16:19:46 +00:00
Vadim Zeitlin
c4b37573a9 fix combobox dropdown position in RTL (patch 1623127)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 16:18:55 +00:00
Vadim Zeitlin
f2bbe5b675 fixes and workarounds to return value of our own wxVsnprintf_() implementation: handle -1 as error and not an indication that there is not enough space (patch 1623077)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 16:17:28 +00:00
Vadim Zeitlin
d2aa263fd1 fix for popup positioning in RTL mode (patch 1622930)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 16:07:59 +00:00
Vadim Zeitlin
a2dc658bba set tooltips for the both subcontrols (patch 1622531)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 16:00:11 +00:00
Vadim Zeitlin
bf41d9034a added wxTreeCtrl::CollapseAll[Children]() and IsEmpty() to version-script and use wxABI checks for them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 15:53:03 +00:00
Vadim Zeitlin
8f6dc819f8 return correct item and position from wxTreeEvent::GetItem/Point() (patch 1622166)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 15:43:22 +00:00
Vadim Zeitlin
0d93bb5039 corrected ctor signature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 15:41:55 +00:00
Vadim Zeitlin
9248adc8da added wxTreeCtrl::CollapseAll[Children]() and IsEmpty() methods; documented wxTreeItemId (patch 1622125)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 15:02:57 +00:00
Vadim Zeitlin
633f0196de operators == and != are const (part of patch 1622125)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 14:55:15 +00:00
Stefan Neis
4f6eaf5ee2 Extended wxGetHostName implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 14:07:02 +00:00
Stefan Neis
783388d5d9 Added wxGetDiskSpace implementation (patch #1625514).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 13:52:22 +00:00
Stefan Neis
e196c0a258 Compilation fix for really old gcc versions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 13:28:16 +00:00
Vadim Zeitlin
c05daf1bfd changed copyright year to 2007
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 02:05:28 +00:00
Kevin Ollivier
a44a646b7e Use GetItem to get item info for events, even for virtual wxListCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 01:21:19 +00:00
Kevin Ollivier
ed9a7a63b8 Generic list and tree ctrl should not use the focused selection color when the top level window is not active.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 01:15:20 +00:00
Robin Dunn
3d7a1b394b Add dependency on tabmdi.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-06 19:44:28 +00:00
Robin Dunn
34d71f81f4 Added wx.aui.AuiNotebook.GetAuiManager().
Added wx.aui.AuiMDIParentFrame and wx.aui.AuiMDIChildFrame, which
essentially implement the MDI interface using a normal wx.Frame and a
wx.aui.AuiNotebook.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-06 09:01:34 +00:00
Robin Dunn
b0a54b8a6b Fixes for segfaults when the parent frame is destroyed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-06 08:59:01 +00:00
Robin Dunn
0eaf8cd16c Add GetAuiManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-06 08:53:33 +00:00
Kevin Ollivier
b64274c77a Add a grid sizer demo, and document the props accepted by SetSizerProps.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-06 02:09:00 +00:00
Kevin Ollivier
f80419c886 Don't draw the primary highlight colors if the control doesn't have the focus.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-06 01:53:52 +00:00
Kevin Ollivier
e5d3d8ad45 Apply patch #1626802, which fixes GetNextItem to return -1 instead of 0 when an item can't be found, and add support for wxLIST_NEXT_ABOVE, wxLIST_NEXT_BELOW, and wxLIST_STATE_DONTCARE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-05 19:45:38 +00:00
Włodzimierz Skiba
ccf6c43b3d '-version' parameter for tex2rtf.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-05 17:30:42 +00:00
Stefan Csomor
6cfe484434 allowing vertical scrolling even if wxTE_NO_VSCROLL is given, displaying a scrollbar only when needed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-05 16:28:03 +00:00
Vadim Zeitlin
0bddba445f more unescaped underscores
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-05 14:49:41 +00:00
Vadim Zeitlin
23fb9116c3 fix broken links to File/DirName()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-05 14:30:39 +00:00
Vadim Zeitlin
3e69f6e58e rename Inside(x,y) parameters to avoid gcc warnings about parameters shadowing member variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-05 13:36:49 +00:00
Jouk Jansen
82ddc0cae3 Update OpenVMS make-files
Modified Files:
 	wxWidgets/src/common/descrip.mms wxWidgets/src/x11/descrip.mms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-04 08:09:51 +00:00
Kevin Ollivier
8a14de8aa9 Have SetSizerProps internally handle the assignment of growable rows and cols.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-04 06:47:19 +00:00
Václav Slavík
f7a5043240 fixed deadlock when calling wxPostEvent() from worker thread
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-03 17:25:47 +00:00
Robin Dunn
c81f58f7e5 Remove some items from the Recent additions list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-02 23:19:29 +00:00
Robin Dunn
eee9bf2e5c reformat the overview string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-02 23:18:23 +00:00
Chris Elliott
ef1160a7dc fix errant __BORLAND__ see http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/70616/match=common+intl+cpp+problems+bcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-02 20:50:07 +00:00
Jouk Jansen
7538fdc9a6 avoid reading KDE-tables on OpenVMS. They will never be installed since KDE
is not available on OpenVMS.

 Modified Files:
 	wxWidgets/src/unix/mimetype.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-02 09:55:34 +00:00
Paul Cornett
ca2261d33f restore declaration inline specifier, and make definition match
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-01 22:27:42 +00:00
Robin Dunn
4e8107d57a reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-01 20:56:51 +00:00
Robin Dunn
395e0a70ba Don't steal VK_RETURN for wxEVT_COMMAND_LIST_ITEM_ACTIVATED if any of
the modifier keys is pressed.  This let's RETURN+Modifier be used as
a normal accelerator key when the list ctrl has the focus.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-01 20:48:51 +00:00
Robin Dunn
aeffa0721d fixed a compile error in one of the stub classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-01 20:47:05 +00:00
Paul Cornett
ffdbfc4a76 remove inline from declaration of functions which are not inline
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-01 19:49:10 +00:00
Vadim Zeitlin
9f5e5c31a8 correct OnOpenError() return type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-31 18:07:45 +00:00
Kevin Ollivier
3bdec81e14 Adding overview docs and a couple tweaks to the demo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-31 06:50:13 +00:00
Kevin Ollivier
5448935a30 Add SizedControls demo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-31 06:06:05 +00:00
Kevin Ollivier
1a4b6b97b1 Make sure mouse events are only sent in the case of the native control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-31 06:03:51 +00:00
Stefan Neis
7528971e6b Fixed mismatch between wxOperatingSystemIdNames and wxOperatingSystemId (patch #1625019).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-30 21:46:22 +00:00
Chris Elliott
8e287ae93f revert this as Vadim's seems cleaner http://cvs.wxwidgets.org/viewcvs.cgi/wxWidgets/distrib/scripts/create_archives.sh.diff?r1=1.19&r2=1.20
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-30 20:21:11 +00:00
Vadim Zeitlin
631787c478 wxVariant and wxVariantData are ref counted too (patch 1624344)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-29 20:22:23 +00:00
Vadim Zeitlin
b2b4f8c0ca wxFileModificationTime return -1, not 0, on error (patch 1624484)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-29 20:18:57 +00:00
Vadim Zeitlin
02d5015b1c fixed incorrectly inversed test for parent [not] being deleted (patch 1624472)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-29 20:16:53 +00:00
Julian Smart
61f84e2493 Process capture lost event to avoid assertion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-29 19:37:04 +00:00
Paul Cornett
046c2f1404 fix idle handling when a new event loop is run from an idle event handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-28 20:03:05 +00:00
Kevin Ollivier
defeae282f Fixing inactive state drawing, and removing warning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-28 17:50:53 +00:00
Václav Slavík
44038f9a6c added comment with pointers to wxEVT_MOUSE_CAPTURE_LOST discussion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-28 16:33:22 +00:00
Stefan Csomor
e9a4bf7ddc fix to always have a proper activation for DataBrowser controls (stay in bkgnd otherwise) bug 1621547
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-28 16:08:38 +00:00
Julian Smart
99a7bebb65 Temporary fix for inconsistent menu item margins (see Quit item in ownerdraw sample)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-28 13:52:58 +00:00
Kevin Ollivier
de387fc99c exposing generic system option define, adding missing event.Skip() to OnChar, and tweaking handling of scrollbars.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-28 06:33:57 +00:00
Stefan Csomor
b9d495a007 applying patch 1622389, fixing two memory leaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-27 15:49:26 +00:00
Kevin Ollivier
7e2ee0bf41 Add middle-item click support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-26 20:44:24 +00:00
Robin Dunn
7f3e07a83a Fix for bug #1621459, Made the Selection property read-only since it
needs two parameters.  You can instead use SelectionStart and
SelectionEnd properties for setting the selection if needed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-26 20:32:51 +00:00
Kevin Ollivier
e0329d2476 Stop crash when wxVSCROLL is specified for native OS X wxListCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-25 19:28:11 +00:00
Vadim Zeitlin
12e424d28f show RTL message box (in Unicode build only) when using RTL (patch 1622000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-25 14:39:11 +00:00
Kevin Ollivier
d2a931c9f7 Add new wxListCtrl symbols.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-25 00:34:23 +00:00
Kevin Ollivier
b3ff5a475b Implement LIST_KEY_DOWN support, and move new functions into wxABI_VERSION.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-25 00:21:05 +00:00
Václav Slavík
f321ab7fb4 disable (some) features that are not available in DirectFB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-24 19:50:28 +00:00
Václav Slavík
9c6d8b7cdb fixed wxFrame background colour in wxUniv on ports without native wxSYS_COLOUR_APPWORKSPACE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-24 19:06:39 +00:00
Kevin Ollivier
ccea21ccf8 Implementing LIST_ITEM_RIGHT_CLICK event support, and fixing sorting (turning off code for native sorting).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-24 18:39:40 +00:00
Vadim Zeitlin
8605f9c571 compare charset strings case-insensitively (and so avoid conversions between utf-8 and UTF-8 for example, see patch 1611068)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-24 13:36:22 +00:00
Vadim Zeitlin
338b2a02ce document ShowHidden() (patch 1619786)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-24 12:38:38 +00:00
Vadim Zeitlin
629ddfb03e added a couple of missing membersections and fixed a couple of typos (patch 1618846)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-24 12:19:27 +00:00
Vadim Zeitlin
f928b1ab18 fix hint rect position for RTL (patch 1618719 from Tim Kosse)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-24 12:16:28 +00:00
Vadim Zeitlin
0ae9003c21 fill in sqlDataType field of wxDbColInf in ExecSql() (patch 1614539)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-24 12:14:31 +00:00
Vadim Zeitlin
3fafce674b compilation fixes for --disable-compat26 (patch 1619037)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-24 12:08:37 +00:00
Václav Slavík
574d48dbe4 removed #ifdefs that conditionally included the exact same code on Mac and non-Mac, instead of having just one copy of it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-24 01:33:09 +00:00
Vadim Zeitlin
190b93449e another fix for the default button in the dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-24 01:21:53 +00:00
Vadim Zeitlin
16837dc334 document --selected-config option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-24 01:20:33 +00:00
Vadim Zeitlin
95fab76ba0 1. Don't draw our own custom label if we don't have custom foreground colour,
we don't need to do it then as it works just fine by default then

2. Use the theme font for the label (doesn't do anything for the default Luna
   theme but helps a lot with custom themes, unfortunately metrics are still
   wrong with them)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-23 22:20:53 +00:00
Vadim Zeitlin
6969c2c318 added AutoHFONT; allow initialize SelectInHDC later (and not necessarily in ctor)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-23 22:11:16 +00:00
Julian Smart
e3eac0ff7f Bullet size should take into account the font of the immediately following content.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-23 15:57:45 +00:00
Julian Smart
7947a11dad Optimization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-23 15:54:59 +00:00
Mart Raudsepp
bdb5188415 Change style flag on floating frames to give proper minimize behaviour. Thanks to Chris Mellon; needed for my app
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-23 13:03:00 +00:00
Robin Dunn
dc99f469f5 minitest for wx.BusyInfo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-23 00:12:59 +00:00
Robin Dunn
59ccbf7fec reSWIGGed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-23 00:11:49 +00:00
Robin Dunn
2bd162773d Reset the item's text in SetItemFont to ensure that the text will be
remeasured with the new font, and the bounding rect will be adjusted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-23 00:10:15 +00:00
Robin Dunn
e1944ad852 Don't try to access a color not in the dictionary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-23 00:02:59 +00:00
Robin Dunn
cefcc57db8 RemoveItem should return the same object it is passed, but adjusted
for new ownership


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-23 00:02:23 +00:00
Robin Dunn
55424c8c22 wxColor --> wxColour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-22 23:57:34 +00:00
Robin Dunn
015131a1fd Add parent parameter to BusyInfo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-22 23:55:58 +00:00
Robin Dunn
38c213b192 Unicode is the default build mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-22 23:54:34 +00:00
Robin Dunn
e1463b9df0 Patches from Andrea
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-22 23:52:32 +00:00
Robin Dunn
c306c1e0f6 put wx in the shell's namespace too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-22 23:50:51 +00:00
Kevin Ollivier
471046b088 Adding SetFocus to wxABI_VERSION.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-22 20:14:38 +00:00
Kevin Ollivier
cf6982fae6 Fix for non-PCH builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-22 20:05:08 +00:00
Chris Elliott
5c7d3eb176 fix for build with x11 reported here http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?8:mss:96187:200612:dimemphnemjnfeciaghe
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-22 11:20:58 +00:00
Vadim Zeitlin
d69f7c5831 reversed binary and forward compatibility terms to their usual meanings; added a section about binary compatibility preserving changes explicitly mentioning that overriding of existing virtual functions seems to be safe; fixed typos/spelling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-21 22:28:15 +00:00
Vadim Zeitlin
cbf6ba7559 added wx{Dir|File}Dialog::Get/SetStyle() for 2.8.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-21 22:04:48 +00:00
Vadim Zeitlin
cc197ed421 restored (as deprecated) accidentally removed wx{Dir|File}Dialog::Get/SetStyle()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-21 19:26:48 +00:00
Václav Slavík
9a9b58229f compilation fix for !wxUSE_VALIDATORS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-21 18:24:27 +00:00
Václav Slavík
f1f5f16f78 sockets work with wxDFB now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-21 17:52:16 +00:00
Kevin Ollivier
bc63f2c969 Restore compilation with --enable-stl, fix SetFocus with the generic control, and re-instate the use of ids to sort when a specific sort function isn't being used.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-21 06:53:53 +00:00
Vadim Zeitlin
ff1bd293e1 C/POSIX locales (or absence of locale information) corresponds to wxLANGUAGE_ENGLISH_US, not wxLANGUAGE_ENGLISH which is the same as wxLANGUAGE_ENGLISH_UK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-20 23:24:36 +00:00
Vadim Zeitlin
8ebf24655c unused parameter warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-20 13:45:08 +00:00
Vadim Zeitlin
9b99c1e36a changing ES_LEFT/CENTER/RIGHT styles only works for plain (not rich) controls and only under XP, recreate the control in SetWindowStyleFlag() if it's a richedit one or if the system is earlier than XP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-20 13:38:25 +00:00
Vadim Zeitlin
b370e7587f fixed initial size of a control with wxDefaultSize: due to SetSize() call in Create() introduced in 1.243 it was created with 1 pixel height
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-20 10:06:43 +00:00
Vadim Zeitlin
9fcbe07663 we don't need to subclass text control twice to implement support for WM_COPY/CUT/PASTE, just handle them in MSWWindowProc() (this reimplements the change of rev 1.261 correctly)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-20 09:51:50 +00:00
Chris Elliott
5b204a088a copy univ setup.h for VC IDE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-20 09:45:42 +00:00
Stefan Csomor
4d7e2cdad3 best size fix for multi-line fields
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-20 08:45:48 +00:00
Vadim Zeitlin
c0c677934f make the continue button default, not the stop one, to avoid killing the application accidentally if it doesn't run under debugger and Enter is pressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-19 23:36:53 +00:00
Stefan Csomor
f02f4d43c5 fvisibility-inlines-hidden fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-19 13:49:26 +00:00
Mart Raudsepp
afc2d3bc8a Unswap example returns values for GetPluginsDir and GetResourcesDir. They got swapped by the introduction of
GetResourcesDir documentation in rev1.12, see
http://cvs.wxwidgets.org/viewcvs.cgi/wxWidgets/docs/latex/wx/stdpaths.tex.diff?r1=1.11&r2=1.12
Noticed by Giuseppe Bilotta


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-19 12:41:41 +00:00
Jouk Jansen
dbba880ee5 Committing in .
Update configuration file for OpenVMS

 Modified Files:
 	wxWidgets/setup.h_vms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-19 11:25:09 +00:00
Vadim Zeitlin
72d11e1734 don't include non existent tools/gettext directory in the distribution
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-19 10:52:34 +00:00
Vadim Zeitlin
9a137faacf removed (non existing any more) mobile/* files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-19 10:45:52 +00:00
Vadim Zeitlin
e019c6429d include wxUniv files into wxX11 distribution
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-19 08:29:37 +00:00
Stefan Csomor
f84a986cfc fixing -fvisibility-inlines-hidden problem (IsOk function didn't get exported)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-19 05:43:19 +00:00
Robin Dunn
f0db59f269 remove debug code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-18 23:52:48 +00:00
Robin Dunn
4b32f8c79e minor demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-18 23:19:04 +00:00
Robin Dunn
facc1d350b wx.lib.customtreectrl patches from Andrea Gavana.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-18 23:18:07 +00:00
Robin Dunn
89d1e2eeab reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-18 23:15:37 +00:00
Robin Dunn
09d48154cc Make wx.MenuItem.Destroy a NOP since the regular garbage collection
will handle the destruction now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-18 23:14:03 +00:00
Robin Dunn
bcf4fef288 Some docstring changes, default value for clockwise arg in AddArc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-18 23:13:12 +00:00
Robin Dunn
d7db6a4351 bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-18 20:22:32 +00:00
Václav Slavík
757b694ba8 wxDFB: fix events processing to support sockets events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-18 17:24:06 +00:00
Vadim Zeitlin
18c7af7e80 suppress a CodeWarrior warning about long to int conversion (bug 1616948)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-17 15:49:46 +00:00
Vadim Zeitlin
9e1c7236e0 don't treat foo in c:\\foo\bar as network share
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-17 14:52:10 +00:00
Vadim Zeitlin
9b9596de5e corrected tests to deal with multiple consecutive (back)slashes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-17 14:49:50 +00:00
Vadim Zeitlin
34841b216c added test for parsing c:\\aaa\bbb\ccc paths (aaa shouldn't be interpreted as network share)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-17 14:13:23 +00:00
Vadim Zeitlin
8c0f22340e don't set the label colour in DrawButtonLabel(), this is done by the caller in wxControlRenderer::DrawLabel()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-17 13:47:48 +00:00
Vadim Zeitlin
388703a573 forcefully get rid of the scrollbars in CalcWindowSizes() if we don't need them any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-17 02:13:04 +00:00
Vadim Zeitlin
698581160d for for initializing wxFileName with empty string returning true from IsOk() and tests for the correct behaviour (patch 1617156)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-16 23:11:48 +00:00
Vadim Zeitlin
779e158bb2 added links to Dir/FileName in construction section (part of patch 1617156)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-16 23:08:07 +00:00
Vadim Zeitlin
a2f2764dfb don't set score files permissions to 0666, why would this be needed or wanted? (and it didn't compile in Unicode build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-16 15:18:41 +00:00
Vadim Zeitlin
cd977e12f9 added include/msvc/wx/setup.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-16 15:11:38 +00:00
Vadim Zeitlin
0646b21922 test both wxMBConvUTFxx and wxCSConv(wxFONTENCODING_UTFxx), they should behave the same
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-16 15:09:32 +00:00
Robin Dunn
0d8a01fdaa Fix for the Demos menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-15 23:15:59 +00:00
Robin Dunn
8e509c4b0c wx.aui.AUI_ART_GRADIENT_TYPE --> wx.aui.AUI_DOCKART_GRADIENT_TYPE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-15 23:15:09 +00:00
Stefan Csomor
be13a26775 adding common search field file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-15 10:03:50 +00:00
Stefan Csomor
84d3bc74b1 using native architecture for development builds only, saves half of the compiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-15 06:14:31 +00:00
Vadim Zeitlin
cd840087aa fix compilation with wxUSE_STL=1 for VC6 (and presumably others) (bug 1614814)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-15 01:47:26 +00:00
Vadim Zeitlin
9c5fd8a319 respect background colour of wxStaticText in wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-15 01:32:26 +00:00
Vadim Zeitlin
5fe6c02bb8 correct GetBestSize() to return correct best size, i.e. the same size as AutoSize() would give to the control since the fix in 1.407
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-15 01:30:52 +00:00
Vadim Zeitlin
9b8a360d4d mention wxRmDir() and its opposite return value meaning in wxRmdir() description (bug 1614494)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-15 01:20:02 +00:00
Vadim Zeitlin
dc4689ef73 correct GetBestSize() to return correct best size, i.e. the same size as AutoSize() would give to the control since the fix in 1.407
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-15 01:09:06 +00:00
Václav Slavík
d8bfd72731 wxDFB's wxICON and wxBITMAP should use embedded XPMs, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-14 17:45:06 +00:00
Václav Slavík
2c4eefc056 compilation fix for wxUSE_ACCEL && !wxUSE_BUTTON
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-14 16:53:05 +00:00
Václav Slavík
6b44a33553 moved wxX11's wxSocketTable to private wxSocketEventDispatcher class reusable in other ports (backport from SOC2006_SOCKETS branch); use it in wxDFB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-14 14:13:57 +00:00
Václav Slavík
ede5511517 fixed wxStdRenderer::DrawButtonLabel() to not change text colour, otherwise menu items below a disabled item would be rendered incorrectly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-14 13:54:06 +00:00
Paul Cornett
8c70a78958 make sure style is set on menubar before querying its size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-14 07:19:21 +00:00
Vadim Zeitlin
dc7c33c455 really removed __WIN95__ (as mentioned, but not done, in last commit)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-14 02:08:13 +00:00
Vadim Zeitlin
9f8ffc5f8b test for __WIN32__ and not __WIN95__ when defining wxUSE_OWNER_DRAWN and wxUSE_RICHEDIT; don't even define __WIN95__ any more as it's not used anywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-14 02:07:03 +00:00
Michael Wetherell
9fea3325be Fix for printf positional parameter check from Francesco.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-14 00:07:15 +00:00
Vadim Zeitlin
0ec8d8f72c mention bcc Unicode build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-13 19:04:19 +00:00
Vadim Zeitlin
265db88d61 don't crash in Unicode build if command line arguments are not valid UTF-8 strings (bug 1614363)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-13 19:03:34 +00:00
Chris Elliott
e6444871c1 add distrib\mac\pbsetup-sh to mac distro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-13 18:55:36 +00:00
Vadim Zeitlin
4326154d28 added 2.8.0.1-1 packaged by myself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-13 18:24:43 +00:00
Vadim Zeitlin
31a8ceaf5f added a tiny script to build both ANSI and Unicode debian packages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-13 13:14:40 +00:00
Vadim Zeitlin
172d83f4ea cast size_t to unsigned long, not unsigned (even though there is no risk of truncation here, it's still better practice)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-13 13:04:44 +00:00
Michael Wetherell
62f04b576f Change wxMkDir/wxRmDir to _wmkdir/_wrmdir for Borland unicode builds to match
recent change of wxMBFILES.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-13 12:32:08 +00:00
Václav Slavík
0881232f66 make sure the window is fully painted before DirectFB WM shows it, otherwise artifacts could be seen on the screen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-13 12:08:30 +00:00
Chris Elliott
948ddccfab avoid configure, etc being in DOS format
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-13 09:46:20 +00:00
Chris Elliott
3fa27f794b move on to 2.8.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-13 09:25:35 +00:00
Chris Elliott
0ecdaebb94 tidy up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-13 09:24:20 +00:00
Chris Elliott
fd7741f907 try toi fix readme readme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-13 09:18:35 +00:00
Chris Elliott
840c7ccebf up to 2.8.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-13 08:49:18 +00:00
Robert Roebling
10eeb875ec Made wxSearchCtrl look like other text controls under GTK+.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-12 22:27:01 +00:00
Robert Roebling
b529726eff Add a few more controls to the toolbar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-12 21:44:51 +00:00
Robert Roebling
86b6546709 Moved allocate size correction code from combobox
to toolbar code since that is where the problem
    is and it affects other controls, too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-12 21:43:55 +00:00
Robin Dunn
0cdd04ad99 Add entry for 2.8.0.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-12 16:08:26 +00:00
Vadim Zeitlin
e28b9b9cb8 replaced 25 in libraries names with 28
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-12 11:50:04 +00:00
Robert Roebling
a73ae836df Add hack for correct height of wxComboBox in
toolbar.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-12 10:40:46 +00:00
Robin Dunn
a7a0597ee7 regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-12 07:25:29 +00:00
Robin Dunn
68fc5c8025 Compile fixes for Panther
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-12 07:23:17 +00:00
Robin Dunn
e6239913ac Typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-12 02:09:34 +00:00
Robin Dunn
8d3223cb32 Bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-12 01:52:43 +00:00
Robin Dunn
169f3a3d6f Added a set of button classes to wx.lib.buttons from David Hughes that
uses the native renderer to draw the button.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-12 01:51:18 +00:00
Robin Dunn
d1fa6ef3dd Mention wx.SearchCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-12 01:00:20 +00:00
Robin Dunn
af1f44f17e Also do LayoutControls from EVT_SIZE handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-12 00:53:52 +00:00
Robin Dunn
4ed51f4d1c Some more _BTN changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 21:32:09 +00:00
Robin Dunn
eebbbda154 Put a separator between the controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 21:27:41 +00:00
Robin Dunn
c33c11fa1d comment out test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 21:26:58 +00:00
Václav Slavík
2c74c55876 fixed wxCSConv to work again for iso-8859-1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 21:14:48 +00:00
Robin Dunn
9b4c231467 Fix compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 21:12:32 +00:00
Kevin Ollivier
c60122bf37 Change event names to clarify that they are only fired by button clicks, and note ways of retrieving search queries in the docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 20:32:16 +00:00
Robin Dunn
6235857802 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 20:13:21 +00:00
Robin Dunn
8fb6915941 Add docstrings and a dummy class to be used in builds that don't have wxSearchCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 20:10:37 +00:00
Robin Dunn
a8728f8f37 Remove AdjustedBestSize property since the function it calls is deprecated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 20:07:18 +00:00
Paul Cornett
1c62bcbeeb cleanup:
wrap everything in #if wxUSE_SEARCHCTRL,
    implementation include comes first


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 18:34:59 +00:00
Paul Cornett
09d93215cf cleanup:
wrap everything in #if wxUSE_SEARCHCTRL,
    implementation include comes first,
    parenthesize macro replacement containing operators,
    unused variable,
    use of pointer after delete,
    bizarre boolean expression


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 18:33:58 +00:00
Robin Dunn
70b63a9909 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 18:28:11 +00:00
Robin Dunn
5ec5b47f47 Docstring fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 18:26:49 +00:00
Kevin Ollivier
0a95d3369e Updating with Vadim's API changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 16:34:36 +00:00
Vadim Zeitlin
95004448ad removed unused variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 14:18:58 +00:00
Vadim Zeitlin
ef0abde66c more SetXXXVisible/ShowXXX() replacements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 14:17:44 +00:00
Vadim Zeitlin
8bc333d76d added $Id$ to the header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 14:14:07 +00:00
Vadim Zeitlin
5b43c75c1d added wx prefix to wxUSE_NATIVE_SEARCH_CONTROL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 14:08:17 +00:00
Vadim Zeitlin
7420cf5bf3 mention wxSearchCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 13:48:56 +00:00
Vadim Zeitlin
ec184e3242 1. Renamed Set/GetXXXVisible() to ShowXXX() and IsXXXVisible()
2. Moved wxSearchCtrlBase to wx/srchctrl.h to avoid duplicating it
3. Removed gcc #pragmas


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 13:48:18 +00:00
Vadim Zeitlin
8138b9a4e2 wxSearchCtrl is an editable control (too)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 13:34:27 +00:00
Vadim Zeitlin
0443b90dc4 deTABified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 13:31:53 +00:00
Vadim Zeitlin
1525e5435c restored variabes initialization in OnButtonSet() to avoid spurious MSVC warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 13:30:27 +00:00
Vadim Zeitlin
152e99d73f fix LaTeX syntax (non-escaped underscore)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 13:11:29 +00:00
Vadim Zeitlin
0bf0b6bb87 compilation fix for USE_PCH==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 12:58:20 +00:00
Vadim Zeitlin
7a71ffc175 use wx prefix for wxUSE_NATIVE_SEARCH_CONTROL macro name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 12:57:35 +00:00
Chris Elliott
675c8837a5 2.8.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 10:25:23 +00:00
Chris Elliott
6f011faaf0 fix watcom problem (thanks ABX)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 09:43:39 +00:00
Chris Elliott
2901bc729b sorry about bad commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 09:33:34 +00:00
Chris Elliott
38f74dffc1 fix missing includessrc/generic/srchctlg.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 09:30:26 +00:00
Włodzimierz Skiba
7cd8f61a4b Updated build files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 08:04:49 +00:00
Robin Dunn
2efce8f1ad include bitmap.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 07:48:02 +00:00
Kevin Ollivier
698db322d0 Improve default wxSearchCtrl GetBestSize() width and ensure that SetFocus focuses in the control's text area.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 07:35:46 +00:00
Robin Dunn
bda4b4c684 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 07:33:10 +00:00
Robin Dunn
ece5ecd8fb Move #include of srchctrl.h to wxPython_int.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 07:19:22 +00:00
Robin Dunn
3f7f284d55 Modified form of Patch #1611222, adds wxSearchCtrl (generic & native carbon HISearchField)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 06:19:27 +00:00
Robin Dunn
16ba9ea815 size_t's --> int's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 04:20:43 +00:00
Kevin Hock
89ba044b37 As per discussion in bug #1612106, change default socket flag from NONE to NOWAIT to prevent application hang
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 02:58:07 +00:00
Paul Cornett
36e15396a7 size_t passed to %d format specifier
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-10 23:37:32 +00:00
Václav Slavík
0eae18a701 added brief installation instructions for wxDFB port
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-10 16:01:11 +00:00
Václav Slavík
d1bb1bb5bf 1. removed code that already exist in ~wxTLWBase from ~wxTLW
2. reordered TLW destruction so that the TLW is fully usable until all children (that could possibly use it from their dtors) are destroyed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-10 15:58:18 +00:00
Václav Slavík
f0c3b72446 removed code that already exist in ~wxTLWBase from ~wxTLW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-10 15:53:29 +00:00
Vadim Zeitlin
64b3c26259 set wxDATAVIEW_CELL_SELECTED in flags passed to Render() (patch 1611212)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-10 15:37:31 +00:00
Vadim Zeitlin
b517351bc5 GetLongPath() should just do nothing under CE as there are no short/long paths there (patch 1612271)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-10 15:35:41 +00:00
Vadim Zeitlin
870cf35c45 replaced size_t with unsigned int in wxAnimation and related classes and a couple of minor cleanups (use C++ comments; wrap long lines; put private parts after the public ones)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-10 14:18:37 +00:00
Vadim Zeitlin
e02c9235c0 added collpane sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-10 13:50:24 +00:00
Vadim Zeitlin
84abef1a34 fixed off by one error in OnButtonSet()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-10 13:46:12 +00:00
Vadim Zeitlin
2995b68812 compilation fix for g++ < 3.4 after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-10 13:21:41 +00:00
Stefan Csomor
83f787ba21 switching to autorelease
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-10 13:19:50 +00:00
Stefan Csomor
9611686694 adding an autorelease capability (got weird crashes when deleting tools from a toolbar otherwise)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-10 13:08:42 +00:00
Włodzimierz Skiba
95c336d620 Implemented Set button for date picker page.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-10 10:49:18 +00:00
Włodzimierz Skiba
8a8e9df88a Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-10 10:47:44 +00:00
Robin Dunn
9baaf6e8a3 test popup menus with checkable items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-10 01:50:05 +00:00
Robin Dunn
83dea146e2 wxStaticLineNameStr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-10 01:48:28 +00:00
Michael Wetherell
d083d20168 Fix so that AR/AROPTIONS can be overridden on the configure command line when
using Sun CC.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 23:43:54 +00:00
Michael Wetherell
e3a10e0c62 Revert last commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 22:28:11 +00:00
Michael Wetherell
323d1f295f Fix for the compiler checks. The compiler flags like SUNCC and SUNCXX were
only being set when language being tested matched the current language, so
C++ flags weren't being set since we changed the default language back to C.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 22:09:57 +00:00
Michael Wetherell
b71ff4d35d Fix for the compiler checks. The compiler flags like SUNCC and SUNCXX were
only being set when language being tested matched the current language, so
C++ flags weren't being set since we changed the default language back to C.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 22:04:53 +00:00
Paul Cornett
164e8d41ae indentation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 19:49:40 +00:00
Paul Cornett
d19ebfaa43 unused variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 19:49:02 +00:00
Robert Roebling
bdb148e06d Update Readme.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 19:48:46 +00:00
Paul Cornett
1c3693e8f5 correct access for virtuals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 19:48:21 +00:00
Paul Cornett
b3ffb94d27 SetInsertionPointEnd should make the insert point visible, as SetInsertionPoint does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 17:50:50 +00:00
Paul Cornett
67461bd124 rename RemoveIdleSource to SuspendIdleCallback
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 17:46:20 +00:00
Vadim Zeitlin
b31663c9d7 mention wxCSConv(utf-16/32) fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 16:20:26 +00:00
Vadim Zeitlin
1c714a5d07 implement To/FromWchar() as wxCSConv methods, otherwise wxCSConv(wxFONTENCODING_UTF16) didn't work correctly even if the underlying wxMBConvUTF16 did
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 16:19:34 +00:00
Vadim Zeitlin
b51abd7380 Unicode compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 15:58:32 +00:00
Vadim Zeitlin
6f3e46c204 added test cases for wxTextInputStream and UTF-xx encoded text (based on patch 1611286)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 15:57:33 +00:00
Vadim Zeitlin
73b30256a0 default name of wxStaticLine should be wxStaticLineNameStr, not wxStaticTextNameStr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 14:52:59 +00:00
Vadim Zeitlin
23c06cde5d ignore warning 4535 for VC8 too as it still seems to be harmless
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 14:38:41 +00:00
Robert Roebling
31a7f7c5ea Mention that GetEditControl is only missing in Mac version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 13:42:29 +00:00
Stefan Csomor
507d5748d6 fixing memory leaks (toolbartool not released) and a bug where native embedded controls were not beeing released correctly in situations where the native toolbar does not get really used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 09:48:28 +00:00
Paul Cornett
5a3ef19432 fix for SetPosition/SetInsertionPoint when called during Freeze
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 06:21:15 +00:00
Robin Dunn
6d3e4e02c7 Clear error if wxPyConvertSwigPtr failed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-08 23:47:12 +00:00
Robin Dunn
d81ab2beb8 Use correct flags Chinese
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-08 23:46:22 +00:00
Robin Dunn
a2bc9053f8 MustHaveApp(wxWindow_FromHWND);
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-08 23:28:47 +00:00
Paul Cornett
ec439571cb re-enable blocking of wx idle events when assert dialog is showing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-08 17:22:08 +00:00
Stefan Csomor
bf9a1615ed switching from native rtti to wxrtti
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-08 15:06:38 +00:00
Robin Dunn
589abe2cdb get rid of one of the extra slashes in the download URLs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-08 02:46:22 +00:00
Vadim Zeitlin
bf34520682 1. don't assert if we're passed an empty defaultDir and full path in
defaultFileName (the other ports don't do it)
2. don't duplicate gtk_file_chooser_set_current_folder() calls for
   save and open dialogs unnecessarily
3. reformated a couple of comments to fit in 80 columns


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-08 00:35:55 +00:00
Vadim Zeitlin
04680d2c7e use MAP_INVALID_UTF8_TO_PUA instead of MAP_INVALID_UTF8_TO_OCTAL in wxMimeTextFile to avoid quoting backslashes (which occur naturally in MIME files) in Unicode builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-08 00:01:52 +00:00
Robert Roebling
8798d146b8 No longer break idle (and indeed all) event handling
after using the assert dialog.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 21:38:09 +00:00
Robin Dunn
6ca744908a minor build tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 21:03:45 +00:00
Robin Dunn
d48ae46b24 ignore a const overloaded method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 21:02:57 +00:00
Paul Cornett
9e477492e2 bitwise vs. logical operator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 16:29:58 +00:00
Paul Cornett
61d8dec77f static functions don't need an instance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 09:00:52 +00:00
Paul Cornett
d7e15728ea correct access for virtual, declare variable only if used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 08:59:19 +00:00
Paul Cornett
80a91c146a class/struct mismatch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 08:57:44 +00:00
Paul Cornett
291324e376 correct access for virtuals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 08:56:57 +00:00
Paul Cornett
bc48a5d75e correct access for virtuals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 07:22:55 +00:00
Paul Cornett
f4c4697652 remove redundant test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 07:20:56 +00:00
Paul Cornett
6fbe4b247a use correct test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 07:20:16 +00:00
Paul Cornett
f7b7521722 indentation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 07:18:38 +00:00
Paul Cornett
41e2aad530 use computed justification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 07:18:03 +00:00
Paul Cornett
964c139b07 unused variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 07:16:14 +00:00
Paul Cornett
02112408ba fix wrong parenthesizing of boolean expressions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 07:15:07 +00:00
Paul Cornett
2c685efab1 correct access for virtuals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 05:50:54 +00:00
Paul Cornett
7d7e4ed073 minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 05:47:43 +00:00
Paul Cornett
34e2020099 don't use %d to print pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 05:47:05 +00:00
Paul Cornett
3498362ed5 correct access for virtuals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 05:44:44 +00:00
Robin Dunn
4fe9ce473e wxRect2DDouble --> wxRect2D
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 03:27:25 +00:00
Robin Dunn
cce4a2cec8 clip the bitmap to the size of the source DC in DoBlit if neccessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 03:07:30 +00:00
Vadim Zeitlin
16d17da6ca explicitly call OnExit() in the ports which don't use wxEventLoopManual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-06 23:28:44 +00:00
Kevin Ollivier
99b37d672b Implement SortItems for native OS X wxListCtrl to match behavior with other impls, and request an update when an item's data changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-06 23:14:20 +00:00
Robert Roebling
0588f41d66 Correct Unicode support topic.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-06 21:47:03 +00:00
Robert Roebling
4d21409ebc I blindly believe that WinCE doesn't delete a
directory with CreateDirectory.
  [ 1610415 ] wxWinCE remove directory


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-06 21:40:00 +00:00
Vadim Zeitlin
5059e05d42 we don't need to include wx/url.h from the header, we do need to include wx/uri.h from the .cpp file (fixes compilation when wxUSE_URL==0 but wxUSE_PROTOCOL_FILE==1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-06 19:20:40 +00:00
Václav Slavík
5ea50c92a5 use WXDFB_FONTPATH variable instead of WXDFB_FONTDIR and search the dirs recursively for fonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-06 18:48:04 +00:00
Vadim Zeitlin
026ff75b75 don't leave dummy extension in of.lpstrDefExt (bug 1609614)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-06 17:17:37 +00:00
Vadim Zeitlin
c66972ccc2 ask for BPP for .bmp extension, not .bpp one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-06 17:13:11 +00:00
Kevin Ollivier
c70aaa0984 Fix eating of key events (cleaner impl will come after 2.8, right now I want to touch as little common code as possible) and add some extra checks to the Cocoa delegates as they are getting called when the Carbon control isn't in a valid state.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-06 04:37:32 +00:00
Robin Dunn
248802d010 Add wxGraphicsMatrix::Get
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-05 23:42:52 +00:00
Robin Dunn
474e2ff2c8 Try using locale.getpreferredencoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-05 20:42:32 +00:00
Robin Dunn
30e24d9dd5 fix building/running of tex2rtf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-05 20:40:50 +00:00
Robin Dunn
5fe636c6e2 wx.lib.masked: Patch from Will Sadkin. Includes Unicode fixes, plus
more helpful exceptions and ability to designate fields in mask
without intervening fixed characters.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-05 18:57:31 +00:00
Robin Dunn
482976649a distrib fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-05 18:55:40 +00:00
Robin Dunn
9e1729e51c fix some warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-05 18:11:20 +00:00
Julian Smart
e96d32fb15 Changed month
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-05 17:47:30 +00:00
Vadim Zeitlin
1457f12c31 use #define instead of static const to avoid warnings about unused TRACE_CLIPBRD in release builds with compilers which do support vararg macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-05 17:04:41 +00:00
Vadim Zeitlin
479a2845f3 updated for 2.8.0 rc3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-05 15:23:50 +00:00
Vadim Zeitlin
09dfa6a009 removed a couple of useless #if wxUSE_UNICODE tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 23:05:04 +00:00
Vadim Zeitlin
72a3ac9b55 uncommented code in wxgtk_list_store_get_value() and fixed its compilation (but no support for per-item encodings yet)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 22:59:27 +00:00
Vadim Zeitlin
b87c345b32 --with-gnomeprint not needed any longer, it's the default now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 22:41:46 +00:00
Vadim Zeitlin
06629565dc enable gnomeprint code by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 22:40:25 +00:00
Vadim Zeitlin
1ecacba436 removed extra comma in --enable-dataviewctrl helpstring
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 22:37:16 +00:00
Robin Dunn
5917d04127 Add ToggleWindowStyle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 20:40:05 +00:00
Robin Dunn
c8aaaf9e30 Add Get/SetLogicalFunction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 20:35:41 +00:00
Robin Dunn
f343983a32 Add 2.5 dirs to PREFIXES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 20:34:35 +00:00
Kevin Ollivier
ccb9a40777 Do not uninstall wxaddons module or files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 20:26:04 +00:00
Robin Dunn
53133108ac Document new location of the patched swig
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 20:25:17 +00:00
Robin Dunn
6d14f6975e fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 20:24:17 +00:00
Kevin Ollivier
da97b2609e Mention the wxSystemOption for turning on the generic wxListCtrl on OS X in the docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 18:54:12 +00:00
Vadim Zeitlin
ba59de5d95 add test for wxLaunchDefaultBrowser, it makes sense to have it in this sample too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 17:53:32 +00:00
Vadim Zeitlin
7ea70037e0 unused parameter warning fix after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 17:41:40 +00:00
Vadim Zeitlin
d04cc1d5da quick fix for TRACE_DND being undefined for compilers without vararg macros support in release builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 17:11:37 +00:00
Vadim Zeitlin
a502b2841d fix a problem with (sometimes) editing an invalid item in EditLabel() (Tim Kosse)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 17:07:57 +00:00
Vadim Zeitlin
19def5e7e6 fix (harmless) assert in virtual list control under Vista
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 17:05:29 +00:00
Vadim Zeitlin
d9bbb2d877 use wxMBConvUTF8(MAP_INVALID_UTF8_TO_OCTAL) for all access to MIME data files (extends fix of rev 1.77; replaces the change of rev 1.81); fixes spurious errors when reading KDE MIME files in Unicode builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 16:53:02 +00:00
Vadim Zeitlin
abc912df18 give the file name in the error message about failed Unicode conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 16:50:51 +00:00
Julian Smart
8cc5e8cff4 Avoid generating two events on selection (when MSWCommand returns false,
the default window procedure is called in window.cpp and this generates
a further event)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 16:33:51 +00:00
Vadim Zeitlin
cd8667eb80 removed wxGTK-specific 2 pixel border around the window which is the sole child of a wxTLW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 14:30:11 +00:00
Vadim Zeitlin
927637fdaf allow dynamically changing most of text control styles in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 12:39:52 +00:00
Vadim Zeitlin
403e664e5b removed empty and unused CalculateScrollbar() method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 11:39:27 +00:00
Vadim Zeitlin
e23d401900 added documentation of return value of ToggleWindowStyle()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 11:19:30 +00:00
Vadim Zeitlin
d63312a977 added a small helper ToggleWindowStyle() function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 11:10:59 +00:00
Vadim Zeitlin
9ec927f89b ensure that scroll position is always in scrolling range, otherwise we could have a window without scrollbars at all but with non zero scroll offset which was really strange
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 11:05:59 +00:00
Vadim Zeitlin
ba4c4fc6b5 removed explicit initial size for BugsGridFrame, it's not needed as its size is set to fit to the grid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 10:47:02 +00:00
Vadim Zeitlin
15f99569c1 removed unneeded SetMargins(0, 0) call (this is the default) in BugsGridFrame ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 10:44:20 +00:00
Vadim Zeitlin
39621ee0e7 added the missing parameter to SetScrollbars() call in AutoSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 10:43:43 +00:00
Vadim Zeitlin
ba2eff22a4 replaced wxLogDebug with wxLogTrace in wxExecute() to suppress annoying messages each time it is called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 10:32:12 +00:00
Julian Smart
85d3d198c2 Use font encoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 10:16:11 +00:00
Julian Smart
1dfeae4c13 An attempt at fixing the Unicode conversion errors when loading
configuration files - try ISO-8859-1 if Unicode fails.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 10:07:53 +00:00
Julian Smart
67339f7d9d Added SetEncoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 08:26:24 +00:00
Jouk Jansen
1d24c6a3a5 Committing in .
Update for (experimental) OpenVMS wxGTK2 compilation

 Modified Files:
 	wxWidgets/src/common/descrip.mms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 07:58:42 +00:00
Vadim Zeitlin
e4a84806c6 create mask from alpha channel if the bitmap has no mask, this is better than using grey as transparent colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 02:09:59 +00:00
Vadim Zeitlin
1c304f30b9 use Remove(-1) instead of looping over all images manually in RemoveAll()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 01:46:07 +00:00
Vadim Zeitlin
588f410058 moved assertdlg_gtk.[ch] to GTK_LOWLEVEL_SRC/HDR to fix wxUniv/GTK build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 01:14:25 +00:00
Michael Wetherell
90eaf43334 Check the size of the boolean type used by an external jpeg lib on Windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 21:59:47 +00:00
Michael Wetherell
0ce986140a Check for wxFS_READ in OpenFile.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 21:49:18 +00:00
Vadim Zeitlin
0c8433d097 fix for assert which happened if the checkbox was cleared in a control with wxDP_ALLOWNONE style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 21:31:32 +00:00
Vadim Zeitlin
d15e689395 removed the workaround for our SetWindowStyleFlag() being called from base class Create(), not needed any more after change in rev 1.291 of src/common/wincmn.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 21:30:23 +00:00
Vadim Zeitlin
e96248c48e don't use SetWindowStyleFlag() in wxWindowBase::CreateBase() but assign to m_windowStyle directly; this allows SetWindowStyleFlag() in the derived classes to change the styles of the control without worrying about whether it had been already created
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 21:27:52 +00:00
Vadim Zeitlin
0ed3b81230 fixed long standing bug with Fit() still showing the scrollbars: the old code for rounding up the grid size to a multiple of scroll step was wrong as it did for the grid itself and not just the scrollable area (and also assorted off by 1 errors and a workaround for a bug in wxMSW SetClientSize() implementation whihc may sometimes leave space for unneeded scrollbar)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 20:54:04 +00:00
Robert Roebling
913c846511 Missing bracket.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 20:50:09 +00:00
Robert Roebling
b4e802d28b Move list of raw overviews under the categorized
list (until we find a way to suppress the list).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 20:26:53 +00:00
Vadim Zeitlin
f984d2afda suppress warnings about double to short conversions (but maybe we should round the values instead of truncating them here?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 18:56:25 +00:00
Vadim Zeitlin
be74dc8800 don't call fputs() with NULL buffer, it crashes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 18:54:48 +00:00
Vadim Zeitlin
e94e2d73e1 added default value for GetLocalizedResourcesDir() category parameter, as in the base class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 18:53:23 +00:00
Vadim Zeitlin
2f0b521ea6 added a dummy return to GetItemState() to suppress gcc warning (but shouldn't we assert in all these functions if neither generic nor native implementation is used instead?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 18:37:40 +00:00
Vadim Zeitlin
a855f8ccca fixed gcc warning about size_t/src/common/dbgrid.cppi printf format spec mismatch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 18:20:28 +00:00
Vadim Zeitlin
62710178a6 don't show wxOnAssert() frame neither in the assert dialog, it's not interesting as it's always the same
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 16:29:23 +00:00
Vadim Zeitlin
8829531cdb don't show line numbers as 0 when they're not available, show empty string instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 16:27:15 +00:00
Vadim Zeitlin
364663aa72 replaced the button suppressing the assert dialog with a checkbox (a slightly modified patch from Francesco Montorsi)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 16:15:01 +00:00
Stefan Csomor
a54bae7af7 we must turn off AA for XOR etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 15:48:40 +00:00
Stefan Csomor
277ccdafe1 adding raster op hook to graphics context (10.4 only, partial XOR/INVERT support)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 15:30:29 +00:00
Stefan Csomor
b64e704702 paper size, duplex support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 15:28:17 +00:00
Stefan Csomor
c7c6e54bae missing reversed orientation assignments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 15:26:01 +00:00
Stefan Csomor
4280b8797f adding raster op hook to graphics context
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 15:23:42 +00:00
Stefan Csomor
e22cf4b310 adding raster op hook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 15:15:43 +00:00
Vadim Zeitlin
6fef2483d9 stop the rename timer when the current item changes (Tim Kosse)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 14:19:42 +00:00
Vadim Zeitlin
fcb29b2338 no changes, just de TABified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 13:59:40 +00:00
Vadim Zeitlin
a9796db88f backported changes from gtk/window.cpp 1.679 and dnd.cpp 1.116 checking that the drag and drop is started from a mouse click handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 13:59:27 +00:00
Vadim Zeitlin
70cf18ef47 remove pointer to the changelog in the docs which isn't up to date
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 13:52:48 +00:00
Vadim Zeitlin
be16b85933 fix initial layout of the widgets pages: avoid calling Fit() on them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 13:43:44 +00:00
Vadim Zeitlin
70c536f394 added --disable-vararg_macros option to allow not using vararg macros even if they're supported (useful if the user code doesn't want to use C99 extensions)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 13:41:06 +00:00
Julian Smart
33dddf589a Text style fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 10:11:22 +00:00
Paul Cornett
559f60efa8 better fix for keeping m_pos in sync
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 05:13:00 +00:00
Paul Cornett
442a960c14 fix memory leak and performance problem in Freeze
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 04:09:53 +00:00
Vadim Zeitlin
0ca037d636 removed many redundant 'overview's; tried to make more clear what each overview covers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 22:47:45 +00:00
Vadim Zeitlin
7d2c9deba4 removed 2 more extra '{'s
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 18:35:55 +00:00
Vadim Zeitlin
e2622169f4 escape underscores to fix the docs build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 18:33:35 +00:00
Vadim Zeitlin
7975a361bb remove extra '{' which broke docs compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 18:17:33 +00:00
Robert Roebling
a58e5dad46 Managed to trick LaTex into using the overviews
and using the nicer formating of them


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 17:14:53 +00:00
Vadim Zeitlin
cc4f194e48 added Get(MultiLine)TextEvent() overloads returning wxSize which are used by wxPackageManager (patch 1595123)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 14:11:15 +00:00
Vadim Zeitlin
1f640c45d4 more woodoo in DoGetBestSize() to get rid of tree borders for default-sizes controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 12:51:34 +00:00
Vadim Zeitlin
24bc71f48b reset the old disabled image list even if there is no new one (bug 1604374)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 12:50:58 +00:00
Vadim Zeitlin
869c999938 SetFormat() exists in generic version only (bug 1605753)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 12:50:24 +00:00
Vadim Zeitlin
7c1bf4c171 escape '<' in strings with Pango markup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 12:49:49 +00:00
Robin Dunn
723282b61d reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 05:00:26 +00:00
Robin Dunn
cf0d4bfc63 Typo and whitespace tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 04:53:37 +00:00
Robin Dunn
327bf990ab Implemented wxLocale::IsAvailable for unix systems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 04:52:46 +00:00
Robin Dunn
13db99f1f5 Added some modules from Riaan Booysen:
* wx.lib.flagart:  contains icons of the flags of many countries.

    * wx.lib.art.img2pyartprov: makes images embedded in a python file
      with img2py available via the wx.ArtProvider.

    * wx.lib.langlistctrl: A wx.ListCtrl for selecting a language,
      which uses the country flag icons.

    * An I18N sample for the demo.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 04:51:13 +00:00
Robin Dunn
d8dd53b239 Fix compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 23:52:54 +00:00
Robin Dunn
8d4b048e27 Ensure that the listctrl takes the focus on left-click
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 23:51:49 +00:00
Kevin Ollivier
bb29edfaa2 Allow wxGenericListCtrl to correctly handle Get/SetScrollPos [bug 1584099].
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 20:31:25 +00:00
Kevin Ollivier
d10d4362bb Native control on Mac draws its own arrows, so don't draw them ourselves in that case.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 20:01:22 +00:00
Robin Dunn
adf07e34d9 Fix DrawHeaderButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 16:07:30 +00:00
Jouk Jansen
98528e9b94 Committing in .
added some #ifdef __WXDEBUG__ in the proper places around
wxLogTrace(TRACE_DND... statements

  Modified Files:
 	wxWidgets/src/gtk/dnd.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 14:38:39 +00:00
Julian Smart
7c081bd21c Fix for newline breakage
Inserting text now retains style at current position


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 13:52:31 +00:00
Václav Slavík
7bfe6e3091 destroy IDirectFBWindow in wxTLW dtor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 13:02:20 +00:00
Julian Smart
46ee0e5bf8 Fixed insertion point bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 12:39:21 +00:00
Václav Slavík
4e1d79d308 implemented wxFontEnumerator for wxDFB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 10:14:28 +00:00
Robin Dunn
c97c995223 Return optimal label width from DrawHeaderButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-30 23:44:55 +00:00
Julian Smart
3706bae03e Correction to style code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-30 14:52:36 +00:00
Julian Smart
07b2748093 Correction to accessors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-30 13:50:12 +00:00
Robert Roebling
31383ebcc3 [ 1604925 ] Fix loading MIME types for KDE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-30 13:24:32 +00:00
Julian Smart
c3e54dee91 Removed redundant code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-30 11:55:09 +00:00
Michael Wetherell
a4cc2d0919 Add a hack to allow an external jpeg library to still be used on
cygwin/mingw/wine now that their windows headers define a type boolean
conflicting with the jpeg headers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-29 21:42:57 +00:00
Robert Roebling
7fc5133e4c Blind fixes for FindItem() for the native OS X
version of wxListCtrk.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-29 21:34:17 +00:00
Robert Roebling
2373946593 Simpler version of [ 1604590 ] wxListCtrl::FindItem & wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-29 21:10:21 +00:00
Robin Dunn
71975d807b use a more appropriate setter for the Selection property
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-29 15:57:18 +00:00
Robin Dunn
b4eecebd42 Another package name fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-29 15:55:57 +00:00
Mart Raudsepp
4db88d421b [GTK] Do not define *_DEPRECATED macros for the gtk+ stack in preparation of a stable wx release, as we can not
know what functions become deprecated in future releases of gtk+ and co, while the stable wx release should last
the test of time.
We could do some preprocessor magic to automatically define the macros only for development releases (whose minor
version number is odd, not even), but as the releases is close, don't do this at this point, as some compilers
might not like the initial try. I will bring these macros back to HEAD, together with the automation, once 2.8
branches.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-29 04:10:36 +00:00
Vadim Zeitlin
f85f5ddf88 fixed unused variable warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-29 00:29:13 +00:00
Robin Dunn
ae0205b955 A couple new simple tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-28 23:25:38 +00:00
Robin Dunn
a69276900c reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-28 23:24:56 +00:00
Robin Dunn
670717736f Added scripts to build debian packages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-28 23:24:06 +00:00
Robin Dunn
709d7afa23 regenned ReST docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-28 23:23:21 +00:00
Robin Dunn
800bd33631 Avoid assert on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-28 23:12:23 +00:00
Robin Dunn
2dfa37d69e Make room for the focus ring to be visible on Mac.
wxMac fix for resetting the focus to the textctrl when the combo ctrl gets it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-28 23:11:21 +00:00
Michael Wetherell
e26a41ba70 Rename boolean to wxjpeg_boolean to avoid conflicts.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-28 20:44:32 +00:00
Kevin Ollivier
c43411879c Fix one-off error in virtual wxListCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-28 17:33:25 +00:00
Benjamin Williams
e319bb30f7 added wxAuiNotebook::Split() documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-28 16:35:31 +00:00
Michael Wetherell
e604ac7991 Rename boolean to wxjpeg_boolean to avoid conflicts, e.g. with boolean
defined in the Windows headers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-28 16:24:45 +00:00
Benjamin Williams
d606b6e977 added wxAuiNotebook::Split(); hooked up wxAuiMDIParentFrame::Tile() to it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-28 15:25:59 +00:00
Julian Smart
c3e016e45e Added wxAuiNotebook::GetPageText, GetPageBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-28 14:55:05 +00:00
Michael Wetherell
0eb69691e1 Put setting of CC and CXX for wine back before compiler checks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-28 14:47:32 +00:00
Kevin Ollivier
02095058ef Fix SetItemCount bug with adding items, a blind fix for generic control dnd issues, native control impls for GetTopItem and GetScrollPos, and improve the code paths of the drawing color code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-28 06:52:39 +00:00
Kevin Ollivier
9fe25f1329 Propagate key up events to the wxGenericListCtrl parent, like we do with key down and char events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-28 04:52:21 +00:00
Vadim Zeitlin
e8f33d9e11 better fix for scope resolution operator and Borland (bug 1592939): don't use it for struct stat but do use it for functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 22:04:41 +00:00
Vadim Zeitlin
bc4b477910 don't define wxMBFILES for Borland, this breaks compilation with wxUSE_UNICODE_MSLU (bug 1592939) and genereally speaking doesn't make any sense
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 21:48:21 +00:00
Vadim Zeitlin
d28e0b069f don't use scope resolution operator for Borland in wxPOSIX_IDENT() (part of the fix for bug 1592939)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 21:38:31 +00:00
Vadim Zeitlin
189cad73eb include stdio.h to get FILE declaration (bug 1592935)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 21:30:45 +00:00
Robert Roebling
0b24122688 [ 1603704 ] Fix g++ -Wall warning in gtk/src/toplevel.cpp
(when compiling against GTK+ 2.10).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 21:29:41 +00:00
Robert Roebling
92696e94f4 Compile fix of no backtrace() is present.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 21:20:50 +00:00
Robin Dunn
d754c85ef9 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 20:18:47 +00:00
Robin Dunn
9043ae2707 Test for wx.TB_HORZ_LAYOUT too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 20:17:40 +00:00
Kevin Ollivier
3611cec2e7 Ensure that InsertItem doesn't lead to a crash in virtual mode, and don't use SortProperty to determined column clicked in virtual mode as we cannot sort virtual controls and it returns an invalid value.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 18:40:06 +00:00
Julian Smart
7f28a65658 Fixed some typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 17:03:45 +00:00
Vadim Zeitlin
16f32ee765 avoid assert in DoGetBestSize() for an empty tree
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 16:36:09 +00:00
Vadim Zeitlin
b9643cd619 cache the best size in overridden DoGetBestSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 16:35:06 +00:00
Vadim Zeitlin
8aa2736f3c don't link with GUI libraries when wxUSE_GUI==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 15:03:59 +00:00
Vadim Zeitlin
db419f1f32 added test for Get/UngetWriteBuf()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 15:03:24 +00:00
Vadim Zeitlin
c56d73fe00 NUL terminate the string in UngetWriteBuf(len) (bug 1594189)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 15:03:06 +00:00
Vadim Zeitlin
269564eb1a make Ok button in the dialog the default one as people expect it (see bug 1582051)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 15:02:49 +00:00
Vadim Zeitlin
1d2c115e44 fixed missing initialization of line variable in InitFrames() (coverity id 213)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 15:02:32 +00:00
Vadim Zeitlin
b1bc4b6500 replaced assert in wxPrintfConvSpec::ReplaceAsteriskWith() with a wxCHECK to avoid crash in release builds (coverity id 212)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 15:02:15 +00:00
Vadim Zeitlin
566921195a ensure that image data is always freed by using wxON_BLOCK_EXIT in ReadTGA() (coverity id 202)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 15:01:58 +00:00
Vadim Zeitlin
ffe3c9ed98 need to tweak the standard header with BCC 5.6 to build wx currently
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 15:01:24 +00:00
Chris Elliott
24e9f36bcc copy setup.h from setup0.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 14:12:57 +00:00
Chris Elliott
13df6d3103 up to 2.8.0rc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 13:37:12 +00:00
Chris Elliott
1af8095563 add setup.h to tarball
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 13:36:18 +00:00
Chris Elliott
0657342749 remove .# from makefile tarball
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 13:25:06 +00:00
Chris Elliott
5baaee7c07 fix SF bug 1602033
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 13:16:38 +00:00
Chris Elliott
88ed33cca9 first try at getting os watcom makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 11:50:35 +00:00
Włodzimierz Skiba
c58ba15f08 Warning fixes and source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 11:04:21 +00:00
Włodzimierz Skiba
db1e00f6aa Warning fix for eVC4 build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 10:56:37 +00:00
Chris Elliott
8f9a324c17 create single htb and htm docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 10:20:12 +00:00
Michael Wetherell
7c8ec1005f Check for G_FILENAME_ENCODING=@locale case insensitively.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 09:50:36 +00:00
Włodzimierz Skiba
2b041d4673 Cast adjusted to expected integer range.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 09:21:08 +00:00
Kevin Ollivier
4cd82e115c Implement SetItemState for native virtual listctrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 04:13:04 +00:00
Kevin Ollivier
81fd047894 Updates for AUI wrappers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 03:55:58 +00:00
Kevin Ollivier
8c065688b7 Moved wxpyaddons.wxcommunity.com to wxaddons.wxcommunity.com to be consistent about naming. Also, removed hardcoded url variable, added a note about grabbing the URL, and updated tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 23:50:19 +00:00
Julian Smart
9766efc33f Don't apply bounding box adjustment when using generic tree control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 22:12:20 +00:00
Julian Smart
b35c7335f1 Added DnD guard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 21:50:51 +00:00
Julian Smart
48c8439fdb Further wxRTC doc updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 20:41:48 +00:00
Vadim Zeitlin
e215ce5cec replaced some chars with wxChars (patch from Tim Kosse)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 20:20:52 +00:00
Vadim Zeitlin
a38cd629d7 compilation fix for BCC 5.5: use IsSameAs() instead of accessing m_refData directly which somehow fails with this compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 20:18:53 +00:00
Václav Slavík
82c74d8950 destroy IDirectFBWindow in wxTLW dtor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 20:05:14 +00:00
Robert Roebling
c8743553a1 [ 1602455 ] [docs] Fix docs for event used by pickers & collapsiblepane
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 18:48:36 +00:00
Robert Roebling
d182ca1ba6 [ 1603286 ] make wxMessageDialog Gnome HIG conform for yes_no+cancel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 18:46:00 +00:00
Robert Roebling
0f7e35594f [ 1602454 ] [docs] Fix wxANIM_ enum values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 18:43:24 +00:00
Robert Roebling
e8da6b7cef [ 1601396 ] Fix copy of empty wxXmlDocuments
and minor doc update.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 18:41:43 +00:00
Benjamin Williams
68fd4f2c14 selection bug fixed in wxAuiNotebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 18:38:36 +00:00
Benjamin Williams
793d436530 wxAuiNotebook minor tab art interface cleanups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 17:05:43 +00:00
Mattia Barbon
dab61ed75f Use 1 as true and "" as false, not the opposite.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 14:22:29 +00:00
Julian Smart
486dd03abb Styles now sorted alphabetically
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 12:47:53 +00:00
Robin Dunn
cbdf0fb0b8 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 07:02:21 +00:00
Robin Dunn
4de4adcedc Compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 07:00:54 +00:00
Robin Dunn
b5bc23fbcf Add GetWindowBorderSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 06:59:56 +00:00
Robin Dunn
f3fcecd6ce More layout tweaks for wxComboCtrl on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 06:45:45 +00:00
Robin Dunn
cf511e872e Added DrawComboBoxDropButton and DrawPushButton to wxRendererNative
for Mac.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 06:45:01 +00:00
Robin Dunn
c66ed6682a use sizes from the HIG for the best height of the ComboCtrl on wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-25 22:48:47 +00:00
Julian Smart
9e7642ae0d Fix tree size calculation by using logical item position
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-25 21:12:31 +00:00
Chris Elliott
ce6fbc83ac fix missing int return type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-25 18:34:56 +00:00
Vadim Zeitlin
4f4c31daa4 update for 2.8.0; also switched to UTF-8 from ISO8859-2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-25 17:37:11 +00:00
Stefan Neis
252a502277 Replaced "egrep" by "$EGREP" (predefined by configure anyway).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-25 17:29:21 +00:00
Vadim Zeitlin
ddbd3cd58b force linux/joystick.h header compilation (and not just presence) check to fix the build under Linux 2.6.16 with its broken joystick.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-25 16:20:11 +00:00
Vadim Zeitlin
54a4121a62 corrected wxTreeCtrl::GetBestSize() for a control with borders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-25 14:54:22 +00:00
Vadim Zeitlin
333d70525c added wxWindow::GetWindowBorderSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-25 14:52:52 +00:00
Vadim Zeitlin
9653ac08a5 IPC sample projects renamed from ipc_xxx to ipc_ipcxxx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-25 14:24:34 +00:00
Vadim Zeitlin
7dc467c500 rename some projects to avoid project name clashes in samples.dsw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-25 14:22:44 +00:00
Vadim Zeitlin
77c8787c16 move wxIsDragResultOk out of line to avoid problems with DLL-exported inline functions (mingw32 3.4.5 warns about it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-25 14:08:27 +00:00
Mattia Barbon
be6d15fbd3 Allow building when WXINTL_NO_GETTEXT_MACRO is defined.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-25 13:52:12 +00:00
Julian Smart
41e5224172 Don't allow zero size for clipping region, or wxX11 will crash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-25 11:47:50 +00:00
Julian Smart
3a2d0cecf9 Added missing include for FILE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-25 10:49:15 +00:00
Benjamin Williams
7ebc40e8b9 another notebook event fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-24 21:27:55 +00:00
Chris Elliott
5c96be628f fix for bakefile and autoconf changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-24 13:05:07 +00:00
Robert Roebling
5807e60c2a Link fix for GTK 1.2 debug.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-24 11:33:53 +00:00
Robert Roebling
db9febdf41 Actually use new GTK+ native assert dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-24 10:55:26 +00:00
Robert Roebling
d1a34cbf25 Actually compile GTK+ native assert dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-24 10:51:43 +00:00
Robert Roebling
30c4dd918a Commit FM's GTK+ native assert dialog code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-24 10:50:20 +00:00
Robert Roebling
92120c6e89 Override SetLogicalOrigin and SetDeviceOrigin in GNOME
print DC as this will probably be needed to fix the
    printing bug reported recently.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-24 10:48:56 +00:00
Robert Roebling
3de65dab90 Correct include file for wxGetActiveWindow()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-24 10:45:37 +00:00
Mart Raudsepp
f5318dd5d1 Fix code comment: Giuseppe Bilotta tells me that ALPHA does not refer to the blue buffer and glXChooseVisual manual agrees
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-24 10:30:42 +00:00
Vadim Zeitlin
afcdd052c1 Fixed bug in wxCalendarCtrl::HitTest() when clicking on month change arrows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-24 09:25:49 +00:00
Vadim Zeitlin
5f324bb622 test resizeable calendar control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-24 09:20:15 +00:00
Vadim Zeitlin
c75cc2e832 avoid warnings about missing macro parameters (only given by VC6 apparently) when building as static library and, hence, having passing expmode parameters to various array definition macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-24 00:56:22 +00:00
Vadim Zeitlin
885a9fe9a8 handle wxXmlResource::Load() errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-24 00:00:37 +00:00
Benjamin Williams
1dc6ec2c65 prep flags, code indentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-23 18:24:15 +00:00
Vadim Zeitlin
98018a4b05 limit TLW size to display size in wxSizer::Fit() instead of doing it in wxTLW::GetMaxSize(), this allows creating or manually resizing TLWs to be larger than the display while still avoiding making them too big by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-23 17:50:52 +00:00
Václav Slavík
79d3dfac2f correctly render titlebars for TLWs with wxCAPTION but without wxCLOSE_BOX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-23 14:50:42 +00:00
Vadim Zeitlin
bde733b0c6 moved some wxMimeTypeCommands methods into .cpp file from header, this generally makes sense (methods are too long to be inline anyhow) and might also incidentally fix the compilation with -funsigned-char
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-23 13:51:49 +00:00
Chris Elliott
7e94d4475c fix daily builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-23 13:30:36 +00:00
Vadim Zeitlin
eeb552d0d5 typo: s/if/is/
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-23 12:03:41 +00:00
Benjamin Williams
5759a604aa fixed notebook event bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-23 07:09:06 +00:00
Kevin Ollivier
7532d26c0c Remove debugging statement.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-23 06:36:50 +00:00
Kevin Ollivier
5001057213 Allow import checks to be turned off via preference.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-23 05:54:01 +00:00
Robin Dunn
9b881d3628 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-23 02:30:34 +00:00
Robin Dunn
de824c0c9c Fixes for new AUI changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-23 02:29:13 +00:00
Robin Dunn
359ed0f85c Updates from Dan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-23 02:28:03 +00:00
Benjamin Williams
8d0634abcf removed some members from wxAuiPaneInfo which should not be on the class interface
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-22 20:22:27 +00:00
Kevin Ollivier
90b0f5fced Avoid crash when trying to access m_window from wxScreenDC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-22 19:54:38 +00:00
Kevin Ollivier
dee1a629b6 CoreGraphics only supports the wx.COPY logical function.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-22 19:52:23 +00:00
Julian Smart
5c0a71a250 Added setters for print and page data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-22 17:11:53 +00:00
Chris Elliott
520711e6de fix broken script with brackets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-22 16:10:14 +00:00
Julian Smart
43f51d80f5 Crash bug fix (don't access NULL pointer)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-22 15:15:38 +00:00
Robin Dunn
4ed696943f Remove unneeded code in wxWindowDC::DoGetPartialTextExtents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-22 15:06:48 +00:00
Włodzimierz Skiba
50f65288b1 PCH build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 06:50:19 +00:00
Włodzimierz Skiba
f8f0558494 Use same type in both results of A?B:C operator (Tinderbox build fix).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 06:48:03 +00:00
Włodzimierz Skiba
be52597cb5 Final steps to move to common icon.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 06:43:18 +00:00
Włodzimierz Skiba
15665b4790 PCH build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 06:07:01 +00:00
Vadim Zeitlin
b7681018cb move default button handling code from wxControlContainer to wxTLW (patch 1524441)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 01:31:13 +00:00
Vadim Zeitlin
7cc4466989 include X11/Xutil.h for wxMotif compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 01:28:10 +00:00
Vadim Zeitlin
04f99266b0 compilation fix for platforms where size_t is unsigned long, not int
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 01:05:49 +00:00
Vadim Zeitlin
ada5f90df8 document HasAlignment(), Left/RightIndent() and Tabs() (patch 1527048)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:49:19 +00:00
Vadim Zeitlin
d7645bfd20 improvements to wxPickerBase default proportion values (patch 1525578)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:44:41 +00:00
Vadim Zeitlin
1f91072fc8 handlers added using AddHandler() last must have the highest priority (patch 1522807)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:33:14 +00:00
Vadim Zeitlin
74e1efddbc update from suzumizaki (patch 1522506)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:26:01 +00:00
Vadim Zeitlin
988bbabbaa update from suzumizaki (patch 1522241)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:23:38 +00:00
Vadim Zeitlin
f365323fd6 make wxGetKeyState() work for non-modifier keys; corrected some key mappings (patch 1521490)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:19:46 +00:00
Vadim Zeitlin
9d5244b1ee wxPathList cleanup by Francesco (patch 1521481)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:16:55 +00:00
Vadim Zeitlin
ea839c294e generate middle click events (backport from HEAD of the patch 1521314)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:12:51 +00:00
Vadim Zeitlin
30bb87ad00 generate middle click events (patch 1521314)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:09:49 +00:00
Vadim Zeitlin
f1b18eba7f added wxID_HELP_INDEX/SEARCH (part of request 1404089)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:06:43 +00:00
Vadim Zeitlin
0edfdd963b optionally count repeating wxLog messages instead of logging all (patch 1520815)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:04:35 +00:00
Vadim Zeitlin
a7734bdfb3 don't send duplicate set/kill focus events when the text control part of the control gets/loses focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 23:51:43 +00:00
Vadim Zeitlin
9a398cb1f7 wxFD_PREVIEW implementation for wxGTK (slightly modified patch 1520690)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 23:48:06 +00:00
Vadim Zeitlin
9670b83cfc allow customization of individual grid lines appearance (patch 1496015)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 23:16:37 +00:00
Vadim Zeitlin
a6b7a521a4 fixed typos in last check in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 18:30:43 +00:00
Vadim Zeitlin
d6b447a754 protect gs_allThreads with a mutex (modified patch 1518719)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 18:26:26 +00:00
Vadim Zeitlin
336d8ae9a3 documentation for wxAppTraits (patch 1518295 from Francesco)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 18:20:18 +00:00
Robin Dunn
cb349f69fa distrib changes to enable graphics context and add gdiplus.dll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 06:44:51 +00:00
Robin Dunn
bc07ab17bf reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 04:44:52 +00:00
Robin Dunn
79bcf6f487 helpers and typemaps for new GraphicsContext methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 04:42:49 +00:00
Robin Dunn
72d5e8d917 better comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 04:18:35 +00:00
Robin Dunn
9f41bf0eb0 reentrance methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 04:16:33 +00:00
Robin Dunn
660800e63b ~wxPoint2D
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 04:10:36 +00:00
Robin Dunn
4e2251ecd3 Get/Set LayoutDirection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 04:09:58 +00:00
Robin Dunn
d6f582e704 Add wxOverlay
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 04:07:14 +00:00
Robert Roebling
a95bfca766 Add more comments about ref counting and cow to
brush, pen, font and region.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-21 09:27:10 +00:00
Benjamin Williams
95c82627c8 removed duplicate pane bug in sample application
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-21 09:04:33 +00:00
Benjamin Williams
dc4334d7b0 readded window ptr check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-21 09:02:13 +00:00
Benjamin Williams
2a8f8889eb assert if user tries to add pane with same name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-21 08:53:57 +00:00
Benjamin Williams
298773ec33 current page bug fix in wxAuiNotebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-21 07:46:24 +00:00
Kevin Ollivier
67d6c8cb7e Turn off spell-checking in the demo log window.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-21 07:16:20 +00:00
Kevin Ollivier
06cf424f81 Add missing platform guard.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-21 07:13:54 +00:00
Kevin Ollivier
6df8705880 Allow spell-checking to be turned off with the MLTE implementation of wxTextCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-21 07:08:40 +00:00
Robin Dunn
38c6df6e11 regenned docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-21 04:05:13 +00:00
Robin Dunn
e7e9d1b87f reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-21 04:03:37 +00:00
Robin Dunn
13542f4946 Ensure the old tree item still exists before using it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-21 03:50:44 +00:00
Robin Dunn
2efbde68e9 no need to use a throw-away bitmap, just use th eone built-in to the
buffered DC instead


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-21 03:44:35 +00:00
Robin Dunn
43e4457b18 put unicows.dll in the python dir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-21 03:42:47 +00:00
Robin Dunn
0bb065f6d0 2.7 --> 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-21 03:39:46 +00:00
Robin Dunn
5589b01ba7 Show GridCellAutoWrapStringRenderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-21 03:35:32 +00:00
Robin Dunn
a6794ed8e9 Docstring tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-21 03:34:44 +00:00
Robin Dunn
43acd3c1eb save a reference to the bitmap so it doesn't get destroyed before the
buffered DC does


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-21 03:32:49 +00:00
Václav Slavík
d7ae4a6264 moved wxMGL's font management code to common so that it can be reused by wxDFB; implemented wxDFB part
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-20 20:45:57 +00:00
Benjamin Williams
9e1fc0e428 floating pane size now restores after perspective restore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-20 19:58:13 +00:00
Benjamin Williams
348861327b fixed a center pane bug in sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-20 19:33:48 +00:00
Václav Slavík
d04f9b8e31 don't expose M_FONTDATA in public header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-20 16:43:55 +00:00
Václav Slavík
cd4e5a4998 fixed to remove wxFontRefData as intended and not wxFontData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-20 16:30:09 +00:00
Václav Slavík
68c957045a don't expose M_FONTDATA in public header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-20 16:21:08 +00:00
Václav Slavík
873fd4af5f don't expose M_FONTDATA in public header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-20 16:14:01 +00:00
Benjamin Williams
32e4b03c49 toolbar docking bug fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-20 15:35:17 +00:00
Julian Smart
21fae46d76 Further wxRTC doc additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-20 12:58:22 +00:00
Julian Smart
ccc7fbfaed Trailing newline.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-20 12:48:42 +00:00
Julian Smart
ff76711fbe Fixed a bug setting caret position after setting or clearing selection
Implemented forced line breaks within a paragraph, entered with Shift-Return.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-20 11:33:44 +00:00
Chris Elliott
2c40325930 avoid using old directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-20 09:13:11 +00:00
Chris Elliott
7b543b9901 change unix script so lower case zip and exe
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-20 09:12:13 +00:00
Mart Raudsepp
cd8b0a9914 Some typo fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-20 08:22:02 +00:00
Benjamin Williams
bb38f6c88a comment improvements/fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-20 07:12:41 +00:00
Vadim Zeitlin
83a4b74e06 update for 2.8.0 from Stephane Junique
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-20 01:33:20 +00:00
Michael Wetherell
0441868f08 Compile fix for --disable-ffile.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 22:04:53 +00:00
Michael Wetherell
6fd730f5d5 Add notes on wxZip changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 21:52:56 +00:00
Michael Wetherell
c20267d84c Correct the comments on wxFileSystem changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 21:44:06 +00:00
Robert Roebling
031df30555 Copy and paste error.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 21:25:21 +00:00
Robert Roebling
faa3bd94f0 Correct broken reference. Mention wxFileName::DirName()
in the overview.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 21:08:57 +00:00
Vadim Zeitlin
b5f842a902 assert if wxCAL_SEQUENTIAL_MONTH_SELECTION style is changed after creation as this doesn't currently work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 20:01:51 +00:00
Benjamin Williams
cf37c9a90d allow programmatic access to start pane dragging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 18:10:18 +00:00
Vadim Zeitlin
2522d52917 recreate the control when wxCAL_SEQUENTIAL_MONTH_SELECTION style is toggled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 15:15:44 +00:00
Vadim Zeitlin
2c9fc05a46 delete controls which are part of the calendar (even if they're siblings to it and not its children) when the calender itself is deleted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 15:14:14 +00:00
Vadim Zeitlin
9576de5c8b avoid assert when creating the control with wxCAL_SEQUENTIAL_MONTH_SELECTION style introduced by last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 15:11:24 +00:00
Vadim Zeitlin
908f8fc481 removed code inside USE_SIZABLE_CALENDAR, we should allow making the main calendar control resizeable instead of adding another one just for this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 15:03:01 +00:00
Vadim Zeitlin
6bc807b35d assert if wxCAL_SEQUENTIAL_MONTH_SELECTION style is changed after creation as this doesn't currently work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 15:01:48 +00:00
Vadim Zeitlin
602a2e02f9 no changes, just some minor modifications of comments and moved one function around
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 14:57:52 +00:00
Vadim Zeitlin
670048b2f0 set/get validator for wxTextCtrl part of wxComboCtrl and not the combo itself (patch 1599214, closes bug 1598600)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 14:44:30 +00:00
Benjamin Williams
e6c46ffefb GradientFillLinear() on wxMSW now draws on the rectangle border as well, making it consistent with the gernaic version as well as wxDC::DrawRectangle()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 13:31:15 +00:00
Václav Slavík
79a2ea3463 require bakefile-0.2.1; remove workarounds for older versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 13:24:05 +00:00
Vadim Zeitlin
2887cdbded document GetSelection(from, to) (bug 1592221)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 13:22:43 +00:00
Vadim Zeitlin
ad71458057 remove obsolete and out of date project file which was kept for compatibility with wx 2.4 only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 13:13:17 +00:00
Vadim Zeitlin
404e855d9f added possibility to create wxDatePickerCtrl without any initial date
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 13:07:40 +00:00
Vadim Zeitlin
280399077a don't use wxFromSystemTime() with possibly invalid date (closes bug 1596606)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 13:06:03 +00:00
Vadim Zeitlin
1ae30333bc added missing blank line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 12:42:57 +00:00
Vadim Zeitlin
c6a372b61a replaced 2nd wxCONTROL_CURRENT with correct wxCONTROL_FOCUSED in DrawItemSelectionRect() description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 12:41:04 +00:00
Vadim Zeitlin
09d66b2b74 wxCHECK_GCC_VERSION() takes 2 parameters, not 3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 12:38:45 +00:00
Vadim Zeitlin
0deb5fab34 unmultiply by alpha when converting from wxDIB to wxImage as the former uses premultiplied alpha but the latter does not (patch 1597063)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 12:35:16 +00:00
Kevin Ollivier
f52eff546a Fix API calls to match header changes made in richtextbuffer.h 1.42 and restore compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 07:45:54 +00:00
Kevin Ollivier
dbace455c0 Use DrawItemSelectionRect on GTK2 and OS X. Also, use white text when drawing focused under Mac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 07:32:54 +00:00
Kevin Ollivier
8bc0c17afc Migate to the new wxRendererNative::DrawItemSelectionRect function where available, and fix selected text color on Mac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 06:47:48 +00:00
Kevin Ollivier
df0edf4443 Have wxGenericListCtrl record and store the selection state of each column, and on OS X, use this to correctly draw selected headers. Also, move to DrawItemSelectionRect for drawing the background selection.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 06:32:08 +00:00
Kevin Ollivier
a4609ab847 Implement wxRendererMac::DrawItemSelectionRect and move the generic wxTreeCtrl to using it to draw selected items.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 06:28:47 +00:00
Michael Wetherell
5c80cef4bf wxArchiveFSHandler switches on simulated seeking for compatibility with
previous versions. Still overridden by wxFS_SEEKABLE.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 02:11:40 +00:00
Robin Dunn
82fb2b744f some build/install tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 01:14:01 +00:00
Robin Dunn
d359a38002 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 01:12:25 +00:00
Kevin Ollivier
706b630a1e Make sure both filter and item text are converted to lower-case, otherwise only lower-case queries work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 23:22:22 +00:00
Julian Smart
12cc29c56a Small cleanup.
Set caret position when calling SetSelection.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 22:27:48 +00:00
Robin Dunn
9745cf4d6c removed 'unsigned' from 'unsigned int' so epydoc doesn't get ocnfused
over the two tokens in the type name


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 21:25:33 +00:00
Robin Dunn
894699b60e Add 'combo' to __all__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 21:23:43 +00:00
Robin Dunn
72fdc4585e Fix for build errors when the media lib was not built.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 21:22:50 +00:00
Robin Dunn
34bec08974 py2exe finds the DLL now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 19:45:11 +00:00
Robin Dunn
f27895d289 Added wx.combo.BitmapComboBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 19:43:32 +00:00
Michael Wetherell
4532786ee2 Add wxFS_SEEKABLE to wxFileSystem::OpenFile calls for images.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 18:43:13 +00:00
Robert Roebling
1bd2ceb57b [ 1598659 ] make wxAnimationCtrl::SetInactiveBitmap center given bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 17:46:29 +00:00
Robert Roebling
97331b821f [ 1598662 ] Fix some mispelled event macros in docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 17:41:32 +00:00
Robert Roebling
51cb1a6587 Restore correct behaviour of GetTimes() wrt to
directories.
  Add some (hopefully) clarifying docs about
    dealing with dir names vs. file names.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 17:34:40 +00:00
Vadim Zeitlin
06ad6296a6 rename bICON (see rev 1.47) to wxICON_AAA to make it alphabetically first among wx icons but not among all application icons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 16:46:59 +00:00
Michael Wetherell
8b52f082f2 Document wxFS_XXXX flags for wxFileSystem::OpenFile.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 16:39:52 +00:00
Václav Slavík
fa28b00cdc don't use priviledged calls in wxDFB to allow concurrent use of the display by >1 wxDFB apps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 13:17:35 +00:00
Kevin Ollivier
c8408242c2 Fix compilation of wrapper, and add a couple events added in the last change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 00:53:47 +00:00
Robin Dunn
eccab1a711 reSWIGGed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 00:35:26 +00:00
Robin Dunn
84dd1dd89e Add docstrings for ComboCtrl and ComboPopup, and added OwnerDrawnComboBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 00:33:33 +00:00
Robin Dunn
3b339f106c demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 00:31:59 +00:00
Robin Dunn
f31ed3f103 forceTrueColour parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 00:29:40 +00:00
Vadim Zeitlin
c2e833af5f remove unused file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 00:10:17 +00:00
Robert Roebling
649707a506 Hopefully fixed misplaced printout in libgnomeprint.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 00:08:52 +00:00
Vadim Zeitlin
ea7fb468ce include correct XPMs (Unix compilation fix after last commit)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 00:08:27 +00:00
Benjamin Williams
3f7fce73bf tab drawing fix for vista
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 21:49:20 +00:00
Benjamin Williams
bc9e332166 manager should always be set in pane events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 21:47:33 +00:00
Vadim Zeitlin
92f20fe33d free old resources in DoLoad(), apparently fixes memory leaks with gstreamer 0.10 (patch 1598317)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 18:25:15 +00:00
Vadim Zeitlin
cf46511d2c added tests for background colour, static bitmap &c (part of patch 1598005)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 18:15:44 +00:00
Vadim Zeitlin
1afdfc9deb - fix wxAnimationCtrl::SetBackgroundColour both for generic and native GTK
version
- fix wxAnimationCtrl::GetAnimation for GTK version (modifying correctly the
  constructor which takes a GdkPixbufAnimation)
- fix the generic wxAnimationCtrl::SetAnimation() when it's used with a
  wxNullAnimation.
- moves the frame counter reset in Stop() as it's more sensed to always have
  m_currentFrame cleared immediately when the animation has been stopped
- fix a problem with transparent bitmaps drawing in wxAnimationCtrl::OnPaint

(part of patch 1598005)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 18:14:42 +00:00
Vadim Zeitlin
70fc30ae82 minor typo fixes (part of patch 1598005)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 18:12:43 +00:00
Vadim Zeitlin
676dd1dc30 use correct bitmap dimension in DetermineIndent()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 16:45:39 +00:00
Kevin Ollivier
61574b34df Adding a copy of sized_controls.py to the wxPython distro so I can use it for developing GUIs. :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 16:12:36 +00:00
Vadim Zeitlin
ed0cc9ffec added chart icon for non-MSW ports too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 15:05:29 +00:00
Vadim Zeitlin
e21d861412 Some sample cleanup:
1. Use standard sample icon, avoid badly looking #ifdef __WXMSW__s
2. Use "modern" (i.e. this century) wxToolBar API, simplify code by
   not allocating the bitmaps on the heap and deleting them any more


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 15:04:05 +00:00
Julian Smart
5912d19ef7 Removed obsolete code
Added some more event types
Added back GetStyleForRange


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 14:28:47 +00:00
Benjamin Williams
a95dd1d8ff aui documentation updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 13:22:02 +00:00
Benjamin Williams
4dc79cfb52 added wxAuiManager::GetManager() call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 13:07:01 +00:00
Vadim Zeitlin
28f9f58ca0 fixed warning about junk after #endif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 12:29:21 +00:00
Benjamin Williams
254a342953 renamed wxAUI_ART to wxAUI_DOCKART
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 11:28:17 +00:00
Robert Roebling
4ba1c184b5 Commit fix to remove warnings when drawing text
to a mono-bitmap.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 09:47:24 +00:00
Robert Roebling
c77eea28f9 Implemented forceTrueColour in SetBestVisual.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 09:39:06 +00:00
Robert Roebling
515a31bf65 Add forceTrueColour option to SetBestVisual().
Currently API only, implement later.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 09:29:39 +00:00
Julian Smart
5600fb6e6f Documented wxRICHTEXT_HANDLER_NO_HEADER_FOOTER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 08:42:12 +00:00
Julian Smart
b774c69893 Added wxRICHTEXT_HANDLER_NO_HEADER_FOOTER to allow saving HTML fragments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 08:40:01 +00:00
Julian Smart
523d2f145e Added wxRICHTEXT_SETSTYLE_RESET SetStyleEx() flag to allow for clearing attributes before setting new ones
SetStyle() now looks up and applies named paragraph or character style
Fixed a bug in text entry (taking previous paragraph's style)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 08:33:34 +00:00
Julian Smart
380a5dd803 Limit indentation in style listbox, and also show centring
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 08:21:38 +00:00
Kevin Ollivier
61a0bf7c4b Add a feature to prompt to install wxaddon modules that are not yet on the user's system. Developers can also require a certain version (or minimal version) of a module so that users get prompted to upgrade old modules.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 05:17:48 +00:00
Vadim Zeitlin
d5eaa19fdf don't set A4 paper size, use the system default instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 01:54:48 +00:00
Robin Dunn
08893e7eae Wrap the setting of the initial content and formatting in Freeze/Thaw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 23:43:40 +00:00
Robin Dunn
80a774ed35 Layout tweak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 23:43:03 +00:00
Robin Dunn
84bc0d49e4 Added the wx.combo module, which contains the ComboCtrl and ComboPopup
classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 23:38:29 +00:00
Robin Dunn
41fa9bfc46 Corrected double destruction of views
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 23:36:54 +00:00
Vadim Zeitlin
a1b1cf33e1 disable mmedia contrib for wxMGL (blunt fix for tinderbox compilation error)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 23:33:22 +00:00
Robin Dunn
428947f36f Added wxStandardPaths::GetExecutablePath
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 23:31:04 +00:00
Benjamin Williams
0a5bb138a7 added missing button state
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 20:45:17 +00:00
Michael Wetherell
3acc920057 Fix not recognising '/' on Windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 19:03:03 +00:00
Benjamin Williams
7f1e14684d notebook window list popup positioning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 18:48:00 +00:00
Benjamin Williams
8096c4256b minor tab drawing improvements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 18:46:10 +00:00
Michael Wetherell
80e62471ad Change the factory constructor to not use a predefined wxMBConv object as it
prevents global instances of the factories. The predefined converters are
references which may not have been initialised when a global factory's
constructor runs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 14:30:20 +00:00
Vadim Zeitlin
f2dc88a050 wxMGL/Unix compilation fix attempt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 14:02:14 +00:00
Jouk Jansen
b29aaf4a77 Solves 2 problems I encounterd on OpenVMS :
stdpaths.cpp : missing rourtine in VMS part
     bitmap.cpp : type casts WXPixmap changed to Pixmap

 Modified Files:
 	wxWidgets/src/unix/stdpaths.cpp wxWidgets/src/x11/bitmap.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 13:31:40 +00:00
Benjamin Williams
2b4b6ded9b pane buttons are now vertically centered
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 11:01:19 +00:00
Benjamin Williams
7453065ac0 removed a bunch of wxCHECK_VERSION(2,7,0)'s because aui isn't 2.6.x-backportable anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 10:39:23 +00:00
Benjamin Williams
4cd1d19679 use real alpha blending algorithm to avoid sickly looking colors on some platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 08:25:09 +00:00
Benjamin Williams
a500c7ed7a consolidated duplicated static functions into one file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 08:21:54 +00:00
Stefan Neis
fd29f9ad65 Wrong version checked in last time, this time we really:
- avoid problems when calling lxlite on unix style filenames (starting /).
- rely on default compression options when calling lxlite.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 08:00:54 +00:00
Julian Smart
7d5232b815 Removed new function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 07:33:19 +00:00
Benjamin Williams
852a7df6d5 docking crash fix patch applied
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 06:13:21 +00:00
Julian Smart
c7134e1c9c Made new functions non-virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-15 23:03:18 +00:00
Robert Roebling
68d89837ca [ 1596568 ] Fix for bug 1595339
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-15 19:00:16 +00:00
Stefan Neis
be8f1469e2 Avoid problems when calling lxlite on absolute unix style filenames (starting /)
Rely on default compression options when calling lxlite.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-15 17:57:06 +00:00
Julian Smart
a7ed48a590 Small bug fixes
Added GetStyleForRange to wxRichTextCtrl
HasCharacter/ParagraphAttributes range now consistent with other functions in wxRichTextCtrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-15 15:59:06 +00:00
Václav Slavík
710526dea5 fixed wx-config symlink creation with non-empty DESTDIR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-15 15:46:11 +00:00
Benjamin Williams
eeb5b65b15 fixed wrong parameter types in FindToolForPosition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-15 10:07:25 +00:00
Robert Roebling
5e513780ed Check if DnD is started from a mouse event.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-15 08:59:50 +00:00
Kevin Ollivier
aac75444c6 Column position changes after each delete, so always delete the 0 column.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-15 01:01:16 +00:00
Vadim Zeitlin
1e4095f71d backported changes from gtk/window.cpp rev 1.678 (bug 1531348)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 23:55:25 +00:00
Vadim Zeitlin
91fca3d2bd backported chnage in 1.115 of src/gtk/dnd.cpp (bug 1531348)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 22:50:24 +00:00
Robin Dunn
c25f90f60c Use a swig macro for generating the call to the _setCallbackInfo
function so it's easy to fiddle with, if needed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 22:03:54 +00:00
Robin Dunn
13b955a755 2.7 --> 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 21:52:48 +00:00
Robin Dunn
d5aea13b42 fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 21:51:57 +00:00
Robert Roebling
8f9850dd77 Fix X server hang in DND.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 21:19:52 +00:00
Vadim Zeitlin
9fb599edba corrected version after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 18:33:20 +00:00
Vadim Zeitlin
f963a28fa4 added entry for 2.8.0-rc2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 18:27:50 +00:00
Robert Roebling
08f57d2125 The usual RTL fix for GTK+'s theme drawing function.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 17:48:21 +00:00
Vadim Zeitlin
3ad202f9be regenerated after last autoconf_inc.m4 change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 15:44:54 +00:00
Benjamin Williams
a983a3cf6f restore brush properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 15:29:35 +00:00
Benjamin Williams
1dab6da91b another GradientFillLinear fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 14:51:08 +00:00
Vadim Zeitlin
82c591d771 fix compilation when one of wxUSE_LISTCTRL and wxUSE_TREECTRL is defined but the other is not (modified patch 1596323)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 14:20:11 +00:00
Vadim Zeitlin
cb3a0d420a GdiplusStartup() takes ULONG_PTR, not DWORD (patch 1596318); also deTABified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 14:05:14 +00:00
Julian Smart
5bbdfd5ba2 Omission and bug fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 14:03:53 +00:00
Michael Wetherell
8120bbc916 Compile fix for the version of VC8 included in the 2003 PSDK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 13:10:56 +00:00
Vadim Zeitlin
ec80cb6ec1 include advanced Unix files in wxMGL build under Unix (trying to fix wxMGL link errors in the tinderbox...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 12:32:31 +00:00
Vadim Zeitlin
2c8f21f867 label the different gradient pictures clearly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 12:12:42 +00:00
Benjamin Williams
6dff0e2972 fixed gradient direction in GradientFilLinear for all non-msw ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 11:32:44 +00:00
Robert Roebling
05d9753817 Just use the already existing wxRenderer::DrawItemSelectionRect()
from wxListCtrl and wxTreeCtrl; and document it...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 10:20:38 +00:00
Jouk Jansen
3ccb6f0c23 Committing in .
update for OpenVMS

 Modified Files:
 	wxWidgets/setup.h_vms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 09:51:40 +00:00
Robin Dunn
97e716f808 revert part of my recent change, fixing the libwxbase and libwxgtk
package names


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 00:22:18 +00:00
Benjamin Williams
6a93539e74 corrected wrong tab colors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-13 21:43:40 +00:00
Benjamin Williams
45980d81f3 corrected sentence
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-13 21:00:52 +00:00
Vadim Zeitlin
2e35565ac8 disable wxGLCanvas for wxMGL and wxDFB which don't support it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-13 19:50:59 +00:00
Benjamin Williams
b809d2a4bd added new features to welcome page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-13 18:39:42 +00:00
Benjamin Williams
c6c505952e minor tab height bug fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-13 18:25:52 +00:00
Robin Dunn
cb5d54ff9e Don't use wxLB_EXTENDED with the checklistbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-13 18:09:21 +00:00
Julian Smart
abc2857fa0 Corrected wxMultiChoiceDialog if wxCheckListBox is used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-13 17:08:23 +00:00
Julian Smart
3002036fb0 Added further icons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-13 15:48:27 +00:00
Robert Roebling
dd9b4376a3 Minor change to stackwalker.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-13 15:03:30 +00:00
Vadim Zeitlin
d57d491b9f fix some gcc warnings due to SQLINTEGER not being long under OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-13 14:45:44 +00:00
Vadim Zeitlin
c4704dc271 fix conflict with BOOL definition in X11/Xmd.h (bug 1592325); also unified all different BOOL fixes in a single one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-13 12:01:37 +00:00
Benjamin Williams
613a0c4c55 readded layer insert code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-13 09:51:57 +00:00
Julian Smart
2e56b9d76e Trailing newline
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-13 09:37:08 +00:00
Benjamin Williams
b88d16d3ad documentation updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-13 07:55:52 +00:00
Benjamin Williams
ca0d44071c tab ctrl height api fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-13 07:03:51 +00:00
Kevin Ollivier
2201013094 Disable SortItems support for now, it is causing a crash on the wxPython side and we get the column click event too late to affect the initial sort.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-13 00:24:19 +00:00
Robin Dunn
8287c33f41 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 23:43:50 +00:00
Robin Dunn
25ecabd93b Adjust the layout a bit, don't show the checkbox if we're not running
the demo framework.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 23:41:06 +00:00
Vadim Zeitlin
836ddd1883 attempt to disable experimental font dialog for OS X 10.2 (to fix the tinderbox build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 23:34:38 +00:00
Vadim Zeitlin
373d466f85 changed last DrawButton() parameter from bool to int to allow for future extensions (patch 1595264)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 23:34:11 +00:00
Vadim Zeitlin
4b98d13d36 put #if wxUSE_COLLPANE around AddCollapsiblePane() declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 23:18:52 +00:00
Vadim Zeitlin
ac371a8793 wxStandardPathsCF::GetExecutablePath() implementation doesn't use CF API but Carbon one and so doesn't compile in wxCocoa, don't use it there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 22:37:33 +00:00
Vadim Zeitlin
0197bcdd13 wxCocoa doesn't have multi point wxRegion ctor neither
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 22:35:27 +00:00
Vadim Zeitlin
63c95fafea don't assert if 'c' key is pressed when there is no selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 22:33:21 +00:00
Vadim Zeitlin
4683dc1c43 call SetAnimation() from the ctor instead of just assigning m_animation directly to ensure that UpdateBackingStoreWithStaticImage() is initially called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 22:16:58 +00:00
Michael Wetherell
e9a4b51d27 Small fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 21:57:18 +00:00
Vadim Zeitlin
14ff7a5992 use wxFputs(s) instead of puts(s.mb_str()) to avoid crashes when conversion fails (see bug 1591388)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 21:52:46 +00:00
Michael Wetherell
b34c7f3ca9 Add wxTar docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 21:49:16 +00:00
Michael Wetherell
d7d47fe2f6 Add links to the zip and tar classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 21:47:13 +00:00
Michael Wetherell
08202189cb Fix a couple of small errors.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 21:45:06 +00:00
Vadim Zeitlin
b9993189cc show all available information in the dialog (somewhat modified patch 1592306)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 21:43:27 +00:00
Vadim Zeitlin
56eebcdac2 in addition to wxWinCE, also set background colour explicitly for GTK1, otherwise it is black there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 21:38:49 +00:00
Vadim Zeitlin
f8a98fa28c GetColumnTextValue() can't return a reference to a temporary string, so changed it to return wxString by value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 21:25:19 +00:00
Vadim Zeitlin
90412a12f4 gcc warning fix: don't use NULL where integer is required
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 21:18:52 +00:00
Benjamin Williams
dbbe02ea5a gtk crash fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 21:01:38 +00:00
Robert Roebling
8c8b50a9df Add cast
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 20:53:06 +00:00
Benjamin Williams
9fbb7d80f8 tab sizing and split sizing fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 20:32:40 +00:00
Vadim Zeitlin
d0e7cf009d added aui and richtext and also some extra (probably unneeded) dependencies (patch 1590292)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 20:29:23 +00:00
Vadim Zeitlin
4e6dfb06d8 removed obsolete src/make*.env files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 20:13:09 +00:00
Vadim Zeitlin
169147c8be made GetMultiLineTextExtent() const (part of patch 1595123)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 20:06:56 +00:00
Vadim Zeitlin
471a67a7e7 fixed probable typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 19:55:57 +00:00
Vadim Zeitlin
ddd94f80a7 compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 19:55:19 +00:00
Chris Elliott
25d7c7e89c add places to change the version for distribution
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 18:55:33 +00:00
Chris Elliott
446db616a8 update for bakefile 0.2.1-xx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 18:50:14 +00:00
Julian Smart
f83d50d261 Typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 18:01:16 +00:00
Julian Smart
823b140b65 Fixed compile error on Wine due to type mismatch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 17:58:27 +00:00
Julian Smart
9eb6cc3d6b Note about Unicode builds not working
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 16:47:06 +00:00
Julian Smart
59b48b4690 Added newline for PDF RTF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 16:40:19 +00:00
Julian Smart
0034bd135c Added missing arg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 16:35:51 +00:00
Julian Smart
56fb1bca35 Use LONG instead of long (some Wine headers complain)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 16:30:38 +00:00
Benjamin Williams
683b60e9ab some doc updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 16:16:01 +00:00
Julian Smart
82c51a8ec9 Wine fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 16:07:59 +00:00
Stefan Neis
9ffdd8cf3c Applied toolbar patch for wxTB_RIGHT support (patch #1595081).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 16:06:07 +00:00
Julian Smart
219b657fbe Wine fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 15:54:06 +00:00
Michael Wetherell
601bee5ca2 Update archive overview for class factory changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 15:42:53 +00:00
Julian Smart
dc484d491b Wine fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 15:39:12 +00:00
Robert Roebling
a82c22998b Applied wxStackWalker improvement part of
item #1591718, [wxGTK] Native assert dialog and optimized stack walker


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 14:33:03 +00:00
Julian Smart
bc2ce7a59b Added some more 2.8 large features
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 13:53:58 +00:00
Julian Smart
663f5bd714 Version update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 13:36:32 +00:00
Julian Smart
bade0251e3 Wine fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 13:35:23 +00:00
Robert Roebling
a95d5751f9 Send delete item event just before the item is actually
deleted (as per wxMSW). Also include the client data
   (long value) in the event.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 13:27:13 +00:00
Julian Smart
0396d31b57 GTK+1 fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 13:11:06 +00:00
Robert Roebling
ac7ad70d4c [ 1590221 ] wxStandardPaths::GetExecutablePath
Required for optimised stackwalker patch.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 12:58:10 +00:00
Julian Smart
6cd5337946 Fix for GTK+1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 12:47:12 +00:00
Julian Smart
b45ab2904c Version updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 12:12:18 +00:00
Julian Smart
8ffbb0f8df Manual Version update
Filled in a few blanks


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 12:09:52 +00:00
Kevin Ollivier
efa49f43ed Remove incorrect change that accidently made it into commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 05:21:19 +00:00
Kevin Ollivier
f0ed40adbf Add scrollbars if the columns exceed the horizontal space for the control, also, have SetColumnWidth store the value in the column's wxListItem.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 04:08:13 +00:00
Robin Dunn
f9bf356bd1 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 02:47:22 +00:00
Robin Dunn
19cdf227ad Some more details about CollapsiblePane
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 02:44:09 +00:00
Robin Dunn
2a8d232e8e demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 02:40:57 +00:00
Robin Dunn
a47418db8f Add wx.version()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 02:37:28 +00:00
Robin Dunn
f3e5dcaa5b Add wxSimpleHtmlListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 02:33:43 +00:00
Robin Dunn
bafc875b60 move the include of collpane.h to the main header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 02:32:43 +00:00
Kevin Ollivier
b3aee70835 Switching to a keyed list for storing information about the column data in each row, so that columns need not be set sequentially. Also, a tweak for drawing colored backgrounds when wxLC_VRULES is set, and add a few guards before calling GetColumnInfo().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 01:01:05 +00:00
Kevin Ollivier
5924f6b37d Adding the option to toggle between native and generic listctrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 23:48:32 +00:00
Vadim Zeitlin
92e0c0eb51 update from Jonas Rydberg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 22:14:36 +00:00
Benjamin Williams
574c6e1a97 beginnings of wxAuiNotebook documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 22:14:05 +00:00
Vadim Zeitlin
126bd656a7 also check for RenameGroup() calls which don't/shouldn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 22:12:34 +00:00
Vadim Zeitlin
e10b8ce820 fix the bug with renaming groups leaving wxFileConfig in inconsistent state (closes 705022)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 22:11:01 +00:00
Benjamin Williams
fa2aeeb5dc added wxAuiNotebook and wxAuiTabArt to classes.tex and category.tex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 22:10:19 +00:00
Benjamin Williams
c0d9896aef added documentation stub files for wxAuiNotebook and wxAuiTabArt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 22:04:05 +00:00
Vadim Zeitlin
3ca1046155 extend RenameGroup() test to demonstrate the bug 705022
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 22:00:59 +00:00
Vadim Zeitlin
e1a2c7a527 use CPPUNIT_ASSERT_EQUAL() to be able to see the error in wxFileConfig tests easier
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 21:59:17 +00:00
Robin Dunn
7f5ff1b2a9 wxFD_SETSIZE --> FD_SETSIZE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 20:38:46 +00:00
Vadim Zeitlin
92568b11d8 added include/msvc/wx/setup.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 20:23:18 +00:00
Vadim Zeitlin
592932859a updated version to 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 20:20:58 +00:00
Robin Dunn
044bb772d6 Patch [ 1594353 ] Fix for wxCollapsiblePane docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 20:06:20 +00:00
Robin Dunn
11d6793f15 Remove superfluous assert that conflicts with style settings needed on
wxGTK to get the same effect.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 20:02:07 +00:00
Robin Dunn
4dd1256aa3 Set default version to "28"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 19:53:54 +00:00
Stefan Neis
e43101ee40 Need to check for getsockopt argument in C++ mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 17:19:59 +00:00
Chris Elliott
c6f9d35581 fix missing path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 16:54:56 +00:00
Chris Elliott
190275cdf7 fix missing =
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 12:58:04 +00:00
Chris Elliott
1f060c0728 copy CHM files; change location of version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 12:05:33 +00:00
Chris Elliott
16e72edbb3 copy CHM files; change location of version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 12:00:30 +00:00
Julian Smart
1b8cd4656f Removed trailing comma
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 10:25:24 +00:00
Julian Smart
42a2ba5e65 Added missing include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 10:24:39 +00:00
Julian Smart
4c79f9c160 Added missing include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 10:11:04 +00:00
Robin Dunn
5172800e29 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 08:01:12 +00:00
Robin Dunn
17949b1bff SetOrientationReversed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 07:43:52 +00:00
Robin Dunn
a28f3b613b test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 07:42:26 +00:00
Robin Dunn
73470a1747 Added wx.CollapsiblePane
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 07:40:41 +00:00
Robin Dunn
037c7b4c7b Some wxCollapsiblePane tweaks:
- Use wxCP_DEFAULT_STYLE
 - Share a single wxCollapsiblePaneNameStr for the native and generic
   versions
 - Use a wxPanel for the pane so tab traversal works in the pane


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 07:32:08 +00:00
Kevin Ollivier
d2af7584c0 A more complete fix for the generic control border issue, a fix for getting/setting wxListItemAttr info for the native control, fixes for HitTest considering the column the 0 item, and for GetItemRect being one off in virtual mode. Also a fix for the function call when using a custom sort routine.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 05:41:12 +00:00
Vadim Zeitlin
80a06ad284 corrected exit/about menu command ids in the code after replacing them with the stock ones in the resources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 01:15:42 +00:00
Robert Roebling
d723a1bac0 Use wxGTK_CONV instead of wxConvUTF8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 00:36:22 +00:00
Robert Roebling
ccdbdc8936 Added native selection rectangle drawing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 00:22:20 +00:00
Michael Wetherell
cc4a79c0f0 A couple more tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 22:49:45 +00:00
Michael Wetherell
3c7f37eddb Fixes for wxVsnprintf not always null terminating and not always copying as much
as will fit.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 22:48:50 +00:00
Włodzimierz Skiba
948f4c3735 WinCE background fix. Perhaps not only WinCE problem???.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 22:44:23 +00:00
Michael Wetherell
e98d32057d Fix for wxVsnprintf's %n.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 22:42:42 +00:00
Kevin Ollivier
1934a64e10 Fix typo with adding wxNO_BORDER to the native control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 20:55:45 +00:00
Włodzimierz Skiba
7c5190745f Update os2/ow makefiles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 20:49:16 +00:00
Stefan Csomor
797f8d9641 redirecting missing implementations to textctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 20:37:41 +00:00
Włodzimierz Skiba
ec02a2f7de stub for wxOS2 region ctor from points.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 20:35:39 +00:00
Włodzimierz Skiba
3d4184cd56 Update mgl/ow makefiles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 20:05:31 +00:00
Włodzimierz Skiba
320bf9ceec Add wxRegion ctor from array of points to wxMGL.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 19:58:43 +00:00
Robin Dunn
d036261c45 Add DLL export macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 19:15:47 +00:00
Robin Dunn
d3c82d0d13 Compile fix to match change made in header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 19:14:13 +00:00
Benjamin Williams
f71d596e6b added private wxAUI_MGR_NO_DOCK_SIZE_LIMIT flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 17:40:19 +00:00
Benjamin Williams
97ac2d5e0e small fixed-wixth tab sizing bug fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 16:30:10 +00:00
Vadim Zeitlin
eab9751b66 stub out wxRegion ctor not implemented in wxMGL and wxDFB to at least fix compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 16:16:22 +00:00
Vadim Zeitlin
7baac3cbae use WXSIZEOF() instead of hardcoded numbers of points in the arrays
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 16:13:39 +00:00
Vadim Zeitlin
e090886060 removed const before WXCOLORREF because (1) g++ 3.1 doesn't like it and (2) it doesn't seem to make sense on an array type (why is WXCOLORREF an array anyhow?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 16:03:03 +00:00
Michael Wetherell
b2c31089c2 Make the function passed to wxStringToIntType a template parameter instead of
assuming its type.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 16:00:44 +00:00
Julian Smart
4d6d8bf4fb Added outline level
Removed unnecessary wxRichTextAttr::CopyTo


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 15:48:46 +00:00
Chris Elliott
00ea969c97 add version to docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 15:35:14 +00:00
Chris Elliott
1492e067e1 add version to Inno Setup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 15:26:07 +00:00
Vadim Zeitlin
edff6201ce rearrange tests for long long again to avoid clashes with SIZEOF_LONG_LONG defined by other packages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 15:21:33 +00:00
Benjamin Williams
ce15b45fef factored out CalculateHintRect() from DrawHintRect(); hint fix in auibook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 15:17:11 +00:00
Vadim Zeitlin
65f4ce38c6 wxCocoa compilation fixes (include OpenGL/glu.h there too)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 15:16:02 +00:00
Benjamin Williams
519337dee7 fixed clipping regression in wxAuiNotebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 13:47:06 +00:00
Chris Elliott
e83a2e0490 local Bkgen add bakefile_gen dir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 13:19:03 +00:00
Vadim Zeitlin
11683c6beb regenerated with post 0.2.1rc1 bakefile to restore --out-implib=xxx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 12:59:15 +00:00
Vadim Zeitlin
38c6938f8d use C++ for variadic macros test as e.g. gcc 2.95.4 supports them while g++ 2.95 does not
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 12:40:38 +00:00
Vadim Zeitlin
715d53e4e1 use C++ compiler for timezone test, otherwise wrong timezone is detected under cygwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 12:36:32 +00:00
Chris Elliott
9c45065319 add bakefile_gen dir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 12:19:03 +00:00
Chris Elliott
56363ed06b add CHM and makefiles to daily build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 11:36:04 +00:00
Michael Wetherell
8b68671575 Missing header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 11:31:58 +00:00
Michael Wetherell
33a702bf70 Remove wxFS_WRITE since it is not available in this release.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 09:00:06 +00:00
Benjamin Williams
e7e324bed8 ability to create tab mdi children without activating page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 08:11:01 +00:00
Julian Smart
a51dc10315 Theme fix for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 07:35:30 +00:00
Benjamin Williams
73212f3518 updated nomenclature in menu item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 06:23:24 +00:00
Robin Dunn
81f5af115f Fix object ownership issues
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 04:07:21 +00:00
Robin Dunn
5a9abd06da Move version number to 2.8.0.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 03:59:23 +00:00
Robin Dunn
25bb1412af Move version number to 2.8.0.0 and rebake the makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 02:32:01 +00:00
Vadim Zeitlin
9b8888f922 regenerated after last changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 01:33:15 +00:00
Vadim Zeitlin
d0dec9136f undid CFLAGS to CXXFLAGS chane (rev 1.1121) which is not necessary any more; fixed a couple of problems with using WX_CHECK_FUNCS() (missing header)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 01:32:05 +00:00
Vadim Zeitlin
d92b393c90 use AC_CACHE_CHECK instead of AC_MSG_CHECKING + check to avoid unnecessary checking for cached tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 01:00:17 +00:00
Vadim Zeitlin
224d4f6d7c use C++ compiler for the tests which do require it (from rev 1.1118 a.k.a. BEFORE_LANG_CXX)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 00:40:27 +00:00
Vadim Zeitlin
f79a95423b use std menu ids for stock items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 00:20:12 +00:00
Vadim Zeitlin
402ccadcdd disable bogus test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 00:17:46 +00:00
Michael Wetherell
311b04034e Workaround for BCC 5.5/5.5.1 _wopen bug.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 22:45:19 +00:00
Julian Smart
a04be1e3e8 Added simple setup-creating script. See top of createsetup.sh for details.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 22:27:27 +00:00
Benjamin Williams
003cf4efd2 minor tab theme touch-ups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 22:14:31 +00:00
Benjamin Williams
c5e2ca7c52 wxAuiMDI* now more accurately respects normal mdi event sequence
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 22:06:40 +00:00
Benjamin Williams
049333c242 fixed bad crasher in wxAuiNotebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 21:58:29 +00:00
Włodzimierz Skiba
ded240471c Mention changes for setup.exe
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 21:22:18 +00:00
Kevin Ollivier
c35bf68e33 Fix typo in demo name for AnimateCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 21:11:08 +00:00
Julian Smart
9d016ea8e3 Slight fixing of .iss file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 20:33:04 +00:00
Julian Smart
1f65137f8d Some documentation enhancements for wxRichTextCtrl
Comment fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 20:22:33 +00:00
Kevin Ollivier
d6d8b17280 On Mac, when selection is drawn in grey (i.e. unfocused), text color needs to be black.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 20:15:18 +00:00
Kevin Ollivier
464b15e17d Allow selection items to be toggled using CMD key when the listbox style is wxLB_EXTENDED.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 20:12:49 +00:00
Robin Dunn
bce1697986 Update virtuals to new API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 20:04:47 +00:00
Robin Dunn
11a9b49de9 GetData can only be called within the DnD operation, so don't make it
a property to protect it from beign called by object browsers


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 20:04:18 +00:00
Robin Dunn
3a9f64b77e fixed wrong pathnames for wxPIA samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 20:03:02 +00:00
Robin Dunn
0a49a38609 pass sys.argv to glutInit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 20:02:42 +00:00
Robin Dunn
1870f50ba9 fix for unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 20:01:55 +00:00
Stefan Csomor
01294df09b adding reverse orientation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 19:48:18 +00:00
Robin Dunn
4d5364211d Alwayas use SetValue in Create so m_date will be in sync
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 18:00:48 +00:00
Robin Dunn
1cb311851d Correct names of some event binders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 17:58:27 +00:00
Benjamin Williams
ea53a6014a flicker reduction on gtk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 16:42:01 +00:00
Vadim Zeitlin
55e345713a shave 30KB off configure size by using a single AC_CHECK_HEADER() for multiple headers instead of 6 different AC_CHECK_HEADER() calls which are strictly quivalent but expand the macro 5 times unnecessarily
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 15:44:02 +00:00
Vadim Zeitlin
a49ffb32e2 include widec.h if it's available, it contains declarations of [f]putws() under Solaris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 15:35:09 +00:00
Vadim Zeitlin
fd5199d66b use C compiler for tests again, it's useless to use the C++ one for AC_CHECK_FUNCS() test anyhow; do use WX_CHECK_FUNCS() instead of several AC_CHECK_FUNCS() where we need to make sure that the function declaration is available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 15:30:37 +00:00
Jouk Jansen
83bef83edd Committing in .
Update OpenVMS makefile

 Modified Files:
 	wxWidgets/src/xrc/descrip.mms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 13:18:32 +00:00
Vadim Zeitlin
31a41ee891 regenerated with bakefile rev 938: use -Wl,--out-implib=foo now instead of -Wl,--out-implib,foo which exposes a bug in mingw32/cygwin option parsing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 13:13:49 +00:00
Vadim Zeitlin
2dbd07cb7a don't create version-script file if it's not used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 12:08:51 +00:00
Vadim Zeitlin
077c78808f don't use version script under cygwin/mingw32, it's useless and breaks the link after latest autoconf-2.60-related bakefile 0.2.1 changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 12:03:54 +00:00
Vadim Zeitlin
ab3165fb0d replaces some lists with trees (bug 1593248 and more)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 11:20:30 +00:00
Julian Smart
8e981b4885 Adding rich text dialogs file so anyone can modify/regenerate the UI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 11:05:03 +00:00
Julian Smart
75a3537ac6 Don't compile rich text handler unless wxUSE_RICHTEXT_XML_HANDLER is 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 10:40:41 +00:00
Benjamin Williams
1750e8e256 mild gradients for the glossy theme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 06:49:53 +00:00
Michael Wetherell
b95d098489 Additional tests for wxVsnprintf, originally to test the copy from the scratch,
but actually shows up problems elsewhere.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 01:25:23 +00:00
Michael Wetherell
5d6f17a5b9 Forgot to remove wxBackingFile from the changes.txt. It was kept internal
as it's api will change for read/write and it may be integrated into
wxStreamBuffer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 01:15:26 +00:00
Vadim Zeitlin
09f43fd361 override wxUSE_MS_HTML_HELP setting and set it to 0 under platforms other than MSW to fix compilation/linking problems in src/common/cshelp.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 00:59:27 +00:00
Vadim Zeitlin
a0680daf77 regenerated after the last change of setup_inc.h (changes in comments only)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 00:55:08 +00:00
Vadim Zeitlin
a1584ea142 just a change in comment for wxUSE_MS_HTML_HELP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 00:49:10 +00:00
Vadim Zeitlin
c969b007c2 define wxUSE_XML as wxUSE_XRC directly instead of using an #ifdef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 00:46:20 +00:00
Vadim Zeitlin
5c6538bcf0 don't check whether wxUSE_MS_HTML_HELP is defined here, this is the job of wx/chkconf.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 00:41:18 +00:00
Vadim Zeitlin
87c2432d22 temporarily disable XRC richtext handler to avoid breaking the build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 00:34:56 +00:00
Kevin Ollivier
b20907ef2d Fix for incorrect error message report that caused wxMediaCtrl not to play MPEGs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 22:26:44 +00:00
Benjamin Williams
7564225f8b missing header file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 19:16:40 +00:00
Vadim Zeitlin
ab8576b4ac fix Normalize() test by using dummy working directory allowing the test to work even when it's ran from the root directory or its subdirectory (this message also applies to the previous, accidental, commit of this file)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 19:09:13 +00:00
Benjamin Williams
e0dc13d470 wxAuiMDI* patches through images to wxAuiNotebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 19:07:52 +00:00
Vadim Zeitlin
c217396535 use CPPUNIT_ASSERT_MESSAGE() to show which test exactly failed; use more CPPUNIT_ASSERT_EQUAL()s instead of simple CPPUNIT_ASSERT()s for the same purpose
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 19:06:32 +00:00
Vadim Zeitlin
2264775b8a use CPPUNIT_ASSERT_MESSAGE() to show which test exactly failed; use more CPPUNIT_ASSERT_EQUAL()s instead of simple CPPUNIT_ASSERT()s for the same purpose
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 19:02:56 +00:00
Vadim Zeitlin
9129836e62 wxArrayString::Alloc() shouldn't clear the array contents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 18:52:43 +00:00
Julian Smart
4e8d95587c Add ctor parameters to match wxTextCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 18:51:03 +00:00
Vadim Zeitlin
fd2ce1d1c1 rebaked after addition of XRC handler for richtext control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 16:57:52 +00:00
Benjamin Williams
4abf84fb01 another ghost button bug fixed in wxAuiNotebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 16:47:09 +00:00
Julian Smart
fd4344d64d Added wxRichTextCtrl XRC handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 15:45:11 +00:00
Benjamin Williams
2b9aac3387 wxAuiNotebook bitmaps working now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 15:19:38 +00:00
Julian Smart
42688aea2d Added a couple of text effects
Added style description
Fixed some bugs in style comparison
Fixed extra newline when loading


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 14:05:50 +00:00
Vadim Zeitlin
bc971e307d fix crash in wxLogTrace() in Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 13:58:59 +00:00
Robert Roebling
0ccf004304 Commit [ 1592301 ] [wxgtk] Fix wxCollapsiblePane to be flicker-free
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 13:39:35 +00:00
Michael Wetherell
91e9bcc905 Restore the max printf arguments to 64.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 13:34:13 +00:00
Václav Slavík
b97dc9c8bc more efficient version of the wxUniv scrolling fix: don't call Update() in cases when ScrollWindow() wouldn't be called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 12:20:21 +00:00
Václav Slavík
4ca64d4137 fixed wxOverlay to handle wxWindowDC/wxClientDC in the same way wxMac does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 12:17:56 +00:00
Benjamin Williams
a9eeb510dd crash fixes for wxAuiNotebook on gtk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 10:36:16 +00:00
Benjamin Williams
f39fddcd9e accessor functions for wxAuiMDIParentFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 10:31:52 +00:00
Benjamin Williams
ba6ce5fbdb vertically centered miniframe close button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 10:12:20 +00:00
Benjamin Williams
87e5fe6990 wxAuiNotebook tab drag-drop bug fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 09:54:05 +00:00
Jouk Jansen
fe4ed5ebff synchronizing setup.h_vms with setup.h.in
Modified Files:
 	wxWidgets/setup.h_vms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 09:03:58 +00:00
Benjamin Williams
9b405ab311 fixed bug in ButtonHitTest() which caused invisible buttons to be pressable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 08:13:06 +00:00
Benjamin Williams
9b3f654a4c button bug fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 07:44:07 +00:00
Benjamin Williams
a93d5af846 fixed crasher (part 2)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 05:39:59 +00:00
Benjamin Williams
28169517b8 fixed crasher
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 05:38:36 +00:00
Robin Dunn
ecc7aa8203 ensure m_table is not NULL before trying to access the view
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 04:54:47 +00:00
Michael Wetherell
644241e162 Go back to using sprintf instead of swprintf, since it's signature has changed
on Windows. There are quite a few compilers where we don't know which version
the change occurred or will occur, including bcc, gcc, and icc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 01:13:18 +00:00
Michael Wetherell
8bb9d852a3 Move the #if disabling wxUSE_STD_STRING for watcom/dmc/vc5 into setup.h so
that users can edit them easily.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 00:09:15 +00:00
Michael Wetherell
693bfcafb6 Fix for CreateTempFileName with wxFFile for Windows. Also _open_osfhandle
requires O_BINARY on Borland, and the others don't seem to mind it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 23:48:24 +00:00
Robin Dunn
405be7132c wxFileSystemHandler test case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 22:39:03 +00:00
Robin Dunn
ec8a775558 Typecheck each list element in wxArrayInt typemap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 22:36:55 +00:00
Robin Dunn
f20a4018f4 Keep m_pos in sync in SetValue in case the value_changed callback is
not called, such as when the widget is first created.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 22:35:33 +00:00
Robin Dunn
4f13d3825e test for mac theme brush
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 21:43:51 +00:00
Robin Dunn
c04bcba0d6 Don't embed the style sheet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 21:43:11 +00:00
Robin Dunn
de8137ac5c Fix for bug # 1592263, changing 'glLightModel' to 'glLightModelfv'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 21:42:30 +00:00
Robin Dunn
047fa46b8a Use the native vswprintf on OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 20:29:57 +00:00
Benjamin Williams
6750264e50 reverted to gtk-specific close xbm
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 20:04:25 +00:00
Benjamin Williams
760d3542ec button bug fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 20:02:38 +00:00
Robin Dunn
8bd3541321 fixes for the dummy classes (used when wxUSE_GRAPHICS_CONTEXT is 0)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 19:59:21 +00:00
Julian Smart
5567a2224b Rename double readme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 18:47:12 +00:00
Benjamin Williams
69685ee021 fixed width measuring - minor fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 16:13:04 +00:00
Benjamin Williams
8e367bbf44 prevent sash artifacts on gtk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 15:48:06 +00:00
Benjamin Williams
50d5ad7d77 elipsis for oversized pane captions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 15:40:23 +00:00
Vadim Zeitlin
7487078819 include the icon also for wxMGL (fixes tinderbox error)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 15:32:27 +00:00
Włodzimierz Skiba
e9c2213ed7 Adjustement to OW 1.6-rc2 state.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 14:51:52 +00:00
Benjamin Williams
3904a28098 round active tab corners a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 13:32:05 +00:00
Benjamin Williams
cf143a431c a tad bit more padding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 13:26:05 +00:00
Benjamin Williams
213e64e980 add a little extra padding around text in new tab theme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 13:24:30 +00:00
Benjamin Williams
47b6bebbdc clipping bug fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 13:10:32 +00:00
Benjamin Williams
7e1f1a1328 fixed event processing bug in tabmdi
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 12:52:02 +00:00
Benjamin Williams
8896cb72d2 touched up close button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 10:59:46 +00:00
Jouk Jansen
33b44441ef Update configuration file for OpenVMS
Modified Files:
 	wxWidgets/setup.h_vms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 10:34:10 +00:00
Benjamin Williams
1114a102d5 fixed compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 10:29:02 +00:00
Benjamin Williams
dadacb5ec7 streamlined gradients
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 10:28:06 +00:00
Benjamin Williams
9c1d6ef42e added image to root item of tree in aui sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 09:31:42 +00:00
Julian Smart
623a195ec2 Include winundefs.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 09:08:33 +00:00
Benjamin Williams
b826c7dcd2 in wxAuiDefaultDockArt, save base colour just in case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 08:53:28 +00:00
Benjamin Williams
7c508bca83 simplified gradient code a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 08:45:18 +00:00
Benjamin Williams
26cab2af0a removed unnecessary commented code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 08:37:36 +00:00
Benjamin Williams
b965ffff37 small bug fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 08:36:33 +00:00
Benjamin Williams
b0d17f7c3f new default theme for wxAuiNotebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 08:10:16 +00:00
Stefan Csomor
82f88f03ba supporting theme brushes under 10.4 properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 08:09:56 +00:00
Robin Dunn
48a0c02123 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 05:20:59 +00:00
Robin Dunn
855dd2ecee GetNumberOfLines on GTK doesn't count wrapped lines again...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 05:17:30 +00:00
Robin Dunn
20be5dfc14 Typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 05:13:36 +00:00
Robin Dunn
8434297daf The "small optimization" causes asserts if Play is called before the
first EVT_SIZE event (because the m_backingStore bitmap won't have
been created yet) so take it out.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 05:12:52 +00:00
Robin Dunn
05d46ba223 Patch #1591763 Set focus when clicked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 03:46:37 +00:00
Robin Dunn
49f7b879bd Add wxGCDC(const wxWindow*)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 03:29:35 +00:00
Robin Dunn
4b71c4ecfd Move setting of mac.listctrl.always_use_generic to wx.PyApp.__init__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 01:57:27 +00:00
Robin Dunn
7a0a389e19 fixed indentation error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 01:47:10 +00:00
Vadim Zeitlin
c751d1d731 fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 01:23:18 +00:00
Vadim Zeitlin
b6814e24ef disable joystick for wxMGL, it's not implemented there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 23:57:43 +00:00
Vadim Zeitlin
74d92aac47 disable net contrib for non-Unix nor Windows platforms (e.g. wxMGL under DOS)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 23:21:24 +00:00
Vadim Zeitlin
ce0c732e0b implement declared but not defined ctor not taking wxGLContext
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 22:26:46 +00:00
Robin Dunn
d95b9f2b63 changes to match AUI API changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 20:55:15 +00:00
Robin Dunn
3cf4df6e8b some more updates about changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 20:53:22 +00:00
Robin Dunn
58dbf9d0a2 better check for valid font and color
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 20:51:20 +00:00
Robin Dunn
3901007753 upload to wxpython.wxcommunity.com instead of starship
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 20:50:25 +00:00
Julian Smart
bc58b35389 Fixed crash if trying to move tab to non-existant window (outside frame)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 18:54:00 +00:00
Robin Dunn
99a2637bdb use the 0.2.1 version of bakefile.m4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 17:37:49 +00:00
Benjamin Williams
13d0b605b2 docking hint bug fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 17:12:49 +00:00
Stefan Csomor
1acf0e5cff transforming clippings correctly, even if there is no native graphics context available yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 16:48:54 +00:00
Vadim Zeitlin
480b9f185f disable wxSound for wxMGL DOS build (it's not implemented there)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 16:15:49 +00:00
Benjamin Williams
3fd8c98854 implemented page close event for wxAuiNotebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 15:05:08 +00:00
Benjamin Williams
5d3aeb0f57 wxAuiNotebook has external tab dragging now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 13:44:26 +00:00
Vadim Zeitlin
56c6aab7e6 disable dialup manager for MGL, it doesn't link as there is no DOS implementation of it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 13:05:50 +00:00
Julian Smart
53cc4e7005 Better vertical height for choice/combo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 13:00:02 +00:00
Vadim Zeitlin
6716fce439 (blind) compilation fix for wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 12:59:38 +00:00
Stefan Csomor
e0a7373f80 adjust to new and deleted files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 12:50:11 +00:00
Vadim Zeitlin
c2336ae380 update from Mahrazi Mohd Kamal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 12:12:17 +00:00
Julian Smart
5d38a5f3c1 Improved highlight drawing on wxMac/Core Graphics by not using wxClientDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 11:41:02 +00:00
Stefan Csomor
8a7e4b38b8 add a header placeholder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 10:23:19 +00:00
Stefan Csomor
48aaa7b651 add a header placeholder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 10:18:13 +00:00
Stefan Csomor
14cd0443d9 add a source placeholder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 10:16:54 +00:00
Benjamin Williams
935584030e fixed misspelling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 10:12:27 +00:00
Stefan Csomor
773ccc318e adapting to new inheritance of wxMemoryDC (under MSW only at the moment)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 09:47:20 +00:00
Stefan Csomor
93f72baea4 wxGraphicsContext always is using clipping regions in user coordinates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 09:09:32 +00:00
Stefan Csomor
f4f9074f49 fixing region clipping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 08:11:57 +00:00
Stefan Csomor
4bae004c61 translate the wxRegion from device to user coordinates, swap angles for the arc drawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 08:06:09 +00:00
Stefan Csomor
3925a44ce0 fixing origin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 07:49:14 +00:00
Benjamin Williams
8bfde0a840 aui sample can now create extra notebooks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 07:46:01 +00:00
Benjamin Williams
a6b0e5bddd api uniformity between tabart and dockart
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 07:09:56 +00:00
Vadim Zeitlin
8ea4569950 update window before changing the scrolling position and really scrolling it to avoid redraw problems in wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 01:45:03 +00:00
Vadim Zeitlin
b792828e20 generic animation sources are used under all platforms so put them in ADVANCED_CMN_SRC/HDR instead of listing them for each platform; this fixes double inclusion (and resulting link problems) of animateg.cpp in wxUniv builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 01:40:40 +00:00
Robin Dunn
6db2ee93dd commented out some test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 01:15:35 +00:00
Robin Dunn
3756fd25b9 Rebaked after addition of mediactrl_qt.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 01:14:04 +00:00
Robin Dunn
c5ec19f4f5 Re-add the wxQTMediaBackend class, by copying the code for it from the
old mediactrl.cpp to mediactrl_qt.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 01:12:11 +00:00
Vadim Zeitlin
ba46d9ea76 fix compilation error when wxUSE_DYNLIB_CLASS == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 00:59:50 +00:00
Vadim Zeitlin
0643d43cad move WX_GL_XXX constants from wx/*/glcanvas.h to wx/glcanvas.h (this makes them available for wxCocoa too); also only include <windows.h> via wx/msw/wrapwin.h and not directly for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 00:57:46 +00:00
Robin Dunn
9057d6d46e reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-05 22:47:39 +00:00
Robin Dunn
ad3a156e18 Disown the preview object when calling wxPyPreviewFrame ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-05 22:47:00 +00:00
Robin Dunn
254e112c27 dosctring for DrawRotatedText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-05 22:46:15 +00:00
Robin Dunn
f89238b9fe reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-05 22:07:02 +00:00
Robin Dunn
edd13c9d8a Patch from F. Oliver Gathmann to observer enabled/disabled state of
the control by changing text fg color.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-05 22:03:45 +00:00
Robin Dunn
59c516a34a New DrawText methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-05 21:37:32 +00:00
Robin Dunn
ac22204b1b Fix default value for wxFontPickerCtrl's initial font parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-05 21:29:40 +00:00
Robin Dunn
3793805980 Patch from Dj Gilcrease adding the FNB_HIDE_ON_SINGLE_TAB flag for
wx.lib.flatnotebook.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-05 21:28:36 +00:00
Robin Dunn
ef8e4bf082 Revert reentrancy patch (#1573619)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-05 21:27:48 +00:00
Robin Dunn
a5bbc20278 Revert reentrancy patch (#1573619)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-05 21:22:10 +00:00
Robin Dunn
56560c387f Add DLL export macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-05 21:20:51 +00:00
Robert Roebling
231018bdb6 #if wxUSE_CARET guard.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-05 21:07:18 +00:00
Benjamin Williams
473016d68c bug fixed for mdi parent frames
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-05 20:22:49 +00:00
Stefan Csomor
74b357ddde fixing pattern phase bugs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-05 19:51:15 +00:00
Stefan Neis
0415c02d23 Allow passing file names with path to dllnames.sh.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-05 14:47:14 +00:00
Vadim Zeitlin
860a4018b9 preserve pen in DrawCheckMark() (bug 1581621)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-05 00:51:08 +00:00
Vadim Zeitlin
c1dcb1a0b4 no changes, just removed commented out line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-05 00:45:27 +00:00
Vadim Zeitlin
15a6b89668 fixed typo in files.bkl which broke wxUniv link (why oh why didn't bakefile tell me I forgot a bracket?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-05 00:03:13 +00:00
Vadim Zeitlin
7b2d1c74fe include wx/datetime.h and test for wxUSE_DATETIME before using wxLocaltime_r()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 23:46:02 +00:00
Vadim Zeitlin
bb7afa499a VC8 has strftime(), even under CE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 23:41:24 +00:00
Vadim Zeitlin
e09080ec62 use built in VC8 time functions instead of our (almost certainly broken) ones for wxWinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 23:27:15 +00:00
Vadim Zeitlin
83e8b44cc0 use wxLocaltime_r() instead of localtime(): this is safer and localtime() isn't available under WinCE while wxLocaltime_r() is always available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 23:20:20 +00:00
Vadim Zeitlin
d632789924 fix the broken code in strftime()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 22:09:47 +00:00
Vadim Zeitlin
1dbcdf2d24 really restored correct sample code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 21:58:47 +00:00
Robert Roebling
1fdd3f346c Added wxAUI category.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 21:54:15 +00:00
Robert Roebling
34d055c7b6 File rename.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 21:41:30 +00:00
Robert Roebling
82e791a67b Removed.
CVtn:~/wxNew/docs/latex/wx> rm paneinfo.tex
l ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 21:40:38 +00:00
Robert Roebling
e67635d4ee Renamed AUI tex files.
Documented wxAuiDockArt.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 21:38:52 +00:00
Kevin Ollivier
ba3241e643 Sizing and positioning fixes for generic control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 21:38:36 +00:00
Vadim Zeitlin
0ed77610cc removed unused variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 21:18:12 +00:00
Vadim Zeitlin
f86d9a8b21 document GetChildren() (bug 1578143)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 21:15:03 +00:00
Vadim Zeitlin
8898842fdc fix warning about unused variable in wxWinCE build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 21:12:31 +00:00
Vadim Zeitlin
1c07cf50cb oops, restored accidentally checked in testing code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 20:50:55 +00:00
Vadim Zeitlin
c4b4f847e2 recognize CP866 (bug 1497808)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 20:48:04 +00:00
Vadim Zeitlin
69199aad02 rebaked with baefile rev 928
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 20:39:49 +00:00
Vadim Zeitlin
a485900cf0 regenerated after changes in rev 1.15 of build/aclocal/bakefile/m4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 20:34:25 +00:00
Vadim Zeitlin
95d4dd10bb Debian files should be in debian subdir, not here; besides this script just duplicates the information from README.HowToBuild and is not very useful anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 20:32:51 +00:00
Vadim Zeitlin
848d834ee1 restored manually specified project order once again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 20:23:04 +00:00
Vadim Zeitlin
c3e7509cda restored the wx-specific changes accidentally lost in rev 1.13 and 1.14
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 20:21:49 +00:00
Vadim Zeitlin
0c7cb17c73 rebaked after wxCollapsiblePane move to core and using bakefile rev 928 which fixes Makefile after the last common.bkl change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 20:18:04 +00:00
Vadim Zeitlin
97d28c6f42 updated from bakefile revision 928
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 20:15:51 +00:00
Vadim Zeitlin
e541dae02d fix messages for OpenGL headers detection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 20:13:26 +00:00
Vadim Zeitlin
3c6fa82663 moved wxCollapsiblePane to core from adv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 20:03:48 +00:00
Kevin Ollivier
7ac21a6761 Adding label editing to native OS X listctrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 19:54:08 +00:00
Stefan Neis
a4e15a8d05 Added deep copy of bitmaps.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 18:52:56 +00:00
Robert Roebling
c98826242f Reorder event things a little.
Two callbacks for page change and page changing.
    use signal_connect_after() for page changed event,
      as everywhere else, this should also make it
      possible to select a different page in the
      event handler.
    GetSelection just uses native call.
    Don't use m_skipEvent flag, disconnect from events.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 18:29:28 +00:00
Vadim Zeitlin
59062ec113 add wxTempFile test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 18:25:08 +00:00
Robert Roebling
a85dda4ad8 Test adding page without setting selection.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 18:24:07 +00:00
Vadim Zeitlin
1d300f25b3 define wxStringListBase::EmptyList to fix link with wxUSE_STL==1 (bug 1495659)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 18:14:50 +00:00
Vadim Zeitlin
c2eb1bc3e9 add wxUSE_ACCESSIBILITY guards (bug 1107297)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 17:43:58 +00:00
Stefan Csomor
068eb463a4 adding text with background brush
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 17:41:41 +00:00
Vadim Zeitlin
5dfc7e56e5 test for GL/glu.h too (fixes part of bug 879474)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 17:40:31 +00:00
Vadim Zeitlin
02b0502025 look for OpenGL headers/libraries in /opt/graphics/OpenGL as this is where they're found on HP-UX systems apparently (closes bug 925307)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 17:33:37 +00:00
Vadim Zeitlin
1113475f03 rebaked after animation control and helpbest.h changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 17:17:47 +00:00
Vadim Zeitlin
3ff414ad4d fixed typo in the last before one change (UNIV_HDR, not UNIX_HDR)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 17:10:14 +00:00
Julian Smart
15a187a6b2 Account for PANGO_WEIGHT_SEMIBOLD not being available on older Pango
installations


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 17:09:48 +00:00
Vadim Zeitlin
ef53c34079 don't include wx/msw/helpbest.h in HTML_HDR unless the toolkit is MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 17:09:15 +00:00
Václav Slavík
6589dc98a0 don't use top_builddir so that configure.in works with autoconf 2.5x as well as 2.60+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 17:08:49 +00:00
Robert Roebling
7ceea08fa3 Reenabled page selection event when page in notebook
was deleted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 16:56:07 +00:00
Vadim Zeitlin
38073aff65 correction to last commit: don't add animation control source to core library, add them to advanced one, for wxUniv builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 16:46:10 +00:00
Julian Smart
9e4355850b Generic fix for full row highlight
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 16:10:28 +00:00
Vadim Zeitlin
1295f134ed fixed crash due to infinite recursion in wxPopupFocusHandler::OnKeyDown()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 14:01:39 +00:00
Vadim Zeitlin
86020f7e33 don't leave tables non-owned by the grid with dangling view pointer when the grid is deleted (patch 1310535)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 13:43:13 +00:00
Vadim Zeitlin
e16ceb3ca6 capture mouse to be notified when it exists the popup rect (bug 1372228)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 13:31:10 +00:00
Vadim Zeitlin
3974b828f9 moved wxSingleInstanceChecker to base from core under Mac (bug 1384489)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 13:08:46 +00:00
Vadim Zeitlin
f7ed09d0c7 define wxMiniFrame at least somehow if the current port doesn't define it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 13:01:30 +00:00
Vadim Zeitlin
1ffc8d7a55 define arrays of chartoo as the existing ones can't be used to store char values (bug 1572314)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 12:51:01 +00:00
Vadim Zeitlin
719bc6faad document the problem with using arrays whose element size is larger than the actual size of the elements stored in them (bug 1572314)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 12:42:03 +00:00
Vadim Zeitlin
7c3f33a943 grid lines were incorrectly drawn over multicell cells in the last column (bug 1290841)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 12:33:48 +00:00
Vadim Zeitlin
e8a147a6c3 invalidate best size of the book controller too when the pages are added/removed, this fixes a lot of sizing problems with treebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 12:20:09 +00:00
Vadim Zeitlin
72db44b528 removed out of date FIXME (part of patch 1590194)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 12:18:53 +00:00
Vadim Zeitlin
e38f59e899 document WX_PREPEND_ARRAY (part of patch 1590194)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 12:18:15 +00:00
Vadim Zeitlin
17cb6ff641 use Alloc() in WX_PRE/APPEND_ARRAY (part of patch 1590194)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 12:15:19 +00:00
Vadim Zeitlin
081fcce3ba reverted the last fix, it was just wrong, sorry, the problem is elsewhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 11:59:42 +00:00
Vadim Zeitlin
fbf8436cb2 fix tree control best size calculation: account for the images and the buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 11:42:41 +00:00
Vadim Zeitlin
e525c4ff96 test GetBoundingRect()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 11:26:51 +00:00
Vadim Zeitlin
0a704d3973 call base class ctor in copy ctors explicitly (fixes gcc warnings with -Wextra)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 11:16:03 +00:00
Vadim Zeitlin
6e35d7ca0e handle all wxROLE_XXX values in wxConvertToWindowsRole()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 11:14:57 +00:00
Vadim Zeitlin
040b6ee5ac add generic animation sources to wxUniv (and correspondingly removed them from wxX11)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 11:13:39 +00:00
Vadim Zeitlin
b6349b169b really define TRACE_CLIPBOARD (fix for the last commit)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 11:03:46 +00:00
Vadim Zeitlin
1dcfc3331f attempt to fix linking error in one of the tinderbox builds by moving local class declaration out of the function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 10:57:24 +00:00
Vadim Zeitlin
dddfcb3118 include iostream header when using std streams
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 10:42:53 +00:00
Stefan Csomor
72366f68d1 removing additional offset - why did this ever work ?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 10:38:15 +00:00
Stefan Csomor
091ef146b7 stub implementations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 09:57:35 +00:00
Stefan Csomor
ad66794547 adding measuring contexts, streamlining printing code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 07:50:06 +00:00
Stefan Csomor
fd7915711f allowing transformation changes even if there is no graphics context around
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 06:39:50 +00:00
Stefan Csomor
6e25bf0ffb fixing warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 06:33:45 +00:00
Vadim Zeitlin
968956aa6e don't compile in wxCheckWin32Permission() when it's not used (as in cygwin builds where both __UNIX__ and __WINDOWS__ are defined)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 03:14:48 +00:00
Vadim Zeitlin
8bf7f1a9fe regenerated after last fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 03:12:17 +00:00
Vadim Zeitlin
4922025ae8 fix to last change: compilation test must be done after test for C compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 03:10:20 +00:00
Vadim Zeitlin
6da4ac91a9 regenerated after two last configure.in changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 02:58:56 +00:00
Vadim Zeitlin
032bc940fc add -mno-cygwin detection: we should treat cygwin as Windows, not Unix, when it's used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 02:54:19 +00:00
Vadim Zeitlin
76cf603e91 include iostream header when using std streams
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 00:02:02 +00:00
Vadim Zeitlin
0817a2c54c corrected documentation of font parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 23:36:07 +00:00
Vadim Zeitlin
d395dbab76 compilation fix for last fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 23:34:24 +00:00
Vadim Zeitlin
580ca0a4e1 wxAnimationCtrl fix to display inactive bitmap at start (patch 1590192)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 22:16:51 +00:00
Vadim Zeitlin
28639df9c7 added collpane sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 22:02:34 +00:00
Vadim Zeitlin
305329c2f1 use wxNullFont instead of *wxNORMAL_FONT as default parameter for wxFontPickerCtrl/Widget, this fixes compilation with gcc 2.95 and possibly other old compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 21:54:13 +00:00
Vadim Zeitlin
322f55e8d0 fix typo in WX_ARG_ENABLE for richtext (patch 1589243)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 21:48:44 +00:00
Vadim Zeitlin
5ffa72f49f use wxEMPTY_PARAMETER_VALUE to ensure that nested macro calls get correct number of parameters even when expdecl passed to the outer macro is empty (as happens in static builds)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 21:37:08 +00:00
Michael Wetherell
b158be6e47 Use hash<long> instead of hash<wxLongLong_t> when they are the same size
since even some 64-bit compilers have a problem with it, it seems.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 21:32:39 +00:00
Vadim Zeitlin
01df01eb19 added IMPLEMENT_VARIANT_OBJECT_SHALLOWCMP(classname) macro for consistency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 21:25:59 +00:00
Vadim Zeitlin
3e09f6f1e8 clarify/correct note about VC6 build order problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 21:21:46 +00:00
Vadim Zeitlin
bde626ce30 don't define EMPTY_PARAMETER_VALUE macro without wx prefix, this is an invitation for name clash; instead define wxEMPTY_PARAMETER_VALUE and use it in both variant.h and event.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 21:06:57 +00:00
Vadim Zeitlin
ee0dd1b5e9 restored mention of the other .rsp files removed in last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 21:00:58 +00:00
Vadim Zeitlin
5c97688cf0 update the distribution instructions after switch to new distribution scripts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 20:50:12 +00:00
Vadim Zeitlin
542a26bace fix compilation after last change for compilers without variadic macros support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 19:53:02 +00:00
Vadim Zeitlin
51b7f9464d compilation fix: must include wx/dcmemory.h instead of wx/mgl/dcmemory.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 19:45:17 +00:00
Vadim Zeitlin
99d625fc6a don't use native GTK implementation in wxUniv builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 19:26:15 +00:00
Vadim Zeitlin
067c050c8e blind compilation fix: include wx/window.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 19:22:38 +00:00
Vadim Zeitlin
e001091c6f compilation fix for wxPenRefData operator==()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 19:15:33 +00:00
Robin Dunn
a352e39f43 Removed duplicate (and wrong) helpref
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 17:55:10 +00:00
Vadim Zeitlin
580a3876f6 use IsSameAs() instead of wxPalette::operator==() which doesn't exist any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 17:42:02 +00:00
Vadim Zeitlin
cf6824d93d use wxMemoryDC::SelectObjectAsSource() for const wxBitmaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 17:37:36 +00:00
Vadim Zeitlin
35da9cd333 fix XPM name to correct compilation under Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 12:19:02 +00:00
Julian Smart
fcdc9f6e1f Mac wxODBC fix from Jose' Cruanyes Aguilar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 10:55:20 +00:00
Roman Rolinsky
88e183d769 updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 10:52:02 +00:00
Roman Rolinsky
f53185301e withard styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 10:50:22 +00:00
Jamie Gadd
39ea83b757 Rearrange build order so dll builds have the correct dependencies
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 10:17:11 +00:00
Julian Smart
f36978baa7 Removed a warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 09:57:12 +00:00
Paul Cornett
7482aa1909 ignore requests to install idle handler when app instance is not valid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 08:08:45 +00:00
Robin Dunn
26c4d26f71 rwSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 08:07:25 +00:00
Robin Dunn
54af9b8b5e More aui updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 08:05:45 +00:00
Robin Dunn
eecfab1796 A patch from Frame Niessink which adds an additional style that
(un)checks a parent when all children are (un)checked,
i.e. TR_AUTO_CHECK_PARENT.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 08:04:27 +00:00
Robin Dunn
4f84bfb64f SetBestSize alias
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 07:45:45 +00:00
Robin Dunn
e676f137e7 Can wxMemoryDC derive from wxWindowDC on all platforms?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 07:45:01 +00:00
Robin Dunn
522f97d64e include vidmode.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 07:41:46 +00:00
Robin Dunn
215a6add75 docstrings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 07:41:05 +00:00
Julian Smart
c68dea664d Undid completely wrong patch 1438117: other platforms do _not_ count
the visible lines, only the underlying lines. With the patch, you
can't reliably do anything with lines using the other functions.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 22:45:32 +00:00
Robert Roebling
a66136e9aa Return to just using the official API for setting
TLW position and size. This works more often
    with newest version of GTK+ than with oldest
    versions.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 22:44:14 +00:00
Robert Roebling
fa78c87b40 Correct code for TLW placement, this fixes several
AUI problem when dragging panes quickly (the
    hint window would appear in the wrong place).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 22:29:29 +00:00
Julian Smart
551270a895 If the GIF isn't an animation, we can ignore the animation size, thus
suppressing false error.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 22:00:21 +00:00
Michael Wetherell
ec2f62b19d Use the standard hash<wxLongLong_t> on 64-bit machines.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 21:48:56 +00:00
Benjamin Williams
d18514d53f aui documentation updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 21:47:54 +00:00
Benjamin Williams
46067c3515 wxaui maximize bug fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 20:50:01 +00:00
Benjamin Williams
2613e24d5d added missing header to auibook.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 20:29:20 +00:00
Benjamin Williams
01372b8f09 implemented wxAUI_NB_WINDOWLIST_BUTTON and wxAUI_NB_SCROLL_BUTTONS in wxAuiNotebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 20:27:38 +00:00
Paul Cornett
9a5c9a0cde don't reset idle tag unless idle function is also going to be removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 19:05:39 +00:00
Václav Slavík
478db4fc86 don't crash when destroying window with scrollbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 18:57:44 +00:00
Paul Cornett
b9060f3324 revert memory leak fix, it causes crash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 18:37:23 +00:00
Kevin Ollivier
a6c82d64ce Sizing fixes for generic control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 18:17:24 +00:00
Robin Dunn
36cb9ebe32 AUI updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 17:05:17 +00:00
Benjamin Williams
3941df7010 added a cursor hint so user knows a tab is being dragged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 16:31:44 +00:00
Julian Smart
b58206c467 Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 15:45:39 +00:00
Benjamin Williams
51100f50fe aui sample update to include newly implemented options
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 15:41:56 +00:00
Benjamin Williams
695c008862 implemented wxAUI_NB_TAB_SPLIT and wxAUI_NB_TAB_MOVE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 15:40:02 +00:00
Benjamin Williams
931483d799 option for no close button for wxAuiNotebook in aui demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 14:54:38 +00:00
Jouk Jansen
9f06039f62 Committing in .
Update OpenVMS compile support

 Modified Files:
 	wxWidgets/src/common/descrip.mms
 	wxWidgets/src/generic/descrip.mms
 	wxWidgets/src/gtk/descrip.mms wxWidgets/src/xrc/descrip.mms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 14:52:32 +00:00
Stefan Csomor
f20217cf91 first version for docs on graphics classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 14:34:01 +00:00
Stefan Csomor
f43af7fea4 first version for docs on graphics classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 14:28:51 +00:00
Benjamin Williams
0ce53f3226 wxAuiNotebook window styles implemented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 14:16:59 +00:00
Benjamin Williams
c50fa29f43 updated aui sample to expose notebook flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 14:13:53 +00:00
Julian Smart
4f32b3cf15 Style application fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 13:19:07 +00:00
Benjamin Williams
0b3d6ff9db close button better positioning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 13:11:05 +00:00
Benjamin Williams
41b76acdc7 various close-button styles implemented in wxAuiNotebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 13:06:42 +00:00
Chris Elliott
ae27121bd2 replace out of date (and broken) ini
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 12:18:34 +00:00
Chris Elliott
cdc90f28e9 replace out of date (and broken) ini
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 11:23:31 +00:00
Vadim Zeitlin
7d7ec3cfb9 slightly better fix for missing c_str() in OnCellValueChanged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 11:07:37 +00:00
Julian Smart
3b5bf72fbe Compile in non-CG mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 11:05:41 +00:00
Benjamin Williams
528a5e8f92 proper indentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 10:45:48 +00:00
Julian Smart
2614a461f8 Moved function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 10:42:42 +00:00
Julian Smart
bcf881efa9 Moving GTK+-specfic function - it shouldn't be in public headers
because it then becomes impossible to include in app without adding
further include paths


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 09:51:49 +00:00
Julian Smart
740325df7f Eliminate POD warning/error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 09:23:52 +00:00
Stefan Csomor
5f547a582e using the foreground brush to fill mono bitmaps - gradients are not yet supported
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 09:18:16 +00:00
Stefan Csomor
f889bdb323 interpreting DrawBitmap for mono bitmaps according to the docs : using textfore- and background-colors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 09:16:04 +00:00
Benjamin Williams
74a94478c9 fixed aui flicker bug caused by typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 07:27:27 +00:00
Vadim Zeitlin
5df663afec close the file before removing it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 01:48:38 +00:00
Robin Dunn
5eb8189c35 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 23:44:09 +00:00
Robin Dunn
39dddf280d miniframe default style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 23:33:56 +00:00
Robin Dunn
2a783b2daa AUI updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 23:32:50 +00:00
Robin Dunn
4ff2cf09f9 Added the sample code from wxPython In Action to the samples dir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 22:52:01 +00:00
Robin Dunn
be05b43451 Added the sample code from wxPython In Action to the samples dir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 22:36:23 +00:00
Vadim Zeitlin
bb2775b9e8 override ExitMainLoop() to exit the MFC main loop instead of wxWidgets one, otherwise the application hangs on exit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 21:53:30 +00:00
Vadim Zeitlin
abe2128564 define _AFXDLL to ensure that MFC libraries are linked in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 21:38:42 +00:00
Vadim Zeitlin
86e75e59ab removed inline from the method which is not inline
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 21:37:00 +00:00
Vadim Zeitlin
eda9a7d81a sections cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 20:38:35 +00:00
Benjamin Williams
8856768e6e fixed bad rename
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 20:02:40 +00:00
Robert Roebling
83941c008e Least important change: move AUI docs in alphabetical index.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 19:27:04 +00:00
Benjamin Williams
00c1c94cda while we're at it, rename wxAuiFloatingPane to the more correct wxAuiFloatingFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 19:13:58 +00:00
Benjamin Williams
fbf40a19f5 wxaui docs after big rename
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 19:03:05 +00:00
Benjamin Williams
a3a5df9d92 wxaui big class rename
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 18:51:44 +00:00
Benjamin Williams
37106ab28e wxaui maximize/restore button patch from Aleksey Sanin (many thanks)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 17:43:51 +00:00
Benjamin Williams
702b1c7e8a wxaui notebook style flags added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 17:10:58 +00:00
Julian Smart
d742155316 Corrected directory example
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 16:30:22 +00:00
Robert Roebling
b5f6d6096f Remove debug printf.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 15:45:48 +00:00
Julian Smart
d5a0a2bcf8 IsDir() test is pretty useless, use DirExists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 15:30:38 +00:00
Julian Smart
4de1b652ea Allow for WinCE drive-less single backslash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 15:29:58 +00:00
Robert Roebling
b94db696c2 Make wxDataViewCtrl compile and work in ANSI mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 15:24:48 +00:00
Vadim Zeitlin
f24a3804a8 do not include <windows.h> directly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 14:35:55 +00:00
Benjamin Williams
bc119dd506 aui this really has to be BOOL and not bool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 14:24:05 +00:00
Vadim Zeitlin
0545fc014a also disable/reenable warning 4100 (unreferenced formal parameter) for VC5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 14:16:42 +00:00
Vadim Zeitlin
fae803f27b fix for longlongHash for architectures where sizeof(long long) == sizeof(long)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 14:08:04 +00:00
Robert Roebling
7226118b62 Fix compilation for GTK >= 2.6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 14:04:59 +00:00
Robert Roebling
de3cfa6e8c Fix warning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 12:56:38 +00:00
Robert Roebling
175fd114d3 wxMiniFrame's default style is without closebox on
wxGTK and wxMSW, and now on wxMAC as well.
  Document that.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 12:26:12 +00:00
Robert Roebling
c5bad6049f FRM's small wxSize::Scale enhancement.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 12:21:36 +00:00
Robert Roebling
49fa1dbb96 Also apply second part of patch for preventing
aui crashes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 12:17:01 +00:00
Robert Roebling
20d6447552 Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 11:53:54 +00:00
Stefan Csomor
2185a8a32f typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 10:32:00 +00:00
Julian Smart
7e134dc10c Reverted patch 1476893 pending further investigation (broke Advise in IPC)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 10:21:24 +00:00
Julian Smart
27b5dab348 Fixed compile error with --enable-stl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 09:45:06 +00:00
Robin Dunn
82ec1f7035 Fix for always failing assert in GetValue. Save the same value that
will be tested for there (the date without any time set.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 07:09:21 +00:00
Stefan Csomor
1c5decd0b8 casing the coordinates recalc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 06:07:11 +00:00
Kevin Ollivier
3ce16a8e02 Fixing icon drawing and implementing HitTest and GetItemRect for native OS X list ctrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 04:00:19 +00:00
Robin Dunn
f3d0a750d4 The rect passed to DrawTreeItemButton is already adjusted, we
shouldn't do it again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 03:59:03 +00:00
Robin Dunn
b6df5cf983 SWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 03:27:49 +00:00
Robin Dunn
2bf8f4c0d5 Implement deep copy of wxBitmapRefData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 03:23:35 +00:00
Robin Dunn
1c36019656 Don't use the "wxHtmlWindow" name, so the classname lookup function
doesn't get confused


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 02:21:24 +00:00
Robin Dunn
846b11857e better report if the subclass factory has import problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 02:20:25 +00:00
Robin Dunn
d9b33d7001 Buffered DCs now take non-const bitmaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 02:18:41 +00:00
Robin Dunn
2d499dbbb3 Make it possible to create just one clock, for testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 02:17:37 +00:00
Robin Dunn
e5b14b7498 Remove comment from patch that doesn't apply anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 02:10:47 +00:00
Robin Dunn
3754c85628 Switch wxBufferedDC to use a wxBitmap* internally, so it doesn't
increment the refcount of the bitmap refdata, and so it doesn't do a
copy on write.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 02:07:36 +00:00
Vadim Zeitlin
2ee16da2c3 initialize m_surface when copying invalid bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 01:55:44 +00:00
Vadim Zeitlin
39b0ab4a4c implement proper bitmap copying
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 01:36:32 +00:00
Stefan Neis
459f812bad Generalized compilation fix for old compilers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 01:16:01 +00:00
Stefan Neis
cd7ff8087b Dummy implementation for copying bitmaps.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 01:01:32 +00:00
Michael Wetherell
7bb82a7415 Fix setting the large file flag.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 00:49:50 +00:00
Stefan Neis
a19063065b Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 23:50:32 +00:00
Kevin Ollivier
9034707197 Explicitly forward non-command events along to the native control first.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 23:38:15 +00:00
Stefan Neis
7cbe148e2f Maximize chances to find an existing definition for O_BINARY and MAX_PATHLEN.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 23:29:02 +00:00
Robert Roebling
b21f4960b1 Return SetSizeHints() in wxWindow to its former
life but still recommend to use SetMinSize()
    and SetMaxSize(). I've already purged wxWidgets
    of any use of this function internally, but
    others may use it still.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 23:14:28 +00:00
Robert Roebling
93da796db4 Fix crash when intersecting with NULL region.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 23:03:32 +00:00
Robert Roebling
ac7d3dd157 Commited region iterator fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 22:48:38 +00:00
Stefan Neis
823189ee50 Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 20:46:35 +00:00
Robin Dunn
aef42e1ff6 Add a topc overview about window sizing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 19:30:45 +00:00
Robin Dunn
6e65f80be5 Always draw the selection of selected items, not just when they have
an icon


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 18:43:07 +00:00
Robin Dunn
0d82d64ea6 fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 18:41:36 +00:00
Robin Dunn
580080c5d6 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 17:52:46 +00:00
Robin Dunn
334178f853 Change the wxCharBuffer typemap to make sure there is data before
accessing it, set result to an empty string if now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 17:40:31 +00:00
Robin Dunn
81d1f02d28 wxTGAHandler is included by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 17:38:53 +00:00
Vadim Zeitlin
0bb222915e always define our HKPD/CC/DD constants, without using WINVER which is irrelevant anyhow (only run-time version matters, not compile-time)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 17:29:55 +00:00
Vadim Zeitlin
3c49e95272 include wx/private/*.h and wx/port/gtk/*.h files in the distribution (also fixes Debian packages build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 16:50:39 +00:00
Vadim Zeitlin
d6fb552774 call PKG_PROG_PKG_CONFIG before checking for gnomeprintui, gnomevfs and hildon libraries -- otherwise they were never detected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 16:46:49 +00:00
Vadim Zeitlin
155e46c2ed no changes, just resolving conflict with Julian's change which was almost exactly the same as mine
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 16:39:07 +00:00
Vadim Zeitlin
d96b9cafb8 don't compute (and mainly don't cache) our best size until we have created the radio buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 16:37:52 +00:00
Julian Smart
22653452af Add newline at end - necessary for PDF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 16:37:21 +00:00
Julian Smart
50c8b82054 Invalidate cache because best size was calculated earlier
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 16:35:57 +00:00
Julian Smart
c746b74707 Initialise all variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 16:34:58 +00:00
Vadim Zeitlin
3c738608b4 correct compilation after last change (added ifdef in the wrong function...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 16:19:24 +00:00
Vadim Zeitlin
9c6bd3813e increase the notebook size to accomodate the size of the controls inside it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 16:16:39 +00:00
Benjamin Williams
2906e7ae5a wxaui documentation updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 15:27:52 +00:00
Julian Smart
048128e086 implement wcsftime for versions of VS earlier than 2005
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 15:22:17 +00:00
Julian Smart
79f82e1f66 wxWinCE compile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 15:07:00 +00:00
Vadim Zeitlin
bd35c0f577 added entry for 2.7.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 15:00:09 +00:00
Vadim Zeitlin
5d7eebb6b2 use SelectObjectAsSource when we don't need to modify the bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 14:44:37 +00:00
Vadim Zeitlin
1b7c01c976 fix wxBitmap mask copying
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 14:43:04 +00:00
Vadim Zeitlin
d8f2f99ff7 don't define WINVER as 0x0400 in configure, it's defined in the headers as 0x0600 if it's not defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 14:34:43 +00:00
Václav Slavík
6e3d582809 compilation fix for !wxUSE_PALETTE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 14:31:06 +00:00
Benjamin Williams
c69532f71c aui notebook - foreign tab drops are positioned correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 13:55:54 +00:00
Vadim Zeitlin
8efbb8ad30 fixes for status bar positioning with non-top aligned toolbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 13:42:01 +00:00
Julian Smart
751f995440 Version changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 13:25:06 +00:00
Vadim Zeitlin
9583e4f4a0 recognize wxTB_TOP/LEFT/RIGHT/BOTTOM styles too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 13:13:07 +00:00
Benjamin Williams
22fec94aa9 aui docking works well on systems with solid window dragging turned off
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 13:12:36 +00:00
Vadim Zeitlin
3882e74621 many fixes to toolbar positioning code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 13:11:46 +00:00
Vadim Zeitlin
35386afc20 checking that a wxWindow is of run-time type wxWindow is hopefully useless
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 13:10:21 +00:00
Vadim Zeitlin
d408730ce4 ensure that wxToolBar has one of wxTB_TOP/LEFT/RIGHT/BOTTOM styles set, otherwise the latest toolbar positioning code breaks down
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 13:09:08 +00:00
Julian Smart
1c10464893 Remove unnecessary restriction for sizer parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 13:01:07 +00:00
Vadim Zeitlin
87bfb3969f don't define specifyLevel variable in release builds (fixes gcc and probably others warning)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 12:51:57 +00:00
Vadim Zeitlin
1cda5c7e62 removed unused Tell() call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 12:51:02 +00:00
Vadim Zeitlin
0b5750291a don't define TRACE_CLIPBOARD in release builds (fixes gcc warning)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 12:50:18 +00:00
Vadim Zeitlin
04988ec423 fix crash in wxRadioBox creation due to its DoGetBestSize() now being called from the base class Create(), before m_radioButtons are created
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 12:17:55 +00:00
Vadim Zeitlin
7aa920b5a5 blind compilation fixes for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 12:02:36 +00:00
Vadim Zeitlin
0df2f30c18 fix refcountlist subsection location
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 11:39:31 +00:00
Vadim Zeitlin
4a89f0e907 SetBestSize() is now deprecated, don't use it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 11:20:16 +00:00
Benjamin Williams
08c068a4eb aui notebook real-time dragging implemented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 10:59:36 +00:00
Julian Smart
4fe0156b18 Made all bitmaps 16x16
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 10:51:33 +00:00
Václav Slavík
325219cb26 fixed: clicking on links in the help view did nothing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 10:48:16 +00:00
Stefan Csomor
a7868cdf6a fixing reset clip
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 10:40:51 +00:00
Stefan Csomor
2986407b54 correct meaning of logical origin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 10:30:42 +00:00
Benjamin Williams
2fadbbfd12 aui notebook pages can be moved around
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 10:16:39 +00:00
Stefan Csomor
1f2b627ae9 added missing init
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 10:08:22 +00:00
Michael Wetherell
fa24cfa09d Fix for handling of invalid gifs, patch 1587754 Noel Byron.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 09:35:57 +00:00
Benjamin Williams
4f6459a3dd fixed missed button enum conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 09:34:59 +00:00
Vadim Zeitlin
6a7d17a272 avoid unneeded use of cat in the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 09:32:24 +00:00
Václav Slavík
2f099ed723 fixed scrolling using mouse broken by my previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 09:26:55 +00:00
Robin Dunn
63044ee7fe Get the version numbers from configure.in, which should always be correct.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:56:55 +00:00
Stefan Csomor
23a3e8fbda make things compile under 10.3 again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:56:07 +00:00
Robin Dunn
170acdc90e GetBestFittingSize --> GetEffectiveMinSize
SetBestFittingSize --> SetInitialSize
SetBestSize  --> SetInitialSize
SetInitialBestSize --> SetInitialSize


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:50:17 +00:00
Vadim Zeitlin
1e0e7f7d0e define wxTC_MULTILINE explicitly as wxNB_MULTILINE is not necessarily defined where it is used (e.g. msw/tabctrl.cpp); change the value of wxTC_OWNERDRAW to avoid conflict with wxTC_MULTILINE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:47:16 +00:00
Julian Smart
97f8976204 Don't process char event if wxTranslateKeyEvent returned false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:45:33 +00:00
Vadim Zeitlin
52778e0049 include wrapwin.h to get HMONITOR and friends declarations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:45:16 +00:00
Stefan Csomor
69541a2ef1 lost save state call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:43:17 +00:00
Stefan Csomor
35ee712487 make sure we always restore the passed in cg in a paint event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:39:08 +00:00
Julian Smart
477bfb0a7e Updated version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:14:08 +00:00
Benjamin Williams
2cb1b0a805 minor aui doc updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:07:10 +00:00
Julian Smart
d4364294e2 Updated manual version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:06:00 +00:00
Benjamin Williams
26da5e4f5a aui: allow m_frame to be null in wxFrameManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:02:56 +00:00
Benjamin Williams
533bedbf30 fix aui crash related to SF bug 1531361
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 07:41:32 +00:00
Michael Wetherell
aa0ff209bc Update docs to mention new filesystem handlers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 07:40:30 +00:00
Vadim Zeitlin
dd21c82639 make wxBitmap *really* ref counted in X11; some cleanup of bitmap code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 01:24:10 +00:00
Robin Dunn
6ed100b4a1 Some random test apps that I've been playing with
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 00:59:32 +00:00
Vadim Zeitlin
5c9d9745fe partly successful (i.e. previously it didn't work at all and spewed Pango warnings and now it just doesn't work) attempts to fix drawing text on wxMemoryDC in Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 00:59:06 +00:00
Robin Dunn
8f514ab459 Gobs of changes needed to get up to date with today's CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 00:57:21 +00:00
Vadim Zeitlin
bb9e79c05e added --enable-tga (on by default)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 00:41:43 +00:00
Vadim Zeitlin
3afd11bc6c added horse.tga to bakefile and distribution scripts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 00:35:09 +00:00
Vadim Zeitlin
b0b96f667d use wxChar correctly in wxString docs; mark wx1 compatibility functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 00:26:21 +00:00
Vadim Zeitlin
64dd1c4697 compilation fix after wxMemoryDCBase changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 00:14:50 +00:00
Vadim Zeitlin
76690d5e7d compilation fix after wxBitmap::operator==() removal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 00:13:40 +00:00
Julian Smart
9b50920f5e More fun with line endings, to avoid mangling PDF contents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 23:42:22 +00:00
Vadim Zeitlin
783d8bdf57 don't assign NULLs to bools and floats, this is confusing (and also the usual: deTABified; corrected double to int cast)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 23:22:42 +00:00
Vadim Zeitlin
8a438f46b5 more fixes to double to int conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 23:19:10 +00:00
Vadim Zeitlin
fae47b81e8 gcc signed/unsigned comparison fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 23:16:37 +00:00
Vadim Zeitlin
6c0aace267 hack to fix warnings about wxMAC_USE_CORE_GRAPHICS_BLEND_MODES not being defined -- but should it be used in this common file at all?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 23:16:17 +00:00
Vadim Zeitlin
0797d64777 forcefully disable wxUSE_STD_STRING and wxUSE_STL for Digital Mars and Open Watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 23:09:39 +00:00
Vadim Zeitlin
f0985cf4ea removed unneeded ifdef from last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 23:03:08 +00:00
Julian Smart
76fa9e023c Compile fix for Universal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:58:28 +00:00
Vadim Zeitlin
f536319dee compilation fix after operator==() removal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:58:02 +00:00
Vadim Zeitlin
ebdb3bc7e0 compilation fix after operator==() removal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:51:28 +00:00
Vadim Zeitlin
ba518e2cb9 added wxUSE_COLLPANE (why is this file not generated, again?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:44:18 +00:00
Vadim Zeitlin
0e4f79360f Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:43:25 +00:00
Vadim Zeitlin
c16db850cd compilation fixes after adding wxMemoryDCBase::Init(): renamed wxDC::Init() in wxDFB to DFBInit()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:42:34 +00:00
Vadim Zeitlin
27e6d74649 ignore dmc_lib (Digital Mars build directory)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:26:05 +00:00
Vadim Zeitlin
476a3029a8 commented out if(1) which resulted in annoying bcc warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:24:37 +00:00
Vadim Zeitlin
d34ad9ea89 a better compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:23:22 +00:00
Robert Roebling
14f4cead9d Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:12:39 +00:00
Vadim Zeitlin
d6dc5c6fdd compilation fix after operator==() removal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:11:26 +00:00
Vadim Zeitlin
4de63828af compilation fix after IsRefTo -> IsSameAs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:06:21 +00:00
Vadim Zeitlin
a3ab1c1801 renamed IsRefTo() to IsSameAs() (do complain if this is not more clear) and
changed its signature to take a const reference instead of a pointer which
simplifies the code and makes it safer as well


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:03:53 +00:00
Vadim Zeitlin
e4ef49c7a7 don't need to check if we set the same cursor before setting it: SetCursor() already checks for this anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 21:53:52 +00:00
Vadim Zeitlin
88df9199da use wxUSE_COLLPANE around usage of wxCollapsiblePane
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 21:48:53 +00:00
Vadim Zeitlin
4c1e8a6952 gcc signed/unsigned comparison warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 21:47:47 +00:00
Vadim Zeitlin
e651143ca8 Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 21:45:42 +00:00
Vadim Zeitlin
514401354c handle PANGO_WEIGHT_SEMIBOLD font weight (avoids gcc warnings and generally makes sense)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 21:45:10 +00:00
Robert Roebling
bd915acef1 Commit configure.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 21:43:22 +00:00
Robert Roebling
913e3ee729 Blindly fixed (tried to) wxSlider on Mac after
SetSizeHints() change.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 21:33:03 +00:00
Robin Dunn
34424e1e7f another compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 21:27:35 +00:00
Robin Dunn
8c6686ef7b Add DLL export macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 21:09:47 +00:00
Robin Dunn
833cce0628 More compile fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 21:08:59 +00:00
Robin Dunn
2e57368359 Some compile fixes.
It sure would be nice if big complicated patches could be tested (or
at least compiled) on all the core platforms before being checked in,
especially in last-minute crunch times.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 20:56:25 +00:00
Vadim Zeitlin
c319bc4734 include wx/bitmap.h as we use wxBitmap here now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 20:51:19 +00:00
Vadim Zeitlin
5a70d3f578 remove just added wxCoordRound() (see patch 1586499)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 20:34:25 +00:00
Vadim Zeitlin
b4bdf722ab added collpane sampel files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 20:25:43 +00:00
Vadim Zeitlin
7fdc89cb2b no changes, just removed commented out code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 20:23:41 +00:00
Vadim Zeitlin
09e6c9287a rebaked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 20:17:18 +00:00
Vadim Zeitlin
912c39325b Various wxCollapsiblePane enhancements (re-patch 1577412):
1. wxUSE_COLLPANE added
2. XRC handler added
3. flicker fixes for the generic version
4. sizing fixes for GTK+ version
5. RTL fixes for the generic version (via wxBoxSizer)
6. better appearance under Mac for the generic version


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 20:08:17 +00:00
Benjamin Williams
a4c8fc2374 aui notebook sizing calculations streamlined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 20:07:52 +00:00
Vadim Zeitlin
3fff396675 replaced wxCint() with wxRound() (which is exactly the same) in Rotate(); small code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 20:03:33 +00:00
Mattia Barbon
90d7286923 Nearly finished Italian translation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:49:03 +00:00
Vadim Zeitlin
fea35690f1 Added wxMemoryDC::SelectObjectAsSource() and make SelectObject() unshare
the bitmap to ensure that no other bitmaps are modified; also remove some code
duplication by introducing wxMemoryDCBase (patch 1580745)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:41:46 +00:00
Vadim Zeitlin
d2a93a2af3 mention comparison operators changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:36:16 +00:00
Vadim Zeitlin
4e124582c4 no changes, just wrap long lines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:30:53 +00:00
Vadim Zeitlin
55ccdb93e4 COW cleanup patch (1583966):
1. perform deep comparison for the classes for which it makes sense in the
   ports where this wasn't done yet
2. remove (shallow) comparison operators for the classes for which it does
   not make sense (such as wxBitmap)
3. makes wxBitmap use COW on all ports
4. adds wxObject::IsRefTo()
5. centralizes and improves COW docs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:26:48 +00:00
Vadim Zeitlin
8d1517cef2 use explicit virtual keyword with overridden virtual methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:14:13 +00:00
Robert Roebling
caea989732 Replaced SetSizeHints -> SetMinSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:13:20 +00:00
Vadim Zeitlin
dddf9e14ed compilation fix for wxUSE_UNICODE_MSLU && !WXWIN_COMPATIBILITY_2_6 (bug 1587408)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:11:31 +00:00
Robert Roebling
cecf69f30d Replaced SetSizeHints() with SetMinSize().
Fixed what must by typo be the way.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:09:59 +00:00
Benjamin Williams
25d7497c18 aui notebook button enabling/disabling implemented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 18:58:53 +00:00
Robert Roebling
694f411c85 It's too late.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 18:52:50 +00:00
Robert Roebling
3071f2ccfa Typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 18:52:09 +00:00
Robert Roebling
75791a9beb Small fix again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 18:47:35 +00:00
Włodzimierz Skiba
122f3c5dc0 Simplest fix received from OW community (Peter C. Chapin).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 18:40:50 +00:00
Robert Roebling
cbc82a22cc Removed GetAdjustedBestSize().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 18:20:33 +00:00
Robert Roebling
a6809fb2ad removed hack that used SetSizeHints() for some strange reason.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 18:18:26 +00:00
Julian Smart
6a81734334 Copy constructor warning elimination
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 18:15:31 +00:00
Włodzimierz Skiba
061fe33fda Tinderbox build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 18:08:21 +00:00
Robert Roebling
39bc12ff4b Correct wxPickerBase size calculation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 18:07:37 +00:00
Włodzimierz Skiba
92df97b87b wxWinCE build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 18:06:44 +00:00
Paul Cornett
176d982410 don't try to add emission hook if GtkWidget type is not loaded
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 18:00:50 +00:00
Julian Smart
36f01cc781 Added page break specification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 17:52:14 +00:00
Julian Smart
ea160b2e92 Reuse wxCaret object
Add page break specification
Optimize drawing after character input


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 17:51:38 +00:00
Vadim Zeitlin
391bf008a7 handle XOpenDisplay() failure in GetSM(); reformatted the code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 17:07:27 +00:00
Włodzimierz Skiba
83c5d35ff3 Tinderbox build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 17:05:42 +00:00
Michael Wetherell
ea92316229 Some watcom warnings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 17:03:56 +00:00
Benjamin Williams
4953f8cf3b wxaui notebook tabs can scroll; notebook themability improved
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 16:34:05 +00:00
Vadim Zeitlin
0f11c23345 generate wxEVT_COMMAND_TEXT_COPY event in wxHtmlWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 16:18:45 +00:00
Włodzimierz Skiba
af3c3334cb Updated to recently added files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 16:14:38 +00:00
Vadim Zeitlin
c63312c472 GetCurrentSelection() was documented but not present in all ports (just MSW and GTK); moved it to the base classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 16:04:27 +00:00
Vadim Zeitlin
4614c8e528 include wx/msw/private.h before wx/msw/uxtheme.h for consistency with other headers (it's not needed, strictly speaking, as uxtheme.h now includes it itself anyhow, but it's more clear like this)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 15:41:58 +00:00
Vadim Zeitlin
e6efee0079 need to include wx/msw/private.h to get GetHwnd() which is used here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 15:37:42 +00:00
Robert Roebling
a3dae7b72c Mark GetMinSize() as virtual and explain why.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 15:02:34 +00:00
Robert Roebling
cb1bf05260 [ 1587248 ] Segfault w/o Session Manager (e.g. KDE/GNOME ...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 14:46:17 +00:00
Włodzimierz Skiba
4b3d5ef316 Updated to recently added files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 14:33:24 +00:00
Robert Roebling
daac16bba0 Compilo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 13:57:18 +00:00
Włodzimierz Skiba
5a81b60e83 Match EscapeSqlChars() interface.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 13:29:46 +00:00
Robert Roebling
cda5834e9d Moved overridden SetMinSize() to base class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 13:25:00 +00:00
Robert Roebling
a1b05a60e1 Make SetMinSize() and SetMaxSize() virtual so they
can be overridden in wxTLW to set WM hints.
  Actually did that for wxGTK, nothing required for
    wxMSW, no idea about wxMac.
  Documented this in tlw.tex.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 13:18:35 +00:00
Włodzimierz Skiba
e0137813dc Keep buildable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 12:45:02 +00:00
Václav Slavík
561955046e moved wxScrollBar geometry methods out of wxRenderer, they are common for all themes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 12:33:25 +00:00
Václav Slavík
6236b8b477 renamed wxControlWithArrows::HitTest() to HitTestArrow() to avoid conflict with wxWindow::HitTest()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 12:24:13 +00:00
Michael Wetherell
a7f958f2d8 Moved to include/wx/private/fileback.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 12:16:21 +00:00
Włodzimierz Skiba
ce7208d49d Minor header cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 11:56:12 +00:00
Robert Roebling
17ede0b11d [ 1587059 ] wxLaunchDefaultBrowser fix for KDE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 11:46:44 +00:00
Václav Slavík
f10ccf9e6b don't use deprecated wxSTRING_MAXLEN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 11:41:38 +00:00
Vadim Zeitlin
89fd8148ce define wxLongLong_t as long long if it is supported, only fall back to long otherwise as we want to be able to pass wxLongLong_t to the standard C99 functions working with long long
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 11:29:56 +00:00
Václav Slavík
1b1b531857 compilation fix for !wxUSE_MIMETYPE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 11:25:36 +00:00
Vadim Zeitlin
ead067dedf slightly reduce the number of #ifndef __WATCOMC__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 11:20:11 +00:00
Włodzimierz Skiba
bca6a3a555 Temporary ugly trick to make release for OpenWatcom possible.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 11:08:48 +00:00
Václav Slavík
497cb543c0 render scrollbar's thumb as stippled bar to distinguish it from controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 10:19:21 +00:00
Julian Smart
621ae37407 Call Update after user input to improve responsiveness
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 10:11:32 +00:00
Jouk Jansen
e0a717e94d Committing in .
Update OpenVMS configuration files

 Modified Files:
 	wxWidgets/setup.h_vms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 09:37:37 +00:00
Chris Elliott
e822c5c9a6 add index and contents as per http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/78600/match=pdf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 09:07:20 +00:00
Julian Smart
a387938f80 Applied patch [ 1586964 ] Getting the PID of the process executed by wxProcess::Open()
by Lauri Nurmi


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 09:03:18 +00:00
Stefan Neis
4a4bf7eefb Compilation fix for old GCC versions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 08:07:51 +00:00
Julian Smart
53a64063c8 Improve the registry query for whether to show combobox animation or not
WinCE compile fix


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 07:16:22 +00:00
Julian Smart
9727e8a3b4 Focus event recursion fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 07:12:10 +00:00
Julian Smart
82972e922e Don't use wstring for MinGW versions that don't support it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 07:04:07 +00:00
Kevin Hock
286f4413dd Non pre-comp compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 04:36:44 +00:00
Vadim Zeitlin
8497bbf52d check that the cell using bool editor has a valid value (i.e. either true or false) (last nail in the coffin of the request 1557790)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 01:28:15 +00:00
Vadim Zeitlin
6f6dd276a8 try http scheme if we can't find the default browser for the URL scheme (this is the case for file:// URLs for example) in wxLaunchDefaultBrowser()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 01:01:13 +00:00
Vadim Zeitlin
89d0cfc9f4 undid removal of implicit http: from wxLaunchDefaultBrowser() done in last revision as it's not supposed to work with local files by default (which should have file:// scheme (obviously)) but with URLs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 00:44:44 +00:00
Vadim Zeitlin
76d3b94d9c increment TEXTCTRLYADJUST_CLASSIC (patch 1586710)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 00:36:32 +00:00
Julian Smart
4aeaf419f8 Small updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 00:07:30 +00:00
Stefan Neis
9d8f813841 Renamed m_clientData member variable to avoid clash with variable with same
name in wxEvtHandler which wxSimpleHtmlListBox derives from.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 23:57:13 +00:00
Vadim Zeitlin
2e96098220 Borland needs dummy return in wxSEH_HANDLE as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 23:42:16 +00:00
Vadim Zeitlin
d3b647c2df removed more unused variables (thanks Borland)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 23:40:23 +00:00
Vadim Zeitlin
1fcac43d7a removed unused variable (thanks Borland)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 23:38:37 +00:00
Vadim Zeitlin
0d203f875d commented out more unused code (bcc compilation warning)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 23:35:27 +00:00
Vadim Zeitlin
630906de0e renamed OnLinkClicked() event handler to avoid hiding the virtual function with the same name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 23:20:03 +00:00
Vadim Zeitlin
80475016d1 set wxUSE_STD_STRING to 1 by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 23:16:08 +00:00
Stefan Neis
be4da8f031 Fixed typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 22:57:25 +00:00
Julian Smart
664f15dc8e Digital Mars needs CCS_RIGHT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 22:46:32 +00:00
Michael Wetherell
f7c69b905d Compile fix for no-pch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 22:41:24 +00:00
Michael Wetherell
765ced3dfa Compile fix after GetC return type changed from char to int.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 22:38:26 +00:00
Michael Wetherell
7d3b9f3abe Compile fix for 64-bit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 22:33:48 +00:00
Michael Wetherell
5f77e766a3 Make m_typeflag an int.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 22:31:26 +00:00
Julian Smart
8871035d85 Digital Mars doesn't like the identifiers being declared later
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 22:01:06 +00:00
Julian Smart
1f71a77057 Digital Mars fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 21:55:18 +00:00
Vadim Zeitlin
9eb11d19b1 escape special SQL chars in where clauses (patch 1204728)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 21:49:37 +00:00
Vadim Zeitlin
735a74df5c search in the index case-insensitively in FindPageByName() if all else fails (replaces patch 1227882)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 21:29:49 +00:00
Stefan Csomor
c348a710f0 minimize overlay area to avoid eg scrolling artifacts when using a caret
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 21:28:39 +00:00
Václav Slavík
a3b5cead1a add events API to wxHtmlWindow (patch #1504493 by Francesco Montorsi)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 21:13:58 +00:00
Michael Wetherell
cc179d360a Restore the final wildcard.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 21:10:18 +00:00
Vadim Zeitlin
20aeaa203c avoid infinite recursion by not using GetMaxWidth/Height() from GetMaxSize() implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 21:10:12 +00:00
Vadim Zeitlin
ed9add67fd mention wxTB_RIGHT patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 21:09:08 +00:00
Stefan Csomor
914fd3f1e5 guarding against setting of NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 21:01:36 +00:00
Stefan Csomor
b2e2f9507b applying correct offsets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 21:00:02 +00:00
Stefan Csomor
a3e949b551 remove unneeded code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:51:34 +00:00
Vadim Zeitlin
10ab355cbd remove manual bitmap greying code with a call to wxImage::ConvertToGreyscale()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:47:31 +00:00
Chris Elliott
f9e5b1c786 fix borland header difference
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:44:32 +00:00
Vadim Zeitlin
894057d1dd don't override GetMinWidth/Height() which are non-virtual any more, override GetMinSize() instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:39:31 +00:00
Paul Cornett
adf45b5d48 remove unnecessary casts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:39:26 +00:00
Vadim Zeitlin
b43503410c return the results of GetMin/MaxSize() from GetMin/MaxWidth/Height(); fix warnings about unused parameters in DoSetSizeHints()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:38:23 +00:00
Paul Cornett
a42588069c remove unneeded include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:37:33 +00:00
Paul Cornett
29b7b6caad fix for Borland 5.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:36:43 +00:00
Vadim Zeitlin
3cd3037e18 pass correct indicator pointer to SQLBindCol() (patch 1390059)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:26:39 +00:00
Václav Slavík
a1c3cdc4a2 add events API to wxHtmlWindow (patch #1504493 by Francesco Montorsi)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:26:03 +00:00
Vadim Zeitlin
55f42db2fb post WM_CLOSE instead of deleting the inplace edit control (second incarnation of the patch 1394785)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:24:11 +00:00
Václav Slavík
6256bfc859 added SUB/SUP tags to the list of supported ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:23:13 +00:00
Vadim Zeitlin
d8af1bf97d CW8.3+ has ssize_t (patch 1492413)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:17:29 +00:00
Robert Roebling
9a1498b6ea Let wxMiniFrame have the same default flags under wxGTK
as under wxMSW, notably no close box by default.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:15:26 +00:00
Robert Roebling
97805147cf Remove left-over code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:13:16 +00:00
Robert Roebling
fd52f25525 Clarify docs about wxSizer::SetSizeHints().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:12:13 +00:00
Michael Wetherell
916af76f40 Make wxBackingFile internal, and remove wxZipFSHander, add a typedef to
wxArchiveFSHandler for compatibilty.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:06:45 +00:00
Vadim Zeitlin
96be8b4de0 some people disliked the asterisks in wxDebugReport dialog, removed (patch 1491869)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 19:53:53 +00:00
Stefan Csomor
b2d123f142 subrect blit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 19:43:25 +00:00
Robert Roebling
2612a310cb Use SetSizeHints() for wxTLW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 19:26:54 +00:00
Stefan Neis
7b44d740f5 Add method declaration needed for wxGTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 19:19:58 +00:00
Robert Roebling
9379c0d752 Make wxWindow::SetSizeHints() do nothing.
Make wxTLW::SetSizeHints() set the various m_minWidth etc. fields.
  Override SetSizeHints() in wxGTK to call the relevant gtk funcion
    only there and not in every resize.
  Make GetMinWidth() etc. non-virtual.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 19:17:00 +00:00
Vadim Zeitlin
7a9763046b added wxTB_RIGHT style for right-aligned toolbars (slightly modified patch 1567469)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 19:12:52 +00:00
Vadim Zeitlin
3af706cc31 added TGA handler (somewhat modified patch 1393912)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 18:58:25 +00:00
Václav Slavík
9920ad328b compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 18:44:41 +00:00
Robert Roebling
a1a3bffc93 Added simplistic test for nested sizer (in panel).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 18:10:32 +00:00
Robert Roebling
dd761d262a Forgot one wxCoordRound
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 18:09:42 +00:00
Vadim Zeitlin
c153cc08eb don't set translation credits if they're empty (part of patch 1586730)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 18:09:36 +00:00
Robert Roebling
d4628b41c9 wxRound
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 18:08:50 +00:00
Robert Roebling
5f3c1f2e29 wxCoordRound() -> wxRound()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 18:07:27 +00:00
Vadim Zeitlin
4ba9f84569 correct EnsureFileAccessible() docs broken by previous change (part of patch 1586730)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 18:05:55 +00:00
Vadim Zeitlin
98635ac64b don't call gtk_image_set_from_pixbuf() if no animation (part of patch 1586730)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 18:04:49 +00:00
Vadim Zeitlin
68aef14d9b commented out/unused code removed; use wxAboutDialog (part of patch 1586730)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 18:04:09 +00:00
Vadim Zeitlin
863d562dfc handle errors returned by wxAnimateCtrl::Play() (part of patch 1586730)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 18:03:31 +00:00
Stefan Neis
21d3d3424b Corrected includes for wxGTK under OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 17:59:19 +00:00
Vadim Zeitlin
150194b9a7 don't use Unicode filenames under Win9x, even with MSLU (heavily modified patch 1585672)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 17:59:03 +00:00
Robert Roebling
0e1ea39668 wxCoordRound -> wxRound.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 17:55:09 +00:00
Robert Roebling
2ac9bfa9b0 Use wxRound instead of wxCoordRound
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 17:50:39 +00:00
Stefan Csomor
8275e02a5a flushing is not done anymore in closing the context, but we need it here - there's still an offset bug however ...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 17:37:43 +00:00
Julian Smart
bc70ac6db4 Merge extra documents with main doc archives to help reduce user confusion/fatigue.
Rename doc archive names to something more readable.
.zip should be lower case.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 17:32:44 +00:00
Julian Smart
781609f290 Applied patch [ 1583316 ] set media source for printing
by d2walter


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 17:29:40 +00:00
Michael Wetherell
03db59bd43 Remove extra newline.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 17:13:16 +00:00
Michael Wetherell
a02dd57094 Mention GetC and wxFileSystem in incompatible changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 17:11:15 +00:00
Julian Smart
6445acc783 Applied patch 1586499: wxCoordRound function
Centralises rounding and adds nearest-value rounding to
prntbase.cpp.
by Robert J. Lang


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 17:01:34 +00:00
Michael Wetherell
6ea48c514e Change GetC to return an int so that it can return wxEOF on error.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 17:00:07 +00:00
Julian Smart
5c746f384e Borland fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 16:48:41 +00:00
Michael Wetherell
489a164c1c Rename wxSTREAM_FILEEXTENSION to wxSTREAM_FILEEXT.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 16:47:20 +00:00
Vadim Zeitlin
64f8f94ca0 deal correctly with vsnprintf() implementations which always NUL-terminate the buffer, even if there is not enough space (recent glibc ones do it like this)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 15:51:10 +00:00
Mattia Barbon
f4eadf6136 Updated PO files. Translated some of the missing Italian strings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 15:12:25 +00:00
Robert Roebling
a7db423515 More simplistic test for setting size and max size
after creation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 14:53:37 +00:00
Robert Roebling
d4638e6b36 Test SetSizeHints() for wxFrame (does nothing
under wxMSW).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 14:25:54 +00:00
Vadim Zeitlin
c8ccc915b7 use just HAVE_FSYNC as wxFsync() guard, it is now defined if wxFsync() is
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 13:56:43 +00:00
Vadim Zeitlin
f49ad976f4 use wxPOSIX_IDENT() for consistent handling of underscores in POSIX functions names in Windows compilers standard headers; this should hopefully fix the compilation for older Borland versions without breaking it for anything else; also define wxFsync() for Borland and DMC as they seem to have _commit() too (subject to version checks...), only Watcom seems to lack it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 13:55:52 +00:00
Michael Wetherell
716b1f7091 Document filter streams take owner ship when created with a pointer,
new feature of the archive factories and new filter factories.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 12:56:48 +00:00
Stefan Csomor
64c8307c93 blit implemented using dc.GetAsBitmap with subrect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 11:07:11 +00:00
Stefan Csomor
d888a332db GetAsBitmap with subrect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 10:46:49 +00:00
Stefan Csomor
9e15c94f41 apply complete transforms (scroll window PrepareDC was not functioning properly)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 10:42:42 +00:00
Stefan Csomor
2b73854d7a forgotten commit for having native affine matrix ops
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 10:41:13 +00:00
Stefan Csomor
c59abe0376 extend GetAsBitmap with an optional subrect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 10:39:40 +00:00
Stefan Csomor
0ebd9515e5 using native tranforms for everything
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 09:49:52 +00:00
Stefan Csomor
549be22603 switch having an affine transform even when there is no native context around
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 09:44:04 +00:00
Stefan Csomor
f518afb5dc moving context methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 09:41:10 +00:00
Michael Wetherell
6df6e35a3e Fixes for semicolons, commas and wxSTRING_MAXLEN from Wlodek Szafran.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 07:37:09 +00:00
Kevin Ollivier
c64c9cd3ba Added wxDC::GetAsBitmap, and implemented wxWindowDC::DoGetAsBitmap on OS X, in order to restore the ability to blit the contents of those DCs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 05:29:04 +00:00
Robin Dunn
ce4b7808ca SetTextColour is gone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 03:05:07 +00:00
Robin Dunn
5c8c7dd324 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 03:03:29 +00:00
Robin Dunn
9ac884500c Add wxPyTabArt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 03:00:47 +00:00
Robin Dunn
b891007439 wxGraphicsMatrix and wxGraphicsPath are ref-counted now, use
references instead of pointers.  Other changes to get up to date.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 02:59:46 +00:00
Robin Dunn
d541f61fff wxGridCellBoolEditor::UseStringValues
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 02:53:05 +00:00
Robin Dunn
2db4b82e5d Add wxPyTabArt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 02:50:57 +00:00
Robin Dunn
0db8a70e0c update the Cairo version to match recent changes in the others
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 02:33:41 +00:00
Robin Dunn
1ea0eb4e3e Add missing wxNullGraphicsPath
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 02:28:15 +00:00
Robin Dunn
0b13400f4f Add export macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 02:26:37 +00:00
Vadim Zeitlin
34f90a1cfe added NZST and NZDT time zones (request 617912)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 00:05:56 +00:00
Robert Roebling
020e2e811e Mention the Unix printing overview in the general
printing overview.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 22:19:17 +00:00
Robert Roebling
f3dcd96751 Correct background colour in ComboCtrl (from Jaako).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 22:07:38 +00:00
Robert Roebling
889fda0c95 Launch the browser that is set in the gconf registry.
Don't blindly add "http://" to URL as this will not
    work with local file paths (obviously).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 21:57:24 +00:00
Robin Dunn
2add9e3c2f Moved version number to 2.7.2.0 and rebaked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 21:54:52 +00:00
Vadim Zeitlin
a685dd314c remove unneeded WXDLLEXPORTs for the classes only used inside the implementation and so not needing to be exported
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 20:46:25 +00:00
Benjamin Williams
488e50ee50 fixed some compiler warnings in wxaui
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 18:27:42 +00:00
Benjamin Williams
b6418695ca wxaui multi-book prep work for left/right buttons on tab bar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 18:21:11 +00:00
Vadim Zeitlin
efc5767138 avoid gcc warnings about missing braces in an aggregate initializer by not using a union in ToLongTestData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 17:15:58 +00:00
Vadim Zeitlin
ec3edcc984 check for strtoull() or wcstoull()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 17:13:19 +00:00
Vadim Zeitlin
d581cac5e8 fix gcc compilation warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 17:04:52 +00:00
Kevin Ollivier
1f2b90153e For whatever reason, font-size 9 is now hardly readable on Mac. Using default font size on that platform for now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 16:55:54 +00:00
Stefan Csomor
daa6105f2f missing methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 16:53:07 +00:00
Vadim Zeitlin
d6718dd17b added wxString::ToLongLong() and ToULongLong() (feature request 1290937)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 16:46:03 +00:00
Vadim Zeitlin
ea960ae8af no changes, just a typo in comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 16:39:45 +00:00
Vadim Zeitlin
e71e5b3726 also reset errno iin ToDouble()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 15:42:28 +00:00
Vadim Zeitlin
4ea4767ef9 reset errno before testing it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 15:41:32 +00:00
Vadim Zeitlin
619dcb095e extracted common code of ToLong and ToULong in a separate template helper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 15:24:07 +00:00
Benjamin Williams
3f69756e3d wxaui multi-notebook now uses a tab art provider which allows for dynamically switchable notebook themes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 15:20:10 +00:00
Václav Slavík
2dd9690e88 removed unused GetScrollbarArrowSize() version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 15:16:45 +00:00
Vadim Zeitlin
1e613d2282 deTABified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 15:01:33 +00:00
Vadim Zeitlin
bda041e561 check for under/overflow in ToLong/ULong/Double() as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 14:58:56 +00:00
Stefan Csomor
e3ff359189 matrix and path to ref counting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 14:41:48 +00:00
Vadim Zeitlin
7788fc4046 Alloc() doesn't clear the array any more, for consistency with reserve()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 14:16:20 +00:00
Vadim Zeitlin
84498436c9 no real changes, just renamed the header guard to standard form and removed unneeded casts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 14:11:54 +00:00
Vadim Zeitlin
13874b5c7f deprecate wxSTRING_MAXLEN in favour of wxString::npos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 14:06:27 +00:00
Vadim Zeitlin
01c3ebb80a added missing dlldecl for wxFSHandlerHash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 14:03:53 +00:00
Vadim Zeitlin
9c71a1386d allow customizing the string values returned by wxGridCellBoolEditor::GetValue() (feature request 1557790)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 13:57:38 +00:00
Stefan Csomor
a4e73390a6 moving path and matrix to refcounting as well, switching filling rule default to odd-even as dc.h does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 13:46:46 +00:00
Vadim Zeitlin
5b313974cd don't use unneeded logBuf member variable; show the changed cell value in OnCellValueChanged()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 13:46:18 +00:00
Michael Wetherell
6c7f5e56a8 Another fix for the pch bug test.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 11:53:44 +00:00
Michael Wetherell
be49c6ecde Another fix for the pch bug test.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 11:07:20 +00:00
Julian Smart
62f4313b72 Documented wxRichTextBuffer printing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 10:49:30 +00:00
Julian Smart
d479632a8f Avoid missing ref
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 10:48:11 +00:00
Michael Wetherell
6d952fd76f Fix bugs in check for gcc's precompiled header bug.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 10:31:43 +00:00
Julian Smart
85d8909ba3 Corrected a clearing bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 09:29:07 +00:00
Michael Wetherell
d2b23e51e3 Compile fix for VC++ 5 and 6.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 09:17:27 +00:00
Robin Dunn
70d7cb34a6 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 03:01:58 +00:00
Robin Dunn
027aef71af daily updates and add wxGrpahicsPath overloads
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 03:00:27 +00:00
Robin Dunn
c907796b33 Add missing Contains overload
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 02:59:41 +00:00
Robin Dunn
7da662ce7c Typemaps for wxRect2D
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 02:59:22 +00:00
Robin Dunn
9f4a1fed45 Don't decref if the interpreter is not initialized, (eg. it's in its
shutdown process.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 02:59:02 +00:00
Robin Dunn
55811cde2d daily updates and tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 02:58:17 +00:00
Robin Dunn
7f8bd9fc5f Ensure that the pen and bush are properly initialized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 02:28:38 +00:00
Michael Wetherell
b2983f422f Fix portibility bug.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 01:15:16 +00:00
Vadim Zeitlin
22bea944d2 explain that wxRTTI macros must be used for OnCompareItems() to be called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 00:52:09 +00:00
Vadim Zeitlin
a059db11ff verify that we checked all the array elements in TestSTL(); make the number of array elements a constant
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 00:44:24 +00:00
Kevin Ollivier
e718be3e16 Calling SetFocus from within an OnFocus handler causes infinite recursion on Mac...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 00:37:17 +00:00
Vadim Zeitlin
e7fbaf0efd fix VC warning about forward declaring struct as class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 00:28:41 +00:00
Vadim Zeitlin
c26d982b4b removed hard TAB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 00:20:47 +00:00
Michael Wetherell
f068697b46 Add wxArchiveFSHandler.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 22:10:19 +00:00
Michael Wetherell
5410f5728d Tidy up includes and #if wxUSE statements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 22:03:29 +00:00
Kevin Ollivier
959d17852d Don't use the superview when converting.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 20:22:09 +00:00
Robert Roebling
5b5210ba36 Indicate that EnableCloseButton is virtual.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 20:05:47 +00:00
Robert Roebling
4f40354afa Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 18:42:20 +00:00
Robert Roebling
4427c0a3ff [ 1585858 ] Fix wxDatePickerCtrlGeneric and wxComboCtrl kb navigation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 18:02:21 +00:00
Robert Roebling
34e2d9439b [ 1585270 ] Further fixes to wxPathList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 17:59:32 +00:00
Kevin Ollivier
46b59ead9d Don't use bitmaps to draw tree item buttons, use the HITheme drawing functions instead. (The bitmaps would show jaggies on dark backgrounds.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 17:25:44 +00:00
Benjamin Williams
ae4558e051 fixed crash in multi notebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 15:52:21 +00:00
Stefan Csomor
8775253065 changing graphics pen, brushes and fonts to be refcounted objects, having no subclasses
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 15:19:21 +00:00
Michael Wetherell
1cc42ce322 Comment out compile time check.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 15:02:22 +00:00
Stefan Csomor
a26b7ab24d switching things to ref counting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 14:59:51 +00:00
Julian Smart
46e7a90e47 Pagination fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 14:32:55 +00:00
Michael Wetherell
a793401243 Remove header now not needed here.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 14:32:26 +00:00
Michael Wetherell
77b5dc955b Missing header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 14:30:01 +00:00
Václav Slavík
59eb2acac0 fixed typo in last commit: use YLOG2DEV for y coordinates, not XLOG2DEV
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 14:26:20 +00:00
Stefan Csomor
2c82040626 changing graphics pen, brushes and fonts to be refcounted objects, having no subclasses
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 14:21:27 +00:00
Julian Smart
92b799e043 Colour preview canvas grey to contrast with page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 14:16:39 +00:00
Michael Wetherell
45c64b28ba Compile fix for --enable-stl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 14:14:54 +00:00
Michael Wetherell
46b15bd575 Missing exports.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 14:06:46 +00:00
Julian Smart
96202eaa70 Robert Lang's patch and wxRTC changes documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 13:14:18 +00:00
Václav Slavík
687b91d266 compilation fix: wxGenericCollapsiblePane needs wxButton and wxStaticLine
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 13:08:05 +00:00
Julian Smart
f415cab9ef Robert Lang's patch [ 1583183 ] Fixes printing/print preview inconsistencies
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 13:07:40 +00:00
Václav Slavík
ea28077683 don't draw the endpoint in DrawLine at least in the common cases of vertical and horizontal lines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 12:41:28 +00:00
Julian Smart
113faca13f Fixed caret droppings left when scrolling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 12:40:40 +00:00
Václav Slavík
d743254a40 wx{V,H}SCROLL code is needed on all platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 12:23:40 +00:00
Václav Slavík
54e90b2a32 fixed repainting of windows without the wxFULL_REPAINT_ON_RESIZE style under wxMSW/Univ
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 12:21:51 +00:00
Michael Wetherell
be38a31d37 Base wxArchiveFSHandler on wxZipFSHandler.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 12:16:30 +00:00
Michael Wetherell
a9002825f2 Yes VC5 support large files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 11:33:10 +00:00
Vadim Zeitlin
76c3651293 don't use _INTEGRAL_MAX_BITS to decide whether a (Windows) compiler supports huge files, this fails with Borland, so test for all compilers explicitly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 11:27:38 +00:00
Michael Wetherell
34eeb223b4 Bug fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 10:47:13 +00:00
Michael Wetherell
5c4035d686 Use wxFS_SEEKABLE when opening images since some image handlers need seeking.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 10:14:03 +00:00
Michael Wetherell
cdd7933f3d Add tar stream tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 10:11:46 +00:00
Michael Wetherell
46d69234ce Include FindLength in the tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 10:06:19 +00:00
Michael Wetherell
56d5b4b860 Rebake for new tar streams.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 09:57:42 +00:00
Michael Wetherell
8fc574b40c Implement new features for finding class factories. Put seek inside 2.6 compat ifdef.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 09:54:39 +00:00
Michael Wetherell
1b79dad4dc Base class factory on the wxFilter base class and implement the new Find feature.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 09:53:38 +00:00
Michael Wetherell
52ad298e66 Allow per instance filesystem handlers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 09:35:05 +00:00
Julian Smart
2786b6232c Warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 09:29:47 +00:00
Michael Wetherell
dd1462c3f9 Add tar streams.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 09:28:54 +00:00
Julian Smart
c81c3d2db2 Typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 09:27:47 +00:00
Robert Roebling
a43ec16b16 Add empty EnableCloseButton() into wxTLW base class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 09:12:35 +00:00
Michael Wetherell
26e422a9ad Add wxUSE_TARSTREAM and wxUSE_FS_ARCHIVE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 09:12:27 +00:00
Robert Roebling
b13ffca10d Document wxTLW::EnableCloseButton.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 09:07:22 +00:00
Robert Roebling
6a1fd44f14 Minor doc corrections.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 09:02:13 +00:00
Julian Smart
8881d9f085 Demonstrates printing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 08:59:58 +00:00
Julian Smart
6398488749 Added richtextprinting.cpp/h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 08:56:38 +00:00
Michael Wetherell
1ab48408d1 Add FindLength()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 08:54:00 +00:00
Robert Roebling
6a305cfbc8 Don't overwrite wxFD_ styles in m_windowStyle.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 08:50:25 +00:00
Robert Roebling
45f4109c41 Move the wxFD_... flags back into m_windowStyle
as requested. Add the list if flags, with which
    the wxFD_ flags have to cooperate into the
    header of wxFileDialog.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 08:45:22 +00:00
Julian Smart
44219ff04f First cut at printing support for wxRichTextCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 08:43:44 +00:00
Robert Roebling
0d635035cc Add EnableCloseButton() as wxMSW does. Use it in
wxProgressDialog so that without wxPD_CAN_ABORT
    you cannot close the dialog.
  Closes [ 1585563 ] wxProgressDialog @ GTK CloseButton


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 08:18:26 +00:00
Michael Wetherell
58211774c8 Factory some of wxFilterClassFactory into a base class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 07:52:28 +00:00
Włodzimierz Skiba
9a88fc5836 Reverted winundef.h removal - without it build fails on GetWindowStyle later.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 07:48:22 +00:00
Włodzimierz Skiba
8aa3cd14b5 Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 07:45:42 +00:00
Benjamin Williams
dbd2f79065 made the multi-notebook the default view in the aui sample; added welcome screen to the notebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 07:21:27 +00:00
Michael Wetherell
8c3dbc46b3 Add wxFS_SEEKABLE open flag.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 07:06:41 +00:00
Robin Dunn
95a76b7540 flesh out the dummy classes
reorg the class decls a bit
do some overloading
add docstrings


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 06:30:16 +00:00
Robin Dunn
ccddcbac5e include mslu.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 06:29:17 +00:00
Robin Dunn
6b06903d26 fix some compile/link errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 06:28:33 +00:00
Robin Dunn
ad55c49e82 Added Changer classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 06:08:54 +00:00
Robin Dunn
debe38c933 Add wxRect2D
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 06:06:20 +00:00
Robin Dunn
ed1b38a88e fix compile errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 05:32:38 +00:00
Robin Dunn
0d3675a67b Detabified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 05:31:59 +00:00
Paul Cornett
4fa167e669 allow building with wxUSE_THREADS==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 04:42:09 +00:00
Michael Wetherell
37671b828a Add wxFilterFSHandler.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 22:49:53 +00:00
Michael Wetherell
03402e2909 Change wxFSFile::DetachStream to NULL the m_Stream member. Add SetStream().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 22:45:52 +00:00
Michael Wetherell
a8d2cf4e70 Add wxFilterClassFactory::PopExtension().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 22:43:15 +00:00
Michael Wetherell
12811c1c3b For streams smaller than the buffer reduce the buffer to length + 1 instead of
length, so that it doesn't go to disk.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 22:41:12 +00:00
Robin Dunn
af408d405f wxPython 2.7.1.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 21:41:28 +00:00
Vadim Zeitlin
b0a8df83f5 include autopackage-related files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 21:36:14 +00:00
Vadim Zeitlin
8f825d8906 include wx/msw/mslu.h for wxUsingUnicowsDll() declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 21:35:01 +00:00
Robert Roebling
bf7f7793e9 [ 1585253 ] Various important bugfixes to wxFileName::Normalize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 21:08:21 +00:00
Robert Roebling
30be036c6d Make animation of combo-popdown optional.
Replace wxMiniSleep() + wxYield() implemenation
    by wxTimer based one.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 20:35:57 +00:00
Robert Roebling
470402b996 Rewrite selection event code for wxListBox.
Remove ifdef for non-native wxCheckListBox.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 20:29:02 +00:00
Michael Wetherell
de30344498 Missing header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 19:48:02 +00:00
Stefan Csomor
59720690df moving rounded rect and ellipse to path class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 19:24:18 +00:00
Stefan Csomor
07c7a3f1fd missing apply call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 19:21:32 +00:00
Kevin Ollivier
cbc3893c76 Updating bindings for wxGraphicsContext and wxRichTextCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 19:17:24 +00:00
Vadim Zeitlin
2c614cac83 no need to include wx/msw/mslu.h from here any more, wx/msw/wrapwin.h does what it used to do now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 19:12:52 +00:00
Vadim Zeitlin
7e1897c067 rename UpdatePulse() to Pulse() (forgot to commit with the rest of the changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 19:11:45 +00:00
Vadim Zeitlin
6dad7fff04 move wxMSLU_xxx redefinitions of xxx() Windows functions to wx/msw/wrapwin.h as we have to define them after including <windows.h> and not before; also moved the rest of the wxMSLU redefinitions to wx/filefn.h where they're used as it doesn't make sense to keep only them in wx/msw/mslu.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 19:06:51 +00:00
Robin Dunn
a9b4d1ec97 Patch from Dj Gilcrease to fix gradients.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 17:54:23 +00:00
Stefan Csomor
2701ef7e86 adding workarounds for 10.4 only implementations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 17:31:41 +00:00
Stefan Csomor
00bd8e7218 switching to new renderer API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 17:22:19 +00:00
Julian Smart
5e530f0226 Minor corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 16:49:39 +00:00
Robin Dunn
b80e3a2a4f fixed compile error (jump to label bypasses initialization, or
something like that...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 16:19:36 +00:00
Robin Dunn
49db0f3f8d regen ReST docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 15:53:19 +00:00
Václav Slavík
eef1a0cc63 added wxDelegateTheme to accompany wxDelegateRenderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 15:33:10 +00:00
Václav Slavík
1b97b23d5f added wxDCTextColourChanger ctor that allows using the class in the same way other wxDCFooChangers are used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 15:30:43 +00:00
Robin Dunn
3ecece7e04 Fixed some (out) typemaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 15:22:43 +00:00
Václav Slavík
b3894f30e0 fixed selection when using keyboard after JS' change broke it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 14:54:40 +00:00
Benjamin Williams
cf6fec73d7 wxaui flags reworked a bit; allows any hinting type to be explicity invoked; turning off hinting completely is not possible; sample updated accordingly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 13:20:15 +00:00
Stefan Csomor
83576e682d adding new implementations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 12:05:56 +00:00
Stefan Csomor
06b9edb712 missing common create functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 12:04:48 +00:00
Stefan Csomor
9a02779a55 make this available everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 12:03:44 +00:00
Vadim Zeitlin
14be47346e fixed reversed return value of IsEmpty() (closes 1585004)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 11:57:15 +00:00
Julian Smart
be326aad64 Less drastic compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 10:37:21 +00:00
Włodzimierz Skiba
a305d600e2 Blind fix for Tinderbox build error.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 10:29:23 +00:00
Julian Smart
9da34e211e ShouldOffset is accessed from a different class (in dcgraph.cpp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 10:07:20 +00:00
Włodzimierz Skiba
bae2dc62af Updated setup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 09:58:56 +00:00
Julian Smart
e642beb2b9 Added dcgraph.cpp and rebaked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 09:51:13 +00:00
Włodzimierz Skiba
2835f3cf83 Correct placement of header listed in wx/wx.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 09:40:14 +00:00
Julian Smart
3c1669aaa3 Using MinGW 3, no hbmpItem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 09:05:02 +00:00
Julian Smart
e27e3a51b0 Added missing include for MinGW non-PCH compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 08:51:35 +00:00
Julian Smart
f27372556d Added a cast
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 08:33:38 +00:00
Stefan Csomor
1c69a6ff5a fixing param
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 08:21:19 +00:00
Julian Smart
d8dd214c1b Fixed initialisation order warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 08:05:18 +00:00
Julian Smart
cbfc8d9a61 Typo fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 08:02:00 +00:00
Stefan Csomor
40503c9835 adopt new set font API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 07:44:07 +00:00
Stefan Csomor
b7b40adba8 new renderer architecture
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 06:51:12 +00:00
Julian Smart
720cc10ac4 Added outline style sample and vetoing of style sheet changing when loading;
demos URL event


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 06:35:57 +00:00
Julian Smart
d2d0adc776 Added URL support to attribute objects and to wxRichTextCtrl,
generating a wxTextUrlEvent as appropriate.
Added outline list support and updated previews.
Added alignment support for bullets.
Added single right parenthesis support.
Added XML stylesheet reading/writing.
Changed SetBulletSymbol to SetBulletText so it can support
bullet text more generally (e.g. for cached outline list numbering)
Added wxRichTextRenderer to isolate e.g. bullet drawing and make
it customisable.
Added event handler support to wxRichTextBuffer.
Updated documentation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 06:32:47 +00:00
Stefan Csomor
a60a549995 adapted to new font setter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 06:25:41 +00:00
Stefan Csomor
facbe36395 adapted to new renderer, moved wxGCDC into dcgraph.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 06:24:20 +00:00
Stefan Csomor
5ebfdf4169 added the recangle fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 06:21:57 +00:00
Stefan Csomor
9e6055389f renderer added, creating renderer specific pens etc for faster use
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 06:17:05 +00:00
Stefan Csomor
c5e5145288 add the missing defines before the xcode prefix gets read in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 06:08:59 +00:00
Stefan Csomor
1b89a5cd94 move the graphics context bridge dc into separate file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 06:07:29 +00:00
Robin Dunn
51aad6d34f Add a GraphicsContext sample to the demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 03:34:54 +00:00
Robin Dunn
be68621e1e reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 03:33:56 +00:00
Robin Dunn
752d967cfd GetTextExtent --> (width height)
GetFullTextExtent --> (width, height, decent, externalLeading)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 03:32:59 +00:00
Robin Dunn
0a012f770e docstring update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 03:28:14 +00:00
Robin Dunn
59571b718e Fix "PINK" to actually be pink, and not lavender
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 03:26:57 +00:00
Kevin Ollivier
5b2c144640 Adding virtual wxListCtrl impl of GetItem.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 03:01:38 +00:00
Robin Dunn
2742805a62 SetTextColor --> SetTextColour
Make sure SWIG knows that items returned fro the factories are new
Fix the save a ref to the dc


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 01:21:47 +00:00
Robin Dunn
bb8204ef82 SetTextColor --> SetTextColour, to be consistent with the rest of the lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 01:19:00 +00:00
Kevin Ollivier
ccd67a6af8 Override GetPixelSize on OS X as the base impl creates a wxScreenDC each time, which causes a significant performance hit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 00:22:56 +00:00
Vadim Zeitlin
4fa3f8c355 explain more clearly the possible usage scenarios
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 00:20:12 +00:00
Robin Dunn
61ecd22547 some GTK1 bulkd fixes from Sander Niemeijer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 20:47:15 +00:00
Michael Wetherell
55420742a1 Add class factories for filter streams. Also filters now follow the convention
that they own their parent if they are created on a pointer to the parent.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 20:45:15 +00:00
Michael Wetherell
166c3ef0f9 Add class factories for filter streams. Also filters now follow the convention
that they own their parent if they are created with a pointer to the parent.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 20:41:12 +00:00
Robin Dunn
ceb40c80a1 Mention wx.ListCtrl fixes on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 20:25:58 +00:00
Robin Dunn
58cb01d1eb Show sample License text on the AboutBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 20:24:17 +00:00
Robin Dunn
b4b5a92e0b Don't override DoGetSize, just let the default return the real size of
the widget like normal.  Since the former implementation used
GetBestSize, which uses a DC, which on Mac calls window->GetSize, this
resulted in an infinite recursion.

Also use SetBestFittingSize in the ctor and move CacheBestSize to
DoGetBestSize where it belongs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 20:23:06 +00:00
Kevin Ollivier
64e4759f43 Fix wxBufferedDC so that it adheres to its documented behavior (which is in use in wxPython at least) and make a note about the layout direction assignment.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 20:00:48 +00:00
Robert Roebling
974a12f86a [ 1584680 ] wxComboCtrl Popup Animation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 19:48:46 +00:00
Robin Dunn
9985801dda HIShapeCreateEmpty doesn't exist prior to OSX 10.4, use
HIShapeCreateWithRect with an empty rectangle instead.

Also detabified.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 19:08:14 +00:00
Robin Dunn
7e04993c66 corrected collpaneg.h name typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 19:04:06 +00:00
Václav Slavík
686ca1b5d4 use window's font instead of the default one in wxStatusBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 18:14:08 +00:00
Robert Roebling
3811dacb39 Prevent accession of to-be-deleted mdi
child window.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 17:51:28 +00:00
Julian Smart
43a9ab2f1b wxRichTextCtrl not ready for WinCE yet, stop people fiddling with it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 17:09:46 +00:00
Włodzimierz Skiba
c01075e580 Typo fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 16:46:54 +00:00
Włodzimierz Skiba
37702a44db Make wxRichTextCtrl again buildable on WinCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 15:50:15 +00:00
Robert Roebling
b014db05bb Add m_fsStyle next to m_windowStyle
Add HasFdFlag()
  Use it for all tests in all variants of
    wxFileDialogs. That way it will be easier
    to change again centrally, if required.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 13:26:47 +00:00
Michael Wetherell
14d8546a75 Fix export.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 12:24:28 +00:00
Václav Slavík
69a5bc231a changed wxHAS_NATIVE_OVERLAY and wxHAS_CARET_USING_OVERLAYS to use #ifdef instead of #if ... == 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 12:12:56 +00:00
Vadim Zeitlin
4876ba0b23 declare wxMSLU_xxx functions in the headers which define macros expanding to them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 11:27:24 +00:00
Jouk Jansen
273d399f0f Committing in .
Update configuration for OpenVMS

 Modified Files:
 	wxWidgets/setup.h_vms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 10:19:28 +00:00
Julian Smart
2981fc8337 Button size adjustment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 09:04:59 +00:00
Julian Smart
a2351b3fe4 Don't reset the best size to wxDefaultSize unless we have a bitmap, otherwise
an explicit size is ignored


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 09:03:45 +00:00
Julian Smart
892a76f771 Better button size on wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 08:49:50 +00:00
Robert Roebling
980fa7ef7d Fix test for wxFD_MULTIPLE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 07:34:15 +00:00
Robin Dunn
8377a10750 Fix for missing About menu item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 07:31:46 +00:00
Robin Dunn
9ed79eee4e Fix the rectangle size when offsetting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 06:55:49 +00:00
Robin Dunn
de3cb39f85 Refactor the code that decides if the 0.5 offset chousl be applied
into its own method


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 06:55:17 +00:00
Robin Dunn
eb3e358db8 Include the html docs in the tarball
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 06:52:58 +00:00
Robin Dunn
71064d3871 If there is already a set of HTML docs built in the tarball, there is
no need to build them again


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 06:52:37 +00:00
Robin Dunn
44b651f55a The deprecated lib doesn't build. Disable it from being automatically
built for now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 06:51:10 +00:00
Włodzimierz Skiba
93076559ba ADV export fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 06:47:14 +00:00
Kevin Ollivier
e9a0cc4b72 Adding support for item font/style/color customization, unfortunately, it does not work with wxLC_EDIT_LABELS due to a limitation in the native control. Also fire activate events, and fix some event object/id mismatches when using the generic list ctrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 05:42:54 +00:00
Vadim Zeitlin
5dafb071ba use WX_DEFINE_ARRAY_INT for an array of ints (bug 1536482)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 00:59:07 +00:00
Vadim Zeitlin
6c4fc6a8e3 corrected EVT_NOTIFY[_RANGE] docs (bug 1439078)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 00:55:13 +00:00
Vadim Zeitlin
79b4c33a16 correct custom event type example and point to the event sample (bug 1338140)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 00:53:55 +00:00
Vadim Zeitlin
d60156ac9d corrected order of parameters in ctor (closes 1304320)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 00:52:12 +00:00
Vadim Zeitlin
9043437f19 explain why wxSpinCtrl may be available on platforms where wxSpinButton isn't
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 00:42:57 +00:00
Vadim Zeitlin
615c643305 renamed static functions section to global functions one (bug 1244222)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 00:40:30 +00:00
Vadim Zeitlin
d0ebe20ba4 wxGLCanvas is also available under Mac and other platforms (bug 1241485)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 00:37:54 +00:00
Vadim Zeitlin
59f846df9b removed confusing 'native make' from mingw32 section (bug 1236795)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 00:35:47 +00:00
Vadim Zeitlin
933c79ecc8 document what exactly SetAlignment() expects (bug 1232727) + other minor corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 00:31:59 +00:00
Vadim Zeitlin
9b2d4f0eda corrected wxEntry declarations (closes 1222193); added wxEntryStart/Cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 00:26:55 +00:00
Vadim Zeitlin
9afe743349 explain that CW might not work, mention that BC5 worked with 2.4.2 (bug 1158383)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 00:18:10 +00:00
Vadim Zeitlin
5145a8cfe5 correct wxDirExists() parameter type (closes 1220417)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 00:13:22 +00:00
Vadim Zeitlin
b1c08dbd62 document GetDocManager() (closes 1098861)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 00:09:10 +00:00
Vadim Zeitlin
9aeb24a0f6 clarify GetWheelRotation() (bug 969231)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 00:06:43 +00:00
Vadim Zeitlin
c1073b57a7 add a note explaining that sizers should be heap-allocated (bug 965825)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 00:03:41 +00:00
Vadim Zeitlin
ce4e2041a8 add hyperlink to wxList to GetMenuItems() docs (bug 921322)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 00:00:22 +00:00
Vadim Zeitlin
20ed1e94d6 use manifest id of 2 if ISOLATION_AWARE_ENABLED is defined (bug/feature request 1222189)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 23:56:50 +00:00
Vadim Zeitlin
3f04a3c003 mention VC6 problem with the dependencies (closes 1216051)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 23:30:09 +00:00
Vadim Zeitlin
f59ec16f6e include build/msw/wx_base.dsp in wxBase distribution (closes 1324053)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 23:24:30 +00:00
Vadim Zeitlin
70bf61807a define WXDEBUG_NEW to use special VC++-specific new version too (closes 1386286)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 23:19:12 +00:00
Robin Dunn
66493fc767 #include overlay.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 22:20:45 +00:00
Robin Dunn
ae8635b6da Added wx.StandardPaths.GetTmpDir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 20:30:32 +00:00
Robin Dunn
00b3a749fa use WXDLLIMPEXP_ADV on the base class too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 19:46:10 +00:00
Włodzimierz Skiba
b64c92ee20 PCH support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 19:36:21 +00:00
Robin Dunn
37e548439a Put wxUSE_DETECT where it won't get overritten
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 19:09:08 +00:00
Robert Roebling
0fbf22dfd7 Add wxCollapsable to classes.tex.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 18:07:33 +00:00
Vadim Zeitlin
b42a3531f9 mention that ChangeValue() is for wx 2.7.1+; don't use abbreviations like 'info' instead of 'information' in the manual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 17:58:08 +00:00
Vadim Zeitlin
cd98317518 wxCollapsiblePaneEvent is in adv library, not core
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 17:44:13 +00:00
Julian Smart
ef419e3b45 Fix incorrect comparison
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 17:38:02 +00:00
Paul Cornett
e7c6f5a17f correct deletes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 17:04:16 +00:00
Julian Smart
31775dfa4c Added missing header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 16:56:38 +00:00
Paul Cornett
4c44e0d048 correct access for virtuals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 16:44:26 +00:00
Paul Cornett
132025f344 wx/window.h not needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 16:43:45 +00:00
Julian Smart
459dbfc0f1 Compile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 16:32:08 +00:00
Julian Smart
38aa6e420c Must define a symbol to test its value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 16:17:13 +00:00
Julian Smart
b448c5f778 Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 16:04:31 +00:00
Julian Smart
78ce938eb8 Compile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 16:02:38 +00:00
Julian Smart
147bf2639f Added creation of printer DC to printer factory.
Added wxPrintData ctor to wxGnomePrintDC.
Added wxGnomePrintPreview.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 15:41:39 +00:00
Julian Smart
049e9de730 Added GetTempDir change log
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 14:30:25 +00:00
Julian Smart
ecf9559d57 Added GetTempDir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 14:26:00 +00:00
Włodzimierz Skiba
f49c76e5d8 Blind Tinderbox build fix according to simiar usage in carbon/listbox.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 13:57:30 +00:00
Włodzimierz Skiba
f5766910b6 non-PCH build fix (according to Tinderbox).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 13:50:19 +00:00
Václav Slavík
30c841c84d moved wxOverlay into overlay.* files and out of dc.h/dcbase.cpp; implemented wxOverlay for wxDirectFB port
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 12:29:14 +00:00
Vadim Zeitlin
f8bf59a9f2 reset the internal flags at the end of DoSetValue(), whatever happened in the callback
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 12:23:18 +00:00
Vadim Zeitlin
1ad688c96f test that _INTEGRAL_MAX_BITS is defined before comparing with it; changed wxHAS_HUGE_FILES to be either defined or undef'd for consistency with the other wxHAS_XXXs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 12:08:05 +00:00
Włodzimierz Skiba
4ee9daf45c Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 11:22:37 +00:00
Włodzimierz Skiba
94268cae21 Verify wx/filefn.h can be placed as first header in !PCH builds. Build fix for Watcom.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 11:21:37 +00:00
Włodzimierz Skiba
abbe3d379e ADV export fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 10:35:44 +00:00
Robert Roebling
aad035b2f5 Minor correction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 08:42:38 +00:00
Robert Roebling
4483a3d299 Minor corrections.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 08:37:55 +00:00
Michael Wetherell
3fd732098c Add tests for wxBackingFile.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 07:47:07 +00:00
Michael Wetherell
66ad27db7b Fix check for wxUSE_BACKINGFILE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 07:29:05 +00:00
Paul Cornett
576bdf8565 static class variable needs a definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 06:25:02 +00:00
Robin Dunn
85965ae1dd reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 04:01:16 +00:00
Robin Dunn
8d6d408976 Remove animate contrib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 03:50:53 +00:00
Paul Cornett
360c6a852d non-pch build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 03:25:15 +00:00
Robin Dunn
e8efc7fda5 document new updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 01:58:37 +00:00
Robin Dunn
6b449b1967 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 01:55:29 +00:00
Robin Dunn
55f834ca0e Stop the timer when the sample is destroyed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 01:33:28 +00:00
Robin Dunn
01732ba144 Factor the brush selection out of OnPaint so it can be overridden in
derived classes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 01:30:47 +00:00
Robin Dunn
2356118e69 Fixes from Andrea
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 01:29:47 +00:00
Robin Dunn
18fc605924 Pass the config object into the wxHtmlHelpFrame so it has the config
info in time to set the position and size of the frame.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 01:16:18 +00:00
Robin Dunn
7f44209657 Allow both SetCurrent() and SetCurrent(context)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 01:08:17 +00:00
Robin Dunn
bbc8f304c6 Remove ShowHidden property, it conflicts with the ShowHidden method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 01:07:11 +00:00
Robin Dunn
175f93c311 UpdatePulse --> Pulse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 01:05:55 +00:00
Robin Dunn
dd7a18f3e9 fix name errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 00:35:31 +00:00
Robin Dunn
0c86b22b7e docstring update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 00:34:30 +00:00
Kevin Ollivier
4b8fa6349a Use the same selection highlight and text colors as native list/tree controls (i.e. Finder) do. Also, for wxTreeCtrl, enable wxTR_FULL_ROW_HIGHLIGHT when the default style is used, again to match OS LNF.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 00:23:37 +00:00
Vadim Zeitlin
2f483a69c2 added a section about the dialog buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 22:57:18 +00:00
Vadim Zeitlin
f9db2cdaff removed OnOk/Apply/Cancel() documentation, they don't exist any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 22:56:21 +00:00
Vadim Zeitlin
37747da823 don't use static objects containing bitmaps, this almost certainly results in problems during the program shutdown under X11; instead clean it up in a module
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 22:12:48 +00:00
Vadim Zeitlin
37ad32a422 moved wxCollapsiblePane files to adv library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 22:11:34 +00:00
Vadim Zeitlin
1a9a3ce9a3 use wxBitmap object as m_buffer and not a pointer to it (replaces patch 1582878)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 22:06:01 +00:00
Vadim Zeitlin
e3cec970d7 moved wxCollapsiblePane files to adv library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 22:00:10 +00:00
Vadim Zeitlin
a4acaafa5f added wxHAS_XXX section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 21:59:15 +00:00
Michael Wetherell
e2255c89f9 Add tests for wxBackingFile.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 21:58:35 +00:00
Michael Wetherell
82b99cf952 Rename WX[F]FILE_LARGEFILE to wxHAS_LARGE_[F]FILES.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 21:46:13 +00:00
Michael Wetherell
8d23231721 Undo most of the previous commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 21:32:01 +00:00
Michael Wetherell
c37fdfc1c2 Remove the part that says "don't remove this!" as discussed on wx-dev, to
leave the symbols in the first version on a new stable branch unversioned.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 21:27:08 +00:00
Michael Wetherell
a81d5bb62c On unicode builds detect gcc 3.4 precompiled header bug (bugzilla 13361).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 21:20:26 +00:00
Vadim Zeitlin
069a9976c3 don't update the size of a maximized TLW, whatever happens with the pane
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 21:05:12 +00:00
Vadim Zeitlin
dedcebb9df try to simplify the web of ifdefs; add Borland to the list of Windows compilers (partially addresses bug 1173702)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 20:39:09 +00:00
Vadim Zeitlin
886b7d745c don't show licence pane if there is no licence text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 20:19:44 +00:00
Robin Dunn
f2b79dadee Bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 20:15:41 +00:00
Robert Roebling
b5f0ae57a4 Document wxAppTraits::GetDesktopEnvironment.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 19:35:00 +00:00
Robin Dunn
cd5adaa649 Used wxConstCast where needed, fixed other compile errors, and removed TABs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 19:23:31 +00:00
Robin Dunn
e49c065dc3 added missing default ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 19:21:29 +00:00
Robin Dunn
9489e62f88 Use wxGTK_CONV to fix compile error when building in Unicode mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 19:20:52 +00:00
Robin Dunn
ed16aae012 Add collpane headers to files.bkl, and also collpaneg.cpp for OSX, and rebake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 19:19:26 +00:00
Robert Roebling
4ff4d04525 Mention that GTK now supports wxALWAYS_SHOW_SB.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 19:00:59 +00:00
Robert Roebling
d228892871 [ 1582733 ] Support wxALWAYS_SHOW_SB in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 18:55:28 +00:00
Julian Smart
8d7d6deac6 Added GetTempDir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 17:47:02 +00:00
Václav Slavík
8ddf534ad5 don't disable caret blinking on non-MSW platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 17:38:45 +00:00
Włodzimierz Skiba
4ec3100ac1 PCH build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 15:53:25 +00:00
Robin Dunn
b876c1e435 Update GraphcsContext/Path dummy classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 15:52:20 +00:00
Robin Dunn
0cf04a425f Update ReST docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 15:51:16 +00:00
Robin Dunn
7fcbee9e16 2.7.1.2 release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 15:50:28 +00:00
Robin Dunn
bdf784d93b Split the Python wxaddons package into its own package
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 15:48:59 +00:00
Michael Wetherell
7d45ec4aa1 Added wxBackingFile and wxBackedInputStream.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 15:45:51 +00:00
Michael Wetherell
5677ce32f2 Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 15:39:54 +00:00
Michael Wetherell
1fbab161c6 Correct comment.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 14:49:41 +00:00
Michael Wetherell
f8f6c91a0f Added wxBackingFile and wxBackedInputStream.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 14:47:07 +00:00
Michael Wetherell
c06469f66f Check for fdopen. Probably everywhere has it, but check until we are sure.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 13:33:45 +00:00
Michael Wetherell
b70a2866d5 wxFileName::CreateTempFileName changes. Open the tempfiles read/write. Allow
self delting temp files to be created, where the OS supports it. Add support
for opening wxFFile temp files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 13:10:12 +00:00
Michael Wetherell
693b31be84 Warning fix for vc8, and move wxGetFileKind out of the wrong section in the
source file (was in with the globbing functions).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 12:57:23 +00:00
Michael Wetherell
3d3c6c4518 Add WXFILE_LARGEFILE/wxFFILE_LARGEFILE to indicate whether large files are
supported by wxFile and wxFFile. Add wxO_BINARY.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 12:51:00 +00:00
Włodzimierz Skiba
a97d569cbb Use generic collapsible pane for wxUniv based builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 12:30:48 +00:00
Włodzimierz Skiba
17b1d76b4a Correct 'markup' for GetResourceHandle after recent change in wx/gdiobj.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 11:58:28 +00:00
Włodzimierz Skiba
c07bd710bc Use generic collapsible pane for wxOS2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 11:32:49 +00:00
Włodzimierz Skiba
810292c73d Use generic collapsible pane for wxUniv based builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 10:57:05 +00:00
Włodzimierz Skiba
82df62ef8e Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 10:51:20 +00:00
Włodzimierz Skiba
db3a1ef576 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 10:00:35 +00:00
Włodzimierz Skiba
084ad0c242 Rebaked makefiles after htmllistbox and collapsable panel additions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 09:58:29 +00:00
Stefan Csomor
9f339b18be adding new constructors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 08:53:47 +00:00
Julian Smart
d54b227fdf Fixed return values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 07:06:11 +00:00
Paul Cornett
ab9f9e7136 non-pch build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 00:50:52 +00:00
Vadim Zeitlin
4223cec504 avoid code duplication between the generic and GTK versions, factor the common code out in OnStateChange()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 23:27:10 +00:00
Vadim Zeitlin
2cbf701441 1. We don't need GetTopLevelParent() here, we already have wxGetTopLevelParent()
2. Don't hardcode button id in the generic version
3. Don't include unneeded headers from the header


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 23:23:12 +00:00
Vadim Zeitlin
ff928a273c use gtk_expander_new_with_mnemonic() instead of just gtk_expander_new()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 23:13:31 +00:00
Vadim Zeitlin
550d433e52 cleanup (mainly wrapping lines to be < 80 chars); added IsExpanded()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 23:10:07 +00:00
Vadim Zeitlin
a978c7d258 show the item for which the context menu is shown correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 22:33:25 +00:00
Vadim Zeitlin
3c1f8cb1f5 initial draft of wxCollapsiblePane (patch 1577412 by Francesco)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 22:28:37 +00:00
Vadim Zeitlin
187d815255 there is no need to convert wxArrayString to wxString[] explicitly any more, wx controls accept wxArrayString directly now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 22:12:32 +00:00
Vadim Zeitlin
9ebb7cade2 added wxSimpleHtmlListBox (patch 1576109 by Francesco)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 22:09:16 +00:00
Vadim Zeitlin
5c35d5c1d9 test indeterminate wxGauge mode (part of patch 1551409)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 21:22:40 +00:00
Vadim Zeitlin
b2c782f2b4 reverted change which made the progress dialog more realistic but also made the code vastly more complex (rev 1.116), it's not really needed otherwise than to test the patch it was bundled with; simplified the test code for wxPD_SKIP (rev 1.119); increased the progress counter to see the indeterminate mode marker wrap around
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 21:18:45 +00:00
Stefan Neis
2203a18560 Extended #1560785 (wxFileName::IsReadable/Writable/Executable) for OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 21:17:15 +00:00
Vadim Zeitlin
f4aa7ec32b small refactoring to avoid code duplication; renamed wxProgressDialog::UpdatePulse() to just Pulse(); added test for it in the dialogs sample (part of the patch 1551409 which somehow wasn't applied before)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 21:08:11 +00:00
Vadim Zeitlin
2baa2b0eef moved last change under the correct (2.7.2) version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 21:02:38 +00:00
Vadim Zeitlin
16844d1c3a clarify Skip() meaning even more (latest version of patch 1516341)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 20:52:45 +00:00
Vadim Zeitlin
f8b35b7b9a added autopackage-related files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 20:43:01 +00:00
Stefan Csomor
f540e5bd06 using GetNativePath instead of dynamic_cast
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 20:42:12 +00:00
Stefan Csomor
eec960fa89 on demand creation of native CGContexts , so that pure text measuring contexts don't need a native counterpart
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 20:38:53 +00:00
Vadim Zeitlin
06077aaf2c add alt popup window style allowing to use keyboard and comboboxes in the popup window and use it for the generic date picker (patch 1582391 from Jaakko)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 20:25:08 +00:00
Chris Elliott
d945fd16d5 remove empty dirs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 20:24:14 +00:00
Stefan Neis
3b0e208f3f Reverted font breakage caused by changes in version 1.30.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 18:59:15 +00:00
Stefan Csomor
2070a4f314 adding path accessors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 18:28:31 +00:00
Stefan Csomor
8ddf8e829a adding wxobject and RTTI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 17:52:23 +00:00
Vadim Zeitlin
3abcfa9b7f make install location autodetection work for executables compressed with (latest version of) UPX under Linux (patch 1565357)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 14:19:50 +00:00
Vadim Zeitlin
85fa9d60c4 use wxComboCtrl instead of custom popup window (patch 1575343)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 14:15:46 +00:00
Stefan Neis
90a6ac27c7 Applied patch #1582212 (completed/fixed toolbar's wxTB_BOTTOM implementation).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 13:52:20 +00:00
Vadim Zeitlin
c4a34cf8c5 call Init() from wxBufferedDC ctors to ensure that layout direction is inherited in any case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 13:04:28 +00:00
Vadim Zeitlin
b1ed79a980 inherit the original layout direction (patch 1554810); also refactored a little to reduce code duplication and added a couple of wxCHECKs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 13:00:58 +00:00
Vadim Zeitlin
ac70b90bb4 why was using std::string and streams disabled by default for mingw32 and cygwin? enabled it back
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 12:50:43 +00:00
Vadim Zeitlin
d956f3e7e7 added wxAnimateCtrl test (rest of the patch 1581391)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 12:12:41 +00:00
Vadim Zeitlin
ecf48edf90 rearranged wxUSE_XXX tests in alphabetical order for ease of maintenance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 12:07:44 +00:00
Vadim Zeitlin
ef54e2af14 ignore .cached files created by the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 11:46:25 +00:00
Vadim Zeitlin
5921d2f848 more printf() tests (slightly modified patch 1581936)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 11:41:44 +00:00
Vadim Zeitlin
ce939fe123 fix compilation with PCH (patch 1581936)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 11:38:33 +00:00
Vadim Zeitlin
64d47d7dec removed ^Ms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 11:36:26 +00:00
Robin Dunn
e02c0a1360 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 04:27:32 +00:00
Robin Dunn
bbc3761ee8 No need to use wxPyMake_wxObject for wxImageList. There are no
derived types, and it is not OOR.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 04:14:31 +00:00
Robin Dunn
cd0a59fb7f the Append also does an INCREF, that's one more than we need.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 04:13:04 +00:00
Robin Dunn
d819fba8ae Patch #1581767: Another fix for wx.lib.calendar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 04:12:12 +00:00
Robin Dunn
0a27f39436 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 03:08:27 +00:00
Robin Dunn
9443113386 Lots of little tweaks, mostly to draw selected items better such that
they look right with the new wxMac DC, but also other general
improvements as well.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 03:07:21 +00:00
Robin Dunn
9a9ed31993 Animation support added to XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 03:00:37 +00:00
Robin Dunn
8e8d11eeaa Add Get/SetInactiveBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 02:59:51 +00:00
Robin Dunn
6240681f37 #include dcgraph.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 02:59:09 +00:00
Robin Dunn
f629895c92 Add dcgraph.h to files.bkl and rebake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 02:58:27 +00:00
Paul Cornett
43af39c863 move some definitions out of datacmn.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 19:53:05 +00:00
Robert Roebling
ad0b4329d7 Use wxGCDC in wxGTK to draw "Alpha" test page
in drawing sample. Pretty amazing...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 18:44:44 +00:00
Robert Roebling
1ed4f1a747 Remove C++ dynamic cast for now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 18:43:00 +00:00
Paul Cornett
b687dd2fc1 wxGraphicContext --> wxGraphicsContext
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 18:00:11 +00:00
Paul Cornett
fd8bb4662a wxGraphicContext --> wxGraphicsContext
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 17:46:33 +00:00
Paul Cornett
cc5de8fe04 non-pch build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 17:46:22 +00:00
Stefan Neis
e4b5d0e37a Fixed port name used in #ifdef.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 17:22:50 +00:00
Robert Roebling
ddb0ed69a9 Fix warning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 17:22:07 +00:00
Stefan Neis
d9c9196e34 Corrected port name used in headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 17:19:11 +00:00
Robert Roebling
375829bb01 Update Makefile.in after annimatectrlxrc addition.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 16:57:38 +00:00
Vadim Zeitlin
6614aa496d fix for tabs drawing in RTL (patch 1552881)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 16:55:07 +00:00
Vadim Zeitlin
72c1ba98f2 add some #if wxUSE_XXX (patch 1581470)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 16:39:42 +00:00
Vadim Zeitlin
e4164aa980 filter out duplicate date changed events sent by the native control (part of bug 1482773)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 16:29:33 +00:00
Vadim Zeitlin
e7e9ac91c2 one more correction to wxCondition::WaitTimeout() return code: don't overwrite err with the semaphore wait result (bug 1387179)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 16:06:11 +00:00
Vadim Zeitlin
4cbc928afc restore the old status bar text when DoGiveHelp(false) is called (should fix bug 1340887)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 15:56:24 +00:00
Vadim Zeitlin
e112f01999 removed OnToolEnter() handler which interfered with the default tool long help handling; add long help for a couple of tools for testing purposes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 15:54:47 +00:00
Vadim Zeitlin
aafb997862 load _TrackMouseEvent dynamically to make it possible to run wx programs on systems with comctl32.dll 4.70 (closes 1215615)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 15:37:55 +00:00
Vadim Zeitlin
f2346d3fd6 don't use GetFileAttributesEx() which doesn't exist in Win95 and so prevented any wx program from even starting up there; besides it was unneeded anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 15:18:38 +00:00
Vadim Zeitlin
194b226768 also define wxLstat for non-Unix platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 14:45:40 +00:00
Vadim Zeitlin
ee8d76ec2e also define wxLstat in ANSI build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 14:42:17 +00:00
Vadim Zeitlin
56614e51f9 added wxLstat() (one of patches from bug 1052385)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 14:41:20 +00:00
Robert Roebling
a0d95a1ead additions for animatectrl xrc sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 14:09:26 +00:00
Vadim Zeitlin
abce4ee622 don't allow switches (i.e. options without value) to have values (closes 781373)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 14:04:27 +00:00
Robert Roebling
9e29cd0a28 [ 1581391 ] wxAnimationCtrl XRC handler
(most of)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 13:59:25 +00:00
Robert Roebling
8e458bb539 [ 1580776 ] wxAnimationCtrl::SetInactiveBitmap
Additionally call UnShare() in it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 13:51:38 +00:00
Vadim Zeitlin
1a5e269be8 (blind) fix for Tru64 compilation (bug 769360)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 13:23:20 +00:00
Stefan Csomor
8acd14d177 untangling dc and gc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 12:37:42 +00:00
Robert Roebling
8f3f46357d Compilo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 12:23:49 +00:00
Julian Smart
5c6e84b696 Added wxUSE_RICHTEXT guard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 07:10:48 +00:00
Robin Dunn
cca20a649c Simplified EVT_PAINT handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:25:26 +00:00
Robin Dunn
2fa7c075da Don't raise NotImplementedError from GetMark, just silently return
(0,0) for now


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:23:52 +00:00
Robin Dunn
8292b82b35 Some API updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:22:49 +00:00
Robin Dunn
6d44273eec Avoid assert on wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:22:11 +00:00
Robin Dunn
70e8e9b8f2 wxMac apparently doesn't send EVT_SHOW, so just use wx.CallAfter instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:21:21 +00:00
Robin Dunn
84752aa52a Change Refresh to Reset to avoid conflict with base class Refresh
Don't use wx.ClientDC, just draw to the bitmap when needed, and then
use Refresh for painting.  This works better on Mac.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:20:43 +00:00
Robin Dunn
6d6d86a684 Avoid nested DC assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:17:21 +00:00
Robin Dunn
7ed14752be more informative FAIL message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:16:41 +00:00
Robin Dunn
be01a40397 use consistent names (Graphic vs. Graphics)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:15:33 +00:00
Robin Dunn
54eb75b5fb Forward SetFont, SetBackgroundColour and SetForegroundCOlour to the
generic listctrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:12:57 +00:00
Vadim Zeitlin
a2d6d21099 fix warnings (double to int conversions and unused variables); removed hard TABs and extra spaces
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 23:59:55 +00:00
Stefan Csomor
513b47e9b7 screendc implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 20:50:48 +00:00
Stefan Csomor
bf2185eb8b new method needed for screendc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 20:46:07 +00:00
Stefan Csomor
8bf12709e9 setting a non valid font is permitted, implemented now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 19:29:30 +00:00
Stefan Csomor
04bad5edef fixing the screen dc, non 64 bit solution however
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 19:26:35 +00:00
Stefan Csomor
7471064e1d creating graphics context with the correct origin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 17:25:54 +00:00
Stefan Csomor
80f0a1be13 offsetting dcs correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 17:24:09 +00:00
Stefan Csomor
1e81241f3a moving the offsets into dcclient.cpp so that native event handlers can be called through
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 17:22:00 +00:00
Stefan Csomor
b28a9af9d5 offseting the graphics context correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 16:41:18 +00:00
Václav Slavík
68ab959c55 fixed computation of status bar fields width if the total width is not divisible by the number of fields
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 14:54:14 +00:00
Vadim Zeitlin
3febc967a9 put #if wxUSE_STATBOX around wxStaticBox usage (bug 1568939)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 14:33:49 +00:00
Stefan Csomor
0b1cc7bffb mac methodname fixed, so all use the same now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 13:14:31 +00:00
Stefan Csomor
4a4ab1b6a8 adding same methodname as gtk and msw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 13:12:23 +00:00
Julian Smart
f089713f9e Added the ability to use built-in bullet styles, currently standard/circle or standard/square.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 13:04:12 +00:00
Stefan Csomor
13bc5380f2 fixing classname
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 12:58:30 +00:00
Stefan Csomor
6c3bbd61e7 dummy implementations for new methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 12:43:38 +00:00
Stefan Csomor
539e27950f dummy implementations for new methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 11:59:10 +00:00
Stefan Csomor
1056ddcf24 new graphics context implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 11:56:32 +00:00
Stefan Csomor
f7862d3e49 new graphics context implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 11:46:28 +00:00
Stefan Csomor
4130e41449 new graphics context implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 11:35:43 +00:00
Vadim Zeitlin
73a0b98c1b define bookctrl (and -derived) classes flags in their headers instead of defs.h; don't deprecate the control-specific flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 11:32:30 +00:00
Stefan Csomor
977d15a6ae new graphics context implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 11:07:00 +00:00
Stefan Csomor
8168167976 avoiding nesting dcs on the same window concurrently
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 11:01:50 +00:00
Stefan Csomor
f2ee37d5ae extending implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 10:58:22 +00:00
Stefan Csomor
cd7d36c065 replacing old core graphics with new graphics context implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 10:56:36 +00:00
Stefan Csomor
6ff41b1697 replacing old core graphics with new graphics context implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 10:27:41 +00:00
Stefan Csomor
24a7b71889 replacing old core graphics with new graphics context implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 09:34:11 +00:00
Vadim Zeitlin
90c0f63a83 define bookctrl (and -derived) classes flags in their headers instead of defs.h; don't deprecate the control-specific flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 09:16:41 +00:00
Włodzimierz Skiba
e8f5bc9b5c Typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 08:43:39 +00:00
Włodzimierz Skiba
80a779275a Updated list of subprojects.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 08:20:32 +00:00
Chris Elliott
f762140de8 missing backticks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 08:15:25 +00:00
Włodzimierz Skiba
2c92065fad Updated list of subprojects.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 08:01:06 +00:00
Włodzimierz Skiba
41a852156f Whitespaces and headers cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 07:48:31 +00:00
Stefan Csomor
774f4d1221 start using wxGraphicsContext for OS X instead of old core graphics implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 06:27:58 +00:00
Stefan Csomor
7113b61aaf cleaning up the runloop source properly (was causing crashes in embedded situations, as the runloop source persisted)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 06:04:12 +00:00
Paul Cornett
91641d0443 Remove unnecessary size members from GtkPizzaChild.
Move some declarations out of header.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 05:47:15 +00:00
Paul Cornett
9c08a8165c buid fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 05:07:33 +00:00
Robin Dunn
17d87392c6 wxPython 2.7.1.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 23:25:59 +00:00
Robin Dunn
81bfc17cc6 bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 23:24:08 +00:00
Robin Dunn
f1b4640404 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 23:22:35 +00:00
Robin Dunn
7aa69ab26b fixes for non-Mac platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 23:11:49 +00:00
Robin Dunn
039550b00e Add the version number to the name displayed on the top-right of the page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 21:40:33 +00:00
Robin Dunn
0967b57b85 overwrite old wx DLLs even if the version numbers match
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 21:39:34 +00:00
Robin Dunn
b93f7ba634 ensure that the MasedEditMixin's version of IsEmpty is the one used.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 21:38:55 +00:00
Robin Dunn
5555861c29 docstring fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 21:38:17 +00:00
Julian Smart
8987e7d6e8 Added missing WXDLLIMPEXP_RICHTEXT symbol
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 19:55:49 +00:00
Julian Smart
d33700db0c Spin control usage correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 16:22:54 +00:00
Vadim Zeitlin
92d6f088c6 added samples/internat/ar/* files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 16:15:42 +00:00
Vadim Zeitlin
f3e86476fd update from Hakki Dogusan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 16:07:27 +00:00
Julian Smart
bcedac4469 Compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 15:56:40 +00:00
Vadim Zeitlin
27d8e1b34c removed non-existing richedit.dmc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 15:55:47 +00:00
Vadim Zeitlin
9fd47c4847 added include/wx/gtk/private/string.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 15:28:09 +00:00
Vadim Zeitlin
29131e8a54 fixed X11 Unicode build compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 15:25:59 +00:00
Vadim Zeitlin
479c790cb7 must use PKG_PROG_PKG_CONFIG before PKG_CHECK_MODULES; fixes configure for Unicode wxX11 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 15:12:46 +00:00
Stefan Csomor
8946d7fd68 using graphics context for core graphics switch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 15:04:32 +00:00
Vadim Zeitlin
b1f3b29c42 split the incompatible changes section in silent changes and the others
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 15:02:39 +00:00
Vadim Zeitlin
b098b62129 extracted wxGtkString in a separate file, it's also needed by wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 14:42:01 +00:00
Vadim Zeitlin
b886fae648 Main change is that we now close X11 display on program exit: as this couldn't
be done in wxApp dtor (too early), a special module had to be created for it
and module dependencies added for the other modules which have to be cleaned
up while the display is still open.

Also a few minor formatting changes and removed a couple of unused variables
from wxApp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 14:39:53 +00:00
Julian Smart
36751d973e Added style organiser dialog and list style editor page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 14:09:05 +00:00
Julian Smart
e472363403 Separated out list formatting into new menu.
Added use of style organiser dialog.
Demonstrated style organiser being used as Bullets & Numbers
dialog.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 14:05:36 +00:00
Julian Smart
dadd4f5523 Added a list style editor page to the formatting dialog.
Added a style organiser dialog, which can be used to browse
for and apply styles and can be limited to show one of
the three style types, or all three.
Added a font name cache since it's an expensive operation
that's used frequently by the rich text dialogs.
Added ability to switch off tooltips for new dialogs
(off by default). Improved the previews. Pressing tab or shift-tab
at the start of a list item now demotes or promotes the item.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 14:04:13 +00:00
Vadim Zeitlin
0c7e0a8771 added newline at end of file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 13:09:48 +00:00
Robert Roebling
d65fd4e93f Made wxStreamBase::IsOk() virtual;
Overrride in file streams to test foe base class and
    for correctly opened files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 12:30:59 +00:00
Vadim Zeitlin
522d32e508 fixed the problem in 2 last commits
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 12:12:40 +00:00
Robert Roebling
03b5e90b0e Fix mem leak.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 12:08:29 +00:00
Włodzimierz Skiba
dc5a84857d Rescale images automatically with informations about internal requirements (Jaakko Salli).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 12:06:00 +00:00
Vadim Zeitlin
e44d5a5892 fix memory leak in wxGetTempFileName(const wxString&, wxString&) overload; also define wxGetTempFileName(const wxString&, wxChar *) overload in terms of the other one and not vice versa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 11:58:48 +00:00
Mart Raudsepp
2649725398 Include defs.h before including wxchar.h to make init.h self-contained (able to include this header in
applications as the only one).
Before with only include wxchar.h it was missing ATTRIBUTE_PRINTF and other things due to wxchar.h not including
defs.h because of defs.h including wxchar.h itself.
We probably don't need to include wxchar.h anymore in init.h then, but I don't want to rely on wxchar.h being
always included from defs.h (if we can rely on that, please change if appropriate)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 07:43:24 +00:00
Paul Cornett
45388803ec fix memory leak in Freeze
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 02:53:54 +00:00
Kevin Ollivier
448f8f12b9 Several wxWebKitCtrl enhancements/fixes. Including:
- new methods for increasing/decreasing text size, getting selection, getting/setting scroll position, printing, enabling editing, and running JavaScripts on the page.

- added new event (wxWebKitBeforeLoadEvent) for catching, and possibly vetoing, load events before they occur.

- wxWebKitCtrl now fires mouse events for certain events that it was eating before. This improves wxSplitterWindow resizing behavior.

- refactoring of the sizing logic to move the Cocoa view. I've tested this with splitter windows, panels, notebooks and all position correctly with this.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 00:40:23 +00:00
Kevin Ollivier
bdf895fdd9 Allow other classes to access the SetupMouseEvent function.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 00:22:11 +00:00
Robin Dunn
24f6c4e865 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 23:51:19 +00:00
Robin Dunn
72156afeb5 some changes to make epydoc happy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 23:50:01 +00:00
Robin Dunn
26e4b9d063 docstring
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 23:49:22 +00:00
Robin Dunn
974a50f1bb regen ReST docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 23:46:44 +00:00
Robin Dunn
7b61ea68e2 remove "pre"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 23:45:42 +00:00
Robin Dunn
77f62aa7b6 Patch #1579801: wxBufferedDC shared buffer bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 22:36:36 +00:00
Robin Dunn
6231770f89 Patch from Andrea: fixes no page chang* events with mouse right click,
plus a couple of other minor issues


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 22:09:18 +00:00
Robert Roebling
88bbc3329b Test for KDE and GNOME using session manager vendor.
Use it in mime types initialization.
   Add wxUSE_DETECT_SM


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 21:55:54 +00:00
Robert Roebling
0fb2e8796d Support wxFULLSCREEN_NOSTATUSBAR
Correct Get/SetClientSize() accordingly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 19:17:10 +00:00
Robert Roebling
3a8b3bd159 Support wxFULLSCREEN_NOMENUBAR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 19:02:29 +00:00
Robert Roebling
40131743c6 Ref counting overview.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 17:24:55 +00:00
Robert Roebling
a91225b27b [ 1578529 ] better docs for reference-counted objects
This already includes the change for wxBitmap, which
  is not COW yet.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 17:23:42 +00:00
Robert Roebling
15d4b8cdb5 [ 1579280 ] small src/unix/mimetype.cpp optimizations
I'm not sure if this actually changes the assembly in
a smart compiler, but who knows.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 17:19:22 +00:00
Robert Roebling
dcc36b34be [ 1579793 ] numerous bug fixes when mask is used
Corrects PNG handling and wxImage::Paste()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 17:06:11 +00:00
Robin Dunn
17b5a3eccb If an empty string is passed, remove the tooltip instead of setting it
to "".


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 03:54:48 +00:00
Robin Dunn
122c2bae32 don't clear the tooltip unless there is one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 03:41:50 +00:00
Paul Cornett
5f8047a69b use generic wxAnimationCtrl in wxGTK-universal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 03:32:52 +00:00
Kevin Hock
e225fe17a8 Do not send a changed event if a button is clicked for down/up when the control is already at min/max and wrap is not specified. Fixes both wxSpinButton and wxSpinCtrl. Bug #1578523.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 00:06:55 +00:00
Robin Dunn
61b3549028 More updates from Andrea
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 22:41:17 +00:00
Robin Dunn
7753ca6bed reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 20:49:16 +00:00
Robin Dunn
d4ca60e8a6 Need to subtract the m_miniTitle to get client size, not add it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 19:51:16 +00:00
Robin Dunn
fd39f7a893 Add impl for IsFrozen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 19:50:03 +00:00
Robin Dunn
ba53bf083e GetSpacer returns a copy, not a reference to the size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 19:37:59 +00:00
Robin Dunn
37840b8bc1 updates from Andrea, plus some fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 19:37:16 +00:00
Julian Smart
f6fc052ae5 SetSelection(wxNOT_FOUND) now works correctly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 18:21:05 +00:00
Julian Smart
f17e0ebd63 Fixed assert when moving out of a menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 17:18:57 +00:00
Julian Smart
daad5a23b7 Support wxDF_UNICODETEXT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 17:16:53 +00:00
Julian Smart
ffd73a2c76 Draw tool transparently if we have a mask
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 16:57:03 +00:00
Włodzimierz Skiba
1b88201ff5 Headers cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 14:44:52 +00:00
Julian Smart
082cfe55b9 Added various list commands to demonstrate new list features.
Now uses wxRichTextStyleListCtrl giving a choice of style types to display.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 14:12:03 +00:00
Julian Smart
38f833b10c Added list style to text attributes, independent from paragraph style
Added list style definition
Added SetListStyle, ClearListStyle, NumberList, PromoteList to
buffer and control classes
Changed style listbox so double-click applies style instead of
single click. This allows for multiple items to be applicable,
and also in future to edit styles from this listbox without
accidentally applying the style to content.
Added wxRichTextStyleListCtrl which also shows a wxChoice for
selecting the type of style to display.
Style sheets can form a chain to allow inheritance from current
style sheet (not yet supported by style list controls).
Added PushStyleSheet/PopStyleSheet.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 14:09:14 +00:00
Stefan Csomor
daca43d847 fixing coordinate conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 09:27:46 +00:00
Paul Cornett
edba2de33e remove assert from PurgeOtherRepresentations,we'll have to trust that callers know what they're doing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 05:50:10 +00:00
Paul Cornett
fd7a7443bc use common AllocExclusive, rather than custom code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 04:20:47 +00:00
Paul Cornett
e3e89a9370 implement {Create,Clone}RefData for gtk wxBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 03:19:20 +00:00
Paul Cornett
93c5f7558e add public wxObject::UnShare
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 03:18:28 +00:00
Robin Dunn
c78a1b7649 Patch #1576397, fix to properly render months that start on a Sunday
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 00:15:33 +00:00
Robin Dunn
2c7816ffd1 Show the AlphaDrawing sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 21:55:41 +00:00
Robin Dunn
9b9401385f reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 21:53:14 +00:00
Robin Dunn
a0fd79ba38 docstring fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 21:52:41 +00:00
Robert Roebling
0a82ca5b33 Correct wxComboBox height in wxToolbar for old
GtkCombo-based implementation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 21:44:22 +00:00
Robin Dunn
52e22a61ce Compile fix: forward decalare wxFloatingPane
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 20:56:58 +00:00
Robert Roebling
1ed6bbc207 Fix wxMiniFrame caption height.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 20:55:59 +00:00
Robert Roebling
bc429ce01f [ 1578466 ] Support for custom floating panes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 20:36:11 +00:00
Robert Roebling
fa96a36ecf [ 1578468 ] full support for "destroy on close" flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 20:27:37 +00:00
Robin Dunn
73703a8063 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 20:26:02 +00:00
Robin Dunn
5f2502393e use the right number in the tarball filename
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 20:25:14 +00:00
Robin Dunn
a49b2d272a put the gdiplus.dll with the wx DLLs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 20:24:24 +00:00
Robin Dunn
41c4b3ef21 use wx.GCDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 20:22:33 +00:00
Robin Dunn
e2e0b76a95 Destroy the FileDialog when finished with it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 19:50:21 +00:00
Robin Dunn
f9c1b462c7 Add a utility function that can calculate word-wrap line breaks, and
use it in the AboutBox demo.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 19:49:43 +00:00
Robin Dunn
d1cf7e2aa4 Don't make a property out of GetEnableEffects, it hides the
EnableEffects method


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 18:27:03 +00:00
Robin Dunn
cd46ad2be4 Call wxRichTextModuleInit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 18:25:43 +00:00
Robert Roebling
4a10e43b27 Made wxWindow::Update() a little clearer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 18:16:49 +00:00
Robin Dunn
c18fa7a4b6 Merge new item attributes if any are already existing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 18:13:55 +00:00
Robin Dunn
f1d6804f7c Add wxRichTextModuleInit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 18:12:17 +00:00
Włodzimierz Skiba
e8a8d0dc2d [#1577388] - fix for scaling in wxImage.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 13:26:08 +00:00
Włodzimierz Skiba
59185e297d Added test for scaling and bluring wxImage.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 13:22:13 +00:00
Włodzimierz Skiba
8d0ca2928b Allow building without calendar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 12:37:29 +00:00
Włodzimierz Skiba
1c4e8f384d CVS tags cleaning (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 09:30:01 +00:00
Włodzimierz Skiba
008a265578 Fix for assert in 'dynarray.cpp' by Jaakko Salli.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 09:04:21 +00:00
Robert Roebling
d218e518d8 Readd gtk_widget_set_size_request() to prevent
-1,-1 from being allocated.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 20:21:23 +00:00
Robert Roebling
ecf3b4a57f Implement mnemnic support for wxToggleButton.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 20:12:41 +00:00
Paul Cornett
e47c778924 remove gtk_pizza_expose, its purpose is easily accomplished from existing expose-event handler in window.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 19:59:31 +00:00
Robert Roebling
e60022505d I don't think anylonger that DrawHeaderButton() should
be used for drawing grid row/col buttons. Also, the
   GTK2 port should not waste space per line of wxMSW
   doesn' waste it neither.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 19:44:39 +00:00
Robert Roebling
34445cc76d Left unused variable around.
Adjust window placement in the correct direction
    in RTL. This corrects in-place editing in wxGrid.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 19:18:48 +00:00
Robert Roebling
55dc8e189d Use widget->allocation instead of querying the
window size with a gdk_  call.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 19:13:18 +00:00
Robert Roebling
1e89eecdc2 Do not remove GDK events for native GTK+ controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 19:11:19 +00:00
Robert Roebling
9c862cfb93 [ 1577675 ] Fix for GTK warnings in wxNotebook::DoRemovePage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 18:44:33 +00:00
Paul Cornett
9fd707a51f non-pch build fix, cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 18:05:25 +00:00
Paul Cornett
ad0023978e non-pch build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 18:04:23 +00:00
Paul Cornett
fc964c0d23 probable typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 18:03:36 +00:00
Mattia Barbon
9fd8f2dd3d Fix setting the clipping region for a DC when the region is an
actual wxRegion.
  Fix some positioning/sizing bugs, mosting affecting controls
inside scrolled windows.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 15:51:35 +00:00
Mattia Barbon
653752be8a Added wxRTTI macros to buffered DCs.
Fix a signed/unsigned warning.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 15:45:13 +00:00
Robert Roebling
8db7faf281 Correct window placement only once.
This fixes edit label control placement in wxListCtrl in RTL.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 15:03:17 +00:00
Stefan Csomor
fe63cfad2b adding missing typedefs for 10.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 07:57:03 +00:00
Stefan Csomor
cdac585c3b availability does not include any other headers, but it provides the necessary macros everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 07:46:49 +00:00
Paul Cornett
87d658e5d7 wrong caption for html window, cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 07:01:59 +00:00
Paul Cornett
af05af4d87 store GtkPizza border width in GtkContainer.border_width, eliminate GtkPizza.shadow_type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 07:01:36 +00:00
Paul Cornett
02ae785a8a put back obviously-not-redundant resize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 05:42:13 +00:00
Paul Cornett
23c085422e remove redundant resize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 05:36:45 +00:00
Paul Cornett
d41e1ab481 replace use of deprecated GtkPixmap, gtk_container_border_width
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 04:36:31 +00:00
Paul Cornett
83b96a06ca logical vs. boolean operators, unused decls and vars, etc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 03:43:11 +00:00
Paul Cornett
b0ae510a86 deprecation fixes, plus some code size reduction and cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 01:10:01 +00:00
Paul Cornett
e338053c00 replace use of deprecated GtkPixmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 19:01:34 +00:00
Robin Dunn
64b75e644a Ensure Cairo is installed before setting wxUSE_GRAPHICS_CONTEXT for
wxGTK builds


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 18:07:42 +00:00
Robin Dunn
37c9624ecf Don't build animate by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 18:04:47 +00:00
Robin Dunn
62f51f1f90 Update to InnoSetup 5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 18:03:55 +00:00
Robin Dunn
3a5608d3cf Don't build the animate contrib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 18:02:49 +00:00
Paul Cornett
8c4e2405ca remove obsolete checks, minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 17:39:38 +00:00
Stefan Csomor
4f74e0d132 cleanup for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 16:55:55 +00:00
Paul Cornett
50679f941e correct access for virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 16:50:04 +00:00
Paul Cornett
eba91e51e8 replace use of deprecated GtkPixmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 16:49:14 +00:00
Stefan Csomor
7cd7bc23d5 cleanup for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 16:18:09 +00:00
Stefan Csomor
4913272f9c cleanup for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 16:02:39 +00:00
Stefan Csomor
f387b80e0e cleanup for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 15:48:32 +00:00
Stefan Csomor
e6c3d3e655 cleanup for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 15:30:02 +00:00
Stefan Csomor
fb743cab53 cleanup for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 15:15:00 +00:00
Stefan Csomor
eb89f88a43 cleanup for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 14:55:46 +00:00
Stefan Csomor
8c9fd6e54e cleanup for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 14:46:31 +00:00
Robert Roebling
fc2d420900 Make status bar grip move to the left in RTL.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 14:36:18 +00:00
Robert Roebling
80fdb7b34d Remove tree control lines unconditionally under
GTK2 (similar to what wxMac does) as it simply
    looks wrong (as we are using GTK+ tree buttons).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 13:24:26 +00:00
Robert Roebling
39b5648ed2 Forgot border when reversing coordinates for RTL.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 13:22:37 +00:00
Robert Roebling
47892637d3 Left in debug printf.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 07:10:14 +00:00
Robert Roebling
db71eb0640 Better place for coordinate mirroring and removal
of stupid hack.
  This makes the positioning correct in the end but
    leaves window hopping when resizing unsolved
    in RTL mode.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 07:06:50 +00:00
Paul Cornett
bfeeb7f3a2 remove unused XIM code, minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 04:03:24 +00:00
Robin Dunn
8e99bda941 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 19:57:27 +00:00
Robin Dunn
d9c8cf74dd text tweak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 19:56:45 +00:00
Robin Dunn
b8dc98c8f5 This works ok on Mac now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 19:55:29 +00:00
Robin Dunn
b7dd8ad1b4 comment out prints
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 19:32:15 +00:00
Robin Dunn
5b20646ea8 Add USE_GDIPLUS=1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 19:20:49 +00:00
Robin Dunn
96285a18aa wxMemoryDC constructor now optionally accepts a wxBitmap parameter,
calling SelectObject itself if a valid bitmap is passed.

Reverted wxBuffered[Paint]DC to nearly the pre 2.7.1 state, kept
wxAutoBufferedPaintDC and added wxAutoBufferedPaintDCFactory.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 19:19:36 +00:00
Robin Dunn
19c9f36f13 Reverted wxBuffered[Paint]DC to nearly the pre 2.7.1 state, kept
wxAutoBufferedPaintDC and added wxAutoBufferedPaintDCFactory.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 19:14:21 +00:00
Robin Dunn
99ceaa26e4 some fixes in the compatibility class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 19:06:50 +00:00
Robin Dunn
6850c57605 bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 19:01:02 +00:00
Robin Dunn
432efcb004 wxMemoryDC constructor now optionally accepts a wxBitmap parameter,
calling SelectObject itself if a valid bitmap is passed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 18:48:36 +00:00
Robin Dunn
51ad652fa2 Fix for wxToolbook, allow oldSel == wxNOT_FOUND when changing to a
new selection.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 18:33:54 +00:00
Julian Smart
cfa3b25626 Fixed tab selection bug
Slight improvement to kerning-related jumpy text when selecting
Default tab efficiency improvement and naming conventions cleanup


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 14:30:40 +00:00
Włodzimierz Skiba
9654efd332 Fix for assert in setting image from file by Jaakko Salli.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 14:15:06 +00:00
Stefan Csomor
820716c69f removing double definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 11:59:04 +00:00
Stefan Csomor
c819dcf7d3 setting according to a minimum system of 10.3 and supporting 64 bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 11:58:02 +00:00
Robert Roebling
eda276b092 Remove method GetWindow() returning a GdkWindow*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 09:16:22 +00:00
Robert Roebling
8913c40c32 Applied part of [ 1575767 ] Init/size/check fixes for sockets
Left out the time out parameter change.
Left out the improper test for arbitrary too large value upon
read failure.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 09:00:06 +00:00
Robert Roebling
ddd5387387 Prevent bogus event which GTK 2.4 sends after
typing text in the text area begins and the
    text there has no match in the list.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 08:39:27 +00:00
Robin Dunn
a525c564dc update build and install docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 00:16:37 +00:00
Robin Dunn
8170f2ee3e can put back the wx.BufferedPaintDC now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 00:15:57 +00:00
Robin Dunn
331139716c updates from Andrea
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-12 23:24:40 +00:00
Vadim Zeitlin
c66068835e inserted missing back quotes around echo lost by previous change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-12 19:57:23 +00:00
Chris Elliott
6ff2b4376b post 2.7.1 fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-12 19:47:12 +00:00
Vadim Zeitlin
19fea3417d mention that wxBufferedDC doesn't inherit from wxMemoryDC any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-12 12:34:58 +00:00
Robin Dunn
1c92f2983d only need a (1,1) bitmap for measuring
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-12 08:58:05 +00:00
Robin Dunn
f8eb59b90f reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-12 08:37:14 +00:00
Robin Dunn
6a64d5510c Give up on trying to fix all the buffered dc problems and just
check-in the FlatNotebook update from Andrea using self-buffering
instead of wx.BufferedPaintDC.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-12 08:35:24 +00:00
Robin Dunn
d74b38444e typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-12 08:32:54 +00:00
Stefan Csomor
4bc28209b3 fixing rectangle drawing when offsetting 0.5, correcting rounded rectangle drawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-12 07:59:49 +00:00
Stefan Csomor
62fa228ac1 setting font when using core graphics on a memory dc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-12 07:53:44 +00:00
Stefan Csomor
4b1f989890 support 1 bit deep bitmaps as masks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-12 06:46:42 +00:00
Stefan Csomor
b083987dba support CGGraphics Masks, switch xbm interpretation to be in line with msw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-12 06:43:47 +00:00
Robin Dunn
f98bd6d6cf Fixup Blit so it can be used with a source that is a wxBufferedDC,
since wxBufferedDC doesn't derive from wxMemoryDC any more.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-12 06:23:52 +00:00
Stefan Csomor
514fd350e8 adjust so that mono bitmaps don't get an alpha channel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-12 05:15:47 +00:00
Julian Smart
4f88b483b5 Some additions to the wxRichTextCtrl overview.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-12 04:27:35 +00:00
Vadim Zeitlin
d24a9fc768 only change the bitmap size for the borderless controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-12 01:51:39 +00:00
Robin Dunn
369be443aa Don't use the window position as the x offset when painting the full
row highlight, always use zero.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 23:54:08 +00:00
Robin Dunn
848e071ac2 a little whitespace cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 23:52:09 +00:00
Robin Dunn
ce7088dd4e Give some more specific info if PyWin can't be imported when frozen in
a py2exe exexcutable


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 23:51:03 +00:00
Robin Dunn
bd2b8a16e2 a couple new generic methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 23:49:59 +00:00
Robin Dunn
cc202d9b5e convert unicode filename to file system encoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 23:48:59 +00:00
Robin Dunn
2dda386424 Size property conflicts with Size() method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 23:48:21 +00:00
Robin Dunn
aa43bcc774 use "StrokeLineSegements" for the second overload of StrokeLines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 23:47:41 +00:00
Robin Dunn
8de3594cdd docstring update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 23:46:47 +00:00
Robin Dunn
8c0c419677 Don't include platform headers from public wx headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 23:46:02 +00:00
Vadim Zeitlin
475a93b76a moved GetLayoutDirection() to GUI wxApp, it has nothing to do in wxAppConsole
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 22:34:53 +00:00
Vadim Zeitlin
78041f2e65 mention more changes done by Francesco
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 22:15:57 +00:00
Robert Roebling
ccb5db57cd Fix [ 1574240 ] wx.RadioButton doesn't navigate correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 20:54:21 +00:00
Kevin Ollivier
3fd864a139 Implementing column click event handler and SortItems function for native list ctrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 20:04:29 +00:00
Robert Roebling
6862383251 Anim doesn't depend on GIF, remove wxUSE_GIF.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 19:24:33 +00:00
Robert Roebling
3dfd8daff3 [ 1574592 ] Documentation for wxBufferedDC improvements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 19:06:21 +00:00
Robert Roebling
fe37cbd46f Use native version of wxAnimateCtrl only for
GTK >= 2


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 17:59:40 +00:00
Paul Cornett
554db69257 add sections to advanced library for each unix-based platform
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 17:02:26 +00:00
Paul Cornett
7067783d90 animatectrl typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 17:00:24 +00:00
Stefan Csomor
718fe6454b bringing up to date with new files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 16:36:31 +00:00
Julian Smart
2a6c3e2566 Added back necessary defines 'cleaned' away. If folks could resist the urge to delete
them again, I'd be much obliged. We can change the symbol name if necessary.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 16:28:35 +00:00
Stefan Csomor
ee5c8f01f2 while gcc 4 works under xcode, 3.3. builds don't, therefore this workaround for source relative includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 16:10:12 +00:00
Robert Roebling
05a98b6d5d Fix part of [ 1570325 ] wxAnimationCtrl for wxAdv library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 16:09:39 +00:00
Stefan Csomor
a51cb1e67b fixing changing text colors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 13:54:03 +00:00
Mart Raudsepp
ae6a64b6af Implement left indentation and tab stops support in wxTextCtrl, patch #1518114 - Tim Kosse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 13:45:44 +00:00
Stefan Csomor
ebbb5cb266 adding the 0.5 offset for odd pen widths
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 12:29:57 +00:00
Stefan Csomor
4731b3ab86 adding events on kill-focus (Robert's Patch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 09:20:34 +00:00
Vadim Zeitlin
6c1465efb7 allow customization of individual grid lines appearance (patch 1496015)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 23:16:37 +00:00
Vadim Zeitlin
e3877dfc5a fixed typos in last check in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 18:30:43 +00:00
Vadim Zeitlin
c4d2397c26 protect gs_allThreads with a mutex (modified patch 1518719)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 18:26:26 +00:00
Vadim Zeitlin
ce6b371d14 documentation for wxAppTraits (patch 1518295 from Francesco)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 18:20:18 +00:00
Robin Dunn
fa5a80d6a6 distrib changes to enable graphics context and add gdiplus.dll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 06:44:51 +00:00
Robin Dunn
b39fe95145 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 04:44:52 +00:00
Robin Dunn
281c54cc42 helpers and typemaps for new GraphicsContext methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 04:42:49 +00:00
Robin Dunn
0f82eb02e4 better comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 04:18:35 +00:00
Robin Dunn
b7c7a7a86c reentrance methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 04:16:33 +00:00
Robin Dunn
7b497846ea ~wxPoint2D
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 04:10:36 +00:00
Robin Dunn
8adc9d9d42 Get/Set LayoutDirection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 04:09:58 +00:00
Robin Dunn
270a8b4604 Add wxOverlay
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 04:07:14 +00:00
Robin Dunn
8afc02ca49 Don't call BeginDrawing/EndDrawing, they're deprecated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 04:01:29 +00:00
Robin Dunn
dd397ff730 don't build the animate contrib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 03:56:40 +00:00
Robin Dunn
88535d8ed5 use wx.SAVE style for the save dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 03:53:11 +00:00
Robin Dunn
e19b9131cb move animate from contrib to core, and migrate to new API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 03:51:27 +00:00
Robin Dunn
c2695fb3b1 Restore a use case that was lost with the last set of updates, using a
wxBufferedDC without a real DC, just a buffer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 03:45:08 +00:00
Paul Cornett
42eba91294 build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 03:00:07 +00:00
Paul Cornett
50961a3571 and more inlines called before defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 02:41:07 +00:00
Robin Dunn
e912d1d45e remove targets before cp, mv and ln, otherwise ambiguous links and
make errors can result.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 19:17:54 +00:00
Stefan Csomor
e412f8928f adding overlay implementation for core graphics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 19:09:01 +00:00
Stefan Csomor
d72e4d138a simpler implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 19:06:19 +00:00
Stefan Csomor
5cf94cc71c resetting when necessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 19:04:21 +00:00
Stefan Csomor
c0badae100 switching to newer API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 19:02:44 +00:00
Chris Elliott
4857f07f51 temporary fix for motif, univ, gtk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 18:59:48 +00:00
Stefan Csomor
832f330f22 using separate window groups per window helps keeping overlays with the window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 18:51:55 +00:00
Julian Smart
b67a86d574 Added newlines to end of files to avoid RTF-for-PDF index getting messed up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 17:46:49 +00:00
Robert Roebling
a92bedfeeb Move reentrance guard down.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 17:45:57 +00:00
Paul Cornett
7212d15556 don't include missing.h before windows headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 17:37:02 +00:00
Paul Cornett
e07c114691 correct DLL attributes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 17:35:49 +00:00
Paul Cornett
c16b9bfe69 more inlines called before defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 17:33:49 +00:00
Julian Smart
23c386ba20 Minor correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 17:02:34 +00:00
Julian Smart
1807a1f3cf Return type change
Added support for help button to formatting dialog


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 17:01:36 +00:00
Julian Smart
62a268cc71 Added some missing newlines to ends of files (necessary for linear RTF)
Added rich text control formatting and symbol dialogs
API changes for wxRichTextCtrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 16:48:47 +00:00
Stefan Csomor
e69d5138dc setting clipping correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 13:57:19 +00:00
Vadim Zeitlin
b72979e918 real LaTeX fix to last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 13:53:37 +00:00
Vadim Zeitlin
309b26a7ec attempt to correct bogus tex2rtf warning about unmatched brackets in htprintmacros.inc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 13:49:17 +00:00
Włodzimierz Skiba
24ff756145 WinCE build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 13:46:23 +00:00
Vadim Zeitlin
2c31c8492d LaTeX fix to last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 13:46:18 +00:00
Vadim Zeitlin
b18a7b1116 escape more underscores (we need a pre-commit check for those...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 13:45:12 +00:00
Vadim Zeitlin
e0c664bf08 added discussion of user-generated vs programmatic events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 13:42:04 +00:00
Stefan Csomor
250e4028f8 making sure the overlay moves with its parent on OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 13:36:05 +00:00
Stefan Csomor
d10e22fe8a !__WX_DC_BLIT_FIXED__ case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 13:00:44 +00:00
Stefan Csomor
b954afc925 getting the wxWindow* on GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 12:43:58 +00:00
Stefan Csomor
8ea2d2320b adding includes for non-precomp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 12:37:15 +00:00
Stefan Csomor
12534a3647 turning around defines, using a graphics context enables testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 12:21:59 +00:00
Włodzimierz Skiba
6bbb8a8d50 Warning fixes and minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 12:08:52 +00:00
Włodzimierz Skiba
1ca21e6dd6 Follow changes in wxRenderer interface.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 12:07:17 +00:00
Włodzimierz Skiba
c51664fc85 Follow CreateButtonSizer interface change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 12:06:09 +00:00
Julian Smart
2569ebc257 Added help provider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 11:11:59 +00:00
Chris Elliott
87d2b3f172 fix for Borland - which never likes ?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 11:09:44 +00:00
Chris Elliott
7e176c2472 remove stray ; which broke compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 11:05:10 +00:00
Stefan Csomor
abeb53aa82 moving to correct position
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 10:47:40 +00:00
Włodzimierz Skiba
0d80fb3122 #incldue fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 10:39:46 +00:00
Stefan Csomor
af76254d19 overlay implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 10:39:29 +00:00
Vadim Zeitlin
8b56b16aca removed spaces; added WXDLLEXPORTs; make overlay classes non copiable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 10:29:41 +00:00
Stefan Csomor
861410228d overlay implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 10:28:04 +00:00
Robert Roebling
5fa150e233 Added part of patch
[ 1573619 ] Fix for Reentrance problems in events
  in slightly modified form.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 10:28:00 +00:00
Włodzimierz Skiba
6f1db55b94 Updated makefile.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 10:06:57 +00:00
Václav Slavík
1f9e358229 generate makefile.unx files using bakefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 10:04:10 +00:00
Václav Slavík
591a46d420 added support for the 'richtext' library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 09:54:26 +00:00
Václav Slavík
342d6309bb added support for AUI library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 09:50:26 +00:00
Włodzimierz Skiba
25bd0d9050 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 09:11:32 +00:00
Robert Roebling
92c0c17272 Add test for SetItemMinSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 08:57:46 +00:00
Vadim Zeitlin
6ae7410f55 added wxDC::Set/GetLayoutDirection() and implemented it for wxMSW (patch from Tim Kosse)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 08:31:23 +00:00
Włodzimierz Skiba
d18868bb9b Use wxUSE_* flags for new animation code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 08:16:34 +00:00
Włodzimierz Skiba
967acfb5cd wxUnivMSW build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 08:05:19 +00:00
Robert Roebling
7e4545b8a0 [ 1574264 ] Fix height of wxComboCtrl's wxTextCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 08:03:59 +00:00
Włodzimierz Skiba
3a0c45985d Updated Univ setup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 07:22:51 +00:00
Włodzimierz Skiba
3f4a2351e4 Back to previous call with -1 replacement.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 07:19:26 +00:00
Paul Cornett
a4adcc439d correct DLL attribute
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 07:11:26 +00:00
Paul Cornett
8e7cb70ce3 fix warnings about calling an inline function before it is defined inline
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 07:10:54 +00:00
Stefan Csomor
12f72836af getting rid of warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 06:53:42 +00:00
Włodzimierz Skiba
8809287157 Minor cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 06:53:08 +00:00
Włodzimierz Skiba
fabe121c9c New animate sample described.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 06:48:26 +00:00
Włodzimierz Skiba
f409cd2a8b More .rsp files needs updating after new sample addition.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 06:47:14 +00:00
Włodzimierz Skiba
ded2661ab0 Add new animate sample to the distribution (probably more steps from technote #1 needed).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 06:40:00 +00:00
Włodzimierz Skiba
0860638841 Add new animate sample to the distribution (probably more steps from technote #1 needed).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 06:29:36 +00:00
Paul Cornett
14c0d83466 remove extraneous semicolons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 04:49:22 +00:00
Paul Cornett
c2f12218ce wxAnimationCtrl cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 04:27:54 +00:00
Robin Dunn
76319fbc38 Add missing header files so they'll get installed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 03:45:05 +00:00
Robin Dunn
4b5a79cf54 Disown using .this.own(False) instead of .thisown = False
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 03:30:33 +00:00
Robin Dunn
7661255894 CreateButtonSizer changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 03:27:50 +00:00
Vadim Zeitlin
6304d5b49b fixed crash in wxColour ctor after RGBA-ization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 23:44:00 +00:00
Robin Dunn
943d32e1c6 DLL build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 23:13:45 +00:00
Vadim Zeitlin
31189345e1 use native toolbar, font dialog and CG by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 22:56:48 +00:00
Vadim Zeitlin
ce7efe2d0f swap wxANIHeader bytes on big endian architectures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 22:26:25 +00:00
Vadim Zeitlin
9d9e385850 replaced Ok() with IsOk(), no real changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 21:59:46 +00:00
Vadim Zeitlin
deb325e3b2 avoid conflict between wxBookCtrlBase::DoSetSelection() and the derived classes; refactor more common code into the base class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 21:29:12 +00:00
Vadim Zeitlin
6500a868fe added CreateSeparatedButtonSizer(), changed signature and semantics of CreateButtonSizer()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 21:15:52 +00:00
Vadim Zeitlin
7444cb50d1 call Refresh() to make animation work under Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 21:15:00 +00:00
Vadim Zeitlin
97ebfd549b added more helper functions for setting borders in wxSizerFlags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 21:11:37 +00:00
Vadim Zeitlin
25eb10d2e1 added CreateSeparatedButtonSizer(), changed signature and semantics of CreateButtonSizer()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 21:10:22 +00:00
Vadim Zeitlin
bd9f3519cf use wxSizerFlags and updated CreateButtonSizer() in all generic dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 21:08:45 +00:00
Vadim Zeitlin
1027cedd47 forgot to commit during last regeneration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 20:49:01 +00:00
Robert Roebling
0e21cf4902 IsExposed() needs to reverse the direction in RTL.
I actually wonder if not the calling code is wrong,
    but this fixes wxListCtrl and wxTreeCtrl for the
    time being.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 20:32:12 +00:00
Robert Roebling
8e9ec7239f [ 1573855 ] Improved appearance of wxComboCtrl's wxTextCtrl
More work needs to be done for the version with
 images.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 20:12:19 +00:00
Robert Roebling
fba93835f5 Compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 20:10:02 +00:00
Vadim Zeitlin
e86571392a RC file is not needed and not used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 19:54:35 +00:00
Robert Roebling
ff1dadae38 Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 19:33:13 +00:00
Vadim Zeitlin
2be7beda2d added wxSizerFlags::GetDefaultBorder()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 19:32:46 +00:00
Vadim Zeitlin
62637495c9 extended wxSizerFlags docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 19:29:16 +00:00
Václav Slavík
82bf96f548 don't crash on weird line endings like \r\r\n
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 19:28:46 +00:00
Vadim Zeitlin
6003de2fe4 check that the bitmap is valid before getting its size to avoid asserts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 18:58:06 +00:00
Vadim Zeitlin
c3d6e0aa29 menu id 0 doesn't work under Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 18:57:07 +00:00
Robin Dunn
9a3dccf6d6 double buffer changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 18:56:41 +00:00
Robin Dunn
f541d8293a Added wx.AboutBox()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 18:55:10 +00:00
Václav Slavík
422d020d99 fixed the check in previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 18:47:20 +00:00
Václav Slavík
a425518dc4 assert if wxString(void* pStart,void *pEnd) ctor is used incorrectly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 18:37:33 +00:00
Vadim Zeitlin
3652fd78a8 use sample icon, not mondrian one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 18:10:00 +00:00
Vadim Zeitlin
3ea50042c9 regenaretd after samples/animate addition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 17:56:09 +00:00
Vadim Zeitlin
735655319a baked the standard makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 17:55:20 +00:00
Vadim Zeitlin
72045d5768 added wxAnimationCtrl (patch 1570325)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 17:51:07 +00:00
Vadim Zeitlin
be6520af4e compilation fix after last change (GTK1 doesn't have g_signal_stop_emission_by_name(), only gtk_signal_emit_stop_by_name())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 17:14:31 +00:00
Vadim Zeitlin
fea909e19e no changes, just replaced C comment with a C++ one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 17:11:10 +00:00
Julian Smart
5778b3c800 Don't use precompiled header directives in included files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 17:10:58 +00:00
Vadim Zeitlin
3193b86f29 added references to XML classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 17:09:20 +00:00
Vadim Zeitlin
c719013fd4 return false from IsDoubleBuffered() if the first top level parent is not double buffered
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 16:57:06 +00:00
Robin Dunn
b85db900cd DLL build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 16:56:18 +00:00
Vadim Zeitlin
f1af673620 regenerated after adding dcbufcmn.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 16:52:42 +00:00
Vadim Zeitlin
ee4b5fba90 fix the sample icon (patch 1570974)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 16:50:05 +00:00
Vadim Zeitlin
2e992e06a7 added wxWindow::IsDoubleBuffered() and improve wxBufferedDC (patch 1565330)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 16:39:34 +00:00
Stefan Csomor
af86380553 copying as much values from the dc as possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 16:06:29 +00:00
Stefan Csomor
ebbe5c6686 adding angle conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 16:05:08 +00:00
Vadim Zeitlin
449090b54d added static wxPlatformInfo::Get() and use it (patch 1549176)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 15:58:56 +00:00
Stefan Csomor
8e108c1ec9 making pens behave as on other platforms when scaling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 15:53:36 +00:00
Stefan Csomor
f868f88665 set anti-aliasing ON by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 15:51:22 +00:00
Vadim Zeitlin
8e79a06be4 fix DoSetSelection(): it did nothing when there was no old selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 15:50:02 +00:00
Julian Smart
aa7a6a0e5c Removed dependence on wxClientDC and blitting from a window,
for compatibility with Mac OS X in Core Graphics mode.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 15:15:13 +00:00
Włodzimierz Skiba
2b741a391c Use wxBookCtrl wrapper rather than wxNotebook in common code for native book (Smartphone fix).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 14:37:53 +00:00
Włodzimierz Skiba
b9e5acc540 Use CreateButtonSizer in wxAboutBox() to make OK button look native.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 14:28:52 +00:00
Włodzimierz Skiba
11e70ae665 WinCE build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 13:23:33 +00:00
Włodzimierz Skiba
e38b61ed7b WinCE build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 12:56:26 +00:00
Vadim Zeitlin
c3f1f8d82c use native toolbar, font dialog and CG by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 12:10:24 +00:00
Vadim Zeitlin
5482ee0766 change UpdateSelection() parameter type to int from size_t; also replaced remaining -1s with wxNOT_FOUND
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 12:10:01 +00:00
Vadim Zeitlin
d4fbfbe5cb document IsEmpty()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 12:08:44 +00:00
Włodzimierz Skiba
b68603d535 Warnings, build errors, headers, licence, prefered api and non-PCH support cleaning of fresh richtext code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 10:26:18 +00:00
Chris Elliott
9bd7150221 case sensitive bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 10:21:01 +00:00
Włodzimierz Skiba
bba0e4dceb Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 09:32:08 +00:00
Włodzimierz Skiba
f97a9818a1 Ok()->IsOk() replacement.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 09:01:55 +00:00
Włodzimierz Skiba
6c8f8e7e25 Updated makefiles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 08:23:41 +00:00
Włodzimierz Skiba
a8b6a1b1cd Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 08:11:10 +00:00
Włodzimierz Skiba
1d756eff85 Updated makefiles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 07:52:36 +00:00
Julian Smart
61c006ec82 Don't use toolbook for formatting dialog until we have icons
Select first page


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 07:41:03 +00:00
Paul Cornett
07854e5edd warning fixes/minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 07:37:25 +00:00
Paul Cornett
38b130853f non-pch build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 07:36:26 +00:00
Paul Cornett
528e5cf81a build fixes for WXWIN_COMPATIBILITY_2_6=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 07:35:36 +00:00
Włodzimierz Skiba
61338568b2 Warning fixes in 'todo' part just to make build log more readable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 07:15:56 +00:00
Mart Raudsepp
ebd0940b74 Fix wxOS2 compilation, as reported by Lauri Nurmi. Hopefully no other ports are similarly affected from the constification changes to wxBitmap..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 07:09:20 +00:00
Włodzimierz Skiba
9fb52312a3 Updated setup for univ build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 06:30:12 +00:00
Paul Cornett
716d032736 remove unused stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 05:14:39 +00:00
Paul Cornett
eea2724a28 test wxLC_SINGLE_SEL flag properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 05:12:36 +00:00
Paul Cornett
85313a9a8f non-pch build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 05:12:08 +00:00
Paul Cornett
d0dec99212 fix width/height typo in DoSetClientSize, remove unused stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 05:12:00 +00:00
Robin Dunn
607afa3cd4 new changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 02:38:38 +00:00
Robin Dunn
1aefbabe46 Varous changes and tweaks to match some of Julian's new code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 02:38:10 +00:00
Robin Dunn
3f3bf980f6 IsEmpty, ChangeValue, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 02:37:33 +00:00
Robin Dunn
6c2dd16f55 Add IsOk's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 02:36:38 +00:00
Robin Dunn
6a591c4317 make sure the cleanup happens
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 02:35:50 +00:00
Robin Dunn
83519021af install bitmaps/*.ico files too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 02:34:43 +00:00
Robin Dunn
0a7f54ff76 update to latest from Andrea
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 02:34:05 +00:00
Robin Dunn
287490fa90 default ID value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 02:32:08 +00:00
Robin Dunn
6df4cd9f81 Version number bump
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 02:24:51 +00:00
Robin Dunn
c8f129d067 Add CustomTreeCtrl from Andrea Gavana
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 02:23:32 +00:00
Robin Dunn
3abcf424a3 Bumping the version number also requires that version.h be modified,
and also rebaking the makeifles.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 01:20:56 +00:00
Vadim Zeitlin
6e27179817 define ChangeSelection() (fixes wxMotif build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 23:53:34 +00:00
Vadim Zeitlin
e0d14de1ed another Ok() changed to IsOk()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 23:45:33 +00:00
Vadim Zeitlin
a570e8f8fe added SendPageChanging/ChangedEvent() functions; fixed wxCocoa build broken by wxNotebook::ChangePage() change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 23:41:52 +00:00
Vadim Zeitlin
dd1c16314e restored sending events from Replace/Remove/Write/AppendText() methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 23:16:53 +00:00
Vadim Zeitlin
e79322ef0a fix format mismatch warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 23:15:42 +00:00
Vadim Zeitlin
62b51bfb30 need to include wx/imaglist.h even when using PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 23:14:29 +00:00
Vadim Zeitlin
416f4cd9e9 don't define g_UnicodeSubsetTable in non-Unicode build (fixes gcc warning)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 23:14:02 +00:00
Vadim Zeitlin
76fa43ec36 removed default argument in the function definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 23:07:34 +00:00
Vadim Zeitlin
5ecfa93af6 set focus to the Ok button initially
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 22:47:10 +00:00
Vadim Zeitlin
dfd7c0821a SetOverflow() should be called with a bool argument, not m_overflow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 22:46:15 +00:00
Vadim Zeitlin
343ae70d4c fix compilation after recent wxTextCtrl changes
notice that it has become unfortunately impossible (or at least much more
difficult) to maintain compilation when wxRICHTEXT_DERIVES_FROM_TEXTCTRLBASE
is unset so I simply removed it as the code wouldn't compile anyhow


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 22:42:20 +00:00
Vadim Zeitlin
ee2ec18e88 moved DoSetValue() to wxTextCtrlBase instead of having it in almost, but not quite all, derived classes; linking fixes for wxCocoa/wxX11/wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 22:40:14 +00:00
Vadim Zeitlin
5dcf8dd06c VC compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 22:33:46 +00:00
Stefan Neis
eb703a121f Initialize m_overflow in wxGridCellAttr::Clone.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 22:22:24 +00:00
Vadim Zeitlin
b7cacb43db add IsOk() to all classes having Ok() method (patch 1570985)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 21:56:55 +00:00
Stefan Neis
dd61e8ed01 Use "cdecl" linkage mode for all ports with OpenWatcom (particularly WXPM).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 21:42:39 +00:00
Stefan Neis
28206ce84e Use system colours for ownerdrawn highlighting (patch #1555426).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 21:30:36 +00:00
Vadim Zeitlin
7e0fff428f small code simplification in DoSetValue() after the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 21:01:25 +00:00
Robert Roebling
8de043bb1b Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 21:00:36 +00:00
Vadim Zeitlin
2da25e49e5 compilation fix after last commit (apparently patch was misapplied)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 20:52:21 +00:00
Vadim Zeitlin
f05b5b774f moved wxUSE_MS_HTML_HELP back into setup_inc.h (undoing change of rev 1.41) as it's needed for configure builds too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 20:48:48 +00:00
Vadim Zeitlin
7ddc93433c add test for ChangeValue()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 20:38:14 +00:00
Vadim Zeitlin
9d3554339a testing whether signed char is greater than 127 is always false, cast it to unsigned first
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 20:28:05 +00:00
Robert Roebling
f1e3914fde Bump version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 19:49:24 +00:00
Robert Roebling
cc66bf5af8 Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 19:39:14 +00:00
Vadim Zeitlin
28fdd8db44 added wxTextCtrl::IsEmpty()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 17:52:39 +00:00
Vadim Zeitlin
f6519b40fe added wxTextCtrl::ChangeValue() which is the same as SetValue() but doesn't send the text changed event (first part of patch 1553551)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 17:46:12 +00:00
Vadim Zeitlin
1d6fcbcc70 added wxBookCtrl::ChangeSelection() which is the same as SetSelection() but doesn't send the page change events (second part of patch 1553551)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 17:37:23 +00:00
Václav Slavík
982a44cc9f re-added wxUSE_MS_HTML_HELP to setup.h.in once again, it *IS* needed for mingw and cross-compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 17:19:37 +00:00
Vadim Zeitlin
2acac1b415 avoid bitmap distortion when a non standard bitmap size is used (replaces patch 1477883)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 17:18:12 +00:00
Robert Roebling
11012f4712 New magic number for positioning the tree triangle.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 16:31:32 +00:00
Vadim Zeitlin
844b9f5fd2 corrected last commit: Inflate() should be Deflate()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 16:30:54 +00:00
Julian Smart
3ba6891d6a Strip menu codes out from notebook page labels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 16:00:43 +00:00
Paul Cornett
98d6e4b475 small cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 15:59:56 +00:00
Robert Roebling
1efad474fd [ 1572220 ] Show popup when wxComboCtrl image area clicked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 15:59:53 +00:00
Paul Cornett
cb62a16afb revert last change, plus small cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 15:59:15 +00:00
Julian Smart
a277deba22 It's valid to pass wxNOT_FOUND to SetSelection in order to clear selections.
Avoid assert and erroneous setting of -1.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 15:54:40 +00:00
Paul Cornett
8adefcac72 restore needed functions, wxMSW doesn't use wxBitmapHandlerBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 15:54:02 +00:00
Vadim Zeitlin
a01446c519 compilation fix for PCH-less builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 15:50:48 +00:00
Vadim Zeitlin
f2ea42557b add support for wxCONTROL_ISDEFAULT to wxRendererMSW::DrawPushButton() (modified patch 1572887)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 15:49:52 +00:00
Robert Roebling
34c07b8b63 [ 1573138 ] small docs corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 15:49:36 +00:00
Vadim Zeitlin
cfd8e74094 (probably wrong) fix for wxMSW linking errors introduced by last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 15:44:20 +00:00
Vadim Zeitlin
09138926b1 added wxAboutDialogInfo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 15:18:19 +00:00
Vadim Zeitlin
20d9c24a6f add an newline between headers in wxGenericAboutBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 15:17:14 +00:00
Vadim Zeitlin
9948db2bf3 close the dialog when close button is pressed, this is apparently needed by older GTK+ versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 15:15:32 +00:00
Vadim Zeitlin
c2709a3dd7 document wxAboutBox &c
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 15:12:54 +00:00
Julian Smart
c147c966df Added missing include and missing underscores
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:35:07 +00:00
Vadim Zeitlin
89fad939ec added empty virtual dtors to silence gcc warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:34:37 +00:00
Vadim Zeitlin
6225e6e111 we need to set URL hook for the link to appear as a link in GtkAboutDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:31:52 +00:00
Vadim Zeitlin
fb4f85bf8f use translators if explicitely specified, fall back to the standard translator-credits from message catalog otherwise
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:23:39 +00:00
Julian Smart
fab0d366b1 Added formatting and symbols dialogs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:16:50 +00:00
Julian Smart
8c9c49a11a Demonstrate new formatting and symbol dialogs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:13:03 +00:00
Vadim Zeitlin
453c9e3b0b added example of customizing the generic about dialog and renamed wxAboutDialog to wxGenericAboutDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:12:59 +00:00
Julian Smart
cd5dc5e628 Added rich text formatting and symbol dialog files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:12:00 +00:00
Vadim Zeitlin
36183141c6 fixed double free crash introduced by last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:10:58 +00:00
Julian Smart
97ff49b383 Added a customisable formatting dialog for wxRichTextCtrl. Control the
visible tabs with flags passed to the constructor.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:05:17 +00:00
Julian Smart
ebf0a02930 Added a symbol selection dialog, with optional font selection and full
Unicode range with subranges.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:04:18 +00:00
Julian Smart
86015e55eb Added option to set style from style listbox when single
clicking or not. Changed DoSelection name to ApplyStyle.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:02:28 +00:00
Julian Smart
7b907278ef Support for characters below 32 (not supported as text or
entities by XML)
Support for symbol font


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:01:42 +00:00
Julian Smart
27507b618a Use paragraph's attributes for paragraph-related styles, and also
use combined attributes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:00:55 +00:00
Julian Smart
3e3a754f9c Don't use double buffering on platforms that do it automatically.
Filters out unrecognised keycodes in OnChar, and added numeric
keypad navigation keycodes.

Added SetStyleEx which takes flags for specifying option such
as optimization (only apply necessary styles), char/para style
only, and use undo. Used SetStyleEx when applying styles to
avoid applying character styles to paragraph objects, and vice versa.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:00:04 +00:00
Julian Smart
59509217cd Added paragraph symbol font (Get/SetSymbolFont in attribute)
and use this font instead of paragraph font if specified.

wxRichTextBuffer::SetStyle extended to respond to flags for
specifying undo, optimization (only apply the style necessary
for display when content/base/paragraph attributes are combined),
and para/character styles only.

wxRichTextBuffer::GetStyleForRange gets the common attributes
for a range, e.g. for showing common attributes in a formatting
dialog.

Implemented Roman numeral bullet points.

Fixed wxRichTextImage copy bug.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 13:59:07 +00:00
Vadim Zeitlin
730654eeab don't use 8 bit copyright symbol
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 13:49:21 +00:00
Vadim Zeitlin
9b82d31bdd Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 13:44:32 +00:00
Vadim Zeitlin
e5b41495b4 rebaked with aboutdlg.* files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 13:10:06 +00:00
Vadim Zeitlin
a11a0ead4a added GTK+ 2.6 implementation of wxAboutBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 13:08:51 +00:00
Julian Smart
1deb3af2fd Added missing image.h header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 13:01:18 +00:00
Vadim Zeitlin
5067131185 test credits in about dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 12:53:44 +00:00
Vadim Zeitlin
319c5ed4d2 added --enable-aboutdlg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 12:21:57 +00:00
Vadim Zeitlin
d12f1282d4 reformat and add files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 12:11:47 +00:00
Vadim Zeitlin
fd3f8f5cf5 added native Mac implementation of wxAboutBox(); also moved aboutdlg.* files from core to adv library as they depend on wxHyperlinkCtrl which is in adv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 12:07:03 +00:00
Vadim Zeitlin
affebd0a6e use wxSTRINGIZE_T instead of _T(wxSTRINGIZE())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 11:11:48 +00:00
Vadim Zeitlin
1a1ecce631 use wxVERSION_NUM_DOT_STRING_T instead of wxVERSION_NUM_DOT_STRING to fix the Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 11:10:41 +00:00
Vadim Zeitlin
860037d1ed added Unicode-friendly variants of version string macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 11:09:42 +00:00
Vadim Zeitlin
84206bbb32 added Unicode-friendly wxSTRINGIZE_T()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 11:07:55 +00:00
Vadim Zeitlin
8037b674e8 use wxSTRINGIZE instead of redefining a special STRINGIZE in this file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 10:59:16 +00:00
Paul Cornett
452418c4b0 Move some things to wxBitmapBase to avoid much duplication.
Use proper const for XPM data, and const void* for arbitary bitmap data.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 08:04:49 +00:00
Robin Dunn
9ce05df4bc return values of overloaded virtuals should match the base class version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 06:42:09 +00:00
Robin Dunn
e6fd62dd84 Override CreateItem so wxListBox can turn its notifications into events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 06:37:50 +00:00
Vadim Zeitlin
ae50b288e0 added wxAboutBox-related files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 01:21:28 +00:00
Vadim Zeitlin
d217618146 added wxUSE_ABOUTDLG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 01:20:38 +00:00
Vadim Zeitlin
cfa6437081 use the main frame icon if no icon is explicitely specified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 01:19:31 +00:00
Vadim Zeitlin
ca7adbf8bc initial implementation of wxAboutBox()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 01:02:04 +00:00
Vadim Zeitlin
9211cf3c43 added wxUSE_ABOUTDLG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 00:59:09 +00:00
Vadim Zeitlin
fee9bb24d9 fixed VC warning about unreachable code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 00:35:44 +00:00
Vadim Zeitlin
33ad028c01 ignore the other WXDLLIMPEXP_XXX and not only BASE one too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 00:03:49 +00:00
Robert Roebling
aa0576fe9f Some more explanations.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-07 21:38:46 +00:00
Robert Roebling
b19add95cd More docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-07 20:58:47 +00:00
Robert Roebling
68d7c6427b Two more typos.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-07 20:36:08 +00:00
Paul Cornett
3a7af48f21 small cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-07 18:32:49 +00:00
Paul Cornett
2365667381 some cleanup, and plug a few small holes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-07 18:32:11 +00:00
Robert Roebling
314cd032db Typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-07 17:44:31 +00:00
Robert Roebling
91506eb056 Include wxDataViewCtrl in list of controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-07 17:38:40 +00:00
Robert Roebling
7518ae3445 Include dataview docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-07 17:36:44 +00:00
Robert Roebling
b6b9d5562c Add docs to wxDataViewCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-07 17:34:00 +00:00
Robert Roebling
1286b7ba6c Not everything has to be virtual.
Made short cuts for adding columns more useful.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-07 14:15:53 +00:00
Robin Dunn
cc30c63a4c rename the ID parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 23:21:07 +00:00
Vadim Zeitlin
4c268e6a10 fix for handling from Francesco
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 22:37:03 +00:00
Robert Roebling
4846890010 Return toolbars "own" GdkWindow, required among
others for mouse event reporting.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 21:49:10 +00:00
Robin Dunn
846c181ba2 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 20:08:33 +00:00
Robin Dunn
8feec28c87 Renamed wx.FutureCall to wx.CallLater so it is named more like
wx.CallAfter.  wx.FutureCall is now an empty subclass of wx.CallLater
for compatibility of older code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 19:56:57 +00:00
Robin Dunn
567a5f982b be able to switch between the frame managing the toolbar, anbd putting
it in a sizer instead.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 19:55:31 +00:00
Robin Dunn
75c39820b8 some tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 19:54:48 +00:00
Robin Dunn
7f3450784c more informative assert message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 17:14:39 +00:00
Paul Cornett
7002950658 make pixbuf/alpha handling more coherent in gtk wxBitmap, allow pixbuf without alpha
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 16:34:45 +00:00
Paul Cornett
5a67db4861 don't invert mono bitmaps in Rescale
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 15:49:29 +00:00
Robert Roebling
31fb32e137 Implemended column header mouse clicks.
Ascending/descending sorting.
  Setting the little arrow indicator for ascending
    and desceding sorting.
  Generic stubs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 09:50:45 +00:00
Jouk Jansen
b468ca37a2 Committing in .
Synchronizing setup.h_vms with setup.h.in

 Modified Files:
 	wxWidgets/setup.h_vms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 07:25:56 +00:00
Robin Dunn
ce9da810d8 Allow the native toolbar to have more han one button toggled at a time.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 04:47:30 +00:00
Robin Dunn
72ef6efb1f reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 00:53:37 +00:00
Robin Dunn
b7b7742da5 don't inject constructors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 00:52:55 +00:00
Robin Dunn
9d45af36fe always use wxPyPanel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 00:52:29 +00:00
Robin Dunn
b2bfee6caa reduce the number of objects for a quicker startup time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 00:51:48 +00:00
Robin Dunn
979f2f9c87 Set overview to docstring
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 00:51:01 +00:00
Robin Dunn
584d6f48b0 Fixes for using the staticmethods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 00:50:22 +00:00
Robin Dunn
dbe6f5f00b Applied second part of patch #1570448, use the device origin for where
to clear


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 00:31:18 +00:00
Robin Dunn
050441c841 some fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 23:56:13 +00:00
Robin Dunn
6f67d53729 Updates from Paul
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 23:53:44 +00:00
Robin Dunn
b7a0abc732 Part of patch# 1570448, use dwRop for StretchBIBits too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 23:51:28 +00:00
Robin Dunn
7a14d08278 ensure that wxMAC_USE_CORE_GRAPHICS is turned on if wxUSE_GRAPHICS_CONTEXT is
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 22:53:06 +00:00
Robin Dunn
2713e62971 Add USE_GDIPLUS option that will control (for the makefile builds) if
the gdiplus.lib library is added to the link, and whether
wxUSE_GRAPHICS_CONTEXT should be defined.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 22:45:17 +00:00
Robin Dunn
e88f652451 Make the message about wxUSE_GRAPHICS_CONTEXT a bit more informative
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 22:42:31 +00:00
Robin Dunn
6cb4f153c3 Add FlatNotebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 22:24:18 +00:00
Jamie Gadd
ebd9ec2931 Need to update the bg brush when the first page is added.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 21:34:54 +00:00
Robert Roebling
47cef10f28 Added sort order and alignement for column headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 19:35:23 +00:00
Mattia Barbon
3e0071d949 Fix buffer overrun in Linux/x86_64 (Pixel is a 64 bit long, passing
a 32 bit int pointer to XtVaGetValues will cause trouble). Using a long
should suffice. A configure test would be better.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 19:34:25 +00:00
Robert Roebling
07a84e7bbb Add support for bitmaps in headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 19:06:21 +00:00
Robert Roebling
3ff07edb0b [ 1560785 ] wxFileName::IsReadable/Writable/Executable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 17:28:31 +00:00
Vadim Zeitlin
5da414766e fix problems with using incorrect vswprintf() for mingw32/VC6 when wxUSE_PRINTF_POS_PARAMS==1, try to simplify/better organize all wxVsnprintf_()-related code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 15:25:09 +00:00
Włodzimierz Skiba
67bb3c8818 PCH build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 12:11:12 +00:00
Vadim Zeitlin
4daa52ad8f restored Ove Kåven name in the header comment which was
broken a couple revisions ago; switched copyright to wxWidgets 
dev team as the whole as there are simply too many people who 
have modified this file to list them all; no changes in the code




git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 11:54:30 +00:00
Włodzimierz Skiba
c4f6d9982e wxGenericDirCtrl page for widgets sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 10:20:32 +00:00
Włodzimierz Skiba
df3871691e Warning fixes and TODO markup for easier finding by brave volounteers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 07:18:25 +00:00
Vadim Zeitlin
f40ea601bf honour wxBU_EXACTFIT in wxToggleButton (patch 1567892)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 23:02:13 +00:00
Vadim Zeitlin
a863333e37 fixed off by 2 error in HasPage() (patch 1562871)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 22:58:23 +00:00
Vadim Zeitlin
595191bba9 fix the length passed to wxMB2WC (replaces patch 1554431); don't use (and especially don't overflow) fixed size buffer in the same function (just how many bugs can there be in 5 lines of code?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 19:43:20 +00:00
Vadim Zeitlin
e0876d7381 corrected date in header; removed extra wx/wxprec.h inclusion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 18:13:49 +00:00
Vadim Zeitlin
6b036356ab updated copyright year, s/wxWindows/wxWidgets/
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 18:05:25 +00:00
Vadim Zeitlin
493e7eb40c fixed unused var warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 17:45:58 +00:00
Robert Roebling
f828871d12 Add row activated event.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 13:23:20 +00:00
Robert Roebling
97c7099a70 Fix warning for unknown menu stock id.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 13:21:56 +00:00
Włodzimierz Skiba
b2b98dfd4b New icon for combobox with bitmaps. Improved readability of icons on dark backgrounds. Rgenerated makefiles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 10:51:24 +00:00
Włodzimierz Skiba
0cebbfc2bd Connect changed page event after subpages are created so book->SetSelection does not cause any lazy creation and non-treebook-based build does not crash.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 09:38:56 +00:00
Włodzimierz Skiba
f41cf3716e BookCtrl event handler added to default book layer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 09:33:52 +00:00
Robin Dunn
0e4e601244 Save a reference to the DC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 03:28:49 +00:00
Robin Dunn
2f34cf6090 Avoid warnings when wxMAC_USE_CORE_GRAPHICS_BLEND_MODES is not defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 03:19:19 +00:00
Robin Dunn
f43426c1b9 Bakefile changes for building the graphics context modules, and
setup/configure changes for setting wxUSE_GRAPHICS_CONTEXT.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 03:13:03 +00:00
Robin Dunn
7ba86d938d Wrap module in #if wxUSE_GRAPHICS_CONTEXT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:56:07 +00:00
Robin Dunn
38af4365b3 fix parameter type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:54:36 +00:00
Robin Dunn
5ce3abfb25 Avoid ambigous overload errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:53:35 +00:00
Robin Dunn
e1f8ec2909 Give the grid events a Clone method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:52:50 +00:00
Robin Dunn
2f799ae8d2 DLL build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:51:05 +00:00
Robin Dunn
6d61d718f2 Add wrappers for wxGraphicsPath and wxGraphicsContext. This is still
a work in progress.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:36:33 +00:00
Robin Dunn
48ac3cf8e0 fix HitTest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:35:16 +00:00
Robin Dunn
fc12c1cb58 KeyCode --> GetKeyCode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:32:20 +00:00
Robin Dunn
2fd34892c1 Don't use the old wxPython namespace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:31:28 +00:00
Robin Dunn
205d49f79e Change wx.DC inheritance hierarchy to match reality
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:30:57 +00:00
Robin Dunn
ce60dd8efe Don't deprecate Inside() yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:30:09 +00:00
Robin Dunn
b43636aa55 Use Set(name) instead of InitFromName(name)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:29:04 +00:00
Robin Dunn
a187b3619e Don't forget the samples\ide\activegrid\model dir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:28:14 +00:00
Robin Dunn
66dae888d1 Added the wx.lib.buttonpanel module, which is a tweaked version of
Andrea Gavana's FancyButtonPanel module.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:23:17 +00:00
Paul Cornett
85dc49dc6c build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 19:28:10 +00:00
Paul Cornett
f7354d9269 univ build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 19:06:57 +00:00
Stefan Csomor
c56c787f47 line endings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 19:00:52 +00:00
Robert Roebling
fc211fe5ce More selection work in GTK+ version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 17:28:19 +00:00
Stefan Csomor
539872aef3 fixes for non precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 16:49:09 +00:00
Stefan Csomor
184fc6c87d cairo implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 16:47:17 +00:00
Stefan Csomor
dc8883366b adding alpha to gtk colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 16:45:33 +00:00
Paul Cornett
e808cf8a0a Don't free a string that is managed by wxGtkString, that's the whole _point_ of wxGtkString.
While we're at it, lets use it some more.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 16:01:18 +00:00
Robert Roebling
baa9ebc473 Renamed wxDataViewCell to wxDataViewRenderer since the
class just renders the cell, it doesn't represent one.
    Maybe wxDataViewCellRenderer would be best...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 15:24:03 +00:00
Vadim Zeitlin
c6dfeb4192 include wxmsw27_gl (#if wxUSE_GLCANVAS) too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 15:18:26 +00:00
Vadim Zeitlin
4291c3c825 added if wxUSE_XRC/AUI/RICHTEXT around appropriate libraries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 15:16:28 +00:00
Vadim Zeitlin
a0020fcd54 make wxSemaphore::Post() return wxSEMA_OVERFLOW as documented (patch 1557642)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 15:05:40 +00:00
Robert Roebling
6ee2c58bd8 Implemented GetSelection() and GetSelections().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 14:59:48 +00:00
Vadim Zeitlin
0d194444a7 avoid flicker in methods which don't change listbox size by not calling XtUnmanage/ManageChild() unnecessarily (patch 1566670)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 14:55:49 +00:00
Vadim Zeitlin
dd47af27e1 fixes for compilation with wxUSE_XXX==0 and some other minor fixes (patch 1569904)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 14:53:40 +00:00
Vadim Zeitlin
d9b0ee1eca fix wxFilesystem compilation if wxUSE_FFILE is 0 but wxUSE_FILE is 1; disable wxFileSystem if both wxUSE_(F)FILE are 0 (modified patch 1569960)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 14:38:58 +00:00
Paul Cornett
6ba2e1940f don't set negative window size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 14:29:25 +00:00
Paul Cornett
df9fac6d21 header cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 14:28:36 +00:00
Robert Roebling
eb7f97f8d6 Added event skeletons, defines, event ids..
Implemented wxEVT_DATAVIEW_ROW_SELECTED.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 13:23:31 +00:00
Robert Roebling
6ff7eee7ea Added selection API.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 11:39:08 +00:00
Robert Roebling
0a71f9e92f Replaces size_t with unsigned int in wxDataViewCtrl API.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 11:09:06 +00:00
Kevin Ollivier
3ed1dc0add Remove the ability to sort by column in virtual wxListCtrl, and remove movable columns as we don't currently support it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 22:48:14 +00:00
Vadim Zeitlin
6f1fb1acbb define wxUSE_ACTIVEX and wxUSE_OLE_AUTOMATION with wxUSE_OLE (no separate switches for now...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 22:41:38 +00:00
Vadim Zeitlin
a1f48575d1 added wxUSE_ACTIVEX which depends on wxUSE_VARIANT and which wxUSE_MEDIACTRL depends on (closes 1569606)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 22:37:07 +00:00
Robin Dunn
c2829a8f67 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 20:14:50 +00:00
Robin Dunn
e90db86e7e Don't autosize if the height is too small. Interaction with the
horizontal scrollbar can sometimes cause problems in this case.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 20:13:15 +00:00
Robin Dunn
bdec7d7afd Match some API tweaks made in CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 20:04:42 +00:00
Robin Dunn
70eb68e8bd Don't override the Label property in the base class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 20:04:04 +00:00
Robin Dunn
7cae647a44 Change the name of the dir where the message catalogs are installed on
MSW back to 'locale' and also change back to the full directory
structure including the LC_MESSAGES dir.  The reasons these changes
were orginally made no longer apply


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 20:03:01 +00:00
Robin Dunn
f30589a9ea fix layout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 19:59:58 +00:00
Robin Dunn
dc9876fb4a Show the color component values too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 19:59:00 +00:00
Robin Dunn
a6586dfbde Deal with wxVariant changed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 19:58:21 +00:00
Robert Roebling
24bbbfb112 Always set colormap for PangoContext. This silences myriads
of warning in the wxRichTextCtrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 19:50:46 +00:00
Stefan Csomor
01e935b6ce making virtual lists faster by not sorting items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 19:31:36 +00:00
Stefan Csomor
819a3b6ff9 first stab at the selection iterator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 18:50:53 +00:00
Paul Cornett
a97154c0c3 non-pch build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 18:04:02 +00:00
Paul Cornett
e409b62aaf listctrl header cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 17:38:30 +00:00
Paul Cornett
f2e1afc988 build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 17:35:16 +00:00
Robin Dunn
3d0a1631ed Don't cache the best size until we get a non-zero value back from the
activeX control.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 16:18:20 +00:00
Robert Roebling
979f71a37b Forgot to commit latest sample changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 16:01:10 +00:00
Stefan Csomor
fe31db8170 workaround for GDIPlus conversion errors, adding wxMask support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 13:52:48 +00:00
Julian Smart
1c07e924cd Use wxIsalnum to test for word delimiters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 12:47:31 +00:00
Julian Smart
e6474d62a8 Compilo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 12:38:47 +00:00
Włodzimierz Skiba
ce1f7f02c4 Fixed crash caused by A=B?C:D used for returning wxObject derived type.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 12:11:19 +00:00
Włodzimierz Skiba
b3298d1d26 GCC warning fix. Minor cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 11:18:35 +00:00
Vadim Zeitlin
f5ee98b65c fix VC warning about incorrect dll linkage of wxDataViewSelection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 09:10:41 +00:00
Vadim Zeitlin
39a485512a put expdecl in the correct place in DECLARE/IMPLEMENT_VARIANT_OBJECT_EXPORTED
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 09:00:12 +00:00
Włodzimierz Skiba
93df3f5f73 Updated Watcom/OS2 makefiles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 08:52:49 +00:00
Włodzimierz Skiba
9189b72752 Don't test size_t for positive only values (warning fix).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 08:49:32 +00:00
Włodzimierz Skiba
d4f6dbf62a wxVariant support needs wx/icon.h earlier.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 08:15:15 +00:00
Paul Cornett
4c44eb66f3 put grid string in generic/grid.cpp, not common/datacmn.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 08:12:33 +00:00
Vadim Zeitlin
f491be1060 added missing \label for IsUsingNativeDecorations()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 08:04:50 +00:00
Vadim Zeitlin
74ecac1fac fixed bad DetachRoot link
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 08:03:38 +00:00
Włodzimierz Skiba
bae328c1ff wxVariant support for icon and bitmap should work regardless wxBitmapBase.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 07:58:53 +00:00
Włodzimierz Skiba
3d5f724f8e Tinderbox build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 07:19:17 +00:00
Włodzimierz Skiba
07502d7351 Warning fixes after char->wxChar in wxVariant.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 07:09:20 +00:00
Paul Cornett
4e675101a7 use unsigned for display count
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 05:38:05 +00:00
Paul Cornett
b143cf708b 64-bit warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 05:36:31 +00:00
Paul Cornett
0219fd2faa warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 05:33:22 +00:00
Paul Cornett
50dd4ca957 build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 05:31:21 +00:00
Robert Roebling
008b5a66f7 Removed some irritating flags.
Implmented the remaining ones under GTK.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-01 21:09:56 +00:00
Vadim Zeitlin
c4ad618c2f regenerated after wx/cpp.h addition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-01 20:46:32 +00:00
Julian Smart
0ca07313fb Added rich text buffer clipboard support.
Added double-left-click word selection support.
Now saves only the active attributes to XML.
Eliminated wxRichTextFragment class to allow  wxRichTextBuffer
to be used where wxRichTextFragment was used.
Fixed AddParagraph virtual function hiding warning.
Miscellaneous small wxRichTextCtrl bug fixes and cleanup.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-01 14:46:03 +00:00
Robert Roebling
eb753b56c4 Typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-01 09:10:19 +00:00
Robert Roebling
2586d4a121 Several wxBitmapDataCell changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 21:21:19 +00:00
Robert Roebling
38f82bf695 Missed these in the char -> wxChar change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 21:01:04 +00:00
Robert Roebling
6f5d78250c Move wxVariant support for GDI classes to their
files (and thus away from wxBase).
  Add export declaration field for variant macros.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 20:45:15 +00:00
Václav Slavík
e48a305514 clean DFB event buffer on shutdown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 19:22:40 +00:00
Vadim Zeitlin
746146e0e3 offset the text correctly inside the item rect in DrawItem(), it was off by 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 18:32:33 +00:00
Vadim Zeitlin
b19d4eb9bf draw solid focus rectangle in mono theme and don't do it at all for selected items (this required adding flags parameter to DrawFocusRect())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 18:30:00 +00:00
Stefan Csomor
a798c64c4f invert clockwise flag correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 16:34:38 +00:00
Robert Roebling
decae25ee6 Mention ref counting in wxVariant.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 15:39:47 +00:00
Robert Roebling
3f90a3994d Added DECLARE_VARIANT_OBJECT macros for easy conversion
from and to wxVariant using the shift left operator.
  Use the for GDI classes and wxImage.
  Document it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 15:37:52 +00:00
Vadim Zeitlin
cdd8d745c4 move wxSTRINGIZE and other preprocessor helpers to wx/cpp.h to fix version.rc compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 14:55:06 +00:00
Vadim Zeitlin
b4a81453b7 document wxSTRINGISZE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 14:49:32 +00:00
Václav Slavík
e17cd59f72 fixed another typo in pen/brush style validation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 14:44:52 +00:00
Václav Slavík
335c3c4a3b fixed typos in pen/brush style validation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 14:35:12 +00:00
Stefan Csomor
9821258b3a missing Normalize implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 13:30:56 +00:00
Stefan Csomor
c2b9ae5f7f enabling alpha on msw colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 13:29:45 +00:00
Stefan Csomor
6fea499ca8 gdiplus implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 13:06:09 +00:00
Stefan Csomor
d94228a221 adding missing implementations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 13:04:52 +00:00
Vadim Zeitlin
764b624e32 don't redefine HAVE_BROKEN_SWPRINTF_DECL/HAVE_SWPRINTF if they're already defined as it happens when using configure under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 11:38:48 +00:00
Vadim Zeitlin
386f7c47ef include wx/defs.h to get wxSTRINGIZE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 11:34:41 +00:00
Robert Roebling
60acae80d0 Compilo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 11:33:54 +00:00
Robert Roebling
71520754fc Changed char to wxChar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 11:29:52 +00:00
Robert Roebling
2562c82329 Applied ref-couting patch.
Completely reorganized code (more readable to me).
  Minor other changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 11:20:14 +00:00
Václav Slavík
21e3246c42 don't assert in wxDC::Blit() calls if the source rect is outside of source DC (wxCaret is prone to this)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 10:00:57 +00:00
Václav Slavík
399754a683 fixed incorrect computation of window's visible area: window's position was added once too much
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 09:50:39 +00:00
Kevin Ollivier
f42e073cda Fix editing support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 04:25:03 +00:00
Kevin Ollivier
67650ea0b9 Fixed sorting and commiting support for native virtual wxListCtrl, although leaving it off for now since initial creation of the list items takes a fair amount of time when the item amount is significantly large (as in the listctrl demo).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 03:58:30 +00:00
Václav Slavík
13f6c4701e undef wxUSE_THEME_XXX before redefining them to 1 if wxUSE_ALL_THEMES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 18:36:53 +00:00
Włodzimierz Skiba
acb53ea542 Tinderbox build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 17:31:57 +00:00
Jamie Gadd
b728a21269 Re-enable WM_PRINTCLIENT handling code as it is needed to correctly paint nested notebooks (closes bug #1544282).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 16:36:51 +00:00
Stefan Csomor
f31a4cb237 graphics context implementation test case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 15:53:57 +00:00
Stefan Csomor
505810425a graphics context implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 15:49:39 +00:00
Václav Slavík
e76372220e simplified #ifs around the code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 12:51:10 +00:00
Václav Slavík
4f2097b6ef fixed IMPLEMENT_APP to work even if compiled with --with-themes and win32 or gtk themes are not compiled in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 12:49:36 +00:00
Václav Slavík
ee92941afc fixed IMPLEMENT_APP to work even if compiled with --with-themes and win32 or gtk themes are not compiled in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 12:43:59 +00:00
Václav Slavík
74be7431f3 moved wxSTRINGIZE to defs.h and made it work with macro argument, so that it can be used elsewhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 12:37:31 +00:00
Włodzimierz Skiba
da8cebb2f9 Build fix for !PCH builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 12:26:27 +00:00
Václav Slavík
f012b5341c use smaller statusbar margins in mono theme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 11:47:02 +00:00
Václav Slavík
283c797c5c fixed wxStatusBar size calculations so that the text is not clipped
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 11:45:26 +00:00
Włodzimierz Skiba
ab00f409f4 Build fix for !PCH builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 09:58:15 +00:00
Julian Smart
fe5aa22c17 Fixed bugs in, and added operators and copy constructors to, style
sheet classes.
Now merges base, paragraph and content styles dynamically on
display or layout so that we can distinguish between them. This
means appling a paragraph style that has character formatting
doesn't wipe out the original content formatting. The old-style
static method can be enabled by setting wxRICHTEXT_USE_DYNAMIC_STYLES
to 0 in richtextbuffer.h.
The default style is initially empty, so that adding text
reflects the base and paragraph styles. Setting the default style
doesn't merge with the previous setting, but BeginStyle does.
Adding new paragraphs is now sensitive to the previous paragraph's
style and also whether its style has a next-paragraph style indication.
Added wxRichTextCtrl::ApplyStyleSheet which reapplies styles to
paragraphs with named styles.
Added style application command to sample to demonstrate how
styles can be changed and reapplied without affecting content
character formatting.
Fixed some range bugs in UI feedback and clipboard copying and pasting.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 08:53:23 +00:00
Vadim Zeitlin
81c330c6f0 fixed confusing double messages about getservbyname_r() test result, made the checking message consistent with gethostbyname_r() one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 00:03:27 +00:00
Vadim Zeitlin
97d01c138c removed non existent wx/dfb/popupwin.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 23:48:25 +00:00
Vadim Zeitlin
a43c3ed057 suppress gcc warning about DWET_XXX enumeration values not handled in switch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 23:09:42 +00:00
Vadim Zeitlin
0055a7a437 fix unused variable warning when wxUSE_PALETTE==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 23:09:20 +00:00
Vadim Zeitlin
ac61a0a15b add compilation options to allow compiling in just the selected wxUniv themes and not all of them (which is still the default)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 23:06:42 +00:00
Vadim Zeitlin
87f83ac867 The Lesser wxMask Refactoring: merged wxMGL and wxDFB version, added wxMaskBase which could/should be used by other ports later
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 23:02:39 +00:00
Vadim Zeitlin
4353a8df6e add compilation options to allow compiling in just the selected wxUniv themes and not all of them (which is still the default)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 22:55:28 +00:00
Vadim Zeitlin
91885f468a no real changes, just replaced a long preprocessor expression occuring in 2 places with a simple wxUSE_BITMAP_BASE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 17:11:02 +00:00
Václav Slavík
8e3e26d375 don't hardcode the theme, it prevents WXTHEME env.var. from working
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 15:26:56 +00:00
Vadim Zeitlin
7de1afbfd2 DIKI_ALTGR was removed in DFB 0.9.25
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 14:02:52 +00:00
Vadim Zeitlin
aa017eabe2 define wxUSE_BOOKCTRL when wxUSE_NOTE/LIST/CHOICEBOOK are 0; also define it as as 1 if wxUSE_TREEBOOK==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 13:48:55 +00:00
Vadim Zeitlin
8ddb1b8a88 handle DIKI_ALT_GR in the switch even if we don't have any matching key code, just to avoid gcc warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 13:43:19 +00:00
Vadim Zeitlin
12acbc9bf7 only use PS printing in wxUniv (the test was accidentally broken by last commit)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 11:47:12 +00:00
Vadim Zeitlin
e66eb2dfae fixed Contains() to pass the unit test (didn't work for empty strings)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 11:38:51 +00:00
Vadim Zeitlin
c4f35063ce added wxString::Contains() unit test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 11:37:40 +00:00
Vadim Zeitlin
ed626c8b55 VC7.1 warning fix about passing temporary as (non-const for this compiler) parameter of auto_ptr::operator=()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 11:31:27 +00:00
Jouk Jansen
a0f3a0211a Committing in .
setup.h_vms : synching with setup.h.in
 gtk1/gauge.h : gtk1 has no native wxGauge::Pulse so it has to inherit it from
                wxGaugeBase (just like i.e. wxMOTIF)

 Modified Files:
 	wxWidgets/setup.h_vms wxWidgets/include/wx/gtk1/gauge.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 09:09:06 +00:00
Stefan Csomor
87cc1cc772 adding wxArrayDouble for later use in graphics context APIs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 08:00:16 +00:00
Stefan Csomor
fb63a24232 adopting correct implementation virtualization for Do/GradientFillConcentric
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 07:53:10 +00:00
Vadim Zeitlin
562f54a7ba added Malay translations (Mahrazi Mohd Kamal)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 00:37:07 +00:00
Vadim Zeitlin
6f928cf2d9 update from Priyank Bolia
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 00:30:24 +00:00
Włodzimierz Skiba
bbcc2d1b1c Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-27 13:51:04 +00:00
Włodzimierz Skiba
93b9de865c Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-27 11:57:12 +00:00
Włodzimierz Skiba
81e4cb8bdf WinCE build fix: access to protected member.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-27 11:53:50 +00:00
Robin Dunn
a5f9094e25 Add missing "public" so wxGridCellRenderer methods will have wrappers
generated for them.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-27 01:41:43 +00:00
Vadim Zeitlin
e0e6ac8acc allow specifying the size of wxDCTemp and do specify it for the one used with wxEraseEvents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 23:51:29 +00:00
Robert Roebling
57d0f66a02 Added test bitmap.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 22:18:08 +00:00
Robert Roebling
cbc9145c04 Added wxDataViewBitmapCell
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 22:17:00 +00:00
Robert Roebling
2f62094615 Added wxVariant's =, == and != operators for wxObject*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 21:08:23 +00:00
Robert Roebling
cfd5930dcd GetWxObjectPtr() returns wxObject*, not void*.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 20:17:40 +00:00
Robert Roebling
63574b81fa Make GetWxObjectPtr() const.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 20:16:24 +00:00
Robin Dunn
f09df8b2ea If a TLW's default item is not an immediate child then it can be left
with a dangling pointer when the child is deleted, so check for it in
the child's dtor.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 19:52:32 +00:00
Robin Dunn
61e07b943c Add missing "public" so wxGridCellRenderer methods will have wrappers
generated for them.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 19:50:44 +00:00
Julian Smart
64c47f48c3 Converts DOS line endings to Unix if necessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 19:18:46 +00:00
Robin Dunn
4123a7a9b8 Workaround some platform differences
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 17:26:23 +00:00
Stefan Csomor
fe8712b53e removing the old style code cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 14:51:04 +00:00
Václav Slavík
4eb124f5bd fix client area computations and borders rendering if the scrollbars are not inside the border rect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 13:58:54 +00:00
Václav Slavík
754273b697 fixed crash when using GTK theme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 13:03:35 +00:00
Vadim Zeitlin
c55bced6d7 add wxUSE_OLE_AUTOMATION here too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 12:33:07 +00:00
Włodzimierz Skiba
9969fdfeea Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 12:21:25 +00:00
Włodzimierz Skiba
74221ac15b Corrections after The Great wxRegion Refactoring.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 12:20:32 +00:00
Robert Roebling
53a3a6dc63 [ 1541434 ] wxListView::IsSelected should be const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 09:20:50 +00:00
Robert Roebling
a2634d8140 [ 1557102 ] wxCombobox + keyboard selection + TEXT_ENTER Event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 09:16:13 +00:00
Robert Roebling
b4aec6c756 [ 1545669 ] EVT_ACTIVATE_APP wrongly documented as windows only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 08:51:09 +00:00
Robert Roebling
7b4b24bca9 [ 1553595 ] Doc error: wxView::OnDraw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 08:35:13 +00:00
Robert Roebling
1fc1e6af05 [ 1565385 ] wxImage scaling fix - apply mask when scaling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 08:19:10 +00:00
Chris Elliott
dba6243c56 remove wx.pdf correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 08:03:13 +00:00
Vadim Zeitlin
df63b2a48f let the control process WM_RBUTTONDOWN finally, trying to do it ourselves doesn't look right and results in some weird events (see bug 1541148), it's easier to generate WM_CONTEXTMENU manually instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 00:58:49 +00:00
Robin Dunn
f600738e8f Add WXDLLEXPORT to wxRegionWithCombine declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 00:27:53 +00:00
Robin Dunn
e70b4d2db9 Add properties
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 00:26:35 +00:00
Robert Roebling
4627af27d4 Implement most of AppendRow(), PrependRow(), InsertRow(),
DeleteRow() for GTK+ version and sorted model.
  Added tests for these.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 21:11:14 +00:00
Robin Dunn
627e49c80c add tests for EVT_TEXT_ENTER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 20:26:00 +00:00
Robin Dunn
67be49eec6 build tweaks, also drop most Python 2.3 builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 20:24:42 +00:00
Robin Dunn
f5263701c2 various changes to get up to date with CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 20:22:58 +00:00
Václav Slavík
f87d0500fa added assert to check for not-yet-implemented behavior of SetClippingRegion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 19:08:54 +00:00
Robin Dunn
b19f2e4e19 Forward declare wxMacListControl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 18:59:59 +00:00
Vadim Zeitlin
972719407b compilation fixes after recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 18:18:26 +00:00
Vadim Zeitlin
325125ba4f fix undefined behaviour due to using shift variable twice in the same expression
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 18:15:39 +00:00
Vadim Zeitlin
7b514b3b43 make wxMacItem::m_colId of type DataBrowserPropertyID instead of short to avoid warnings whenever comparing it with values of type DataBrowserPropertyID
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 17:35:41 +00:00
Vadim Zeitlin
e330eb4619 fixed warnings, reformatted braces
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 17:34:30 +00:00
Vadim Zeitlin
22143f7164 compilation fix after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 17:30:48 +00:00
Robin Dunn
eb86f7ab80 fix attribute errors when importing wxPython.wx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 17:22:51 +00:00
Włodzimierz Skiba
566177181a Corrections after The Great wxRegion Refactoring.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 16:17:12 +00:00
Václav Slavík
74750ae4e6 compilation fix (missing void)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 14:35:16 +00:00
Robert Roebling
fb5f907b2d Mention wxODCombo stuff.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 13:15:48 +00:00
Włodzimierz Skiba
b6428abaa5 Build fix for wxMSWUniv makefile driven builds. univ/setup0.h should be autoregenerated in the future too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 13:09:05 +00:00
Robert Roebling
48dcb86d0b Forgot to commit wxBitmapComboBox docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 13:01:47 +00:00
Vadim Zeitlin
d5dc103fd4 added wxUSE_VARIANT guards
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 12:55:25 +00:00
Włodzimierz Skiba
888355224c Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 12:42:18 +00:00
Vadim Zeitlin
012967ef1b rename OnResize() to OnSize() to avoid conflict with base class OnResize(void) virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 12:40:37 +00:00
Vadim Zeitlin
c57cdbd8d6 use _snprintf() in system_sprintf() for the compilers which have it; really fix warning about unused maxlen in wxPrintfConvSpec::ReplaceAsteriskWith()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 12:27:26 +00:00
Vadim Zeitlin
8a16d7370e The Great wxRegion Refactoring:
1. added wxRegionBase class and derive all wxRegions from it
2. also added wxRegionWithCombine for the ports providing Combine() method
   (MSW, OS2 and Mac) to reduce code duplication further
3. made sure region comparison works the same way in all ports (except those
   not implementing it) and added IsEqual() method


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 11:47:23 +00:00
Vadim Zeitlin
b48f51ca74 add wxTLW::UseNativeDecorations[ByDefault]() to allow the programmer to control whether windows use native or custom decorations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 11:46:58 +00:00
Vadim Zeitlin
b13862ee62 fix TLW borders width in mono theme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 11:24:42 +00:00
Václav Slavík
7e2baeb413 don't allocate backbuffer for dummy surfaces
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 08:01:36 +00:00
Václav Slavík
93259e592b reduce the number of repaintings by repaiting (rect) union of all invalidated areas instead of iterating over every Refresh() request including duplicate ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 07:55:51 +00:00
Julian Smart
cf1aac89dd Fixed LoadFile typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 07:11:59 +00:00
Robin Dunn
c7c45995e6 handle starting out with multiple lines of text.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 04:58:32 +00:00
Vadim Zeitlin
75afdc2d72 oops, restored accidentally deleted functions in last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 15:39:19 +00:00
Vadim Zeitlin
13229d3539 get rid of wxUSE_CHECKBOXES_IN_MULTI_SEL_TREE code, it's never used and just makes the code which is used more difficult to read
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 15:31:19 +00:00
Vadim Zeitlin
5c2603c2e8 make log messages more readable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 15:24:19 +00:00
Michael Wetherell
076e07b60b Improve the error messages slightly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 13:59:57 +00:00
Vadim Zeitlin
30f27c00d6 1. fixed many warnings about implicit double to int conversions in newly
checked in "advanced" image manipulation stuff
   (could we please avoid checking in the code with warnings?)
2. tried to simplify the new code a little, but much remains to be done,
   in particular it seems obvious that BlurVertical/Horizontal() must be
   refactored to avoid duplicating each other
3. reformatted (avoid jumbo lines, removed unnecessary double casts, declare
   the variables at the point of use, ...)

Hope this didn't break anything but as there are no tests it's really hard to
find out how was this supposed to behave.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 13:58:52 +00:00
Vadim Zeitlin
8d37334f0e move wxBitmapComboBox dependency check to wx/chkconf.h where it belongs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 13:18:23 +00:00
Vadim Zeitlin
ca5c6ac3f4 Added wxUSE_VARIANT and the related checks, also added wxUSE_OLE_AUTOMATION
to guard wxAutomationObject code which depends on wxVariant


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 13:12:56 +00:00
Vadim Zeitlin
19883268f1 use wxRect::Contains(), not Inside() (fixes compilation for WXWIN_COMPATIBILITY_2_6==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 13:09:46 +00:00
Robert Roebling
f164c52bc7 Same problem for blurring functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 12:52:24 +00:00
Robert Roebling
e5d1e06de3 Mention the problem with mask colour and blurring.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 12:50:48 +00:00
Robert Roebling
07aaa1a4b8 [ 1537065 ] wxImage: Higher quality scaling/sampling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 12:47:16 +00:00
Michael Wetherell
98de4ac1c5 Forward port test case that corrupts archives to see if they can crash an input stream.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 11:52:53 +00:00
Julian Smart
3306aec124 Added DoLoadFile, DoSaveFile to wxTextCtrlBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 11:40:33 +00:00
Robert Roebling
3bb918c097 Added test to reproduce [ 1541148 ] wxTreeCtrol: crash if right mouse click
The MSW tree control sends a series of invalid events.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 11:13:17 +00:00
Vadim Zeitlin
2335974794 added wxSize::IncBy() and DecBy() methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 11:08:51 +00:00
Robert Roebling
57b5c44a4f Fixed [ 1561693 ] wxGIFDecoder creates incorrect wxPalette
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 10:54:12 +00:00
Robert Roebling
df816ad92f Updated wxPallete information.
Added GetColourCount() implementation to Carbon (I wonder
    why it doesnt just use the generic implementation).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 10:27:12 +00:00
Robert Roebling
b9d880d638 [ 1563875 ] wxTreeCtrl::FindItem asserts when item not found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 10:06:02 +00:00
Kevin Ollivier
4e78e1738e kDataBrowserListViewNoGapForIconInHeaderButton not defined on Panther.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 04:18:00 +00:00
Robin Dunn
9e15c718b3 remove superfluous assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 00:39:49 +00:00
Robin Dunn
4391d97b25 New names for some ArtProvider methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 23:26:08 +00:00
Robin Dunn
e17b6377be More bakfile changes needed for bmpcbox. Rebaked.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 22:54:16 +00:00
Vadim Zeitlin
571d2e0f23 1. deprecate redundantly sounding wxArtProvider::FooProvider() to just Foo()
2. wxArtProvider::Remove() now really only removes the provider without
   deleting it, Delete() does delete it
3. moreover, ~wxArtProvider removes the provider as well so there is almost
   no need to call Delete() explicitly any more


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 20:16:18 +00:00
Václav Slavík
43e995b6e3 changed the catalogs lookup back to the old behaviour of searching LC_MESSAGES subdirectory on all platforms: the change that made this Unix-only (rev.180) silently broke old applications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 18:44:23 +00:00
Václav Slavík
b5297239e4 renamed GetMsgCatalogSubdir to *Subdirs to make it clear it may return more than one path and documented this in its comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 18:39:28 +00:00
Václav Slavík
69deca265e added comment clarifying the meaning of DoMoveWindow's x and y arguments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 17:25:46 +00:00
Václav Slavík
6f7eb299f0 fixed client<->window coords translations in DoMoveWindow and DoSetSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 17:23:25 +00:00
Vadim Zeitlin
8b0b78b0fa regenrated after removing imaglist.cpp from GTK and Motif sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 17:06:35 +00:00
Vadim Zeitlin
d1a3f56648 added src/xrc/xh_bmpbt.cpp (how comes it was in Makefile but not here?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 16:57:16 +00:00
Vadim Zeitlin
10c2977639 remove generic/imaglist.cpp from GTK|MOTIF_SRC now that it is in XWIN_LOWLEVEL_SRC already included in them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 16:44:04 +00:00
Robert Roebling
7962f85aae [ 1564062 ] wxComboCtrl popup height fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 16:17:45 +00:00
Robert Roebling
df348ff8c7 [ 1564113 ] wxComboCtrl and wxODComboBox documentation update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 16:16:08 +00:00
Robert Roebling
5cfbc8d0e5 Typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 10:01:05 +00:00
Robert Roebling
d72f87f60b Implememt GetColoursCount() in the generic wxPalette.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 09:54:11 +00:00
Robert Roebling
84140dc956 Compilo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 09:47:14 +00:00
Robert Roebling
5633b968f5 [ 1557935 ] wxPalette::GetColoursCount implementation
I commited the version which MSDN claims to be
     available since Windows 95. No idea why MFC
     doesn't use it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 09:35:09 +00:00
Robert Roebling
c86d8baad7 Updated Makefile.in after wxBitmapComboBox addition.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 09:19:16 +00:00
Robert Roebling
95a4630380 [ 1559479 ] wxImageComboBox
Actually wxBitmapComboBox. Also commited configure.
    Not yet updated Makefiles.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 09:14:49 +00:00
Robert Roebling
ce9685190e [ 1560860 ] wxComboCtrl EVT_TEXT filtering.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 09:04:25 +00:00
Robert Roebling
25dff19c97 Reset m_oldValue of after ::SetValue().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 09:00:17 +00:00
Robin Dunn
ac9d5e9574 Added wx.lib.expando, a multi-line textctrl that exands as more lines
are needed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 04:15:20 +00:00
Robin Dunn
65d48a2acf Fix my last fix. The method is pure virtual in the base class so it
can't be fully removed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 22:55:55 +00:00
Robin Dunn
581b9f53ae Remove the wxVariantDataString::Read method since the >> operator it
depends on has been removed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 21:55:03 +00:00
Robin Dunn
0100ee7daa Patch from Tim Kosse to allow virtual list ctrl to work when using the
generic control


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 21:47:57 +00:00
Robin Dunn
777e547f2c add some properties
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 21:46:26 +00:00
Robin Dunn
67cb8b4720 docstring fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 21:45:25 +00:00
Robin Dunn
e64481bf07 Catch WXK_NUMPAD_DELETE and WXK_NUMPAD_INSERT too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 21:19:45 +00:00
Kevin Ollivier
54638f9e66 Fixing SetColumnWidth and selection handling, attempt at fixing ClearAll(), and initial impl. for EditLabel / EndEditLabel.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 17:37:01 +00:00
Kevin Hock
9d4b8a5d0d When autosizing a row or column (AutoSize____), use GetMultiLineTextExtent to determine header size. Otherwise, the column header widths are artificially inflated, and row header heights are not high enough.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 17:20:40 +00:00
Stefan Csomor
e34fb6eae3 typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 14:46:23 +00:00
Stefan Csomor
ded83b1a5c further encapsulation of graphics context, wxdc becoming 'generic'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 14:28:15 +00:00
Stefan Csomor
53bc386387 allow access to wxWindow*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 14:25:23 +00:00
Stefan Csomor
a85ff267a8 extending graphics context encapsulation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 14:19:05 +00:00
Stefan Csomor
4bef5a72a4 extending graphics context encapsulation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 14:10:51 +00:00
Jouk Jansen
a843055617 Update OpenVMS make files
Modified Files:
 	wxWidgets/setup.h_vms wxWidgets/src/common/descrip.mms
 	wxWidgets/src/gtk1/descrip.mms wxWidgets/src/motif/descrip.mms
 	wxWidgets/src/univ/descrip.mms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 13:04:18 +00:00
Václav Slavík
4ff28c37c8 implemented SetFocus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 06:55:08 +00:00
Vadim Zeitlin
71c1dbbd54 don't release the DC which we don't own in wxUSE_UXTHEME case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 00:50:53 +00:00
Robin Dunn
a08f21ce07 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 22:51:09 +00:00
Robin Dunn
14cb220a29 disown wxPyXmlResourceHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 22:45:15 +00:00
Robin Dunn
70d374acb3 Use the generic listctrl on Mac by default until it gets up to par
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 22:44:13 +00:00
Robin Dunn
e12096a94e s_macSupportPCMenuShortcuts no longer exists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 22:42:45 +00:00
Vadim Zeitlin
418ab1e742 fix unescaped underscores
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 21:00:00 +00:00
Vadim Zeitlin
578c2e3a7c fix incorrect \param usage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 20:57:19 +00:00
Vadim Zeitlin
776eb3d746 fixed unmatched braces
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 20:52:49 +00:00
Robin Dunn
45c0ea45ff Add support for aborting the worker thread
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 19:14:02 +00:00
Václav Slavík
dd267523d0 put remaining toolbars-related methods into #if wxUSE_TOOLBAR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 17:30:07 +00:00
Robin Dunn
ce2f068535 use the MSVC 7.1 DLLs for python versions >= 2.4, not ==
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 17:01:28 +00:00
Robin Dunn
79df624ab9 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 17:00:37 +00:00
Robin Dunn
74c8720e3b Several methods dropped the const from their signature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 16:59:50 +00:00
Robin Dunn
6a45150b9c Use GridNameStr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 16:59:08 +00:00
Robin Dunn
6ecc8943e9 new wxCONTROL constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 16:58:11 +00:00
Robin Dunn
a9b9549646 Add comment about additional forms of Inflate(). Decide what to do
about them later.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 16:57:35 +00:00
Robin Dunn
85a94ef07b Import numpy.oldnumeric
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 16:56:50 +00:00
Václav Slavík
4d163bf87d send wxChildFocusEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 16:09:21 +00:00
Václav Slavík
3dcc2231fa fixed DrawText to use text colours instead of pen+brush colours
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 12:56:28 +00:00
Włodzimierz Skiba
341f776cf0 PCH build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 10:22:31 +00:00
Václav Slavík
224175a564 hide the caret before setting m_updateRegion: produces small flicker, but works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 10:13:42 +00:00
Stefan Csomor
3bf033e421 cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 06:27:58 +00:00
Włodzimierz Skiba
0a5c89cfec PCH build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 05:49:00 +00:00
Stefan Csomor
cb305e1e9f getting out for 'addded' events early enough
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 05:38:12 +00:00
Vadim Zeitlin
639e001d87 removed operator>>(istream&, wxString&) -- it's better to not have it at all than have an empty function which compiles but doesn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 23:59:17 +00:00
Kevin Ollivier
1c36c09cd5 Remove instances where wxGenericImageList is included directly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 23:33:47 +00:00
Vadim Zeitlin
fc875d57b7 make colours of the selected text inversed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 23:10:18 +00:00
Vadim Zeitlin
7419ba028c add more virtual border drawing functions used by frame decorations code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 23:09:08 +00:00
Vadim Zeitlin
d2328d9822 centre frame decoration bitmaps in their buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 22:55:04 +00:00
Vadim Zeitlin
c4410265e9 removed stubs for frame decorations drawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 22:52:47 +00:00
Vadim Zeitlin
249803fbcd move frame decorations drawing to the base class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 22:49:57 +00:00
Vadim Zeitlin
bfd5f90953 fix infinite recursion in DrawStatusField() after latest changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 22:41:49 +00:00
Vadim Zeitlin
d4d680e6d8 only include generic imaglist.{cpp|h} in the ports which don't have the native version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 21:20:18 +00:00
Vadim Zeitlin
2296981b65 added stubs for the missing functions, this theme links now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 17:25:40 +00:00
Vadim Zeitlin
1cd9779fce move generic part of AdjustSize() and status bar methods to the base class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 17:24:29 +00:00
Vadim Zeitlin
c2c4d939f3 add Inflate(wxSize) overload
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 17:20:10 +00:00
Vadim Zeitlin
fb61f58a73 define wxCONTROL_SIZEGRIP as another possible interpretation of wxCONTROL_SPECIAL bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 17:15:52 +00:00
Vadim Zeitlin
3a01afec26 first compilable version of the mono theme, replacing the accidentally checked in previous revision
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 15:57:36 +00:00
Stefan Csomor
8d700f716f preliminary editing support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 15:48:15 +00:00
Vadim Zeitlin
0428ac8c47 moved Arrow_ constants to the base class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 15:38:18 +00:00
Stefan Csomor
3ef4e126a2 undoing my duplicate efforts to solve the same problem ...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 15:37:25 +00:00
Stefan Csomor
0e4124e753 adding support for listctrl editable columns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 15:33:06 +00:00
Stefan Csomor
640fa8f3ce adding support for listctrl editable columns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 15:29:58 +00:00
Stefan Csomor
e362c2b921 type corrections, adding support for listctrl editable columns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 15:27:20 +00:00
Vadim Zeitlin
6229b92fb3 refactored common parts of DrawItem() in the base class; implemented GetTextTotal/ClientArea() there as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 14:51:14 +00:00
Robert Roebling
67a083dd38 [ 1505048 ] wxHtml rendering of underlined text
by using a Pango hack to make it underline leading
   space and trailing space. recognized as a Pango
   bug fixed in recent Pango.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 14:18:15 +00:00
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
Robert Roebling
9c7669d7a4 [ 1559550 ] Fix wxVariant wxDateTime conversion from time string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 11:21:43 +00:00
Robert Roebling
604affda6c Mention that GTK+ and OS X already are double buffered.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 11:09:26 +00:00
Robert Roebling
b104d1f017 [ 1557326 ] Remove redundant code from wxComboCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 11:03:15 +00:00
Robert Roebling
7d90da2b4c Applied [ 1555974 ] small wxURL improvements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 10:59:18 +00:00
Robert Roebling
3ab296d9eb Commit patch [ 1559950 ] fix mem leaks in wx{Dir|File}Dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 10:49:11 +00:00
Robert Roebling
d1526a6787 Remove debug code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 10:30:06 +00:00
Michael Wetherell
5719eab2bf Fix missing 3rd party builtin libs for static monolithic builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 09:07:07 +00:00
Kevin Ollivier
c2c04edc2c Commiting re-baked files after wxListCtrl OS X additions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 08:06:09 +00:00
Kevin Ollivier
6a623422ec Accidently checked for invalid image index rather than using the mask.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 01:30:26 +00:00
Kevin Ollivier
e2bc1d6981 Initial commit of native OS X list ctrl support. Compile tested on Win, Mac, FC4/GTK2. Tested samples on Win and OS X. Also, support for co-existance of native and generic list ctrl on OS X.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 01:20:08 +00:00
Kevin Ollivier
e96bbb453c Adding OS X list ctrl implementation file, and listctrlcmn file for shared wxListCtrl code (only events right now).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 23:04:34 +00:00
Robert Roebling
807a572ef4 Next round of RTL fixes. This change greatly simplifes
the code and makes most #ifdefs redundant.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 21:44:21 +00:00
Robin Dunn
9b0b3151e0 tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 19:55:03 +00:00
Robin Dunn
24648f5583 Tweaks and cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 19:50:26 +00:00
Robin Dunn
5acb46e0cd new wxRect and wxPlatformInformation methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 19:05:36 +00:00
Robin Dunn
dba7934c9d added more properties
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 18:12:37 +00:00
Vadim Zeitlin
15b2504679 remove unused any more wxArrayHandlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 13:51:22 +00:00
Vadim Zeitlin
f790ec82e7 added wxRect::GetTopRight/BottomLeft() for consistency with the existing GetTopLeft/BottomRight()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 13:36:30 +00:00
Vadim Zeitlin
7ca253a50f build extra wxUniv tags file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 13:15:13 +00:00
Michael Wetherell
58e65954e9 Minor cleanup: use AC_CHECK_DECLS for the gtk_icon_size_lookup check instead of
AC_TRY_COMPILE.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 08:09:43 +00:00
Michael Wetherell
ef0aeb729d Missing header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 08:01:17 +00:00
Robin Dunn
d49bdf3432 wx.EvtHandler is OOR capable
docstring fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 01:37:29 +00:00
Vadim Zeitlin
7c28d921d7 fix wxGetFreeMemory() for Linux 2.6 (part of patch 1549176)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 00:43:13 +00:00
Vadim Zeitlin
a24db82d68 added CheckOS/ToolkitVersion()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 00:38:36 +00:00
Robin Dunn
994453b843 added more properties
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-15 21:31:02 +00:00
Julian Smart
155acb0cc9 If we use a background brush, we _must_ set a colour (fixes a bug with static labels
not showing on a panel with a black background when system colours are high-contrast)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-15 19:46:50 +00:00
Paul Cornett
c8f8427191 wrap print headers at top level
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-15 16:45:48 +00:00
Stefan Csomor
a8eef9fe20 added Bryan's new icons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-15 10:22:07 +00:00
Robin Dunn
33d6fd3b4c reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 21:27:26 +00:00
Robin Dunn
8bbd1bbf18 Added wx.lib.delayedresult from Oliver Schoenborn.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 21:06:57 +00:00
Robin Dunn
1ca848a2a9 release the GIL before calling base version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 20:39:33 +00:00
Robin Dunn
be601ceba6 GetScrollLines?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 20:38:45 +00:00
Robin Dunn
8546a54961 Inside --> Contains
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 20:28:28 +00:00
Robin Dunn
16ec1954b1 IsVisible --> IsShownOnScreen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 20:27:47 +00:00
Robin Dunn
e393c3fb10 docstring update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 20:27:01 +00:00
Robin Dunn
9c97f00622 Oops, file wasn't saved before last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 19:45:27 +00:00
Robin Dunn
80752b57a9 As per wx-dev, split the sort arrow options out to a separate parameter.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 19:42:41 +00:00
Stefan Csomor
923608c3ac mdi fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 19:38:22 +00:00
Stefan Csomor
2cbd98abc2 cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 19:37:19 +00:00
Vadim Zeitlin
9467bdb7f5 Many changes for wxInputHandler creation mainly related to:
1. Allow the theme to create only the input handlers it customizes instead
   of forcing it to always create a handler even if the standard one is used:
   wxTheme::GetInputHandler() now takes wxInputConsumer to make this possible

2. Prefer delegation to inheritance when creating customized input handlers,
   almost all (except for wxStdScrollbarInputHandler) standard handler classes
   are now private, use wxClassName::GetStdInputHandler() to retrieve the
   standard handler for any class or polymorphic DoGetStdInputHandler()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 19:36:47 +00:00
Robert Roebling
5eefe02976 More RTL fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 19:24:41 +00:00
Paul Cornett
0c246b3ca3 add Create to wxDocParentFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 17:53:06 +00:00
Stefan Csomor
26af4dbd0a switching colors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 17:42:35 +00:00
Paul Cornett
ebb1c57f8e remove redundant declarations of wxFrameNameStr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 17:36:18 +00:00
Włodzimierz Skiba
249e30415a Follow native renderer for DrawHeaderButton.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 16:53:34 +00:00
Włodzimierz Skiba
71d59a4dc5 m_displayMode needs complete wxVideoMode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 16:51:13 +00:00
Václav Slavík
119441fc6f fixed incorrect passing of bitmap dimensions in DoBlit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 16:48:56 +00:00
Václav Slavík
3278b06e6b added wxFAIL_MSG to unimplemented SetDepth/Width/Height
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 16:20:00 +00:00
Václav Slavík
a46d481471 implemented convertion between wxImage and wxBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 16:16:42 +00:00
Włodzimierz Skiba
5e52e0297d Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 16:06:09 +00:00
Włodzimierz Skiba
9d17ee000a Minor cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 16:04:18 +00:00
Włodzimierz Skiba
0856300fb1 wxHeaderButtonParams needs complete classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 16:02:48 +00:00
Vadim Zeitlin
9b3c30478f don't append trailing tab to items which don't have stock accels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 14:52:43 +00:00
Václav Slavík
949e0a3827 added check for supported depth and 'not implemented' wxFAIL_MSG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 14:39:13 +00:00
Václav Slavík
4562386dc5 implemented wxBitmap::GetSubBitmap()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 14:36:12 +00:00
Julian Smart
e195770310 Fixes bug whereby directory control foreground colour is always black on Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 13:17:39 +00:00
Václav Slavík
865a74c700 renamed wxWindow::IsVisible() to IsShownOnScreen() to fix name conflicts with other classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 12:22:46 +00:00
Vadim Zeitlin
632aaa1891 fix warnings about unused parameters and functions in wxUniv build; also clean up wxGetPrinterDC() somewhat (a lot is left to do...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 10:53:12 +00:00
Vadim Zeitlin
f2fac41ad8 define HAVE_BROKEN_SWPRINTF_DECL for VC7.1 as while it does have the standard declaration its implementation is broken
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 00:30:04 +00:00
Vadim Zeitlin
d4a1433fcc added wxWindow::IsFrozen() (only existed in wxMSW and wxDFB before)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 23:45:31 +00:00
Robert Roebling
49e74855af More RTL work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 22:20:10 +00:00
Robert Roebling
f4fe2f2052 Add GetScrollHelper() to wxWindow.
Let wxScrollHelper set the underlying field itself.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 22:18:24 +00:00
Robin Dunn
5c86a7fa9e Changes for TreeListCtrl to take advantage of the new native
HeaderButton abilities


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 20:47:11 +00:00
Robin Dunn
9c21b1879f Dashes and Stipple accessors are not available on all platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 20:44:46 +00:00
Robin Dunn
6e872f5cee More support for drawing native column headers, adds more states
(selected, mouse-over) and also optionally drawing the contents of the
header (label and/or bitmap, sort arrow) in a consistent way.  Also
added a method to determine the default height of the column header.
This is based on work done for OSAF.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 20:34:19 +00:00
Robin Dunn
4b94ddc44c More support for drawing native column headers, adds more states
(selected, mouse-over) and also optionally drawing the contents of the
header (label and/or bitmap, sort arrow) in a consistent way.  Also
added a method to determine the default height of the column header.
This is based on work done for OSAF.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 20:28:43 +00:00
Włodzimierz Skiba
245243ec13 it needs wxUSE_* guard to not break smartphone build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 19:10:31 +00:00
Robin Dunn
8f62e63351 wxStatusBarGeneric is used directly so the header needs to be included too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 19:01:37 +00:00
Václav Slavík
22a35096a0 renamed wxRect::Inside() to wxRect::Contains(), wxRect::Inside(wxRect) is too confusing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 17:12:25 +00:00
Václav Slavík
23621b352c renamed wxRect::Inside() to wxRect::Contains(), wxRect::Inside(wxRect) is too confusing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 17:06:01 +00:00
Paul Cornett
f6814d017b minimize code duplication
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 16:31:36 +00:00
Julian Smart
4c0f681c9a Added public keyword
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 16:27:56 +00:00
Włodzimierz Skiba
15495b2603 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 16:16:37 +00:00
Włodzimierz Skiba
8df950a694 [ 1556353 ] [wxOS2] Change derivation to add wxGauge::Pulse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 16:14:26 +00:00
Włodzimierz Skiba
03eefe82a8 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 16:06:24 +00:00
Paul Cornett
446e69bee5 don't include generic/statusbr.h directly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 15:50:26 +00:00
Benjamin Williams
2e5c35af4e got rid of some extra borders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 14:23:02 +00:00
Vadim Zeitlin
ad968793dd fix wxVsnprintf_ declaration for VC8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 11:59:31 +00:00
Vadim Zeitlin
66ad556c74 document wxChildFocusEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 11:44:16 +00:00
Václav Slavík
bb78b682be wxTLW::DoRefreshRect must check the rect, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 11:01:10 +00:00
Robert Roebling
5713b34914 Make wxGTK's wxScrolledWindow set m_x/xScrollLines to 0
if scrollbars disappear (instead of 1) as per wxMSW.
  Expose m_x/yScrollLines in public getters.
  Correct window origin for scrolled window in RTL.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 10:01:21 +00:00
Václav Slavík
20671963ef corrected painting implementation for wxDFB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 09:50:02 +00:00
Robin Dunn
47e5915415 compile fix for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 01:31:11 +00:00
Vadim Zeitlin
7e05644339 remove unneeded m_inputHandler initialization (already done in the base class ctor)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 22:20:15 +00:00
Robin Dunn
f2b78b596a rephrase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 21:06:43 +00:00
Robin Dunn
33328cd882 Updated the C++ code for wx.gizmos.TreeListCtrl from the wxCode
project.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 21:05:20 +00:00
Robin Dunn
a4314b7e48 DisplayAvailable renamed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 18:45:22 +00:00
Paul Cornett
c764029c20 gtk_pizza_set_external is redundant
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 17:18:23 +00:00
Paul Cornett
3208e55e12 calling GtkPizza base class method on non-GtkPizza widget doesn't seem like such a good idea
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 17:09:56 +00:00
Julian Smart
ebd90cced0 Increased size slightly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 12:02:54 +00:00
Julian Smart
96c8547e58 Sometimes, m_x and m_y don't reflect the true position of the window,
for example after using wxToolBar::AddControl. This change gets the
actual position if necessary; it fixes a popup window positioning problem
for combo controls on a toolbar.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 11:57:55 +00:00
Julian Smart
a8c5e1a9d1 Added pango_context_get_language to speed up pango_context_get_metrics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 11:38:17 +00:00
Julian Smart
e637208a32 Style listbox now shows current style
Added combo control for selecting styles
Updated the sample to show the combo control


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 10:19:45 +00:00
Robert Roebling
03703fc0af Reverse Left and Right meaning of keys.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 09:57:24 +00:00
Robert Roebling
4f0eda0e6e More RTL fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 09:48:27 +00:00
Václav Slavík
564b429f74 limit clipping to surface area
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 09:26:14 +00:00
Robert Roebling
2d6dd9c09e Add const to GetTargetSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 09:12:52 +00:00
Julian Smart
ab14c7aa57 Setting the current style from the UI is a mode that is cancelled when moving away
from the current caret position. This must be done to avoid confusing default
attributes and attributes at the current caret position, in normal use.
Style feedback now correct when caret is at the start of a paragraph (don't use
previous paragraph's style), and out-by-one style feedback bug fixed (start/end
of styled content).
Added ApplyStyle for applying a character or paragraph style.
Some coding style cleanup.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 08:42:40 +00:00
Robert Roebling
720a0aab26 RD forgot to add "Do"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 07:39:42 +00:00
Julian Smart
4f3c010b04 Fixed flag setting omission that showed up as list problems in sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 07:18:20 +00:00
Robin Dunn
7012bb9f03 more properties
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 03:20:12 +00:00
Václav Slavík
5034c9dbba fixed two typos: XLOG2DEV was used instead of YLOG2DEV
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-11 21:00:30 +00:00
Robin Dunn
657b4fd417 Use DoIsExposed for the virtual version of the method, so the wxPoint
and wxRect versions don't get hidden in derived classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-11 17:50:12 +00:00
Robin Dunn
6517912d80 sync with CVS updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-11 16:54:57 +00:00
Robert Roebling
428f4657b6 Further RTL fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-11 14:20:24 +00:00
Vadim Zeitlin
f1a9b1a3d9 removed GTK header include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-11 14:11:38 +00:00
Vadim Zeitlin
53d90250ad compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-11 14:07:41 +00:00
Václav Slavík
3af4da323a implemented DrawPoint in terms of DrawLine (for now)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-11 11:26:48 +00:00
Václav Slavík
eac789ff9c removed tabs and trailing whitespace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-11 11:13:05 +00:00
Václav Slavík
538f383019 wxXML load/save improvements: added ability to not ignore whitespace and specify indentation level (patch #1541888)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-11 11:08:49 +00:00
Robert Roebling
847dfdb422 Implement dc mirroring for RTL.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-11 10:32:43 +00:00
Robert Roebling
bdb427d70e Make IsExposed virtual.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-11 09:54:07 +00:00
Václav Slavík
a5b31f4e11 move misc surface helpers to wxIDirectFBSurface class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-11 09:08:57 +00:00
Vadim Zeitlin
914f515762 added hyperlink alignment flags (patch 1537043)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 23:57:26 +00:00
Vadim Zeitlin
490f72fd16 compilation fixes for wxUSE_STL==1 (patch 1555754)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 23:50:27 +00:00
Vadim Zeitlin
9f90d36595 minor corrections and note about Unicode (patch 1555691)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 23:49:19 +00:00
Vadim Zeitlin
3488be9c0a use RTL paragraphs in rich edit control in RTL mode (patch 1553298)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 23:47:11 +00:00
Vadim Zeitlin
e5b5af9139 return correct coordinates for child windows from DoGetPosition() in RTL mode (patch 1552664)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 23:42:19 +00:00
Vadim Zeitlin
cf072997af fix static box label drawing in RTL locale (patch 1552545)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 23:39:37 +00:00
Vadim Zeitlin
cec5ffc46d added wxLocale::IsAvailable() (extended patch 1547191)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 23:28:20 +00:00
Vadim Zeitlin
6ea0cc70f7 use wxID_OPEN instead of INTERNAT_OPEN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 23:19:50 +00:00
Vadim Zeitlin
dd2040736c compilation fix for Unicode build (patch 1546975)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 23:09:33 +00:00
Vadim Zeitlin
bec08b3946 allow wxRB_GROUP to be changed after creation (patch 1544686)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 23:08:13 +00:00
Vadim Zeitlin
aa9bfc2ac0 fix constructing wxRegKey from string names (replaces patch 1542052)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 23:04:59 +00:00
Vadim Zeitlin
06322acab7 clear values of type SQL_C_DATE/TIME too (patch 1541829)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 22:45:02 +00:00
Vadim Zeitlin
ab3d29eaab don't call ::GetSystemMetrics() unnecessarily in wxGetHiconSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 22:43:14 +00:00
Paul Cornett
c1fa6f5245 avoid null pointer dereference in DoGetClientSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 20:50:58 +00:00
Robert Roebling
fe92a9d685 The usual missing commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 19:40:20 +00:00
Robert Roebling
6959763942 Implemented window coord mirroring for RTL. This
is only implemented for *setting* the coordinates
    which is enough for wxSizers and 99% or other
    dialogs to work.
  Also reversed the meaning of wxStaticText alignment
    in RTL mode. It is possible that later versions
    of GTK actually do that themselves. (?)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 19:39:22 +00:00
Vadim Zeitlin
1d203ed837 ensure that -2 font size is readable, it could be too small after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 18:18:13 +00:00
Vadim Zeitlin
140316c278 small sample cleanup (formatting, use stock menu items)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 17:07:10 +00:00
Vadim Zeitlin
98ebf9194b ensure that IsDialogMessage() is not called in the situations when it may hang not only from the immediate parent of the control which has focus but also from its grandparents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 16:52:20 +00:00
Václav Slavík
fdc62f4462 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 16:11:27 +00:00
Václav Slavík
6ef4b814d2 fixed subcontrols refreshing in wxWindow::Refresh
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 16:02:15 +00:00
Václav Slavík
2582bcdc9d make it possible to create wxWindowDC for a hidden window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 15:51:03 +00:00
Václav Slavík
9c72cf7619 added wxWindow::IsVisible() method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 15:38:54 +00:00
Robert Roebling
2df5e0bff0 Also set GTK text direction to m_wxwindow.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 14:59:05 +00:00
Robert Roebling
a31bb94425 Remove direct access to GtlPizza's offset
variable. That way, we can change the
    underlying meaning for RTL windowing
    mirroring without wxWindow knowing it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 14:52:56 +00:00
Vadim Zeitlin
ec9f5895ae blind compilation fix for daily builds error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 12:25:54 +00:00
Vadim Zeitlin
da1625342d compilation fix for !WX_PRECOMP (missing wx/app.h)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 12:23:44 +00:00
Mart Raudsepp
e892f2fd13 Restore ability to have a much lower runtime GTK version than build time - down to 2.4 (2.0 is still broken from gtk_combo_box_entry_new)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 04:23:02 +00:00
Vadim Zeitlin
aea95b1c3a removed overloaded virtual InitWith() methods, keep just a single InitRGBA()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 02:00:24 +00:00
Vadim Zeitlin
9d639ffa59 compilation fix after wxGUIAppTraits::GetToolkitVersion() introduction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 01:58:13 +00:00
Vadim Zeitlin
8444b6cb6b removed unused variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 01:20:37 +00:00
Vadim Zeitlin
cbd88f2225 compilation fixes after recent stock menu items changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 23:20:22 +00:00
Robin Dunn
57332a5a1d reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 23:10:15 +00:00
Robin Dunn
203bfdca0c more properties
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 22:57:42 +00:00
Robin Dunn
9209153753 mention Pulse mode on Guage, and native toolbar on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 19:58:12 +00:00
Robin Dunn
b9c5678801 Path fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 19:57:22 +00:00
Robin Dunn
0d2c9713ec reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 19:57:09 +00:00
Robin Dunn
ae5bc7f372 reSWIGtged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 19:55:17 +00:00
Robin Dunn
ce1245e1fa It's not in use yet, but add Kevin's docparser code so it doesn't get lost...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 19:42:51 +00:00
Robin Dunn
e78e8fdbfd Build the contents and index files for HtmlHelp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 19:41:51 +00:00
Robin Dunn
5a61da16c5 DetachRoot
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 19:38:16 +00:00
Robin Dunn
79032d2bde Add AddStretchSpacer and friends
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 19:37:48 +00:00
Robin Dunn
e81851eb9c Pulse mode in gauge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 19:36:27 +00:00
Robin Dunn
19b47f5b2c Show Pulse mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 19:18:41 +00:00
Robin Dunn
349ef0adf5 Compilo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 19:07:05 +00:00
Paul Cornett
d90e6104e9 remove unused GtkPizza members scroll_[xy]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 18:37:24 +00:00
Robin Dunn
d1a7e73ece Don't show AlphaDrawing for now...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 18:14:43 +00:00
Robin Dunn
31e1bd370d Simplify use of MacIsWindowScrollbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 18:12:59 +00:00
Kevin Ollivier
ef78ec37f2 Mac(Carbon) impl of wxGauge::Pulse, also added sample code for Pulse to the widgets sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 18:11:48 +00:00
Paul Cornett
73216ce6f0 include fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 18:00:18 +00:00
Vadim Zeitlin
1acca470df check encoding in EnumerateFacenames(); implemented EnumerateEncodings() for wxUSE_PANGO case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 17:41:17 +00:00
Vadim Zeitlin
d5a20ebb32 only return matching modes from GetModes()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 17:34:32 +00:00
Paul Cornett
5ff14574fc some app.h cleanup: minimize includes, use static cast
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 17:29:19 +00:00
Vadim Zeitlin
916eecaad6 implement wxComboBox::SetEditable()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 16:24:00 +00:00
Václav Slavík
24b800a957 added unary wxPoint::operator-
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 15:52:05 +00:00
Robert Roebling
ee4c13659b The patch was missing a header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 14:41:46 +00:00
Robert Roebling
297eb8e6d2 incomplete commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 14:13:08 +00:00
Robert Roebling
6a5c9b3ff7 Apply patch [ 1548750 ] wxVsnprintf() various fixes
Part II.
c


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 14:11:21 +00:00
Robert Roebling
5cafd4bef6 Typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 14:02:37 +00:00
Robert Roebling
23ac76056f Applied doc patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 13:46:11 +00:00
Vadim Zeitlin
388a1f6624 define debugging log functions as (empty inline) wxLogNop() instead of nothing in the release builds, this ensures that we have the same code structure in debug/release builds and so there are no bugs when these functions are used inside if/else while also ensuring that even dumbest compilers do remove them completely in release builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 13:45:06 +00:00
Robert Roebling
fe8635a7e7 Applied wxGauge:Pulse() patch.
[ 1551409 ] Support for indeterminate mode gauges


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 13:36:54 +00:00
Vadim Zeitlin
9804c4d95c undid last 2 commits, there are many more cases like this so it's better to fix this problem in a different way in wx/log.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 13:25:01 +00:00
Vadim Zeitlin
e6113e3a52 more warning fixes about empty if statement in helper classes in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 13:10:32 +00:00
Vadim Zeitlin
8b76325cdc fix warning about empty if statement in HDCClipper ctor in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 12:55:05 +00:00
Robert Roebling
a124f99a24 Apply patch [ 1554736 ] wxXmlDocument::DetachRoot
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 11:35:32 +00:00
Robert Roebling
fa6a837300 Apply patch [ 1554746 ] wxXmlNode::InsertChild fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 11:32:10 +00:00
Robin Dunn
afd7bf26f1 Don't let the built-in scrollbars confuse things when setting focus to
a wxScrolledWindow


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 06:34:08 +00:00
Paul Cornett
8a378a9e16 add emission hook from RemoveIdleSource (was RemoveIdleTag); minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 04:53:02 +00:00
Paul Cornett
4bc4bae185 remove unneeded DoGetClientSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 02:43:31 +00:00
Paul Cornett
6934602337 don't set negative window size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 02:42:48 +00:00
Paul Cornett
cd38dd5ba0 keep AdjustScrollbars from causing an infinite series of size events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 02:41:29 +00:00
Robin Dunn
d3e6a1f2db Remove some testing code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 00:38:53 +00:00
Robin Dunn
a3cee65ed4 Use GetKeyCode() instead of KeyCode()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 20:09:27 +00:00
Robin Dunn
2f72b58ae6 Show status of wxMac CoreGraphics build option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 20:08:21 +00:00
Robin Dunn
04a1f76c2a Add items to wx.PlatformInfo for mac core graphics and native toolbar
build status


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 20:05:19 +00:00
Robin Dunn
97b2445934 It is not "Invalid" to have a menu item without an accelerator, so
don't be noisy about it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 20:04:15 +00:00
Robin Dunn
59780c72c6 Added sample showing Alpha drawing for Mac with CoreGraphics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 18:16:06 +00:00
Václav Slavík
716af436dc don't try to paint hidden windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 17:39:27 +00:00
Václav Slavík
071f5576a0 fixed wxDC to correctly handle SetFoo(wxNullFoo) calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 15:29:55 +00:00
Robin Dunn
0ac091aecd deTABified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 15:15:36 +00:00
Václav Slavík
b4ca59760e added newline to the end of the file to prevent gcc warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 14:38:49 +00:00
Václav Slavík
14ac4e3a8e don't try to paint hidden windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 11:52:02 +00:00
Vadim Zeitlin
801a54412a define WS_EX_LAYOUTRTL for older compilers/SDK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 10:32:23 +00:00
Robert Roebling
f6f1f4adbf Sadly, direct access to SetUpDC is required for the
native custom rendering of wxDataViewCells


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 09:45:10 +00:00
Stefan Csomor
9d5ccdd326 fixing ownership and positioning of embedded controls in native toolbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 08:46:05 +00:00
Stefan Csomor
8c981ec64d make sure we catch invalid control refs better
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 08:27:32 +00:00
Chris Elliott
9c3af83154 fix for SF bug 1543862 - add missing Makefile.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 07:49:01 +00:00
Robin Dunn
97ab0f6ab4 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 03:38:52 +00:00
Robin Dunn
ac5d357a44 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 03:31:18 +00:00
Robin Dunn
8e1a5d3aa9 another parameter type fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 02:56:16 +00:00
Robin Dunn
df4895f610 wxMac's glcanvas doesn't have the new API changes yet...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 02:47:56 +00:00
Robin Dunn
76b8fa1d20 More properties
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 01:08:36 +00:00
Robin Dunn
925430af06 adapt to wxGLCanvas changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 01:05:13 +00:00
Vadim Zeitlin
5039a2df01 define wx_cv_func_snprintf_pos_params when cross-compiling too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 22:03:11 +00:00
Włodzimierz Skiba
57bd4c6031 Include wx/msw/wrap*.h according to pch support (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 19:01:45 +00:00
Robin Dunn
8383c11698 Comment why we don't call PyErr_Print after calling OnInit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 17:19:22 +00:00
Robin Dunn
49e0b673c3 Update from Frank with fixes for running on wxMSW 2.7
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 17:14:57 +00:00
Paul Cornett
9cf7a6c06b don't use negative windows sizes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 17:06:29 +00:00
Vadim Zeitlin
4322f94f29 fix wxSTOCK_WITH_MNEMONIC handling (was reversed after recent changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 16:53:22 +00:00
Paul Cornett
6a8a390322 remove a few unnecessary queue_resize/queue_draw calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 16:40:20 +00:00
Václav Slavík
3083f142d9 use GetCharHeight in GetHeight() instead of creating temporary wxClientDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 16:11:03 +00:00
Václav Slavík
dbbdd3465f make sure wxWindow has valid (albeit bogus) size from the beginning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 16:09:48 +00:00
Václav Slavík
78d2c24197 don't create a subsurface in wxClientDC unless necessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 16:08:19 +00:00
Paul Cornett
b5e31cc8e2 GtkOnSize parameters aren't useful
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 16:06:47 +00:00
Chris Elliott
e40821559e fix path of pdf zip file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 14:49:23 +00:00
Robert Roebling
64321998df Applied FRM's patch [ 1553958 ] Fix for invalid cast from
GtkFileChooserButton to GtkButton


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 13:24:08 +00:00
Chris Elliott
c2c435c9d8 fix directory creation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 12:46:08 +00:00
Chris Elliott
52c636e073 fix broken bz2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 12:44:40 +00:00
Václav Slavík
17dd5538ef verify that we're not painting on hidden window (which is not implemented)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 11:14:52 +00:00
Václav Slavík
6a613ad625 don't treat DFB_TIMEOUT as error in WaitForEventWithTimeout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 10:43:59 +00:00
Robin Dunn
adfb405a9c Fixed compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-06 23:22:44 +00:00
Michael Wetherell
f36b3a915e Fixed ReadLine missing last character from text files with no final newline.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-06 21:43:19 +00:00
Paul Cornett
574d4d1c4c include fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-06 17:37:30 +00:00
Paul Cornett
53b6d7a298 Always use wxFULL_REPAINT_ON_RESIZE for generic status bar.
Remove undocumented generic status bar ctor/Create.
Bring status bar ctor/Create into sync with docs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-06 17:36:22 +00:00
Robert Roebling
84d1cd430f Applied patch which allows you to detach a stream
from a wxFSFile. Patch 1190378


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-06 13:57:06 +00:00
Robert Roebling
5949d30725 Applied 1215477, fixing a crash by properly removing
a file system handler in a module.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-06 13:49:42 +00:00
Robert Roebling
5d5d9ae88c Mention wxGLCanvas change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-06 13:32:58 +00:00
Robert Roebling
b7ea712cc2 Commit Carsten Fuchs' patch for separating wxGLCanvas
and wxGLContext on GTK and MSW.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-06 13:31:20 +00:00
Vadim Zeitlin
15291213d7 enable support for printf positional parameters by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-06 09:51:24 +00:00
Václav Slavík
52c8d32a71 use C++ wrappers around DirectFB API for easier use
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-06 09:40:31 +00:00
Robin Dunn
42e2bbb9e1 add more properties
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-06 04:20:39 +00:00
Robin Dunn
f77c79d049 Added wx.lib.dragscroller from Riaan Booysen.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-06 04:18:36 +00:00
Paul Cornett
6a9e44d55c don't return negative size from GetPageRect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-06 03:01:50 +00:00
Paul Cornett
003b64a7ba don't set negative size in wxSizerItem::SetDimension
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-06 03:01:17 +00:00
Vadim Zeitlin
003fa4a7b8 document GetStrings() (patch 1552225)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-05 21:30:32 +00:00
Vadim Zeitlin
412a5c570d wx printf() implementation bug fixes ('%' handling, thread safety, ...) and optimisations (patch 1548750)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-05 21:14:38 +00:00
Vadim Zeitlin
21d124e03c pickers code cleanup (patch 1552220)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-05 21:02:27 +00:00
Vadim Zeitlin
345319d60c fixes to menu stock items support (patch 1547639)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-05 21:00:55 +00:00
Vadim Zeitlin
d3c7fc996a mark all dtors which are virtual because base class dtor is virtual explicitly virtual themselves
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-05 20:47:48 +00:00
Vadim Zeitlin
641d44aef5 added a couple of base classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-05 20:41:19 +00:00
Włodzimierz Skiba
08a5813350 WinCE build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-05 19:23:15 +00:00
Włodzimierz Skiba
7d02e0d6e9 Tinderbox/PCH build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-05 18:07:17 +00:00
Vadim Zeitlin
9fecabb76a work around drag and drop freeze (bug 1080588)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-05 17:48:55 +00:00
Václav Slavík
ca766534cf use macros to completely remove wxLogTrace, wxLogDebug etc. in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-05 14:21:08 +00:00
Robin Dunn
e8b4959678 Some properties for things with lists of items.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-05 01:05:51 +00:00
Vadim Zeitlin
90527a50d7 use (new) wxAcceleratorEntry::Create() instead of recently deprecated wxGetAccelFromString()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 23:56:56 +00:00
Robin Dunn
e81b607b43 Changes needed for new RTL methods, and also various other updates to
wx CVS.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 23:52:47 +00:00
Michael Wetherell
746b24a09d Typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 20:34:35 +00:00
Michael Wetherell
3cf417cbc6 Add HAVE_BOOLEAN and NEED_PBT_H.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 20:13:39 +00:00
Julian Smart
20833aaa0a Prevents crashes caused by negative line count being passed to wrapping functions, e.g. in intermediate sizing states.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 19:57:23 +00:00
Włodzimierz Skiba
b137e49318 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 19:22:57 +00:00
Michael Wetherell
d92c8cd971 Document __WINE__.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 19:07:41 +00:00
Włodzimierz Skiba
eec7f4127f Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 18:48:53 +00:00
Michael Wetherell
dcfd4ac412 A better compile fix for Wine (which lacks pbt.h).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 18:33:31 +00:00
Michael Wetherell
5f41d1bf1d Define HAVE_BOOLEAN when the Windows headers declare 'boolean' to avoid a
conflict with the jpeg headers which will otherwise also declare it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 17:57:17 +00:00
Michael Wetherell
4db9f933ab Revert the last commit since it doesn't work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 16:57:13 +00:00
Michael Wetherell
a8bdb4e996 Compile fix for Wine.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 16:49:32 +00:00
Michael Wetherell
4107600f20 Missing headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 16:40:08 +00:00
Michael Wetherell
24aab8e81a Hacks for wine.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 16:36:47 +00:00
Václav Slavík
e562de4db7 removed unneeded header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 15:23:06 +00:00
Václav Slavík
921d9418e2 better comment in wxSystemSettingsNative::GetColour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 15:22:04 +00:00
Václav Slavík
44dcb12f91 fixed wxRegion::operator==
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 15:17:22 +00:00
Václav Slavík
0a880a3181 cosmetic fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 15:16:46 +00:00
Julian Smart
5fdf0363a5 Fixed ISO-8859-11 mapping to code page under Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 14:37:24 +00:00
Vadim Zeitlin
978af86426 merge of RTL changes (with many modifications) from SOC2006_RTL branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 13:35:13 +00:00
Vadim Zeitlin
ca8d899fcb small cleanup, removed unused headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 12:12:24 +00:00
Vadim Zeitlin
e8cfff879e added wxSizer::Get/SetContainingWindow()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 12:05:49 +00:00
Václav Slavík
7f5426f09c added alpha support to generic wxColour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 11:14:29 +00:00
Václav Slavík
3d4424f702 reformatted DEFINE_STD_WXCOLOUR_CONSTRUCTORS to fit standard terminal; use wxALPHA_OPAQUE instead of 255
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 11:12:36 +00:00
Václav Slavík
3b06df5a35 removed obsolete and incorrect comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 10:56:41 +00:00
Robert Roebling
efb27c04d3 I forgot to commit this one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 08:52:29 +00:00
Jouk Jansen
6dcc13f254 OpenVMS compile support update
Modified Files:
 	wxWidgets/src/aui/descrip.mms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 06:59:24 +00:00
Robert Roebling
4fc3eebc01 Compilo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-03 20:12:44 +00:00
Robert Roebling
118f5fbd06 Commit wxComboCtrl clipping patch from J. Salli
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-03 13:21:29 +00:00
Robert Roebling
70476471b7 Added tests for run-time switch of venetian blind effect
(Patch from Bryan P).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-03 13:16:02 +00:00
Robert Roebling
ee0a94cfc2 Commited FRM's stockitem patch (empty stock items).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-03 12:23:04 +00:00
Robert Roebling
eae0338fcb Commited patch for wxSizer::Replace()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-03 11:48:49 +00:00
Vadim Zeitlin
46f36538f1 call TIFF callbacks wxTIFFFooProc instead of _tiffFooProc to avoid potential conflicts; also there is no need to use reserved identifiers here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-03 09:56:50 +00:00
Vadim Zeitlin
be0d315e66 close output stream when TIFFClose() is called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-03 09:51:13 +00:00
Vadim Zeitlin
4d70ab089f don't convert title to current encoding if input encoding is wxFONTENCODING_DEFAULT (this shouldn't be necessary and provokes an assert from wxCSConv ctor)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-02 23:36:06 +00:00
Robin Dunn
c79fdf86ad reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-02 22:29:31 +00:00
Robin Dunn
e46e7e0d83 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-02 22:21:20 +00:00
Robert Roebling
b2fcdf2b61 Don't use wxWindows::DoGetClientSize() from
wxTopLevelWindow as border with should not
    be taken into account here.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-02 22:21:19 +00:00
Robin Dunn
77aee8713e properties fixes for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-02 22:11:22 +00:00
Kevin Ollivier
3a6e98206b Adding TaskRunnerThread class, for threaded operations, along with errorOccurred and elapsedTime methods for getting information about a process.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-02 22:00:06 +00:00
Robin Dunn
8c9c423bea compile fixes for Python 2.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-02 21:53:01 +00:00
Robin Dunn
226118fcad reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-02 20:04:05 +00:00
Robin Dunn
2bf584370b reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-02 19:55:51 +00:00
Robin Dunn
0eae5d0999 Start adding some properties for getter/setter methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-02 19:46:44 +00:00
Robin Dunn
5b5d4ef2dd bump subrel number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-02 19:45:44 +00:00
Robin Dunn
b5c5355ba3 Move the language catalogs install directory on MSW from 'locale' to
'i18n' to avoid conflict (and an import warning) with the standard
locale.py module.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-02 17:43:00 +00:00
Kevin Ollivier
e87f080a88 Make archive top level dirs match that of the archive name.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-02 17:38:35 +00:00
Robert Roebling
5df3dbf91e Map iso8859-11 to codepage 874.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-02 12:54:27 +00:00
Robert Roebling
ad7b3b7682 Forgot to commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-02 12:37:25 +00:00
Robert Roebling
32205ebbce Added native GTK+ sash drawing to wxAUI.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-02 11:50:48 +00:00
Robin Dunn
a15585e0b2 fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-01 23:57:15 +00:00
Robin Dunn
e0bfbd2c74 Add InsertProvider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-01 23:37:28 +00:00
Vadim Zeitlin
8312c461b8 always let GtkTextView have mouse release events to avoid assertion failures in gtk_text_view_start_selection_drag()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-01 22:23:51 +00:00
Vadim Zeitlin
9768729112 added GTKProcessEvent() to allow controlling whether we leave or not events for the native widgets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-01 22:20:05 +00:00
Vadim Zeitlin
fe282c0878 no changes, just remove comments which don't make sense any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-01 21:46:37 +00:00
Vadim Zeitlin
2f2620215e call GTKUpdateCursor() from SetCursor()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-01 21:44:22 +00:00
Robert Roebling
6ff9dc034d Began to move wxAUI docs to latex.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-01 21:37:22 +00:00
Robert Roebling
302dc5180a Correct sizing cursor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-01 16:06:30 +00:00
Robert Roebling
fa3ebb1221 Commit ODCombo delete selection fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-01 15:38:37 +00:00
Robert Roebling
ec1e0c6634 Implement wxSetCusorEvent better than before.
This also makes wxAUI work nicely.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-01 15:32:19 +00:00
Vadim Zeitlin
dcc40ba510 compilation fix for WXWIN_COMPATIBILITY_2_6==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-01 12:46:17 +00:00
Robert Roebling
a01cbf0a7c Commit Haakan Wiman's cdata XML patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-01 11:14:36 +00:00
Vadim Zeitlin
f5791b9983 do send text changed event from SetValue(), it wasn't done when setting the value of empty single line control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-31 22:59:15 +00:00
Włodzimierz Skiba
02761f6cd4 Include wx/module.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-31 19:31:43 +00:00
Václav Slavík
1486fb5f10 fixed typo in previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-31 17:21:33 +00:00
Václav Slavík
dd7d379ebc added wxArtProvider::InsertProvider to accompany PushProvider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-31 17:00:13 +00:00
Robin Dunn
a3511a2e06 supress some unused parameter warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-31 16:34:57 +00:00
Robin Dunn
3030ae493d Aliases for [G|S]etCaretLineBack
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-31 16:02:23 +00:00
Robin Dunn
8b3d52fc71 Only use raw bitmap if it is available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-31 16:01:45 +00:00
Włodzimierz Skiba
bceff574a8 wx/image.h is listed in wx/wx.h and part of PCH support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-31 13:46:09 +00:00
Julian Smart
5dcdfe6d8a Fixed compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-31 13:40:03 +00:00
Vadim Zeitlin
2e7f384517 don't use static buffer needing a critical section to protect it for logging; this results in deadlocks if the log sink decides to log itself (and this can be very difficult to prevent) and is unnecessary anyhow as the initial goal of allowing wxLog to work even for out of memory errors has never been tested and presumably never worked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-31 11:31:02 +00:00
Robin Dunn
6a93571daf Provide an implementation for SurfaceImpl::AlphaRectangle, and rename
[G|S]etCaretLineBack


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-31 05:35:26 +00:00
Stefan Neis
be2e4015f5 Only support detection of "near the edge" coordinates, if dragging grid lines
is actually enabled (Fixes #548106 - Border of grid lines of wx.grid).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-30 22:38:14 +00:00
Robin Dunn
195a89b47c reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-30 19:29:31 +00:00
Stefan Neis
930a9efaf1 Fixed getting OS version information.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-30 17:14:57 +00:00
Paul Cornett
5c351979c3 build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-30 16:15:42 +00:00
Julian Smart
4e6cc020c3 Don't skip event if default processing has inserted a tab
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-30 12:47:29 +00:00
Michael Wetherell
ab75fdbdcd Build notes for Cygwin.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-30 11:17:14 +00:00
Michael Wetherell
3c8813b6c0 Use CPPUNIT_ASSERT_EQUAL where possible to improve messages.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-30 08:39:06 +00:00
Michael Wetherell
2c94045365 Stream inserter to wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-30 08:37:39 +00:00
Paul Cornett
0416c41834 header includes cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-30 05:55:56 +00:00
Robin Dunn
7705c34da4 Add ability to time the creation of the bitmaps using raw access, and
also compare with doing the same thign via numpy and
wx.BitmapFrombuffer.  Flesh out the docstring.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-30 00:28:41 +00:00
Robin Dunn
1ff2acae07 some efficiency tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-30 00:19:25 +00:00
Robin Dunn
9bcdb6310e Fixed premultiplying constant
Replaced my kludgy first attempt at a pixel iterator with a much more
efficient generator in PixelData.__init__.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-30 00:18:13 +00:00
Václav Slavík
198d7c6cb9 fixed crash in <sub/sup> handling (bug #1545152)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 21:08:39 +00:00
Robin Dunn
6e28ff0ce7 Give PlotCanvas the full compliment of constructor parameters again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 19:59:24 +00:00
Paul Cornett
32b9d9ff97 non-pch build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 19:45:34 +00:00
Robin Dunn
eec1c382d0 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 19:26:06 +00:00
Robin Dunn
8989034ec9 Turn off TB_TEXT by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 19:11:53 +00:00
Robin Dunn
64117075ab Mention the PixelData classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 19:00:22 +00:00
Robin Dunn
8423bd78bb some docstring changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 18:59:41 +00:00
Robin Dunn
bf64693b34 Now that the typemap is handling buffer-compatible objects correctly
we can drop wrapping the parameters in a buffer()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 18:57:28 +00:00
Robin Dunn
074d2e0449 Use PyObject_AsReadBuffer in the typemap for getting buffer or buffer
compatible  objects


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 18:56:07 +00:00
Robin Dunn
1cc14cea1c Add wxACCEL_CMD, move constants to _accel.i
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 18:53:10 +00:00
Stefan Csomor
da14a87dee make sure we are feeding coordinates of HIView instances, not wx-dimensions back into toolbar layout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 12:16:47 +00:00
Michael Wetherell
c2b2c10ed6 Warning fixes for VC5.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 09:57:41 +00:00
Stefan Csomor
119a78753d adding command key accelerator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 09:29:26 +00:00
Stefan Csomor
e3141a349e adding command key accelerator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 06:23:01 +00:00
Robin Dunn
fc46b7f37c reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 01:03:18 +00:00
Robin Dunn
a0ef52c038 new port constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 18:52:25 +00:00
Robin Dunn
58a1f9d01f Tweaked the colours a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 18:51:46 +00:00
Michael Wetherell
8dd57590c2 glibc's vswprintf doesn't nul terminate on truncation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 15:35:25 +00:00
Michael Wetherell
10b7d13cdb Compile fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 12:30:17 +00:00
Michael Wetherell
c7a855e199 Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 12:28:49 +00:00
Michael Wetherell
64e941edd4 We can't define things in someone else's namespace.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 12:27:39 +00:00
Vadim Zeitlin
d49be4203e return false from OnInit() in console build if we failed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 10:29:23 +00:00
Vadim Zeitlin
2511d95968 document maxLenght and rectBounds ctor parameters; minor cleanup (use \arg, \NULL)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 10:05:23 +00:00
Vadim Zeitlin
7106497983 added alpha support to wxCocoa, also fixed compilation after alpha changes hopefully
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 09:53:33 +00:00
Robert Roebling
df00bdf773 Corrected close button bitmap in wxAUIMultiNotebook.
Added test for wxAUIMultiNotebook to aui sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 09:38:14 +00:00
Robert Roebling
1d4758e142 Don't use wxTHICK_FRAME in the docs anymore.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 08:41:11 +00:00
Robert Roebling
a33db51cb9 Update info on wxMiniFrame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 08:37:41 +00:00
Robert Roebling
9fcdfe053a Leave a comment about drag threshold setting.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 08:33:23 +00:00
Robert Roebling
14e9ff98e6 More comments about non-native GTH widgets.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 08:29:03 +00:00
Michael Wetherell
56632e818f Use WX_CHECK_FUNCS for strtok_r.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 07:53:48 +00:00
Michael Wetherell
040b34976e Add WX_CHECK_FUNCS (instead of WX_CHECK_DECLS). It checks for functions in
both headers and libs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 07:48:26 +00:00
Robert Roebling
12125a1eff Corrected off-by-1 error in dock test.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 20:07:14 +00:00
Robert Roebling
26d18378e5 The docking logic in the top and right docking areas
was reversed. There is still an off-by-1 error that
    makes the toolbar jump in the bottom dock, not in
    the top dock.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 19:58:56 +00:00
Stefan Neis
b6f802f88a Removed more references to removed source file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 18:16:55 +00:00
Stefan Neis
8ab09e65f9 Fixed OS/2 specific defines (there's no such thing as WXOS2).
Added the more commonly used wxPORT_PM as alias for wxPORT_OS2.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 16:40:17 +00:00
Stefan Neis
d1c3843c77 Removed no longer needed/existing file os2/gdiobj.cpp from filelist.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 16:36:41 +00:00
Stefan Neis
109c92042a Changed font generation to follow new pattern of other ports more closely.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 16:27:50 +00:00
Robert Roebling
97d483e41a Correct calculation of sticky toolbar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 15:45:12 +00:00
Robert Roebling
1e7373d0d3 Change drag threshhold (why was it multiplied
by 2 before?).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 15:42:09 +00:00
Vadim Zeitlin
fb8bf382fb started making the list of widgets not implemented natively in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 15:19:39 +00:00
Robert Roebling
c3008402f7 Made toolbars sticky, i.e. you need to drag them
several (and not just one) pixels away from the
    docking area to make them undock/float. This
    removes some more toolbar jumping.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 15:19:39 +00:00
Vadim Zeitlin
e5e0c72763 call Update() from SetStatusText() to ensure that the message is shown to the user immediately
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 15:13:36 +00:00
Vadim Zeitlin
737d3175f3 relax DFB version requirements to work with 0.9.22 and not only the latest 0.9.25
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 13:45:58 +00:00
Vadim Zeitlin
dc4451c2c4 DFEC_UNIVERSAL is not available in DirectFB < 0.9.23, use wxCHECK_DFB_VERSION() around it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 13:15:29 +00:00
Vadim Zeitlin
9800ae335a added wxCHECK_DFB_VERSION() macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 13:13:41 +00:00
Vadim Zeitlin
5540f0ba6c removed g_eraseGC and wxWinModule used for initializing it as it was unused
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 10:12:10 +00:00
Robert Roebling
d1f5ad175c Removed one of the jumping toolbar artefacts.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 10:10:16 +00:00
Vadim Zeitlin
5dd7eef7de assert that GTKGetWindow() returns non-NULL GdkWindows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 10:04:28 +00:00
Václav Slavík
b3c861501a initial (not yet working) code for DirectFB port
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 09:42:42 +00:00
Václav Slavík
4c75209fc3 made wxCSConv fall back to iso-8859-1 if wxFONTENCODING_SYSTEM is specified and wxLocale cannot be used to determine the default charset because wxUSE_INTL=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 09:29:25 +00:00
Stefan Csomor
a0afe18fcf hint to alpha colours added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 09:23:58 +00:00
Robin Dunn
97c7d01d12 Rename the C++ Iterator class to Accessor, and add a Python Iterator
class that implements the Python itrerator interface.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 09:16:46 +00:00
Stefan Csomor
36d55705af adding alpha channel doc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 09:13:44 +00:00
Robin Dunn
ecc0e221ee Add raw bitmap access sample to the demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 09:11:47 +00:00
Paul Cornett
5e26ba70aa GTK+ paints during idle time, it doesn't need help with that
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 00:57:37 +00:00
Robin Dunn
c4caf81dbc Do premultiplication in wx*PixelData_Iterator::Get and Set
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 00:46:22 +00:00
Paul Cornett
c7b2e4941f returning true is sufficient to stop signal emission
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 00:31:39 +00:00
Vadim Zeitlin
0228081ff2 don't crash when EnsureVisible() is called for the hidden root item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 22:26:53 +00:00
Vadim Zeitlin
23c2b62bb4 don't call EnsureVisible(tree->GetRootItem()) for a tree with hidden root, this crashes under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 22:21:11 +00:00
Paul Cornett
1481968400 use "event" signal emission hook to install idle handler for many events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 22:07:45 +00:00
Paul Cornett
1136ac0b7c don't tie up cpu in idle loop when showing assert dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 22:04:21 +00:00
Robin Dunn
9f54c187b0 Patch #1547057: Disable grid lines in wx.lib.printout.PrintTable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 21:15:40 +00:00
Robin Dunn
8c29915355 Patch from Will Sadkin:
- Fixed masked.numctrl to properly limit integer controls, and
   also handle '-.00' properly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 21:13:58 +00:00
Robin Dunn
d464551409 wxURLDataObject has a parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 20:40:24 +00:00
Robin Dunn
28cc717d5a Add alpha component to wxColour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 20:37:29 +00:00
Paul Cornett
d281df5096 add needed includes, remove unneeded ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 18:37:51 +00:00
Paul Cornett
4f13428c4f correct idle tag type; remove unneeded includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 18:36:19 +00:00
Paul Cornett
6a55573961 remove special pending idle callback, pending events are handled by common code; remove unneeded includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 18:35:03 +00:00
Stefan Csomor
a69aabc360 adding constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 16:16:16 +00:00
Stefan Csomor
151dab1197 getting rid of unused param warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 13:43:15 +00:00
Stefan Csomor
83b445a666 adding alpha to core graphics dc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 13:35:08 +00:00
Stefan Csomor
fa8bc37bc2 adding alpha to wxColour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 13:33:09 +00:00
Robin Dunn
f2a2796dae Removed wxHTML_FONT_SIZE_x
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 00:53:25 +00:00
Robin Dunn
25e29eb243 ComputeScaleAndOrigin not protected anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 00:52:46 +00:00
Robin Dunn
361bd11400 Avoid deprecation warnings for BeginDrawing and EndDrawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 00:28:41 +00:00
Vadim Zeitlin
1f5cf9cc23 don't set cursor for not realized (and not only hidden) windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 22:50:30 +00:00
Vadim Zeitlin
2d97237dac override OnAssertFailure(), not OnAssert() which is not called by wxOnAssert() any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 22:48:07 +00:00
Robin Dunn
543a99218d Use the width of the widest line (not the first line) for the max
width of the tooltip.  Also, don't set a narrower width if the tooltip
control already has a wider one.  It will automatically adjust smaller
if needed based on the \n's in the text.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 22:12:07 +00:00
Robin Dunn
4d9de11075 Add wx.App.DisplayAvailable() which can be used to determine if a GUI
can be created in the current environment.  (Still need an
implementation for wxMSW...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 21:53:12 +00:00
Robin Dunn
086ee959df workaround sizing bug on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 19:49:15 +00:00
Robin Dunn
6c7fd46620 workaround sizing bug on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 19:45:24 +00:00
Vadim Zeitlin
dabb05ac5b quote an underscore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 17:26:57 +00:00
Vadim Zeitlin
8fe79cfc42 removed extra '}'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 17:23:01 +00:00
Vadim Zeitlin
ba804ab2d4 don't hardcode HTML font sizes, this makes wxHtmlWindow look really ugly when default font size is not 12, base the default font sizes on wxNORMAL_FONT instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 16:52:58 +00:00
Vadim Zeitlin
6c6a3e8a23 shouldn't update cursor for hidden windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 16:05:56 +00:00
Vadim Zeitlin
73865dad6e remove the object from wxPendingDelete list before deleting it to avoid infinite loop if DeletePendingObject() is reentered from object dtor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 15:49:11 +00:00
Włodzimierz Skiba
449210a44c Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 14:09:34 +00:00
Vadim Zeitlin
fe24a9451e reset busy cursor checkbox when switching to another control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 13:23:47 +00:00
Vadim Zeitlin
5478f2210d changed GTKCallbackCommonPrologue() to return -1 in addition to true and false to allow returning immediately with true return code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 13:22:32 +00:00
Vadim Zeitlin
06a7419e71 forgot GTKSetDelayedFocusIfNeeded() call in the last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 13:07:16 +00:00
Vadim Zeitlin
1c2b98d6f5 Many changes:
- Introduced GTKGetWindow() which returns all GdkWindows associated with the
  given wxWindow
- Renamed IsOwnGtkWindow() to GTKIsOwnWindow() to avoid confusion with the old
  virtual function (the new one is non-virtual and is implemented in terms of
  GTKGetWindow())
- Refactored/simplified event handlers code in gtk/window.cpp
- Fixed some header guards names (__GTKFOO__ -> _WX_GTK_FOO_H_)
- Added GTKUpdateCursor() which sets the current cursor for all windows
  returned by GTKGetWindow()
- Factored out code from many different classes in wxControl::OnInternalIdle()
  which now updates the cursor, checks for internal focus and sends update UI
  events


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 13:06:19 +00:00
Vadim Zeitlin
ef5c70f96f Many changes:
- Introduced GTKGetWindow() which returns all GdkWindows associated with the
  given wxWindow
- Renamed IsOwnGtkWindow() to GTKIsOwnWindow() to avoid confusion with the old
  virtual function (the new one is non-virtual and is implemented in terms of
  GTKGetWindow())
- Refactored/simplified event handlers code in gtk/window.cpp
- Fixed some header guards names (__GTKFOO__ -> _WX_GTK_FOO_H_)
- Added GTKUpdateCursor() which sets the current cursor for all windows
  returned by GTKGetWindow()
- Factored out code from many different classes in wxControl::OnInternalIdle()
  which now updates the cursor, checks for internal focus and sends update UI
  events


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 12:59:28 +00:00
Włodzimierz Skiba
d5eb08546f Missing API.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 11:21:14 +00:00
Jouk Jansen
097b868b5a Patches for OpenVMS port
Modified Files:
wxWidgets/setup.h_vms wxWidgets/src/common/descrip.mms
 	wxWidgets/src/generic/descrip.mms
 	wxWidgets/src/gtk/descrip.mms wxWidgets/src/gtk1/descrip.mms
 	wxWidgets/src/motif/descrip.mms wxWidgets/src/x11/descrip.mms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 06:56:52 +00:00
Paul Cornett
d0e7975501 set depth to 32 when creating pixbuf from wxImage with alpha; correct a few comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 06:27:34 +00:00
Robin Dunn
777dffec69 Add wrappers for wxNativePixelData and wxAlphaPixelData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 03:30:20 +00:00
Robin Dunn
7499bd8874 Still check for a Python error in %threadWrapperOff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 03:21:18 +00:00
Robin Dunn
44d669c880 Default construcctor for Iterator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 03:19:06 +00:00
Michael Wetherell
9aecec9a94 Add apptrait.h for msdos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 21:18:18 +00:00
Vadim Zeitlin
3e85973919 prevent selecting the treebook items without corresponding pages to ensure that CurrentPage() always returns something non NULL and removed the checks for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 21:05:20 +00:00
Vadim Zeitlin
9f30729a03 don't reset the selection after event was vetoed if there is no old selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 21:00:07 +00:00
Vadim Zeitlin
e32bcef6e7 added tests for setting the cursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 20:26:59 +00:00
Michael Wetherell
73dd8b2deb Implement wxIsPlatform64Bit().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 20:24:08 +00:00
Michael Wetherell
38a097f588 Missing exports.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 19:35:46 +00:00
Vadim Zeitlin
20f4b56686 fix compilation both for Robert's cross-compiler and for all normal compilers by just removing the offending m_item initialization line which is unnecessary anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 18:07:40 +00:00
Vadim Zeitlin
27dee9ae02 try to deal more gracefully (than simply not showing anything at all) with invalid UTF-8 strings (e.g. ISO-8859-1 strings inserted in controls with default (UTF-8) font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 17:50:10 +00:00
Włodzimierz Skiba
a6e8c584db WinCE build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 17:43:42 +00:00
Włodzimierz Skiba
8394f0a06b Follow OnOK changes in wxDialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 16:33:28 +00:00
Włodzimierz Skiba
99713fe395 After adding check to wx/mgl/chkconf.h for UNIV flag, our regex needs this flag delivered by makefiles (with rebaking).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 16:08:21 +00:00
Włodzimierz Skiba
1d29ae8b5d Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 15:40:00 +00:00
Włodzimierz Skiba
09fe7dc672 Avoid conflict between new transparency API and old background support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 15:37:25 +00:00
Włodzimierz Skiba
374e9b153f Blind wxTinderbox fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 14:52:50 +00:00
Włodzimierz Skiba
b41b2a052a wx\settings.h is part of PCH support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 14:47:18 +00:00
Włodzimierz Skiba
803c61bf2d Keep wxPalmOS buildable - wxIcon and wxCursor moved to generic implementations.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 14:43:20 +00:00
Włodzimierz Skiba
e56880a0ef Keep wxPalmOS buildable - event table moved to base class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 14:35:48 +00:00
Włodzimierz Skiba
b4ea182b39 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 14:33:43 +00:00
Włodzimierz Skiba
cdbce971ec Keep wxPalmOS buildable - missing functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 14:27:41 +00:00
Robert Roebling
85a0a12a9c Added resize support to wxMiniFrame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 11:08:42 +00:00
Robert Roebling
c67e060d09 Suppress warning from wxMiniFrame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 10:01:40 +00:00
Robert Roebling
c4d3971185 revert bits for XBM bitmaps under MSW
adapt XBM usage in wxAUI to this logic


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 09:54:36 +00:00
Robert Roebling
e1b1b6be56 Reenable inversion code again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 09:35:06 +00:00
Stefan Neis
27875fd021 Removed no longer needed "DECLARE_EVENT_TABLE()" completing the previous change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 07:36:37 +00:00
Paul Cornett
a7cfe08aff allow white as mask color when creating mask from mono bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 04:41:45 +00:00
Paul Cornett
f9562c6b2d correct access for virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 04:41:29 +00:00
Robert Roebling
6d976005cf Use the same colour for miniframe title bar and
wxAUI title bars.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 21:36:26 +00:00
Robert Roebling
ff03f56707 Use close button used in wxMiniFrame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 21:08:43 +00:00
Robert Roebling
00e4ffbc23 Readded close button to wxMiniFrame and use the
close XBM similar to the one used in Anjuta's
    docking library.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 21:07:33 +00:00
Robert Roebling
ba938d0788 Comment out suspicious 1-bit bitmap conversion
which happens to break wxAUI (its close button).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 20:01:34 +00:00
Václav Slavík
86766dfdad fixed HTML colours parsing after patch #1473731 ('wxColourBase and wxString <-> wxColour implementation') broke it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 19:07:15 +00:00
Robert Roebling
f8a1394935 Comment out direction aware code for now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 18:22:03 +00:00
Vadim Zeitlin
dad0c6d322 clarified LeftIsDown() behaviour for left click events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 15:11:35 +00:00
Robert Roebling
d02d8b4c27 Add opaque move support to wxGTK's wxMiniFrame.
Use it in wxAUI (much less flicker and frame
    activation problems). wxMiniFrame and the
    Docked panes in wxAUI should use the same
    code to draw titlebar etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 14:02:53 +00:00
Vadim Zeitlin
c959d91228 documented wxURLDataObject
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 13:47:22 +00:00
Vadim Zeitlin
0463eea95d allow passing URL to wxURLDataObject ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 13:38:45 +00:00
Vadim Zeitlin
0d91b2342a respect the encoding of the text style and not only the global control font encoding when inserting the text in the control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 13:33:04 +00:00
Vadim Zeitlin
7581272214 no real changes, just use IsSingle/MultiLine() insteadof testing m_windowStyle directly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 13:04:05 +00:00
Robert Roebling
322c5ec4c0 Added direction sensitive docking.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 11:17:13 +00:00
Václav Slavík
dbfa7f339c compilation fix for !wxUSE_BUTTON
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 10:45:51 +00:00
Václav Slavík
452b624353 set wxUSE_TOOLBAR_NATIVE to 0 when --enable-universal is used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 10:15:43 +00:00
Václav Slavík
27cc91429d removed wxUSE_TOOLBAR_SIMPLE leftovers from the main sources, it's not used anywhere anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 09:54:29 +00:00
Robin Dunn
59b7a28003 pass useMask=true for the toucan images
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 02:35:06 +00:00
Robin Dunn
1d1972fce1 Premultiply the alpha on wxMSW in the BitmapFromBuffer* functions so
the programmers don't have to worry about it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 01:52:20 +00:00
Robin Dunn
0dcc6f2287 Add BitmapFromBuffer demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 01:49:28 +00:00
Robin Dunn
c7deb4ab80 Always create the pixmap with an alpha channel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 01:18:27 +00:00
Robin Dunn
8ef089485c Show use use of both wxNativePixelData and wxAlphaPixelData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 01:17:02 +00:00
Robert Roebling
0ae3bace9b Skip double size events.
Skip movements of floating pane when moving fast.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 22:47:50 +00:00
Robert Roebling
e65fbef69d Set size of hint window before showing it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 22:37:15 +00:00
Robert Roebling
1417c81163 Forgot this one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 22:14:23 +00:00
Michael Wetherell
82a2636b8c Switch to AC_CHECK_DECLS instead of WX_CHECK_DECLS.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 21:55:01 +00:00
Robert Roebling
7317857df7 Add the new showOnIdle code to various other
widget which override OnInternalIdle().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 21:50:28 +00:00
Michael Wetherell
0f5ba0fb0c Revert last commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 21:47:09 +00:00
Michael Wetherell
5acfd58da0 Add WX_CHECK_DECLS macro and try it out on strtok_r. Otherwise the test for
strtok_r succeeds on Minix though the function is not available.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 21:15:21 +00:00
Michael Wetherell
047cffd261 For an unknown generic unix system make --with-x11 --disable-shared the default.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 20:17:36 +00:00
Paul Cornett
2260bc5fb1 prevent linker from discarding wxStockGDIMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 19:36:27 +00:00
Michael Wetherell
1f7c2c9a81 Compile fix for Minix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 19:07:21 +00:00
Michael Wetherell
5b8ee5dec9 Use string.h instead of memory.h, since some system don't have memory.h and
string.h is the standard header.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 19:04:45 +00:00
Paul Cornett
cc65c5f9d8 build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 19:03:22 +00:00
Robin Dunn
238ba802f1 Added wx.BitmapFromBuffer and wx.BitmapFromBufferRGBA factory functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 17:27:42 +00:00
Robin Dunn
bf7df69ef6 Refactored wx.ImageFromBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 17:23:54 +00:00
Robert Roebling
8d361e8353 Commited Bryan Petty's blind fix patch.
Added event.Skip() to size event handler
    in frame manager and removed the wrong
    work around for this.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 12:30:07 +00:00
Robert Roebling
f46ad98f0d Added intermediate state (m_showOnIdle) indicating that
time must be given to a window to get placed correctly
    before it is shown. The avoids jumping windows.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 12:26:22 +00:00
Vadim Zeitlin
cea0869cdf fixed a crash and a leak in GetShortcutTarget() (closes bug 1541321)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 12:21:24 +00:00
Vadim Zeitlin
4f92e6ef06 mention wxPathList change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 11:42:03 +00:00
Vadim Zeitlin
de47428c46 add round trip wxTextCtrl::Get/SetValue() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 11:19:06 +00:00
Vadim Zeitlin
13f095d26d don't force UTF-8 encoding to ISO-8859-1 for GTK+ 2, it may have been necessary for GTK+ 1 but definitely not 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 11:05:03 +00:00
Vadim Zeitlin
63a8f2d351 use size of wxNORMAL_FONT instead of hard coded 12 points
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 10:32:48 +00:00
Vadim Zeitlin
c6b7296035 added "set encoding" menu item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 10:29:32 +00:00
Vadim Zeitlin
1baec21fce allow entering font description string interactively
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 10:07:35 +00:00
Paul Cornett
00f79e3471 use wxModule to ensure proper initialization order for wxStockGDIMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 03:08:01 +00:00
Robert Roebling
89579a60d7 Don't emit bogus size events if a child window
is inserted into a frame or dialog.
  I don't know why I wrote that non-sense back
    then, but wxMSW doesn't do it either.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 23:13:42 +00:00
Robin Dunn
4f708f05dc Added wx.lib.combotreebox from Frank Niessink
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 18:32:48 +00:00
Robin Dunn
b58d5e2d95 Move CanSetTransparent and SetTransparent up to wxWindowBase since
wxMac can handle transparency at that level.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 18:30:34 +00:00
Robin Dunn
4caf1fc560 Adapt to some wxDC methods becoming protected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 18:28:35 +00:00
Robin Dunn
d4a724d407 Make it possible to tell wxXmlResource which domain to pull
translatable strings from.

Make the wxLocale::GetString methods virtual so they can be overridden
in derived classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 18:27:15 +00:00
Robin Dunn
4e9080bc8e fix label
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 17:32:58 +00:00
Robin Dunn
47f116ccbf Added test of using CalendarDateAttr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 17:32:18 +00:00
Robin Dunn
340515d36d Recognize the numpad cursor keys too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 16:48:25 +00:00
Stefan Csomor
ab718f6e4c still overriding the escape key
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 15:57:08 +00:00
Stefan Csomor
e371ec7a3c removing unneeded event table
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 14:41:49 +00:00
Robert Roebling
a680f9a170 Fix same compilation again, I guess 0 was
meant to initialize the wxTreeItemId to
    nothing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 14:15:46 +00:00
Robert Roebling
03e7d1397e Fix compilation under MSW with GCC cross.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 14:12:12 +00:00
Vadim Zeitlin
ab73fe8d1d added stock menu items support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 22:24:57 +00:00
Stefan Neis
4cc49137de Added stub for wxIsPlatform64Bit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 16:32:21 +00:00
Vadim Zeitlin
a9f620daf4 don't use dynamic handlers for standard buttons as this prevents static event handlers in derived classes from working; just catch all button events in a static handler instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 14:02:51 +00:00
Stefan Neis
3857173d3c Removed event table as these things are now handled by wxDialogBase.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 13:29:42 +00:00
Vadim Zeitlin
f9d0e43901 create status bar to see wxLogStatus messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 12:14:41 +00:00
Vadim Zeitlin
75deeb0dee removed unneeded cast to wxWindowDC in DrawItemSelectionRect()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 11:04:54 +00:00
Vadim Zeitlin
fabd7a7fa1 connect the affirmative/cancel button handlers to new ids, not old ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 10:54:50 +00:00
Vadim Zeitlin
6e26ace6f1 set wxID_CLOSE as affirmative id, not cancel id, this makes more sense for this dialog even if the effect is the same
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 10:52:52 +00:00
Vadim Zeitlin
153a0b7831 map Esc to GetAffirmativeId() instead of hardcoded wxID_OK when escape id is wxID_ANY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 10:39:55 +00:00
Vadim Zeitlin
684e5b95a6 updates for wxDialog affirmative/escape id buttons handling changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 10:38:55 +00:00
Vadim Zeitlin
551f281b79 handle the buttons with ids specified in SetAffirmative/CancelId() as Ok/Cancel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 10:30:26 +00:00
Mattia Barbon
64fb0e2088 Allow building when WXINTL_NO_GETTEXT_MACRO is defined.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 09:44:41 +00:00
Robin Dunn
9389458452 Updates from Eli
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 05:09:17 +00:00
Robin Dunn
d6d222febb Change Miki's email address
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 04:49:34 +00:00
Robin Dunn
90fb367e86 Add dtor for wxCalendarDateAttr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 04:46:07 +00:00
Robin Dunn
09c4bfc330 Various updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 04:20:58 +00:00
Robin Dunn
a86960861f Add ImageFromBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 04:19:39 +00:00
Vadim Zeitlin
db927071d5 don't use deprecated wxStripMenuCodes overload
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 23:21:18 +00:00
Vadim Zeitlin
ba7a4bfbbb don't use the hack with handling wxID_CLOSE button events in wxDialog::OnCancel(); simply map Esc to wxID_CLOSE instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 23:19:07 +00:00
Vadim Zeitlin
c2e9ada498 tidy up configure output, don't show gnomeprint/vfs/hildon for non-GTK ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 23:17:07 +00:00
Vadim Zeitlin
86508681d4 don't call base class OnOk() directly, use EndDialog() instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 23:04:37 +00:00
Vadim Zeitlin
2158f4d798 moved all wxDialog event handlers to wxDialogBase to avoid code duplication
(sixplication?) among ports; as a side effect added public wxDialog methods to
wxDialogBase as well and moved EndDialog() (previously implemented by wxMSW,
wxMotif, wxMac and wxCocoa but not the other ports) to wxDialogBase too


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 22:56:11 +00:00
Vadim Zeitlin
0be2741893 centralized Esc key handling for closing the dialogs in wxDialogBase:
1. added wxDialogBase::OnCharHook() and removed this event handler from
   all the other ports
2. also removed ad hoc code doing the same thing in wxMSW (MSWProcessMessage()
   override in wxDialog) and wxGTK (in gtk_window_key_press_callback())
3. reimplemented EmulateButtonClickIfPresent() portably and also moved it
   to wxDialogBase from wxMSW wxDialog


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 22:36:10 +00:00
Paul Cornett
8f4931874c use wxChar* instead of wxString for string constants, cuts object size by ~1200 bytes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 22:21:51 +00:00
Vadim Zeitlin
654ffe9f19 compilation fix after wxPlatformInfo patch: use wxOS_WINDOWS_CE instead of wxWinPocketPC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 22:17:08 +00:00
Vadim Zeitlin
dda7d36fbf removed #ifdef wxTopLevelWindowNative -- it's now defined for all ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 21:48:33 +00:00
Paul Cornett
772b376785 simplify coordinate transformation code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 21:30:06 +00:00
Paul Cornett
b34497d885 configure test for round
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 21:28:18 +00:00
Robin Dunn
82184c0abf Patch #1540143 Add optional labelwidths to filebrowsebutton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 21:16:18 +00:00
Robin Dunn
ca501b065e Use global font and pen to reduce GDI objects created. Patch #1540457
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 19:22:23 +00:00
Vadim Zeitlin
3a1a76a8be update the item width when making it bold, otherwise the selection highlight was too small after an item was made bold (and too big after it was reset to normal)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 14:17:26 +00:00
Vadim Zeitlin
22c9b21132 refactoring/simplification of code dealing with scrollbars and their events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 10:53:37 +00:00
Vadim Zeitlin
4e9be62bb3 ScrollLines() didn't use correct step_increment, so e.g. wxTextCtrl scrolled in tiny steps instead of by lines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 10:05:59 +00:00
Julian Smart
4bded47dea Shouldn't need to repeat the extern
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 08:45:31 +00:00
Julian Smart
a8df838912 Compile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 08:44:33 +00:00
Julian Smart
2bd5019102 Added missing include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 08:40:59 +00:00
Julian Smart
98080d5c19 wxFileName size patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-18 20:56:34 +00:00
Paul Cornett
280831d5dd code simplification and cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-18 17:06:09 +00:00
Julian Smart
23b8a26299 Applied patch [ 1531615 ] size support for wxFileName
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-18 15:30:28 +00:00
Julian Smart
95f090310c Corrected VC++ compilo (not yet tested)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-18 15:27:30 +00:00
Chris Elliott
25f70bc4a1 add #if wxUSE_AUI to get VC6 with no wxUSE_AUI to compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-18 08:05:41 +00:00
Michael Wetherell
b9d4a1b769 Crash fix from Tim Kosse.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-17 22:57:14 +00:00
Paul Cornett
286b8de534 remove Win32S-specific code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-17 18:48:03 +00:00
Václav Slavík
2fd85ab3e8 avoid calling wxSystemSettings::GetMetric() from wxIconBundle::GetIcon() unless the returned value is really needed to choose from >1 icons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-17 16:08:13 +00:00
Paul Cornett
406d283a64 build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-17 03:02:15 +00:00
Michael Wetherell
3ecd9f92e4 Regereate after updating the m4 macros.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-16 20:35:04 +00:00
Michael Wetherell
e321ac6160 Bring through upstream version tagged SDL_1_2_11.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-16 19:56:02 +00:00
Michael Wetherell
991a9f9710 Bring through upstream version tagged PKGCONF_0_20.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-16 19:51:18 +00:00
Michael Wetherell
5a0bcf1f34 Allow unknown generic unix systems.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-16 19:31:12 +00:00
Michael Wetherell
b45b79f286 Display 'no' when the test fails and correct quoting.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-16 19:21:16 +00:00
Michael Wetherell
6a4d465c26 Bring upstream version tagged ACARC_2006_07_16 through from vendor branch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-16 19:06:23 +00:00
Václav Slavík
b98bd6af23 wxPlatformInfo::IsUsingUniversalWidgets() was broken by design, it couldn't work in wxBase shared by 2+ wxCores; fixed by making it non-static and moving its implementation back to wxAppTraits (where its equivalent used to be) and making small API changes implied by that
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-16 17:18:34 +00:00
Paul Cornett
e74f9041c4 revert last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-16 16:27:11 +00:00
Václav Slavík
d441742626 fixed syntax errors (incorrect use of _)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-16 16:17:59 +00:00
Václav Slavík
6eb1fe1cc4 documented wxAppTraits::GetPlatformInfo doesn't exist, removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-16 15:42:55 +00:00
Václav Slavík
5819f832e6 moved IMPLEMENT_DYNAMIC_CLASS(wxGDIObject,wxObject) line to gdicmn.cpp so that we don't have to have several identical gdiobj.cpp files containing only it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-16 14:53:49 +00:00
Michael Wetherell
a87f2821ad Declarations missing from VC++ 5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-16 12:21:20 +00:00
Michael Wetherell
ac55e0a1a8 Avoid warnings from VC++ 5.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-16 12:17:05 +00:00
Václav Slavík
77f15ffe92 warning fix for !wxUSE_FONTMAP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-16 10:31:48 +00:00
Stefan Neis
074feed0f1 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-16 09:01:25 +00:00
Paul Cornett
91a3623fc3 (blind) build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-16 06:50:24 +00:00
Vadim Zeitlin
f523d7ce03 Intel compilation fix (patch 1540790)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-15 18:02:35 +00:00
Chris Elliott
9259ed345d Borland compiler does not like a variable called except
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-15 18:00:30 +00:00
Paul Cornett
216c354363 build fix: don't use compatibility names in wx code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-15 16:35:32 +00:00
Vadim Zeitlin
f2bbd25d26 removed obsolete build files which are likely to confuse more than help people now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-15 13:10:50 +00:00
Vadim Zeitlin
7430e3216b clarify LeftIsDown() description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-15 13:02:02 +00:00
Vadim Zeitlin
6deb397d29 resolve IsWow64Process() dynamically; don't rely on its declaration being present in the headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-15 12:59:22 +00:00
Stefan Csomor
e8c502aff3 making sure the hint window does not have a (white) titlebar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-15 06:26:40 +00:00
Paul Cornett
f566c8e2b6 non-pch build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-15 03:16:31 +00:00
Paul Cornett
b20ca9976d needs wx/string.h to compile independently
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-15 03:16:29 +00:00
Vadim Zeitlin
37f11dee39 don't execute code unnecessarily/twice (patch 1539690)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-14 22:34:34 +00:00
Alex Bligh
648af63a53 Fix unicode build on UNIX operating systems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-14 21:58:38 +00:00
Paul Cornett
5ac1d44aa4 Combine two wxImage-to-pixmap creation functions into one.
Use consistent method for creating mono bitmap in wxBitmap and wxMask.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-14 06:26:35 +00:00
Vadim Zeitlin
8f3773fdfd disable positional printf params for now as there are problems with our vsnprintf() version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-14 00:38:23 +00:00
Vadim Zeitlin
c655557fa6 wxGetOsVersion() compilation andl inking fixes for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 22:43:30 +00:00
Vadim Zeitlin
ab346e1c7e removed code for non-compositing case to fix the compilation after recent commits
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 22:39:48 +00:00
Vadim Zeitlin
89bb8035c8 compilation fixes after recent wxFontEnumerator changes in USE_NATIVE_FONT_DIALOG_FOR_MACOSX == 0 case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 22:36:50 +00:00
Vadim Zeitlin
78e9b418da corrected signed/unsigned comparison warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 21:12:50 +00:00
Vadim Zeitlin
fc1dea3de0 regenerated after adding platinfo.{h|cpp}
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 21:10:59 +00:00
Vadim Zeitlin
714cfcbd46 remove extraneous commas and semicolons (patch 1537792)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 21:04:27 +00:00
Vadim Zeitlin
8bb6b2c057 wxPlatformInfo (patch 1532064)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 21:00:32 +00:00
Vadim Zeitlin
10d878a9ea fix printf() argument type in GetOsInfo()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 20:30:17 +00:00
Chris Elliott
047aa29670 fix borland error about string refernce
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 12:12:55 +00:00
Paul Cornett
9be3f7558d wxBitmap does not need to use gdk_wx_draw_bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 05:56:27 +00:00
Paul Cornett
13785a4b8f more accurate mask creation for low color displays
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 05:12:18 +00:00
Vadim Zeitlin
005eba5abd fixed crash if the control is moved while the popup is open (patch 1539194)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 01:24:30 +00:00
Vadim Zeitlin
c667b518d1 fixes for several fatal problems when using wxComboCtrl as popup (patch 1539124)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 01:22:37 +00:00
Vadim Zeitlin
da557e0945 corrected example of GetUserConfigDir() return value under Windows (patch 1538788)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 01:20:06 +00:00
Vadim Zeitlin
004f400287 remove extraneous commas and semicolons (patch 1537792)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 01:17:53 +00:00
Vadim Zeitlin
ad6791377d fixed SetSelection(-1) for controls with multiple selection (patch 1537282)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 01:13:53 +00:00
Vadim Zeitlin
829d1102d2 don't rely on system snprintf() for the tests (patch 1532503)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 01:08:35 +00:00
Vadim Zeitlin
178b97779d corrected typo in DEFAULT_wxUSE_PRINTF_POS_PARAMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 01:07:07 +00:00
Vadim Zeitlin
523cd68ad4 fixed wrong test (patch 1532411)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 01:05:19 +00:00
Vadim Zeitlin
d870a03054 added wxULongLong::ToDouble() (patch 1531597)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 00:44:44 +00:00
Vadim Zeitlin
9e68717c92 F4 key also toggles combobox popup under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 00:41:42 +00:00
Vadim Zeitlin
b445b6a76e better key handling for MSW and GTK (patch 1526666)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 00:35:02 +00:00
Vadim Zeitlin
d1af8e2dd9 added wxDir::FindFirst() (modified patch 1525502)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 00:23:58 +00:00
Paul Cornett
afbfbfdf2b use GDK to convert pixmap to RGB for wxImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-12 21:39:22 +00:00
Stefan Csomor
6d4835dccb adding support for embedded controls in native toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 19:57:28 +00:00
Paul Cornett
4d1ebc8664 change deprecated gdk_image_get to gdk_drawable_get_image
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 17:34:54 +00:00
Václav Slavík
dad5ae6ddc compilation fix for compilation w/o precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 12:17:15 +00:00
Paul Cornett
5588ce9276 code simplification and minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 05:14:19 +00:00
Stefan Csomor
431a371933 compilo introduced fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 04:41:11 +00:00
Stefan Csomor
a9b456ff08 removing non-compositing code, adding individual transparency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 04:39:23 +00:00
Stefan Csomor
bc78039c5f fix for 64 bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 04:32:56 +00:00
Stefan Csomor
a62f32af00 removing code for pre 10.3 systems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 04:31:33 +00:00
Stefan Csomor
b86db821bf we're always compositing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 04:29:11 +00:00
Stefan Csomor
0973b7df99 fixing compilo for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 04:28:16 +00:00
Stefan Csomor
3a5ff9b13b committing the code for resolution independence (turned off)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 04:26:16 +00:00
Stefan Csomor
f21449aead we are always compositing on the supported OS versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 04:23:39 +00:00
Stefan Csomor
e779b60938 we are always compositing on the supported OS versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 04:17:19 +00:00
Stefan Csomor
29a7b4d041 we are always compositing on the supported OS versions, add transparency for individual controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 04:04:36 +00:00
Stefan Csomor
f18dcf044f we are always compositing on the supported OS versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 04:01:55 +00:00
Václav Slavík
07f52d8baa moved duplicated wxRegionContain definitions to wx/region.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 20:16:15 +00:00
Vadim Zeitlin
a5ba65d307 compilation fix: remove wxRegionContain enum which is now defined in wx/region.h itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 19:56:32 +00:00
Paul Cornett
6be2e1ffd5 revert unintended checkin of experimental change to Rescale()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 18:41:12 +00:00
Paul Cornett
c19bfe363b avoid using deprecated gdk_image_new_bitmap()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 16:04:07 +00:00
Vadim Zeitlin
cc87fbed40 removed wxHtmlWindow::m_Style which duplicated wxWindow::m_windowStyle and prevented changeing wxHW_XXX window style after Create() from working
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 15:46:49 +00:00
Vadim Zeitlin
f242653114 move the logic for changing notebook pages using the standard Ctrl-Tab/PageUp/Dn keys even when focus is outside of the notebook to wxControlContainer from wxTopLevelWindowMSW to allow it work for notebooks whose parent is not a TLW (as a side effect, this now also works in all ports although I don't really know how desirable this is)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 15:42:07 +00:00
Václav Slavík
be2001fedd moved duplicated wxRegionContain definitions to wx/region.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 14:26:55 +00:00
Václav Slavík
123343b372 compilation fix for compilation w/o precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 13:53:25 +00:00
Michael Wetherell
9576853579 Add parameter to the --enable-universal_binary option for the path to the SDK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 13:38:23 +00:00
Julian Smart
a02f7807ce Need include so user code can access book control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 12:43:38 +00:00
Václav Slavík
3da12c22f2 moved mgl/colour.{cpp,h} to generic so that it can be reused by other ports without native colour representation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 11:16:30 +00:00
Václav Slavík
de370efe24 check that wxUniv is enabled when compiling for wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 10:09:34 +00:00
Stefan Csomor
9a62fa17b1 using newer API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 05:31:13 +00:00
Kevin Ollivier
c7f200e9c5 Adding technotes about the release system and about adding apps/screenshots to the wxWidgets.org front page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 04:05:50 +00:00
Vadim Zeitlin
6dd21271d9 empty spin range is valid and even useful (at least for testing purposes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 00:45:37 +00:00
Vadim Zeitlin
9323249903 fixes for SetRange(): ensure that the value is valid for the new range; update the visible state of the spin arrows when range becomes [in]valid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 00:44:44 +00:00
Vadim Zeitlin
5ec60151bf added NormalizeValue() which can be used to ensure that the control value is in range
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 00:43:35 +00:00
Vadim Zeitlin
e63f19ba93 Added wxID_PAGE_SETUP standard id
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 00:14:55 +00:00
Vadim Zeitlin
12dc0a01de do mention AUI in change log
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 00:13:21 +00:00
Robin Dunn
955464837e Remove wxColour* typemap, it causes more problems than it solves.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 21:38:54 +00:00
Vadim Zeitlin
034ad06337 invalid size is (size_t)-1, not 0xffffffff; stream returned by GetInputstream() must be destroyed while wxHTTP object is still alive; some English corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 21:23:56 +00:00
Robin Dunn
49638afa16 Change def of WX_LINGUAS so it works on OS X.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 18:54:14 +00:00
Robin Dunn
424752bc36 Add typemaps for wxColour*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 18:50:33 +00:00
Robin Dunn
8e1222c7cd Add wx.Rect.InsideRect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 18:50:06 +00:00
Robin Dunn
5472694a7d Add wxWS_EX_CONTEXTHELP, leaving wxFRAME_EX_CONTEXTHELP and
wxDIALOG_EX_CONTEXTHELP for compatibility.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 18:49:31 +00:00
Václav Slavík
71451a6d16 moved wxIcon implementation for ports where it's identical to wxBitmap to generic/icon.{cpp,h} so that the same code is not duplicated several times
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 17:59:30 +00:00
Michael Wetherell
bc023abbbb Detect and use sys/select.h required by POSIX for select
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 11:18:24 +00:00
Chris Elliott
6dc001c8bd update to 2.7.1-rc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 08:43:47 +00:00
Stefan Csomor
e7dd76568b fixing dynamic build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 05:21:34 +00:00
Stefan Csomor
05fd8c78b0 adding new files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 05:19:38 +00:00
Stefan Csomor
3e7f443280 fixing code for shared mach-o builds (removing no-ops)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 05:09:26 +00:00
Stefan Csomor
24fcd264a7 simplifying alpha, adding commented part for high-res screens
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 05:07:25 +00:00
Stefan Csomor
de8e2d312f fixing y-transformations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 00:14:41 +00:00
Václav Slavík
1967c0674e fixed SetBackground's argument check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-08 16:37:26 +00:00
Václav Slavík
e772e33055 fixed gcc warnings about wrong format string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-08 15:11:30 +00:00
Václav Slavík
869b59fc91 added wxRect::Inside(wxRect) for testing if a rectangle is completely within another rectangle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-08 14:21:44 +00:00
Václav Slavík
6632225c98 1. made wxImage compile with wxUSE_STREAMS but without wxUSE_FILE
2. changed to work with wxFFile*Streams if wxUSE_FILE=0 and wxUSE_FFILE=1


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-08 13:48:37 +00:00
Václav Slavík
1f3b2af0fe wxPipeInputStream depends on wxFile, use wxUSE_FILE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-08 13:11:52 +00:00
Václav Slavík
9a88f03a5e wxPipeInputStream depends on wxFile, use wxUSE_FILE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-08 13:06:05 +00:00
Vadim Zeitlin
affea3d43b removed odbc sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-08 12:28:11 +00:00
Vadim Zeitlin
25063ed2b4 removed mentions of richedit sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-08 12:09:17 +00:00
Chris Elliott
0b70d74cb3 bakefile needs the spec file...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-08 10:59:05 +00:00
Václav Slavík
b626fee238 safer GetFeature implementation: assert on unknown feature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-08 10:15:15 +00:00
Vadim Zeitlin
17d704e804 removed mentions of the (non-existing any more) resource and tab samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-07 22:37:27 +00:00
Vadim Zeitlin
4334c3d5bd updated docs after moving SetDefaultItem() from wxPanel to wxTLW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-07 21:13:43 +00:00
Vadim Zeitlin
6028b16aef corrected auidemo.dsp name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-07 19:28:10 +00:00
Robin Dunn
1736f021a8 Change Fit() back to using SetSize, not SetClientSize.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-07 18:20:02 +00:00
Vadim Zeitlin
3742029648 added samples/combo/*.png and samples/internat/ja_JP.EUC-JP/*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-07 16:34:57 +00:00
Vadim Zeitlin
29eb129aec mention wxAUI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-07 13:57:58 +00:00
Vadim Zeitlin
47351e2593 include wxGTK1 files in wxAll too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-07 13:49:55 +00:00
Vadim Zeitlin
d3e2c897cd include docs sources files in wxAll distrib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-07 13:41:50 +00:00
Vadim Zeitlin
1943f68873 clarify GNOME files policy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-06 23:38:39 +00:00
Vadim Zeitlin
6c15b5dcc7 added GNOME Files link
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-06 23:07:06 +00:00
Vadim Zeitlin
76e5ecc583 GNOME software map doesn't exist any more, removed; corrected Freshmeat link
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-06 22:46:12 +00:00
Stefan Neis
744c594651 Fixed (?) problem in region handling which caused major redraw problems.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-06 22:00:10 +00:00
Vadim Zeitlin
42cd4d35bc changes since 2.6, not 2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-06 21:57:51 +00:00
Robin Dunn
a109e12bf3 Add some text about potential incompatibilites with 2.7.x releases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-06 21:45:39 +00:00
Vadim Zeitlin
372cfecfef 2.7.0 release version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-06 15:07:49 +00:00
Vadim Zeitlin
f2b5c15796 add paths to wxBase libs to dh_shlibdeps invocation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-06 14:30:35 +00:00
Vadim Zeitlin
291613d6c0 python-wxtools doesn't have any shared libraries dependencies (fixes dh_gencontrol warning)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-06 14:12:13 +00:00
Vadim Zeitlin
9998504e53 added missing unicode_suffix's to more packages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-06 13:50:36 +00:00
Vadim Zeitlin
7ce6cc9b8e unified wxFRAME_EX_CONTEXTHELP and wxDIALOG_EX_CONTEXTHELP in a single wxWS_EX_CONTEXTHELP and changed its value to avoid conflict with wxWS_EX_TRANSIENT (this resulted in all progress dialogs having useless context help button in their title bar)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-06 12:56:48 +00:00
Angel Vidal Veiga
98e7a7f97f Backporting from my SoC branch, fix for remotely closed sockets firing input events till destroyed or closed locally.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-06 04:46:57 +00:00
Robin Dunn
2dc3af5058 Give timers a generated ID if wxID_ANY is passed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-06 01:18:57 +00:00
Vadim Zeitlin
0ee8fbacae include bakefile presets in wx-common
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-05 23:15:38 +00:00
Vadim Zeitlin
b3b109d381 removed mentions of wxWINE.spec
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-05 16:14:24 +00:00
Vadim Zeitlin
4c1f1f0ed0 2.7.0 update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-05 16:10:02 +00:00
Vadim Zeitlin
92deb9f9ce put wx-dev as (temporary?) maintainer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-05 16:09:11 +00:00
Vadim Zeitlin
36d5a0832f filled in the announcement text TODO
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-05 15:25:31 +00:00
Vadim Zeitlin
50c80a59f9 updated version to 2.70.; corrected URLs and updated change log in the announcement text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-05 15:24:46 +00:00
Vadim Zeitlin
83b7b21b1c minor updates to configure and rpm build steps; link to deb docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-05 14:58:25 +00:00
Vadim Zeitlin
bec8a09e4a uncommented Build-Requires (accidentally checked in)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-05 14:57:18 +00:00
Vadim Zeitlin
6001a0eec0 remove wx-config link created as part of make install, it shouldn't be included in the package as the link is created by postinst script
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-05 14:48:42 +00:00
Vadim Zeitlin
653e2052ac added new headers missing from wxGTK headers list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-05 14:46:33 +00:00
Vadim Zeitlin
66a9bd0997 added aui and richtext libs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-05 14:44:33 +00:00
Vadim Zeitlin
3a0e61d6bf install static contrib libraries too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-05 14:34:03 +00:00
Vadim Zeitlin
816d7d9fcf added static libs for all contrib libraries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-05 14:29:35 +00:00
Vadim Zeitlin
4dfbb6ed8e there is no static mmedia lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-05 14:25:16 +00:00
Vadim Zeitlin
1466dd1507 contrib lib is called mmedia, not media
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-05 14:17:10 +00:00
Vadim Zeitlin
63ca914cea added back .mo files (we do have a separate package for them after all); added bakefile presets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-05 13:34:59 +00:00
Vadim Zeitlin
1096bf6710 don't build wxBase separately here, this is probably an artefact of monolithic build system
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-05 13:31:59 +00:00
Vadim Zeitlin
31714590f3 test for sys/soundcard.h was failing because of missing sys/ioctl.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-05 13:24:02 +00:00
Vadim Zeitlin
f2c88494b6 i18n files are installed as part of wxBase (and should be ideally part of separate package), they don't belong here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-05 13:09:35 +00:00
Vadim Zeitlin
afefc74cff make prefix /usr by default, not /opt/gnome
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-05 13:05:52 +00:00
Vadim Zeitlin
b1641484dc use .tar.bz2, not .tar.gz
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-05 13:04:09 +00:00
Václav Slavík
d9c2755704 reformatted DEFINE_STD_WXCOLOUR_CONSTRUCTORS definition to fit on standard terminal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-05 12:57:31 +00:00
Mart Raudsepp
eb78c69afd Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-05 00:50:54 +00:00
Mart Raudsepp
b286fd733e Mark event parameter as unused, as it is unused.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-05 00:50:01 +00:00
Vadim Zeitlin
e27b366e70 convert wx-config link created by make install to use relative path, otherwise rpm creation fails
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 23:30:43 +00:00
Vadim Zeitlin
ad0a09b586 make message catalogs before installing them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 23:14:55 +00:00
Vadim Zeitlin
8f70a1ea88 install locale files as part of wxBase; name directory created by BASE_DIST wxBase-x.y and not wxGTK-x.y
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 23:09:04 +00:00
Vadim Zeitlin
ca781e724c add some more files to fix rpmbuild errors (parts of patch 1533296)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 22:47:25 +00:00
Vadim Zeitlin
4203cb98f5 we really, really, really don't need 2 spec files for wxGTK, we need just one of them that works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 22:42:59 +00:00
Vadim Zeitlin
feffc1b546 update spec files version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 22:40:00 +00:00
Vadim Zeitlin
58d49ad291 removing spec file which last worked 7 years ago, if ever
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 22:38:32 +00:00
Vadim Zeitlin
ad41e20907 ListLoaded() fixes for 64 bit archs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 22:32:08 +00:00
Vadim Zeitlin
53bd3a54cb device numbers in /proc/pid/maps are in hexadecimal, not decimal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 22:17:40 +00:00
Robin Dunn
49cb9181b7 Let the text ctrl do the word wrapping, not the source code...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 17:30:31 +00:00
Robin Dunn
a8961943b8 add menu options for the blinds effects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 17:22:38 +00:00
Vadim Zeitlin
24cdcc884e added compatible_release variable which is just major.minor for stable releases and major.minor.micro for the development ones; use it for wxpydir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 16:07:47 +00:00
Vadim Zeitlin
078a6f207e (manually) removed more mentions of CB_FILENAME to fix the build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 15:43:18 +00:00
Vadim Zeitlin
496e3c3c02 removed wxCB_FILENAME (manually, just to fix the build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 14:39:06 +00:00
Vadim Zeitlin
568f139b15 corrected bug in recent commit which overwrote some samples makefiles in the distribution
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 14:14:39 +00:00
Vadim Zeitlin
9c65b7a588 binary-gtk targets now also make base packages they depend on
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 14:03:17 +00:00
Vadim Zeitlin
eedf954b20 only multiline text controls need Enter key for themselves
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 11:35:42 +00:00
Vadim Zeitlin
a8eb5f886d menu items for Centre() tests shouldn't be checkable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 11:33:34 +00:00
Vadim Zeitlin
94972183b9 undid last change and removed wxTE/CB_FILENAME style, after looking at GTK+ API it seems that this is not the correct way to do this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 11:25:37 +00:00
Vadim Zeitlin
55b43eaa02 undid last change and removed wxTE/CB_FILENAME style, after looking at GTK+ API it seems that this is not the correct way to do this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 11:10:53 +00:00
Robin Dunn
01fdd95507 Replace the yields with updating the dirty portions of the window in
idle time.  Also remove the double buffering of the header window so
the DrawHeaderButton will work on wxGTK.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 04:15:32 +00:00
Vadim Zeitlin
998cee6792 make control children of a panel and not directly the frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-03 23:43:35 +00:00
Robin Dunn
a5a6edb40b remove any previously existing targets before installing them. This fixes
an error (and a failed install) on my Mac.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-03 18:30:10 +00:00
Václav Slavík
552796e07e wxXPMDecoder requires wxUSE_IMAGE && wxUSE_XPM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-03 16:54:22 +00:00
Mart Raudsepp
b1df0ce2b2 Rebake after removing wxHtml and wxXml dependency from wxAdv (as wxRichTextCtrl is a separate library now)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-02 19:04:31 +00:00
Mart Raudsepp
8ce1206e96 Remove wxHtml and wxXml dependency from wxAdv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-02 18:28:13 +00:00
Robin Dunn
587d0f3614 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 18:35:13 +00:00
Robin Dunn
c428754898 Add wx.menuBar.UpdateMenus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 18:30:37 +00:00
Robin Dunn
0f83f5da39 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 18:14:02 +00:00
Robin Dunn
34e0a3bbdc reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 18:06:52 +00:00
Robin Dunn
3f847dc245 Don't confuse SWIG with static and non-static methods of the same name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 17:44:23 +00:00
Robin Dunn
a8ec3708f6 Update __DocFilter to skip functions that are duplicates of static
functions in a class


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 17:36:33 +00:00
Robert Roebling
416d721d4b Do nothing in wxTLW::Show() if t already is
shown.
  Don't call gtk_widget_set_uposition() there
    anymore, since it is useless, deprectased
    and causes surplus move events.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 16:39:31 +00:00
Włodzimierz Skiba
838bdeaa7b Removed unused Symantec (*.sc) build system. Symantec C++ is now replaced by DigitalMars.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 13:26:34 +00:00
Włodzimierz Skiba
065bb76dba Removed unused Symantec (*.sc) build system. Symantec C++ is now replaced by DigitalMars.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 12:49:12 +00:00
Václav Slavík
f257ac8784 fixed compilation for wxUSE_STATUSBAR w/o wxUSE_MENUS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 12:01:24 +00:00
Stefan Csomor
3c67ec06a7 on mac using macroman only created once a successful wxCSConv, because the iconv' miss was entered as a failure into the cache, which then killed any subsequent attempt ..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 09:37:42 +00:00
Václav Slavík
050242339c move wx11 and (the rest of) wxMGL specific checks into /chkconf.h file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 09:01:01 +00:00
Václav Slavík
0e798c8651 wxX11's wxBitmap requires wxPalette, so check for wxUSE_PALETTE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 08:39:29 +00:00
Włodzimierz Skiba
8e62b5ee36 Removed all outdated makefile.dos and their *.msc include.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 07:09:58 +00:00
Václav Slavík
d8cebdca39 compilation fix for !wxUSE_LOG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 05:46:26 +00:00
Vadim Zeitlin
40bdc5d600 release build unused variable warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 22:13:07 +00:00
Vadim Zeitlin
90c6edd706 TLW default item changes have changed Enter key processing: it was now handled as TAB even for controls such as wxTree/ListCtrl which need it themselves; fix this by checking for VK_RETURN in these classes MSWShouldPreProcessMessage() implementation; also removed specific test for wxTextCtrl in wxWindowMSW::MSWProcessMessage() and simplified its code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 22:06:24 +00:00
Robin Dunn
955e46d25d typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 19:19:59 +00:00
Robin Dunn
e6ab1c5756 Added wxCB_FILENAME
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 19:12:53 +00:00
Robin Dunn
e249d3c0dc Added wxMouseCaptureLostEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 19:12:07 +00:00
Václav Slavík
bdeb1f0d6c avoid warnings about undefined wxUSE_LOG_DEBUG if wxUSE_LOG=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 16:56:51 +00:00
Václav Slavík
39a31a2d86 made the rest of wxEncodingConverter tables const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 16:28:43 +00:00
Václav Slavík
3ef10cfc2e warnings fixes for !wxUSE_FONTMAP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 12:28:05 +00:00
Václav Slavík
91cb7f52cc compilation fix for !wxUSE_FONTMAPstrconv.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 12:22:33 +00:00
Václav Slavík
72f8c79220 don't pass window argument to NotifyCaptureLost, it's not needed/used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 12:17:39 +00:00
Václav Slavík
2c5e5cbdb4 wxFileModificationTime() needs wxDateTime, put it inside wxUSE_DATETIME
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 12:03:22 +00:00
Włodzimierz Skiba
53a0475d51 '[ 1530831 ] wxOwnerDrawnComboBox page for Widgets sample' extended with icon.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 10:48:58 +00:00
Václav Slavík
3c665b38c0 added wxEVT_MOUSE_CAPTURE_LOST event and code for correctly handling capture loss (bug #1153662)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 09:40:28 +00:00
Václav Slavík
63e819f298 added wxEVT_MOUSE_CAPTURE_LOST event and code for correctly handling capture loss (bug #1153662)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 09:27:54 +00:00
Benjamin Williams
f9c240ec1e supress unused var warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 07:24:23 +00:00
Benjamin Williams
26178b5d2a wrapped up Show() calls to prevent gtk bug from manifesting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 06:54:49 +00:00
Mart Raudsepp
f0f1afb8b9 Don't use filename encoding conversion when passing string to gtk_file_chooser_set_current_name (save as dialog
suggested filename) - it takes a UTF-8 per gtk+ documentation and common sense, so use wxGTK_CONV instead.
Fixes wxFileDialog save mode default filename with non-utf8 G_FILENAME_ENCODING (bug #1497800). Thanks to
Konstantin Anory for pointing this out.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 00:35:08 +00:00
Vadim Zeitlin
6a06841c34 reverted the move of wxComboBox styles from wx/defs.h to wx/combobox.h, a lot of existing code (including wxChoice implementation inside wx itself) uses these styles without including wx/combobox.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-30 23:36:38 +00:00
Vadim Zeitlin
ef43e62e77 reverted the move of wxComboBox styles from wx/defs.h to wx/combobox.h, a lot of existing code (including wxChoice implementation inside wx itself) uses these styles without including wx/combobox.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-30 20:04:10 +00:00
Benjamin Williams
f88d171659 workaround for bug #1531361
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-30 19:57:35 +00:00
Robert Roebling
7f7348b143 Next compilo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-30 12:56:59 +00:00
Robert Roebling
79f9018c70 Compilation fix after wxCB_ flags move.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-30 12:49:37 +00:00
Robert Roebling
83beee574e Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-30 12:38:39 +00:00
Vadim Zeitlin
7fa5e1e820 don't append -ansi to source package
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-30 01:33:39 +00:00
Vadim Zeitlin
2f6c5bb5f2 nicer messages for gstreamer detection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 23:54:05 +00:00
Vadim Zeitlin
961fb5337c added wxMediaCttl build dependencies
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 23:53:37 +00:00
Vadim Zeitlin
6890c56e85 --enable-debug shouldn't be in COMMON_CONFIGURE_OPTIONS, it's used for dbg packages only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 23:35:33 +00:00
Vadim Zeitlin
6b2c5736c9 added support for building non-Unicode packages which can be installed in parallel with the (official) Unicode ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 23:33:52 +00:00
Robin Dunn
1eeb270e7c reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 23:30:45 +00:00
Robin Dunn
10044bf187 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 23:05:38 +00:00
Robin Dunn
14a010678d DLL compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 23:01:08 +00:00
Robin Dunn
6aaca5bac6 Various little tweaks to get up to date with CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 21:49:25 +00:00
Vadim Zeitlin
b253fb5cea typo (patch 1528925)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 20:47:32 +00:00
Vadim Zeitlin
766571a703 add @DATE@, @TIME@ and @TITLE@ macros to HTML printing (extended/modified patch 1528679)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 20:45:13 +00:00
Vadim Zeitlin
40e0cf4894 compilation fix for wxUSE_DYNLIB_CLASS == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 20:33:10 +00:00
Vadim Zeitlin
42ef5bda0e wxUSE_DATAOBJ requires wxUSE_OLE (bug 1526189)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 20:31:41 +00:00
Vadim Zeitlin
5f6475c145 moved combobox styles from defs.to to combobox.h; added wxTE/wxCB_FILENAME styles (MSW only for now); show them in the widgets sample and use for file/dir pickers text controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 19:19:50 +00:00
Vadim Zeitlin
54aa3821fc corrected a target name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 17:54:01 +00:00
Vadim Zeitlin
4b9c5d0c5b copy most of the files for all of the samples automatically instead of listing all of them manually
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 17:42:33 +00:00
Vadim Zeitlin
c9a6600136 regenerated after recent changes (MirBSD support; continue even if the system is unknown)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 15:13:32 +00:00
Vadim Zeitlin
fdb41a39a0 rebaked after wxrc-related change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 15:11:58 +00:00
Stefan Neis
a1a77e0c4b Added default value for "pos" parameter in constructor and Create function.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 14:26:36 +00:00
Robin Dunn
e968f10872 Only do Armel Asselin's memory reduction patch in Paste in the Unicode
build because in the ansi build wxWX2MBbuf is just a char* pointing
into the text wxString's buffer


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 01:53:18 +00:00
Vadim Zeitlin
6d7b547184 updates from Adrián González Alba
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 01:40:09 +00:00
Vadim Zeitlin
1a8e309166 removed wxLANGUAGE_SERBIAN, we must explicitly use either or wxLANGUAGE_SERBIAN_CYRILLIC/LATIN variants alone as just wxLANGUAGE_SERBIA is equivalent to wXLANGUAGE_CROATION under Windows resulting in unwelcome confusion; and there is no default sublanguage for Serbian anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-28 23:55:17 +00:00
Vadim Zeitlin
507abc7b3a allow changing the page from keyboard in property sheet like controls even when the notebook doesn't have focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-28 23:48:50 +00:00
Vadim Zeitlin
e71c530e03 added HasMultiplePages()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-28 23:46:32 +00:00
Vadim Zeitlin
88aaf4f5bf continue even if the system name is not recognized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-28 23:28:06 +00:00
Benjamin Williams
a94476deb9 wxaui/tabmdi size fix for gtk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-28 16:03:22 +00:00
Václav Slavík
09abe5d47d fixed makefiles to fail if building wxrc fails
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-28 10:38:22 +00:00
Václav Slavík
8e8a4e8587 reverted the change to not use wxList until dynarray.h is fixed to provide operator* in both STL and non-STL modes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-28 07:14:14 +00:00
Vadim Zeitlin
122ff921f0 remove -mt from gstreamer CFLAGS/LIBS under Solaris/gcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-27 23:02:22 +00:00
Václav Slavík
67868c1e6c don't use untyped wxList in wxXmlResource
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-27 14:03:02 +00:00
Włodzimierz Skiba
28f92d74ee Include wx/dataobj.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-27 12:57:16 +00:00
Mart Raudsepp
eab77b5983 Kill typo noticed by Priit Laes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-27 11:55:13 +00:00
Mart Raudsepp
47b8afadea Don't mark "." and ".." for translation when they are used as a check that the user didn't enter "current
directory" or "parent directory" as a new directory name to use...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-27 11:46:26 +00:00
Mart Raudsepp
75575b6020 Use wxPLURAL to allow for singular "%ld bytes" version. Noticed by Priit Laes.
This is the first usage of wxPLURAL inside the library itself. We surely have more singular/plural strings than
one?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-27 11:40:15 +00:00
Mart Raudsepp
9df58a28b0 Note that wxSlider::Get/SetLineSize is implemented now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-27 05:53:27 +00:00
Mart Raudsepp
98a0564ea6 [wxGTK] Implement wxSlider::GetLineSize and wxSlider::SetLineSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-27 05:32:01 +00:00
Mart Raudsepp
20c3174dd1 Use GTK casts.
Use gtk_range_get_adjustment instead of GtkRange::adjustment - latter is not documented and therefore not public.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-27 05:17:36 +00:00
Mart Raudsepp
d6c1aef837 Add line and page size modification possibility.
Fix tick freq text field going insensitive and unusable.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-27 05:05:21 +00:00
Vadim Zeitlin
2f6ea0bc00 define _TM_DEFINED if we define struct tm here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-26 13:21:02 +00:00
Vadim Zeitlin
7b34da9bd6 remove debugging printf() from wxGridCellFloatEditor::IsAcceptedKey(); cleaned up the code a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-26 13:00:49 +00:00
Jamie Gadd
0f7a4d1fb5 PCH build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-26 05:58:54 +00:00
Jamie Gadd
39ad4a54a9 PCH build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-26 05:23:40 +00:00
Vadim Zeitlin
6885562629 don't make wxPathList dtor virtual, this is unneeded and results in gcc warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 18:48:52 +00:00
Vadim Zeitlin
32cd189dfc use GetLabelText() instead of wxStripMenuCodes() to avoid stripping the part of the string after TAB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 18:47:39 +00:00
Alex Bligh
54076686b9 Work around problems with sizing floating panes on GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 18:46:12 +00:00
Vadim Zeitlin
74639764d0 added possibility to strip only mnemonics, not accels, in wxStripMenuCodes(); added wxControl::GetLabelText()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 18:40:04 +00:00
Benjamin Williams
60fa553ce7 another bug fix for the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 16:43:40 +00:00
Benjamin Williams
2c26bdee05 fixed bad pane name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 16:29:22 +00:00
Włodzimierz Skiba
925f774066 Minor header cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 14:31:55 +00:00
Włodzimierz Skiba
bf3c1a1962 Fix for function access shown in Tinderbox builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 13:53:55 +00:00
Alex Bligh
1320116514 wxAUI: fixed pane saving design thinko
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 13:16:41 +00:00
Włodzimierz Skiba
e8427971f6 [ 1528248 ] Fix to the width of the wxGenericColourButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 11:41:53 +00:00
Alex Bligh
75c8d68f1d wxAUI: Support serialization of individual PaneInfo structures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 11:41:46 +00:00
Włodzimierz Skiba
7947a48ab7 PCH build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 11:15:13 +00:00
Włodzimierz Skiba
5e4a89ba45 PCH build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 11:02:41 +00:00
Włodzimierz Skiba
822211533d Blind Tinderbox build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 10:31:38 +00:00
Włodzimierz Skiba
e80edb8515 Removed unused files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 10:07:16 +00:00
Jamie Gadd
5e4a7f9196 Make wxTreebook use wxControlContainer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 09:30:19 +00:00
Jamie Gadd
89fdd421b4 Warning fix for the warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 09:24:03 +00:00
Włodzimierz Skiba
459b97dfcb Allow wxUSE_INTL==0 builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 09:08:46 +00:00
Włodzimierz Skiba
bb90a3e6fd Include wx/stopwatch.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 08:47:47 +00:00
Włodzimierz Skiba
613992479a Simplify PCH support. Minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 08:39:57 +00:00
Włodzimierz Skiba
2cdcee612a PCH build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 06:50:19 +00:00
Włodzimierz Skiba
37f66b047e Use same type in both results of A?B:C operator (Tinderbox build fix).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 06:48:03 +00:00
Włodzimierz Skiba
b2c82287f6 Final steps to move to common icon.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 06:43:18 +00:00
Włodzimierz Skiba
b84aec037f PCH build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 06:07:01 +00:00
Vadim Zeitlin
6c20e8f816 move default button handling code from wxControlContainer to wxTLW (patch 1524441)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 01:31:13 +00:00
Vadim Zeitlin
0c9d7ace58 include X11/Xutil.h for wxMotif compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 01:28:10 +00:00
Vadim Zeitlin
374b4f1c0b compilation fix for platforms where size_t is unsigned long, not int
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 01:05:49 +00:00
Vadim Zeitlin
9ec8311845 document HasAlignment(), Left/RightIndent() and Tabs() (patch 1527048)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:49:19 +00:00
Vadim Zeitlin
ecd87e5b71 improvements to wxPickerBase default proportion values (patch 1525578)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:44:41 +00:00
Vadim Zeitlin
4948ebf3ff handlers added using AddHandler() last must have the highest priority (patch 1522807)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:33:14 +00:00
Vadim Zeitlin
a5e8ddfb27 update from suzumizaki (patch 1522506)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:26:01 +00:00
Vadim Zeitlin
687cc6c873 update from suzumizaki (patch 1522241)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:23:38 +00:00
Vadim Zeitlin
dd47961399 make wxGetKeyState() work for non-modifier keys; corrected some key mappings (patch 1521490)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:19:46 +00:00
Vadim Zeitlin
8daf3c3664 wxPathList cleanup by Francesco (patch 1521481)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:16:55 +00:00
Vadim Zeitlin
da87911d65 generate middle click events (patch 1521314)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:09:49 +00:00
Vadim Zeitlin
40f5126298 added wxID_HELP_INDEX/SEARCH (part of request 1404089)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:06:43 +00:00
Vadim Zeitlin
f98377912b optionally count repeating wxLog messages instead of logging all (patch 1520815)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:04:35 +00:00
Vadim Zeitlin
0ca3c231fb don't send duplicate set/kill focus events when the text control part of the control gets/loses focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 23:51:43 +00:00
Vadim Zeitlin
9f057af5ef wxFD_PREVIEW implementation for wxGTK (slightly modified patch 1520690)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 23:48:06 +00:00
Vadim Zeitlin
3d3f3e3749 allow customization of individual grid lines appearance (patch 1496015)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 23:16:37 +00:00
Vadim Zeitlin
be085544e9 fixed typos in last check in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 18:30:43 +00:00
Vadim Zeitlin
25b34b267e protect gs_allThreads with a mutex (modified patch 1518719)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 18:26:26 +00:00
Vadim Zeitlin
afdf936cbc documentation for wxAppTraits (patch 1518295 from Francesco)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 18:20:18 +00:00
Vadim Zeitlin
3e6e514739 do nothing in Refresh() if the control is frozen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 18:18:34 +00:00
Vadim Zeitlin
27f8357f3c call DoDirtyProcessing() from OnIdle() instead of using wxYield() (patch 1518119)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 18:12:23 +00:00
Vadim Zeitlin
97757cee26 check that the stream is valid before using it in Load() and Save() (patch 1516432)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 18:06:57 +00:00
Vadim Zeitlin
e617d19d32 improved Skip() docs (replaces patch 1516341)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 18:05:32 +00:00
Vadim Zeitlin
a8d69700fc add default value for the encoding parameter of wxMacCFStringHolder() instead of passing wxLocale::GetSystemEncoding() which doesn't work when wxUSE_INTL == 0 to it in many places (replaces 2nd part of patch 1501724)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 18:01:39 +00:00
Vadim Zeitlin
b9eb3d9de6 added wxID_ANY default value for the id parameter of Create() for consistency with the ctor (request 1481791)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 17:44:46 +00:00
Vadim Zeitlin
b8b37cedd3 added HasHandlerForPath() (modified patch 1514524)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 17:37:39 +00:00
Vadim Zeitlin
9e34f56be8 wxUSE_GUI == 0 compilation fix (patch 1501724)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 17:13:38 +00:00
Vadim Zeitlin
008202b7e9 added static casts to void * for pointers used with format specifier to silence stupid gcc pedantic warning (bug 1500717)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 17:05:46 +00:00
Benjamin Williams
9674314028 floating panes now respect wxPaneInfo::HasCloseButton()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 16:00:37 +00:00
Benjamin Williams
31ec1d0379 added test pane which has no close button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 15:57:44 +00:00
Vadim Zeitlin
da9349be19 use sample.rc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 15:01:14 +00:00
Vadim Zeitlin
2588b9c467 minor refactoring of OnEraseBackground()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 14:57:57 +00:00
Włodzimierz Skiba
4dd31ff527 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 14:07:50 +00:00
Włodzimierz Skiba
623d5f8002 Warning fix, minor source cleaning and better !PCH support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 14:04:31 +00:00
Vadim Zeitlin
60decce547 s_verComCtl doesn't change (during program lifetime)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 13:49:02 +00:00
Jamie Gadd
cc1487e539 Fix toolbar background painting whem comctl32 < 6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 13:45:31 +00:00
Alex Bligh
f89f6b74f2 wxAUI: remove spurious semicolons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 13:45:18 +00:00
Vadim Zeitlin
23bc3597eb install help provider to allow testing helptext tags in XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 13:39:10 +00:00
Vadim Zeitlin
1e3fc113dd don't use obsolete wxNO_FULL_REPAINT_ON_RESIZE flag; don't use unnecessary wxCLIP_CHILDREN one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 13:38:12 +00:00
Vadim Zeitlin
c9f856af67 added code to test UI updating of menu items in MDI apps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 13:36:22 +00:00
Vadim Zeitlin
3ab6fcee36 added FindFileInPath() (part of an otherwise rejected patch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 13:34:26 +00:00
Mart Raudsepp
591087eda4 wxPROCESS_ENTER is deprecated in favour of wxTE_PROCESS_ENTER. So use the latter in documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 11:38:06 +00:00
Benjamin Williams
17da541092 wxString::IsEmpty() => empty()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 11:32:42 +00:00
Benjamin Williams
f169e95d03 fixed variable name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 11:30:27 +00:00
Benjamin Williams
639a4f7b54 tab draw happens right away when you set the caption
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 09:44:19 +00:00
Benjamin Williams
9d59bf6889 drawing improvements; empty caption w/ tab drawing looks better
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 09:28:59 +00:00
Benjamin Williams
82dc21d343 tabmdi menu fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 08:40:08 +00:00
Włodzimierz Skiba
8efb290702 [ 1518434 ] wxSize::Scale with wxScale and wxPoint operators documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 08:26:38 +00:00
Włodzimierz Skiba
7d70c3095c [ 1517666 ] suppression of wxVsnprintf() warnings - with little extensions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 07:48:24 +00:00
Włodzimierz Skiba
c08ee0349d Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 07:46:05 +00:00
Benjamin Williams
3184454fc0 removed some commented-out code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 07:16:20 +00:00
Włodzimierz Skiba
0326511329 PCH build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 07:02:24 +00:00
Włodzimierz Skiba
4444d148a5 Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 06:30:49 +00:00
Alex Bligh
6bdeda4785 Per Robert R, apply: [ 1484667 ] Make wxWindow::Update() update native controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-23 20:56:08 +00:00
Alex Bligh
815eadf3d0 wxAUI: wrap calls to SetTransparent/CanSetTransparent so file can easily be used with 2.6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-23 14:03:37 +00:00
Alex Bligh
728e18f612 Use wxCHECK_VERSION not wxABI_VERSION to avoid xrc loader bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-23 13:52:40 +00:00
Mart Raudsepp
7fb3f3c448 Add ability to test tab stops. Very slightly modified patch from #1518114 (Tim Kosse)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-23 12:07:56 +00:00
Alex Bligh
5826659c99 wxAUI: Don't fade venetian blind effect by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-23 11:39:13 +00:00
Robin Dunn
b97ff8ed66 Added color setting tool to the RichTextCtrl sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 23:05:30 +00:00
Robin Dunn
591ab02f8c some test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 23:04:08 +00:00
Robin Dunn
1c976bff2d Added support for the wxAUI Notebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 23:02:47 +00:00
Robin Dunn
b1dc7b4c5d Change the other OnAssert --> OnAssertFailure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 23:01:44 +00:00
Robin Dunn
d91fa2829b Some changes needed for wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 22:32:25 +00:00
Robin Dunn
4f450f41a2 Also need to override Show
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 22:31:07 +00:00
Benjamin Williams
da5e85d989 added some font measuring to wxAuiMultiNotebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 18:51:14 +00:00
Mart Raudsepp
6bd719f16c Escape underscores
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 18:47:17 +00:00
Alex Bligh
7a5b04a65e Add support for transparent hint windows under GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 17:30:28 +00:00
Jamie Gadd
24e35cf87b Don't handle WM_PRINTCLIENT anymore, manually draw the static box label background instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 17:20:05 +00:00
Alex Bligh
f2c78bada4 wxAUI: Do not leak a wxFrame if transparency is not supported
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 16:41:14 +00:00
Benjamin Williams
96fc10390b added auibook.cpp and tabmdi.cpp to build scripts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 14:00:57 +00:00
Alex Bligh
8b001346df Fix redraw problems with hint rectangle when there is no transparency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 13:58:53 +00:00
Benjamin Williams
9fabaac49c more compile fixes on wxGTK; auibook.h and tabmdi.h are now uncommented in aui.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 13:14:07 +00:00
Benjamin Williams
fe498448fc compile fixes on wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 13:12:49 +00:00
Alex Bligh
9366ec4e1e Clean up wxOwnerDrawnComboBox XRC handler as suggested by abxabx fixing bug
https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1487463&group_id=9863


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 12:47:44 +00:00
Benjamin Williams
134e83cbea added some overrides to wxTabFrame to remove errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 07:34:45 +00:00
Stefan Csomor
5088ab3fdd fixing this conversion (was essentially a no-op under NON-UNICODE)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 07:20:59 +00:00
Stefan Csomor
fbb0b8afd0 adding back-conversion to filenames (wide composed)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 07:18:32 +00:00
Robin Dunn
f3768653d6 Docstrings and other fixes from David Hughes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-21 16:10:42 +00:00
Włodzimierz Skiba
4753c7ce48 PDA adjustements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-21 15:28:50 +00:00
Alex Bligh
d9b72d2540 Fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-21 15:05:44 +00:00
Benjamin Williams
189da67c55 updated header file name in source
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-21 14:55:21 +00:00
Benjamin Williams
9364257861 renamed notebook.h to auibook.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-21 14:49:23 +00:00
Benjamin Williams
974dee61a9 renamed notebook.cpp to auibook.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-21 14:48:06 +00:00
Benjamin Williams
a3219eea26 added corresponding notebook.h and tabmdi.h to aui
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-21 13:36:21 +00:00
Benjamin Williams
cd05bf23f6 added notebook.cpp and tabmdi.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-21 13:35:00 +00:00
Chris Elliott
e7ac413268 revert change to bakefile list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-21 12:01:21 +00:00
Chris Elliott
9bedb9585f use Bakefiles in CVS tree
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-21 10:45:39 +00:00
Chris Elliott
8afb1dca50 use local scripts not the newly downloaded CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-21 09:10:35 +00:00
Mart Raudsepp
3eecbda80c Don't check with CanSetTransparent from within SetTransparent if the former is supposed to be pessimistic and
latter optimistic about actual visual result.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-21 01:49:18 +00:00
Robin Dunn
941afb6b65 out typemap for wxMemorySize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-20 20:55:59 +00:00
Włodzimierz Skiba
c7e4ff1497 Follow lib dependancy.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-20 20:01:31 +00:00
Włodzimierz Skiba
5c993ea4f8 Follow lib dependancy.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-20 17:28:18 +00:00
Włodzimierz Skiba
9de1027152 Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-20 17:26:52 +00:00
Włodzimierz Skiba
21d6b09b10 [ 1523907 ] Remove unnecessary wxComboCtrl window style.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-20 15:31:10 +00:00
Vadim Zeitlin
da44b91efc made RE match the otional tag name after the sticky flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-20 15:25:26 +00:00
Chris Elliott
708e73052e fix RE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-20 15:12:34 +00:00
Vadim Zeitlin
c7564c6ac9 added more time span formatting tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-20 15:11:18 +00:00
Vadim Zeitlin
e566ccf1ba handle negative time spans correctly in Format()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-20 15:04:10 +00:00
Włodzimierz Skiba
1226b3b335 Reuse common sample resources. Remove unused files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-20 14:55:38 +00:00
Włodzimierz Skiba
e83844692e [ 1524693 ] wxOwnerDrawnComboBox focus paint fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-20 14:37:47 +00:00
Włodzimierz Skiba
c5a3900a26 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-20 14:01:57 +00:00
Vadim Zeitlin
9807f99505 fixed TestTimeFormat() test: and can use 2 digit years which broke dates comparison for dates not in this (nor last) century
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-20 13:41:49 +00:00
Vadim Zeitlin
a333edbddf added non-static GetCentury(), removed default value for static GetCentury() parameter which didn't make any sense at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-20 13:40:11 +00:00
Vadim Zeitlin
1bf29a7a6c added wxTimeSpan::Format() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-20 13:20:00 +00:00
Włodzimierz Skiba
0bcd4039e2 Reuse common sample resources. Little code cleanup. Removed unused files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-20 11:57:15 +00:00
Chris Elliott
f21467d8ec remove file lists on exit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-20 11:14:38 +00:00
Chris Elliott
7603e74bce restore snapshot and remove 2 toplevels dirs from tarball
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-20 10:52:18 +00:00
Stefan Neis
4f768b1a24 Fixes according to patch #1523304.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-19 20:55:04 +00:00
Stefan Neis
61a028dc4a Sizing fixes according to patch #1523304.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-19 20:52:06 +00:00
Mart Raudsepp
60169b7a51 [wxGTK] Be pessimistic about transparency being visually shown in CanSetTransparent. With current code
CanSetTransparent will only return TRUE if gtk+ version is at least 2.10 AND there is a running compositing
manager that implements the _NET_WM_CM_Sn EWMH spec addition proposal (at this point only metacity GL based
compositor, afaik). This is for wxAUI to be able to implement dock preview correctly. In general these behaviours
needs some discussion.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-19 18:59:03 +00:00
Mart Raudsepp
07e497070e Initial wxTLW::(Can)SetTransparent support for wxGTK. The return value of SetTransparent is currently very
optimistic and doesn't use the EWMH composite manager spec update proposal (_NET_WM_CM_Sn) yet. This is on purpose
until the proposal appears in EWMH new version draft and it gets used by more composite managers.
See http://www.nabble.com/Interaction-between-applications-and-compositing-managers-t1389248.html and in the
future http://standards.freedesktop.org/wm-spec/latest/ for details.
Some code reordering is probably in order (helper function to utilsx11?) and testing on non-traditional X servers
appreciated.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-19 17:18:12 +00:00
Włodzimierz Skiba
db84713101 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-19 15:52:28 +00:00
Włodzimierz Skiba
63da71ba6a Crash fix for working without selecting subpage.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-19 15:50:51 +00:00
Chris Elliott
6224df0462 revert to unix2dos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-19 13:56:41 +00:00
Chris Elliott
0d54dc7cd6 remove duplicate dir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-19 13:55:43 +00:00
Michael Wetherell
836724c3ce Missing header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-19 12:23:40 +00:00
Chris Elliott
a4b57b1de1 copy install.txt and readme.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-19 10:31:08 +00:00
Chris Elliott
13e2550d3d fix todos conversion (unix2dos called to dos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-19 10:28:57 +00:00
Michael Wetherell
2aac402246 Remove malloc.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-18 16:23:52 +00:00
Michael Wetherell
044d5accee Remove malloc.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-18 09:47:16 +00:00
Chris Elliott
759f0e41d1 fixes for York delivery
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-18 06:56:23 +00:00
Kevin Ollivier
571c8c8aab Fixed version of unix2dos conversion.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-18 06:54:02 +00:00
Kevin Ollivier
37ab190fbf Moving to new approach that uses CVS entries to determine text/binary state of file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-18 00:50:06 +00:00
Robin Dunn
ca1863c2cc fixed merge conflict
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 21:45:30 +00:00
Robin Dunn
8e05125981 enable sound and mediactrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 21:37:08 +00:00
Robin Dunn
cf7456e07d fix for import error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 21:36:25 +00:00
Robin Dunn
6ec59a2bf9 Wrap new AddPane method as AddPaneAtPos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 21:34:32 +00:00
Robin Dunn
a9a04486a2 GetTmpDefaultItem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 21:32:24 +00:00
Robin Dunn
a00dca7a79 Added note about CanSetTransparent and SetTransparent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 21:31:21 +00:00
Robin Dunn
07880314d4 Translucency --> Transparent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 21:30:08 +00:00
Robin Dunn
e5fb6f92f1 if Acrobat is >= 7.0 then use acrobat by embedding it in a IE window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 20:58:10 +00:00
Robin Dunn
3c1f75d54a typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 20:53:16 +00:00
Benjamin Williams
16541a4ef4 frame should call skip on child focus event to give owner a chance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 19:23:54 +00:00
Michael Wetherell
3f1ad07b3e Compile fix for OS X 10.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 17:54:39 +00:00
Michael Wetherell
5b761184c6 Restore wxUSE_MS_HTML_HELP to setup.h.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 16:19:07 +00:00
Michael Wetherell
82540105e3 File/font/colour/dir picker fixes for GTK Universal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 15:02:35 +00:00
Michael Wetherell
8399f4c6a7 Drop non-ANSI malloc.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 13:17:57 +00:00
Michael Wetherell
5aca3ef449 Rename log2 to avoid conflict standard log2 which is a macro on Cygwin.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 13:06:37 +00:00
Vadim Zeitlin
cd7e925abb fixed crash in wxDb::Open() in Unicode build due to wrong interpretation of BufferLength argument of SQLDriverConnect()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 10:42:55 +00:00
Michael Wetherell
8dee721efd Use substitions when converting gnome mime files from UTF-8 (bug 1518012)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 09:39:11 +00:00
Włodzimierz Skiba
7dc234d633 [ 1519202 ] wxComboCtrl::SetButtonPosition() to support -1 width/height
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 08:45:12 +00:00
Włodzimierz Skiba
6012f61212 [ 1522987 ] wxComboCtrl crashes if TAB is pressed while popup is open
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 07:40:04 +00:00
Włodzimierz Skiba
fe02c2c2dd [ 1522988 ] Keypress causes crash in combo sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 07:22:22 +00:00
Włodzimierz Skiba
cc62d777c4 create_archives.sh
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 06:37:40 +00:00
Włodzimierz Skiba
68f2155bb7 Better temporary fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 06:28:39 +00:00
Włodzimierz Skiba
3d3d7d0994 Build fix to make tinderbox work, needs asap change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 06:19:29 +00:00
Kevin Ollivier
2a1243f4c9 Be careful about file extensions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 23:19:03 +00:00
Vadim Zeitlin
27b3bd6a59 fix Open(wxDbConnectInf) when using connection string (patch 1494705)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 23:09:15 +00:00
Kevin Ollivier
de6fbe7596 Create the root dir install and readme files, and put them in the manifests. Also, use DOS line endings for MSW archives.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 22:46:30 +00:00
Stefan Neis
d72fd025b6 Drawing fixed according to patch #1523304.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 21:35:57 +00:00
Stefan Neis
2fbb8fbbed Disable CLIP_SIBLINGS style.
Fixes for getting best size.
Fixed some error in flag processing.    All according to patch #1523304.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 21:26:04 +00:00
Michael Wetherell
9ff1e31960 Revert access changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 21:13:28 +00:00
Stefan Neis
63403da780 Make wxCalendarCtrl work on OS/2's PM port as well (patch #1523304).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 20:49:29 +00:00
Stefan Neis
40a33c46e3 Avoid trouble during initialisation & typo fix (patch #1523304).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 20:41:48 +00:00
Stefan Neis
2ef6ae9de2 Fixed geometry errors according to patch #1523304.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 20:35:29 +00:00
Vadim Zeitlin
d0b6344dda update the combobox text as soon as we get CBN_SELENDOK as otherwise wxEVT_COMMAND_COMBOBOX_SELECTED handler got wrong value from our GetValue()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 20:22:23 +00:00
Vadim Zeitlin
6f002df40e don't grow the combobox vertically (this does make it tall under wxGTK2 even though it has no effect under wxGTK1 and wxMSW)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 20:18:55 +00:00
Vadim Zeitlin
82d0e7fe66 disable pixel size comparison in operator==() for wxGTK1 as it results in infinite recursion there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 20:15:55 +00:00
Vadim Zeitlin
462deb5dce wxUSE_PANGO is always 0 for wxGTK1 so there is no need to use #if wxUSE_PANGO in GTK1-only code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 20:03:03 +00:00
Vadim Zeitlin
177df6c5f6 wxUSE_PANGO is always 1 for wxGTK2 so there is no need to use #if wxUSE_PANGO in GTK2-only code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 20:00:42 +00:00
Vadim Zeitlin
789367e10d unset the button as temporary default item when it's destroyed (closes bug 1354875)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 19:50:48 +00:00
Vadim Zeitlin
cef55d6485 remove the search for parent with wxTAB_TRAVERSAL style in SetDefaultStyle(): it's useless as DM_SETDEFID can be only sent to the immediate parent anyhow, apparently
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 19:23:03 +00:00
Vadim Zeitlin
dabb9b6d29 added a DiscardEdits() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 19:03:51 +00:00
Vadim Zeitlin
b3d006af0f don't crash if m_widget == NULL in OnInternalIdle()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 18:44:51 +00:00
Vadim Zeitlin
a10a31ce56 wxRadioBoxButtonsInfoList should be exported (should fix cygwin build link)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 18:38:11 +00:00
Vadim Zeitlin
b3f1734fa0 min size of an empty sizer should be (0, 0) and not (10, 10)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 18:29:43 +00:00
Vadim Zeitlin
54af24613f don't add 7 and 14 pixel horz/vertical padding in DoGetBestSize() when the best size is computed from the existing children
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 18:28:41 +00:00
Stefan Neis
344d066d17 Use xpm for PM port on OS/2 as well.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 16:13:51 +00:00
Stefan Neis
fe5dc33dee With fix from treebase.cpp,v 1.28, (generic) treectrl now also works on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 16:06:27 +00:00
Stefan Neis
3e748fca44 Fixed apparent typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 16:01:56 +00:00
Stefan Neis
aa2f364e34 Avoid using invalid parameters for GpiSetAttrs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 15:46:35 +00:00
Benjamin Williams
2f68106fa0 prevent some obscure wxAUI crashes after DetachPane() is used (crashes only happen in rare cases)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 12:32:51 +00:00
Benjamin Williams
0603bb285c added another AddPane() call which allows the caller to add a new window at a certain point; Hint functions are now public
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 10:59:16 +00:00
Robin Dunn
50f3c41d61 Added wxTopLevelWindow::SetTranslucency and CanSetTranslucency, with
implementations (so far) for wxMSW and wxMac.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 03:28:23 +00:00
Michael Wetherell
0b850f25d2 Put the reentrance check inside #ifdef __DEBUG__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 22:21:44 +00:00
Vadim Zeitlin
65d586566d update (mostly corrections but some new translations as well) from
Morten Råbjerg Ulrich




git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 22:17:07 +00:00
Vadim Zeitlin
9c92620c22 fix the bug with the current path being restored if it was under the group being deleted with DeleteGroup(); clarify what happens in this case in the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 22:07:00 +00:00
Michael Wetherell
f5256c59dd Handle reentrance in the first part of wxClassInfo::Register()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 20:54:07 +00:00
Václav Slavík
e96ff06fc4 don't require <value> node in wxColourPickerCtrl's XRC handler, use black as default (i.e. do the same that C++ code does)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 15:34:34 +00:00
Václav Slavík
984f1d84fd added default value argument to wxXmlResourceHandler::GetColour()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 15:32:57 +00:00
Václav Slavík
374caf2301 use <value> instead of <default-*> for initial value of picker controls in XRC, for consistency with other controls' handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 15:21:25 +00:00
Václav Slavík
af6ad98461 fixed crashes in wxFile/DirPickerCtrl::GetPath() due to incorrect casting in multiple inheritance hierarchy and incorrect casting to wxFilePickerWidget in wxFileDirPickerCtrlBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 15:13:04 +00:00
Václav Slavík
1029169f08 reformatted to fit on standard terminal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 12:25:48 +00:00
Václav Slavík
42c09d20bb fixed typos in *picker.cpp files' headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 09:56:16 +00:00
Vadim Zeitlin
b0db68b22a test for the bug in HasEntry() which could create non-existing group as a side effect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 22:48:00 +00:00
Vadim Zeitlin
2cf3a6d7be don't create non-existing groups in HasEntry()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 22:46:31 +00:00
Vadim Zeitlin
41f3015283 fix the bug with the current path being restored if it was under the group being deleted with DeleteGroup(); clarify what happens in this case in the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 22:08:43 +00:00
Robin Dunn
20eebe1aa8 Don't let SWIG see the wxTreeCtrl name anywhere so it will use the
type_info for our wxPyTreeCtrl instead.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 19:57:20 +00:00
Włodzimierz Skiba
f0fa8b47ab PCH and wxUSE_* fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 19:03:10 +00:00
Benjamin Williams
483c90c20c hint window pane should always be shown so that hints will be drawn for even currently hidden panes being dragged around
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 13:56:22 +00:00
Mart Raudsepp
01207937f6 Return false from PositionToXY if passed in position is larger than the buffer. This should restore the
functionality of the boolean return value, while not returning false for valid input from end of buffer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 04:22:38 +00:00
Mart Raudsepp
5025996266 gtk_text_iter_get_line and get_line_offset work fine on the end iter. Don't bail if we are at the end of buffer.
Fixes one part of bug #1516281, the other part is controversial and probably not reasonable to change.
Also deal with NULL being passed as the x or y pointer, as is done also on wxMSW (this was done on 2.6 branch as
well, but not noted).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 03:46:40 +00:00
Robin Dunn
d7a7616b9d Get/SetManagedWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 01:26:04 +00:00
Robin Dunn
b8193d807f Updated Scintilla to version 1.70
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 01:20:18 +00:00
Alex Bligh
dc8a1aa53d Apply patch 1520776, partial completion on wxOwnerDrawnComboBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-13 22:06:32 +00:00
Alex Bligh
0d02dd54a0 Virtualize ProcessDockResult so people can override it to prevent docking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-13 22:03:54 +00:00
Robin Dunn
5d9dedfe38 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-13 02:49:13 +00:00
Robin Dunn
f5ed42f875 enable building just the unicode version, or both unicode and ansi
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-13 02:40:46 +00:00
Robin Dunn
8cbbb5d41b Add items for the _aui and _richtext .pyd's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-13 02:37:05 +00:00
Jamie Gadd
90d05e9b6e Don't set background of wxMemoryDC before selecting bitmap into it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-13 00:41:55 +00:00
Robin Dunn
134d7051bf Reverted part of rev 1.92. It causes probelms on Windows when
scrolling with the scrollbars since the mouse can be captured nativly
momentarily.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-13 00:18:04 +00:00
Robin Dunn
a6c129111b Don't use a saved label size incase the size changes. Patch from Hong Yuan.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-12 21:48:47 +00:00
Vadim Zeitlin
fca418ae12 call SetHorizontalExtent() from SetString(); also simplified/cleaned up the former function and call InvalidateBestSize() from it automatically now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-12 21:44:34 +00:00
Robin Dunn
7521630773 wxPyDataObjectSimple::SetData should not be const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-12 21:19:20 +00:00
Stefan Neis
5824777356 Added support for MirOS, an OpenBSD variant (patch #1520208).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-12 08:59:53 +00:00
Benjamin Williams
461125ea4d renamed wxFrameManager::GetFrame() and SetFrame() to GetManagedWindow() and SetManagedWindow()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-12 07:18:19 +00:00
Robin Dunn
81f5836b89 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-12 00:19:25 +00:00
Robin Dunn
1d5ee7493b reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-11 21:17:27 +00:00
Benjamin Williams
673727f39c wxFrameManager::Render() now fires a new event, called wxEVT_AUI_RENDER, which allows all main window drawing operations to be overridden to provide custom drawing behavior
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-11 15:24:25 +00:00
Robin Dunn
a2cccbc3f3 docstring fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-11 15:21:05 +00:00
Benjamin Williams
a189504e7f wxAUI's wxFrameManager::SetFrame() now takes a wxWindow ptr instead of a wxFrame ptr, in preparation for future work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-11 13:50:49 +00:00
Włodzimierz Skiba
315a592c4e Fixed crash in book pages.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-11 12:40:38 +00:00
Włodzimierz Skiba
a7a11b21f5 Fixed conflict between wxFilePicker and wxButton.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-11 07:53:25 +00:00
Václav Slavík
f5bed7a885 refresh tree item after changing its icon so that the change is visible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 22:28:19 +00:00
Václav Slavík
0c36b36e98 test changing of selected item's icon in DoToggleIcon as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 22:27:36 +00:00
Robin Dunn
8c9126acc1 Adjust control size after Play
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 17:02:25 +00:00
Robin Dunn
619d593006 Overview string tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 17:00:43 +00:00
Robin Dunn
d04fcda14c allow transparency flags on mac too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 17:00:06 +00:00
Robin Dunn
a0c6044d7d remove WXDLLEXPORT modifiers since this isn't in the wx DLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 16:58:21 +00:00
Robin Dunn
27e4589253 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 16:45:25 +00:00
Robin Dunn
3903f40824 pywrap should be treated as a gui script
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 16:04:31 +00:00
Robin Dunn
1200ae167b Added the PseudoDC class from Paul Lanier. It provides a way to
record operations on a DC and then play them back later.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 16:03:51 +00:00
Robin Dunn
4c16bedf17 Doh! I changed the AddPane parameter names but didn't change their usage.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 16:02:19 +00:00
Robin Dunn
7e664d85e6 Added the PseudoDC class from Paul Lanier. It provides a way to
record operations on a DC and then play them back later.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 15:06:31 +00:00
Stefan Neis
8e372bbe07 Added implementation for wxGetKeyState and wxGetMouseState.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-09 17:44:08 +00:00
Mart Raudsepp
370b406c71 Use PangoFontMetrics to get wxDC::GetCharHeight, because that's the proper and clean way to get the body size of a
particular font, and it doesn't go through all the layoutting code (hence, 20-35% quicker than measuring H for
logical extents).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-09 03:46:01 +00:00
Benjamin Williams
dec588bd6e reverted an earlier patch that was causing problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-08 18:50:18 +00:00
Kevin Ollivier
3335d62252 Give MSVS project files DOS line endings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-08 05:43:51 +00:00
Robin Dunn
af672b5ae8 Add wxRTTI info for the event class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-08 02:19:03 +00:00
Robin Dunn
febb39df07 Added wrappers for wxAUI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-08 02:13:59 +00:00
Robin Dunn
06d4c4d65a Changes needed for scanning the aui header files with SWIG for
wxPython.  Also fix some DLL exports.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-07 17:53:17 +00:00
Włodzimierz Skiba
8fdc4ac7b8 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-07 10:57:02 +00:00
Alex Bligh
205515afd7 Added style wxTE_PROCESS_ENTER for wxOwnerDrawnComboBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-07 10:00:53 +00:00
Robin Dunn
0b2bbd174f Need to skipp the first half of ShowHint if the platform doesn't
have transparency support yet.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-07 05:58:48 +00:00
Kevin Ollivier
eb33893c47 Make sure it creates the directory where tarballs are stored if it doesn't exist.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 23:31:22 +00:00
Vadim Zeitlin
9ffab13f6d gcc -Wundef warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 23:01:29 +00:00
Robin Dunn
9165401fbe Undeprecate wxGetNumberFromUser, add wxNumberEntryDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 22:15:24 +00:00
Robin Dunn
2b73a34e1b properly offset the mouse position for the label window clicks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 22:13:24 +00:00
Alex Bligh
25ae9fb8ca wxComboCtrlBase: Fix SEGV due to double deletion where SetPopupControl is called twice after lazy creation of the popup, the first deleting m_popupExtraHandler and the second attempting to delete it a second time.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 19:19:04 +00:00
Alex Bligh
d9e0958c7e Added GetWidestItem() and GetWidestItemWidth() to wxVListBoxComboPopup
and wxOwnerDrawnComboBox as per Jaakko Salli


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 17:42:39 +00:00
Włodzimierz Skiba
ca5db7b213 Dummy stub for wxGetMouseState() (tinderbox build fix)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 12:24:23 +00:00
Włodzimierz Skiba
a1b3b60832 Tinderbox warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 10:47:29 +00:00
Włodzimierz Skiba
23f826bdf9 wxRound() workaround to avoid unexpected compile and link errors on incomplete environments (Tinderbox build fix).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 09:09:09 +00:00
Włodzimierz Skiba
2ea6c1f77a Temporarily disable colour picker to keep build working and bofore finding nice replacement for smartphone build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 07:07:52 +00:00
Włodzimierz Skiba
c5197da440 Missing include for wxCocoa build at Tinderbox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 06:47:13 +00:00
Vadim Zeitlin
7c5cd6e9ad wxMenu::AppendRadioItem() now implemented under all platforms but wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 00:17:50 +00:00
Vadim Zeitlin
468c46935a use ZIP entry modification time, not the (inexistent) file modification time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 00:14:26 +00:00
Robin Dunn
2713fedc46 Oops, I misremembered the name of wxUnusedVar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 00:01:29 +00:00
Robin Dunn
81cc4eb227 Enable transparent hints and dragging on wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 23:48:19 +00:00
Alex Bligh
5c62cb6c7d wxAUI: maintain minimum size of panes across dock/undock.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 23:09:33 +00:00
Robin Dunn
110fa1739c reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 18:54:51 +00:00
Robin Dunn
5ebc78ec46 reorg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 18:52:36 +00:00
Robin Dunn
d58c3ba284 Add wxBK_HITTEST flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 18:44:44 +00:00
Robin Dunn
e8a5d614ca Remove call to gtk_pizza_set_clear, which doesn't exist any more.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 18:39:42 +00:00
Robin Dunn
eb499cb08f cleanup and minor tweak for wxPython build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 18:39:03 +00:00
Alex Bligh
dd5efcb7b8 Remove bogus include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 17:10:15 +00:00
Benjamin Williams
e092fb2e67 fixed wrong comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 16:39:04 +00:00
Benjamin Williams
5875464394 added EVT_AUI_PANECLOSE and updated sample accordingly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 16:38:02 +00:00
Stefan Csomor
17d4f7aca8 int warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 13:11:20 +00:00
Stefan Csomor
747592e7cb making cocoa build again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 13:10:46 +00:00
Włodzimierz Skiba
9804d5404a wxNB_HITTEST_* flags renamed to wxBK_HITTEST_* to serve all book controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 12:21:13 +00:00
Włodzimierz Skiba
84dc000666 Return OS description for WinCE too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 12:04:53 +00:00
Robin Dunn
f0ac483feb renamed setup.py to tr_setup.py because build-all does an import of
setup, (to get the version number) expecting to get the one in the
root wxPython dir.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 05:25:25 +00:00
Robin Dunn
0f475e8aa9 Build and distrib tweaks ported over from the 2.6 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 05:23:28 +00:00
Kevin Ollivier
2dfa1180b0 Now we can build all tarballs on one (Unix shell) box using pre-flight.sh.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 04:37:42 +00:00
Kevin Ollivier
d328538750 Factoring out redundant steps in the build process to their own function.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 04:09:40 +00:00
Kevin Ollivier
adf154089e Make note about the need for unix2dos on Mac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 04:07:30 +00:00
Robin Dunn
0ef86618c5 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 03:23:50 +00:00
Robin Dunn
80b08b7f31 wxRichTextCtrl now takes a value parameter in the constructor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 03:18:39 +00:00
Robin Dunn
d1a49b7829 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 02:07:46 +00:00
Robin Dunn
065fa541eb Avoid crash in SelectAll if there are no nodes besides the root
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 01:35:36 +00:00
Robin Dunn
96221a45d3 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 01:31:58 +00:00
Robin Dunn
92515dfc1c reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 00:59:54 +00:00
Robin Dunn
f1d0b1300c oops
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 00:53:20 +00:00
Robin Dunn
475edb11e0 no need to %import gdi.i
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 00:47:56 +00:00
Robin Dunn
361b8ff771 Docstring fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 00:46:05 +00:00
Robin Dunn
c9e13cbb59 Typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 00:45:38 +00:00
Robin Dunn
4f89b6b70a reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 00:45:27 +00:00
Robin Dunn
d7ab65f80d Changes needed for building with Python 2.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 00:43:02 +00:00
Robin Dunn
a608c09d85 Changes needed for building with Python 2.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 00:37:11 +00:00
Robin Dunn
453fb36b0a reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 22:29:24 +00:00
Robin Dunn
3d6c9062b1 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 22:18:27 +00:00
Alex Bligh
c68038f3bd wxAUI: Send cancel event on floating panes closing too (last log was misleading - that was on docked panes with a hand-drawn close button).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 19:58:24 +00:00
Alex Bligh
cf08f19a72 wxAUI: Send a cancel event to the window within a frame which is closed, so it knows it is being destroyed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 19:52:22 +00:00
Włodzimierz Skiba
80d9952564 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 19:49:08 +00:00
Alex Bligh
e4542fa6e2 wxAUI: Make 2 methods virtual and unprotect member variables to enable apps to do their own hint windows until a generally acceptable mechanism for platforms other than MSW is found.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 19:25:07 +00:00
Włodzimierz Skiba
e8a793f06c XRC headers cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 18:08:09 +00:00
Robin Dunn
2bbabc0647 Fix typo that caused a global variable to be used instead of the local
function parameter


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 17:22:21 +00:00
Mart Raudsepp
239ef31452 The method is called CreatePopupMenu, not CreatePopupIcon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 17:01:12 +00:00
Vadim Zeitlin
8f9643924b release build unused variable warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 16:43:25 +00:00
Angel Vidal Veiga
b5348bbb19 Reverting my first test commit, as per ABX request
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 16:08:16 +00:00
Julian Smart
3956d02ab6 Scrolling improvements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 15:35:34 +00:00
Alex Bligh
e5ab82d310 wxAUI: Made fixed size floating panes work
wxAUI: Added IMPLEMENT_CLASS etc. for wxFloatingPane for a later patch


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 15:26:33 +00:00
Stefan Csomor
ed3d6ace49 XTI adaption for new event name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 14:16:33 +00:00
Stefan Csomor
8e952859a6 wxColour lost its Create method, use direct creation for XTI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 12:31:47 +00:00
Włodzimierz Skiba
99ae6124dd WinCE build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 10:33:06 +00:00
Stefan Csomor
d43d9ee796 was crashing wxCocoa builds (decomposition will be needed there as well, but the current implementation is based on the TEConverters)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 09:12:34 +00:00
Włodzimierz Skiba
56f33b5ecd [ 1515213 ] Combo sample improvements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 08:58:06 +00:00
Robin Dunn
8b4c82b815 build tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 04:01:16 +00:00
Vadim Zeitlin
f8dbde42fa s/WXK_NEXT/WXK_PAGEDOWN/ to fix compilation with compatibility off
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 00:37:31 +00:00
Vadim Zeitlin
956689757d don't assert in SetStringSelection() if the item isn't found for consistency with wxItemContainerImmutable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 00:31:52 +00:00
Vadim Zeitlin
1294722aa6 fix -Wundef gcc warnings about wxUSE_MS_HTML_HELP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 00:11:52 +00:00
Robin Dunn
47136f0f6d Added ExpandAll and ExpandAllChildren
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 22:28:05 +00:00
Julian Smart
27e20452c4 SetStyle/GetStyle corrections
Added compatibility ctor to wxTextAttrEx
wxRichTextCtrl should take a string value for wxTextCtrl compatibility


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 21:13:18 +00:00
Julian Smart
27b12131a6 wxRichTextCtrl updates and corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 21:00:39 +00:00
Robin Dunn
1a51c85ff3 ExpandAll and ExpandAllChildren are in wxTreeCtrlBase now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 20:55:39 +00:00
Włodzimierz Skiba
155ecd4c42 Include wx/image.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 19:02:54 +00:00
Włodzimierz Skiba
67193066b2 Rich text lib separation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 18:12:38 +00:00
Julian Smart
6b69c8ee88 Use wxTextCtrlBase as base class on 2.7
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 17:51:34 +00:00
Robin Dunn
b9db15f1e9 The richtext code is now in it's own lib/DLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 17:23:54 +00:00
Robin Dunn
a3f6a2cd3a The richtext DLL needs to also link with the html and xml DLLs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 17:22:02 +00:00
Włodzimierz Skiba
2cb77cb189 Rich text lib separation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 15:12:36 +00:00
Włodzimierz Skiba
98d0cd96fb [ 1515217 ] wxComboCtrl textctrl event propagation bug.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 12:48:21 +00:00
Vadim Zeitlin
3126a4ee61 removed wxHyperlinkCtrl from this sample, it's not in the widgets one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 12:41:00 +00:00
Vadim Zeitlin
c4ef14c263 make the frame big enough to show all controls initially
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 12:39:27 +00:00
Włodzimierz Skiba
276ebe79a6 [ 1515520 ] wxOwnerDrawnComboBox mouse hover on partially visible item.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 12:23:51 +00:00
Stefan Neis
5aeabc1a36 Updated information on concurrent installs.
Made tab usage consistent in description of configure options.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 22:07:39 +00:00
Stefan Neis
fe557b48e4 Removed some outdated stuff.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 21:57:49 +00:00
Stefan Neis
6a17b868de Fixed typos in comments (patch #1515724)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 21:40:38 +00:00
Stefan Neis
331f1e07ce Fixes to sizing and others, according to patch #1507207.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 21:11:58 +00:00
Julian Smart
05b4fddf49 Implemented wxTextAttrEx::CombineEx and wxRichTextAttr::Combine
Setting the default style now combines the default with the
new style, instead of just overriding it, so it is possible to
select e.g. bold and italic simultaneously in the sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 13:43:42 +00:00
Vadim Zeitlin
f2a59080e9 corrected preview scale calculation (patch from Daniel Walter)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 12:56:34 +00:00
Vadim Zeitlin
64c1effefa use PROOF_QUALITY in LOGFONT by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 12:49:21 +00:00
Vadim Zeitlin
cc3de8a3fc take pixel sizes into account as well when comparing fonts, not just point sizes which could be the same for fonts with slightly different height in pixels or, worse, the fonts with the same height but compeltely different widths
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 12:47:59 +00:00
Julian Smart
9d11268884 Added wxTextCtrlBase to type info, useful if different text control
implementations are available


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 07:41:02 +00:00
Julian Smart
c9f3a6a81d Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 07:17:46 +00:00
Julian Smart
da0d2c78ce Seems to work fine without switching off anti-aliasing now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 06:58:02 +00:00
Vadim Zeitlin
6f706ee0a3 fix appearance problems when the cell is scrolled (patch 1515458)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 01:35:01 +00:00
Vadim Zeitlin
df96c0fce6 use gtk_file_chooser_set_current_folder() instead of gtk_file_chooser_set_filename() in GTK+ native SetPath() branch (patch 1513554)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 01:31:55 +00:00
Vadim Zeitlin
2cc1457dd5 added indirect base classes too (patch 1513451)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 01:30:14 +00:00
Vadim Zeitlin
bd8bd26a79 Index() is const (patch 1513451)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 01:28:35 +00:00
Vadim Zeitlin
7093413895 added ExpandAllChildrne() (patch 1498343)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 01:22:42 +00:00
Vadim Zeitlin
5d95cab89d don't use old name for wxTE_PROCESS_ENTER unavailable when compatibility is off
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 01:08:46 +00:00
Vadim Zeitlin
b524b5c6f8 reset m_selectingKeyboard in ClearSelection() too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 00:29:58 +00:00
Vadim Zeitlin
c849ecefc2 don't refresh the menu if it's frozen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 00:17:42 +00:00
Julian Smart
511c6d9ec1 Corrected GIF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-01 20:32:34 +00:00
Julian Smart
5f35b46aab First cut at wxRichTextCtrl documentation
Put wxTextAttr into separate file to allow correct ordering


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-01 20:30:58 +00:00
Julian Smart
b3f6656af6 Removed duplicate wxDCClipper documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-01 20:21:49 +00:00
Julian Smart
c851c8b468 Swapped parameters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-01 19:51:14 +00:00
Julian Smart
563d25babe Need to convert from physical to logical units inside HitTest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-01 16:43:54 +00:00
Vadim Zeitlin
6fd54d582d don't set the size to the full screen for the windows which are maximized before being shown, just set the pending size to make sure that layout calculations work correctly but without breaking restoring the window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-01 14:21:58 +00:00
Vadim Zeitlin
0d6fdb3cbd use WM_NCCALCSIZE in DoGetClientSize() if the window has deferred size, even if it's toplevel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-01 14:19:41 +00:00
Vadim Zeitlin
977f50f3fd don't ignore dialog code when processing Ctrl-keys; otherwise text controls and listboxes never get Ctrl-PageUp/Dn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 23:27:46 +00:00
Vadim Zeitlin
45262a3415 avoid asserts by not using GetSelection() with multi selection listbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 23:25:18 +00:00
Vadim Zeitlin
1a8b677e3b added wxHyperLink and context help testing code (not sure if either of them should actually be here...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 23:16:55 +00:00
Vadim Zeitlin
efe5e221b4 support Ctrl-PageUp/Dn for changing the notebook pages in addition to [Shift-]Ctrl-Tab (this is also a standard key combination)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 23:08:00 +00:00
Vadim Zeitlin
b3e5d05894 we don't need to override MSWTranslateMessage(), it was a wrong workaround for the bug fixed in rev 1.41 of src/msw/evtloop.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 23:00:11 +00:00
Vadim Zeitlin
f638866768 call MSWProcessMessage() for the window itself, although a comment said that this was done it, in fact, wasn't (since rev 1.11 when this was changed, apparently accidentally)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 22:59:01 +00:00
Vadim Zeitlin
0c9da2fa86 moved wxUSE_MS_HTML_HELP to MSW-specific setup.h, it's not used on other platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 22:04:56 +00:00
Angel Vidal Veiga
4d8b1e4791 Old socket code has no wxDatagramSocket::Connect() or DisconnecT(), removing from HEAD docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 17:32:56 +00:00
Stefan Csomor
739cb14a31 making sure mac filenames are always decomposed D Unicode UTF8 and the internal wxStrings are using composed D Unicode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 14:24:14 +00:00
Angel Vidal Veiga
033ab32e66 wxDatagramSocket docs added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 12:37:30 +00:00
Angel Vidal Veiga
5938a184a5 Fixes tex2rtf to search for files on current folder too. This is basically to test my write access (tho also fixes tex2rtf for some people, including me)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 12:01:15 +00:00
Václav Slavík
84b2e3765d fixed wxCheckBoxBase::DoUpdateWindowUI to handle disabling and hiding of the control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 10:51:44 +00:00
Stefan Csomor
9fff727353 missing retval
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 09:16:41 +00:00
Stefan Csomor
aee237983f fixing PPI bugs in printer dcs and print preview
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 08:45:03 +00:00
Stefan Csomor
db49000e6c fixing PPI bugs in printer dcs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 08:44:12 +00:00
Benjamin Williams
cc0196c794 added/expanded various comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 07:28:39 +00:00
Robin Dunn
706c14d6d1 Removed __future__ import that has been in the "past" for several
years now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 22:24:00 +00:00
Stefan Csomor
757302fda3 switching all text rendering/measuring to ATSUI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 17:25:40 +00:00
Stefan Csomor
dfd468aafd moving UniChar code to one place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 17:23:37 +00:00
Vadim Zeitlin
0910467e7c call wxApp::OnInit() from MyApp::OnInit() so that standard options (like wxUniv --theme) work with the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 13:47:45 +00:00
Vadim Zeitlin
65f0638484 flush stderr in wxSafeShowMessage(): this might be unnecessary but definitely doesn't hurt and could be useful if stderr is redirected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 12:42:06 +00:00
Julian Smart
562b006812 Moved wrongly placed hit test constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 12:04:19 +00:00
Julian Smart
13127359b0 Changed order of libs to fix linking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 08:19:12 +00:00
Stefan Csomor
a0ef88bde8 fix for potential crash when conversion fails
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 08:16:49 +00:00
Stefan Csomor
1ae82ba9f2 fix for potention crash when conversion fails
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 08:07:50 +00:00
Julian Smart
8b6682b97c Respun configure for richtext library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 07:55:33 +00:00
Julian Smart
c69f98840b Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 07:50:32 +00:00
Julian Smart
3b2cb4316b Moved wxRichTextCtrl to its own library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 07:16:39 +00:00
Robin Dunn
ae200bfcb5 Added SWIG patches to allow compiling the generated code with
Python 2.5


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 02:34:31 +00:00
Robin Dunn
1c930beb60 Applied patch from Armel Asselin that reduces memory required when
pasting text and when sending events.

Comment out some unneeded asserts.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-28 19:32:18 +00:00
Julian Smart
1215ec07d8 Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-28 17:45:13 +00:00
Vadim Zeitlin
1bc7969717 added missing wx/sizer.h header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-28 14:01:35 +00:00
Julian Smart
d876667522 Fixed zoom problem (Robert J.Lang)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-28 12:56:05 +00:00
Julian Smart
7f0d9d717d Added support for tabs in wxRichTextCtrl (Ashish More)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-28 10:57:20 +00:00
Robin Dunn
b02396e86f reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 23:05:12 +00:00
Robin Dunn
e0c068c0e8 new wxTreeEvent ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:46:34 +00:00
Robin Dunn
6eed24bf78 Don't use custom bg style except on wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:39:31 +00:00
Robin Dunn
9718662d67 Picker control updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:37:13 +00:00
Robin Dunn
cf952100f3 Changed call order of the PreCreate method, and pass the pre instance
to it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:36:24 +00:00
Robin Dunn
3ad84671d3 little tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:35:33 +00:00
Robin Dunn
48e71d8ad7 New SetModified method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:33:14 +00:00
Robin Dunn
c6e49b914c New wxNB_HITTEST_ONPAGE flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:31:36 +00:00
Robin Dunn
cbb4b39d97 Added missing platform constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:30:47 +00:00
Robin Dunn
a43dbe7260 Remove use of wxHIDE_READONLY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:30:12 +00:00
Robin Dunn
16182b7b52 Put wxHIDE_READONLY back for compatibility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:29:27 +00:00
Robin Dunn
2305710499 wxMSW doesn't look in a LC_MESSAGES dir for the message catalogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:02:59 +00:00
Robin Dunn
49b6ebb7e1 Put back the old wxTreeEvent ctor for compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 21:21:36 +00:00
Kevin Ollivier
2d837688be Fixed incorrect get page source check around SetPageSource.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 20:53:37 +00:00
Robin Dunn
3c3b35589a wxPickerBase derives from wxControl, not wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 19:19:31 +00:00
Robin Dunn
690c6e8eef fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 19:16:11 +00:00
Vadim Zeitlin
2388d9b331 added a wxTreeEvent ctor taking the associated wxTreeCtrl and optional wxTreeItemId; this reduces code duplication and also allows us to easily ensure that client data pointer is set properly for all events (it was never initialized before) (replaces patch 1503531)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 18:49:06 +00:00
Vadim Zeitlin
09f277d683 added a wxTreeEvent ctor taking the associated wxTreeCtrl and optional wxTreeItemId; this reduces code duplication and also allows us to easily ensure that client data pointer is set properly for all events (it was never initialized before) (replaces patch 1503531)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 14:58:46 +00:00
Vadim Zeitlin
bf85ddfc8a look in the environment for the options values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 14:33:14 +00:00
Vadim Zeitlin
7b4eedf698 added wxUSE_PRINTF_POS_PARAMS which can be used to force the use of built-in printf (2nd part of patch 1462778)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 14:24:53 +00:00
Vadim Zeitlin
247c23b466 fix handling of % in our printf implementation (part of patch 1462778)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 14:21:15 +00:00
Vadim Zeitlin
42a3ecf573 create text control with wxTE_PROCESS_ENTER style if we have wxPROCESS_ENTER ourselves (patch 1512803)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 14:15:31 +00:00
Vadim Zeitlin
57b49e9445 fix VC compilation warnings about implicit int->bool conversion after last check in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 14:12:05 +00:00
Vadim Zeitlin
a65ffcb229 use wxBoxSizer in wxPickerBase instead of doing the layout manually + other picker controls fixes (patch 1513042)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 14:07:45 +00:00
Vadim Zeitlin
5769347356 remove duplicate m_popupInterface (patch 1509424)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 14:04:27 +00:00
Julian Smart
6334d90353 Added wxPROPSHEET_TREEBOOK option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 08:01:54 +00:00
Julian Smart
58f1fdc926 Remove use of GetVolumeInformation since it causes long delays on network drives.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 07:55:15 +00:00
Vadim Zeitlin
800991b674 allow empty filename in ctor taking the extents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 14:39:56 +00:00
Vadim Zeitlin
547ceb38ff include wx/msw/metafile.h when wxUSE_WIN_METAFILES_ALWAYS==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 14:37:34 +00:00
Vadim Zeitlin
eeea41abbc force showing 0 in the spin control instead of leaving it empty as the native spin button seems to be content to do
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 12:20:50 +00:00
Vadim Zeitlin
58772e4992 picker controls improvements: fixes to valid paths recognition and event generation under GTK (patch 1510064)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 01:04:44 +00:00
Vadim Zeitlin
6be6127e66 add SetSelection(-1) test (part of patch 1506943)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 00:47:47 +00:00
Vadim Zeitlin
ef33382e43 deselect all items when SetSelection(-1) is called (patch 1506943)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 00:46:32 +00:00
Vadim Zeitlin
be0ac1819a added SetModified() for people who find it easier to understand than MarkDirty/DiscardEdits (patch 1504449)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 00:39:32 +00:00
Vadim Zeitlin
ca243008b3 remove the item from proportions arrays as well as from m_growableCols/Rows in wxFlexGridSizer::RemoveGrowableCol/Row(); also added an assert in case the item to remove is not growable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 00:11:59 +00:00
Vadim Zeitlin
f5a9eef7c7 define WXMAKINGDLL_QA when WXMAKINGDLL is defined (patch 1502015)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 00:03:33 +00:00
Vadim Zeitlin
b21d68c68b explicitely include <shellapi.h>, apparently needed when wxUSE_GUI=0 and PCH are not used (patch 1501701)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 00:01:03 +00:00
Vadim Zeitlin
686ecd1557 avoid infinite loop in AlwaysYield() if we somehow got WM_PAINT in the queue (patch 1501682)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-25 23:53:53 +00:00
Vadim Zeitlin
d595fb29c9 fix gcc warnings about in printf format (partly modified patch 1500717)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-25 23:47:50 +00:00
Vadim Zeitlin
669c595daf added an extra pixel to the margin in CalcSizeFromPage() (patch 1498847)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-25 23:43:11 +00:00
Kevin Ollivier
9ef3cca85b Setting up unix dobuilds script to run gtk2 builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-25 18:54:10 +00:00
Kevin Ollivier
95a866a69f Removing all occurrences of the distrib scripts in the manifests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-25 18:48:00 +00:00
Vadim Zeitlin
5e3b8b9301 added a possibility to test how a custom bitmap appears in the toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-25 18:43:23 +00:00
Michael Wetherell
2d672c46c0 Make IsOfClass out-of-line to defend against gcc 3.4.[56] bug:
http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?5:msp:75436:ofgfinakfempiciaejof


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-24 11:18:28 +00:00
Vadim Zeitlin
aceeebce6d added back 2 extra pixels for the best size under XP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-24 09:10:02 +00:00
Vadim Zeitlin
e59c2b2da3 added VK_SNAPSHOT <-> WXK_SNAPSHOT mapping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-22 18:33:26 +00:00
Vadim Zeitlin
7140327898 recognize WXK_NUMPAD_XXX keys in wxCharCodeWXToMSW(): it's better to map them to VK_XXX then to some random junk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-22 18:31:43 +00:00
Vadim Zeitlin
d5c21b02b5 reorganized VK to WXK translation code to use a table instead of huge switch statement in which it was too easy to get lost
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-22 18:27:02 +00:00
Vadim Zeitlin
d381e983eb more tweaks to bitmap button borders:
- we don't seem to need the extra +2 after Jamie's fix for the min size
- we shouldn't use margins at all for buttons without border, this looks bad
- refactored the code slightly to avoid some duplication


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-22 17:22:13 +00:00
Julian Smart
0a292d0de4 Added missing makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-22 14:20:44 +00:00
Vadim Zeitlin
21dc463833 strip HTML tags when searching for keywords
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-22 01:12:06 +00:00
Vadim Zeitlin
a0d43d79c2 corrected redundant link to wxLogTextCtrl itself in its see also section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-22 00:20:57 +00:00
Vadim Zeitlin
fb9534f1e1 removed unexplainable deletion of .bkl files in debian-dist target which broke make install
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-21 21:46:31 +00:00
Vadim Zeitlin
b945df0092 added WX_UNICODE and WX_OPENGL options which can be used to build packages without Unicode/OpenGL; as a side benefit all configure arguments are now centralized in one place instead of being repeated many times
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-21 18:06:44 +00:00
Włodzimierz Skiba
b5c4d59ef4 Fix for dir dialog in dir picker appearing without title and border under universal builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-21 14:38:50 +00:00
Włodzimierz Skiba
8dd8666360 Include wx/gdiobj.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-21 14:22:05 +00:00
Włodzimierz Skiba
137c8bde08 [ 1509599 ] 'Split pickers page in widgets sample' with more icons and rebaking.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-21 10:46:00 +00:00
Włodzimierz Skiba
841f23e18a Include wx/containr.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-21 07:36:58 +00:00
Włodzimierz Skiba
6e204d57c4 Removed outdated initialization.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-20 17:02:26 +00:00
Robin Dunn
5079d4eb41 Patch for [ 1489711 ] analogclock hour hand sticks on 12:00 noon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-20 16:36:55 +00:00
Włodzimierz Skiba
53e5be64f6 Rebuild after new files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-20 14:46:55 +00:00
Włodzimierz Skiba
47a2e1ee4b Fix for wxMGL built with common part of setup0.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-20 14:45:56 +00:00
Włodzimierz Skiba
badea9f271 Rebuild after new files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-20 12:59:39 +00:00
Włodzimierz Skiba
7c90392a61 Fix for wxOS2 built with common prt of setup0.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-20 12:57:30 +00:00
Włodzimierz Skiba
582f07c253 [ 1487463 ] XRC handler for wxOwnerDrawnComboBox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-20 12:26:09 +00:00
Włodzimierz Skiba
df69528b7e Include wx/hashmap.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-20 10:24:07 +00:00
Kevin Ollivier
06839aadca Updating manifests and attempting to use manifests to generate all ports.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-20 00:36:19 +00:00
Jamie Gadd
9d1b7527cd Add required padding to DoGetBestSize() for small bitmaps when using themes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 23:50:18 +00:00
Włodzimierz Skiba
8e5ec12961 [ 1508778 ] Fix for wxOwnerDrawnComboBox list selection rendering.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 21:14:19 +00:00
Włodzimierz Skiba
dd05139a80 Include wx/gdicmn.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 20:18:46 +00:00
Paul Cornett
b85229d15b remove redundant GdkBitmap representation from wxBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 18:30:13 +00:00
Paul Cornett
0006b9a540 remove obsolete color cube and image to bitmap code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 16:14:21 +00:00
Włodzimierz Skiba
410bfc9383 [ 1507795 ] Small doc patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 09:20:16 +00:00
Włodzimierz Skiba
d924939be8 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 09:03:40 +00:00
Włodzimierz Skiba
e5d6334238 [ 1507736 ] wxOwnerDrawnComboBox improved list item width checking.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 09:02:10 +00:00
Vadim Zeitlin
1d39a12a30 more tweaks to the margins: don't need them to be so big in vertical direction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 08:24:39 +00:00
Włodzimierz Skiba
25466131ac Include wx/menuitem.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 07:12:50 +00:00
Paul Cornett
fa21f43888 initialize GdkColor so code which incorrectly accesses it will work as well as it did before
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 03:19:44 +00:00
Vadim Zeitlin
d57725b576 fixed incorrect reference to wxhelpeventorigin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 21:40:22 +00:00
Vadim Zeitlin
9413e1e34a allow claling Unassociate() on previously not initialized wxMimeTypesManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 21:33:38 +00:00
Stefan Neis
21a9132e92 Fixed sizer height and queried text length according to patch #1507207
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 19:31:07 +00:00
Stefan Neis
1ebd017e14 Partly reverted changes to Get(Current)Selection.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 19:25:41 +00:00
Stefan Neis
7c2151fa69 Avoid problems with events that might be sent during creation of controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 11:45:30 +00:00
Julian Smart
0db43f1ab6 Wouldn't compile on Intel/universal binary with those tests, and
do we really need several lines of ifdefing just to include a header
maybe for microsecond gains?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 11:16:43 +00:00
Julian Smart
2273efca47 Give app a default wxWidgets icon other than random one e.g. CD-ROM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 11:07:19 +00:00
Paul Cornett
db60c20db8 revert unintended changes in previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 06:54:05 +00:00
Paul Cornett
2796f657c9 build fix for older gtk2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 06:42:24 +00:00
Paul Cornett
4f558e23ff build fix for older gtk2, second attempt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 03:37:24 +00:00
Paul Cornett
086b047624 build fix for older gtk2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-17 21:09:53 +00:00
Robin Dunn
909b16f629 Make the picker headers accessible to all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-17 20:50:01 +00:00
Paul Cornett
a0f81e9f15 use AllocExclusive in wxImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-17 19:09:28 +00:00
Vadim Zeitlin
cb5bc9b7e2 don't loop needlessly in OnHelp() if the event comes from the bookctrl itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-16 12:48:54 +00:00
Włodzimierz Skiba
6bdcf0b143 Final fix from '[ 1473731 ] wxColourBase and wxString <-> wxColour implementation'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-16 10:42:07 +00:00
Włodzimierz Skiba
3c15a15128 Header correction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-16 09:31:12 +00:00
Włodzimierz Skiba
103791a6d0 [ 1504474 ] Small hyperlink doc fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-16 09:11:09 +00:00
Jouk Jansen
1fe0a566bb Committing in .
Update OpenVMS makefiles to support wxAUI

 Modified Files:
	wxWidgets/descrip.mms
 Added Files:
 	wxWidgets/samples/aui/descrip.mms
 	wxWidgets/src/aui/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-16 07:20:31 +00:00
Włodzimierz Skiba
b3a44e057b Include wx/region.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-16 07:14:51 +00:00
Włodzimierz Skiba
32c62191d7 Final fix for Bug #1472688 'wxString::Trim() is broken'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 23:21:28 +00:00
Kevin Ollivier
000cdd5eac Fix typos in picker control header names in files.bkl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 23:06:45 +00:00
Michael Wetherell
302b85411f Bourne compatible wx-config changelog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 22:18:52 +00:00
Włodzimierz Skiba
db53c6ea2e [ 1506733 ] wxOwnerDrawnComboBox::SetPopupControl argument type check.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 21:10:58 +00:00
Michael Wetherell
af1a6227cc Make wxMouseState's alt and meta match those in events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 20:33:38 +00:00
Paul Cornett
c668531784 1. more accurate conversion from 8-bit wx color to 16-bit GDK color
2. eliminate possiblity of wxColour RGB values changing depending on colormap
3. don't allow non-const pointer access to internal GdkColor


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 19:29:08 +00:00
Michael Wetherell
06414d99a7 Implement wxGetMouseState
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 18:51:35 +00:00
Włodzimierz Skiba
0433fd85f1 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 18:14:22 +00:00
Włodzimierz Skiba
18680f8651 Include wx/math.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 17:58:49 +00:00
Vadim Zeitlin
0d1c8f39ba bitmap button size was too small when uxtheme functions were used to get the margins
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 16:01:17 +00:00
Michael Wetherell
ddf6057454 Use bitfields to make wxMouseState smaller
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 14:16:10 +00:00
Dimitri Schoolwerth
8de5222362 forwardported a 2.6 branch fix for misplaced define
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 14:06:24 +00:00
Michael Wetherell
0cbc5287be Implement wxGetMouseState
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 13:57:45 +00:00
Dimitri Schoolwerth
9d73af583e added alternative definitions for wxASSERT_MSG and wxCHECK2_MSG to fix CodeWarrior warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 12:40:34 +00:00
Michael Wetherell
6c73e20df7 Missing header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 11:10:33 +00:00
Michael Wetherell
c4a04e0f25 Fix lib link order in combo sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 10:41:37 +00:00
Michael Wetherell
936d5729e2 Compile fix after wxFileDialog::SetStyle removal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 10:20:32 +00:00
Michael Wetherell
063708fcce Missing exports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 09:13:29 +00:00
Michael Wetherell
2cc833a1bd Cygwin compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 08:39:58 +00:00
Włodzimierz Skiba
48a1108eb8 Include wx/font.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 19:51:14 +00:00
Włodzimierz Skiba
54a6176249 [ 1495131 ] wxODComboBox const methods to work prior to SetPopupControl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 19:32:32 +00:00
Robin Dunn
3370ec75f4 Prevent exception if there is an attribute named just '_'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 19:16:33 +00:00
Włodzimierz Skiba
0dfff67407 [ 1495657 ] Documentation for wxComboCtrl and wxOwnerDrawnComboBox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 19:15:29 +00:00
Włodzimierz Skiba
40b26d752d [ 1492053 ] Add wxVListBox style callbacks to wxOwnerDrawnComboBox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 18:38:47 +00:00
Vadim Zeitlin
ec09e18d35 more fixes to OnHelp() to avoid infinite recursion when handling help events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 18:37:48 +00:00
Robin Dunn
501b023b17 Revert last change, it causes problems with not being able to use
AutoCompletion in situations like "test=foo."


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 18:36:56 +00:00
Vadim Zeitlin
df1496e3eb context help for notebook pages tests added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 18:32:26 +00:00
Vadim Zeitlin
dc134969ef let wxFRAME_EX_CONTEXTHELP override wxM{IN|AX}IMIZE_BOX as the latter are included in the default style and getting rid of them manually requires writing ugly wxDEFAULT_FRAME_STYLE & ~(wxMINIMIZE_BOX | wxMAXIMIZE_BOX) while this is almost always what we need
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 18:27:55 +00:00
Vadim Zeitlin
392c5133ff show native-looking (with 3D shadow) help tooltips for context help, if possible, using wxCHMHelpController
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 17:46:51 +00:00
Włodzimierz Skiba
7cf41a5d66 Include wx/colour.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 17:09:39 +00:00
Włodzimierz Skiba
d4d02bd565 Code symetry for both directions of trimming towards fixing bug #1472688.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 16:42:35 +00:00
Włodzimierz Skiba
e6a99197fb wxString::Trim() test.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 16:32:24 +00:00
Julian Smart
36043052e8 Compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 16:31:40 +00:00
Vadim Zeitlin
9aa21ba171 fixed wrong return value and child creation login in GetWindowChild() (includes patch 1506083)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 15:55:43 +00:00
Vadim Zeitlin
d0a84b6338 fill in flags parameter of HitTest() for all book controls; added new wxNB_HITTEST_ONPAGE bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 15:54:24 +00:00
Włodzimierz Skiba
6dcf9888aa Unneeded semicolon.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 15:03:55 +00:00
Julian Smart
5637cc3551 Fix for wrong combobox/height being reported if set size is pending
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 13:11:53 +00:00
Vadim Zeitlin
be0e5d699f made wxTree/ListCtrl::HitTest() const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 12:00:57 +00:00
Julian Smart
028285e4af wxCalendarCtrl workaround for occasional wrong combobox height reporting on wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 11:42:01 +00:00
Vadim Zeitlin
fc4c80b8c0 fix for the last printf format warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 10:33:06 +00:00
Włodzimierz Skiba
3458e408ba Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 10:19:14 +00:00
Włodzimierz Skiba
696978ee96 Whitespaces lined up.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 10:14:13 +00:00
Włodzimierz Skiba
b836b6ea08 Don't create uneeded variables.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 10:10:53 +00:00
Włodzimierz Skiba
0bca037363 Include wx/bitmap.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 10:02:19 +00:00
Robin Dunn
15fa9a1f82 fixed line endings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 06:38:38 +00:00
Robin Dunn
f10dc08772 Revert last change, it was unintended
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 04:08:33 +00:00
Robin Dunn
c331e19f10 fixed line endings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 04:05:05 +00:00
Kevin Ollivier
677b38f28e Updating MSW file list.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 23:37:57 +00:00
Robin Dunn
b850e7f334 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 22:33:05 +00:00
Robin Dunn
8942133af3 GetItemFromPoint is protected on wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 22:27:52 +00:00
Robin Dunn
e2e2649fab Correctly handle the release of ownership of the wx.FSFile returned
from wx.FileSystemHandler.OpenFile.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 22:25:33 +00:00
Vadim Zeitlin
f2f8871a2e document wxHelpEvent::Set/GetOrigin()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 22:05:23 +00:00
Włodzimierz Skiba
1832043f93 Include wx/toplevel.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 20:44:51 +00:00
Robin Dunn
cffdf649a9 Add support for generating classes for menus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 20:12:18 +00:00
Robin Dunn
ab3db25392 Allow AutoCompletion for items in collections too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 19:09:03 +00:00
Robin Dunn
a353270280 Help text for regions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 19:08:21 +00:00
Robin Dunn
9a45f8a323 Change header label
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 18:55:07 +00:00
Robin Dunn
7da1b5f9c1 Ctrl-letter --> ascii(1..26) for EVT_CHAR events now also works when
CAPS-LOCK is on.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 18:52:28 +00:00
Włodzimierz Skiba
2d4ec36258 wxWinCE build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 11:34:36 +00:00
Włodzimierz Skiba
aaa6d89a0d Include wx/arrstr.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 11:30:40 +00:00
Włodzimierz Skiba
2760de09d0 Removed unused files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 11:05:18 +00:00
Włodzimierz Skiba
7f9d7dea16 Fixed broken reference.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 10:41:37 +00:00
Włodzimierz Skiba
fefee1134b Allow some paths to be relative to current dir.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 10:38:45 +00:00
Włodzimierz Skiba
8c3bbbea2d Fixed accidental removal in one of past editings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 10:34:58 +00:00
Kevin Ollivier
1400992213 Consolidate the logic for generating file lists, as well as creating zip archives, into one place and remove some old code no longer needed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 00:07:19 +00:00
Vadim Zeitlin
1ed403dc4c we don't need to manually propagate wxHelpEvents upwards, they're already wxCommandEvents and so propagate by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-12 23:59:42 +00:00
Vadim Zeitlin
36a50ffe73 documented recently added Set/GetItemHelpText() and GetItemFromPoint()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-12 23:57:22 +00:00
Vadim Zeitlin
ab3eae34cc fix wxFindWindowAtPoint for radiobox buttons, it didn't return the radiobox when mouse was clicked inside it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-12 23:55:40 +00:00
Robin Dunn
38d4ee871b always make a buffer bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-12 17:58:10 +00:00
Vadim Zeitlin
b6b4695492 redirect to the page only the help events coming from this control itself to avoid infinite recursion when we get a help event originally sent to the page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-12 13:32:56 +00:00
Jouk Jansen
a79848accf Update openVMS compilesupport
Modified Files:
 	setup.h_vms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-12 09:00:22 +00:00
Kevin Ollivier
84b4e2b6ae Make sure to create parent dirs in the tree.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-12 00:20:30 +00:00
Kevin Ollivier
d20e98ab7a An attempt at reducing redundancy and improving readability for manifest-based releases.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 23:08:03 +00:00
Vadim Zeitlin
42447c4f88 we can avoid 2-step construction now that setting wxDIALOG_EX_CONTEXTHELP after window creation works too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 22:46:07 +00:00
Vadim Zeitlin
7bd6bf45ad update the real window flags when extended flags change and not only the normal ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 22:44:53 +00:00
Vadim Zeitlin
188cb2af4f show setting help text for individual radio box items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 22:40:07 +00:00
Vadim Zeitlin
af266e5bf7 added possibility to specify modules dependencies
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 22:19:12 +00:00
Vadim Zeitlin
dc26eeb36a make it possible to associate context help text with individual radiobox items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 21:13:13 +00:00
Vadim Zeitlin
dc6588e771 made it possible to associate context help to a region of a window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 21:10:32 +00:00
Vadim Zeitlin
a9c11b71e3 don't send wxHelpEvent generated for WM_HELP to all window parents, wxHelpEvent is already propagated upwards implicitely anyhow so in fact we should prevent the default behaviour for it from taking place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 21:08:53 +00:00
Kevin Ollivier
4387847f65 No longer using a zip file for VC project files, adding them directly into MSW file list.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 19:20:43 +00:00
Kevin Hock
5f3742c2ff Fix socket crash in wxURL by safely Destroying the socket rather than deleting it [ patch 1502964 ]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 18:54:07 +00:00
Stefan Neis
4b90e06ee5 Don't use TreeBook for OS/2 PM port (at least not yet).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 15:37:11 +00:00
Stefan Csomor
3a2a17cd5d functions may return a CFStringRef that is null, so we make this conversion always return an empty string (crashes otherwise)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 06:32:45 +00:00
Robin Dunn
9f4cc34f37 some docstring fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 00:13:05 +00:00
Robin Dunn
35d8bffe01 MaskedEdit patch from Will Sadkin:
- Added handling for WXK_DELETE and WXK_INSERT, such that shift-delete
   cuts, shift-insert pastes, and ctrl-insert copies.
 - Fixed masked.numctrl to allow space for a group char, as this format is
   apparently used in several world locales.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-10 22:13:54 +00:00
Stefan Csomor
fce161de8a numpad keys didn't trigger an update (reason for bug ID1503745)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-10 14:31:08 +00:00
Julian Smart
701e5fd611 Added log for Mac process termination fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-10 08:59:14 +00:00
Robin Dunn
d00077abbe Switch to overriding OnAssertFailure instead of OnAssert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-10 03:31:01 +00:00
Robin Dunn
f73cd00f01 Prevent assert and crash if an attempt is made to make a bitmap with
dimensions < 1


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-09 23:28:28 +00:00
Vadim Zeitlin
0e9c99232f gcc printf format warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-09 22:06:19 +00:00
Włodzimierz Skiba
264cb7f5f3 Include wx/validate.h and wx/valtext.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-09 21:21:53 +00:00
Robin Dunn
fad1650360 Using buffered drawing won't let the themed background show through,
so use an ordinary wx.PaintDC instead.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-09 19:59:06 +00:00
Robin Dunn
71f1747cd5 Give wxMac its own set of face names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-09 19:55:28 +00:00
Robin Dunn
3764716de6 Don't use an accelerator for the About box. Ctl(Cmd)-H is reserved on
the Mac anyway.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-09 18:05:55 +00:00
Włodzimierz Skiba
949c9f74c3 Include wx/choicdlg.h, wx/textdlg.h and wx/filedlg.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-09 17:50:46 +00:00
Włodzimierz Skiba
84c3e788d6 Header listed twice removed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-09 17:29:30 +00:00
Włodzimierz Skiba
32a5229008 USE_AUI build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-09 15:37:10 +00:00
Vadim Zeitlin
7fdf414082 added the cast to wxFontMapperBase erroneously removed by the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-09 11:22:24 +00:00
Włodzimierz Skiba
3304646d06 Include wx/statusbr.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-09 09:51:39 +00:00
Michael Wetherell
ac2e7107d3 Fix missing semicolon from last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-09 08:50:17 +00:00
Włodzimierz Skiba
59cf2e4999 Include wx/mdi.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 20:19:29 +00:00
Julian Smart
58c23da1d5 Added missing wx_aui.dsp file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 19:58:59 +00:00
Robin Dunn
04c4117bb7 fix scope of setting self.files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 19:12:13 +00:00
Robin Dunn
2965bd7b21 docstring fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 19:11:45 +00:00
Robin Dunn
267985181a Add KeyEvent method for setting the m_uniChar member
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 19:11:02 +00:00
Robin Dunn
aaa6f9ba6b Applied Patch #1502804: wx*PickerCtrl documentation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 19:10:00 +00:00
Stefan Csomor
df39467f88 missing else
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 18:53:29 +00:00
Robin Dunn
258b2ca681 Applied Patch #1502801: Missing Clone() functions from some events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 18:27:44 +00:00
Robin Dunn
8d1c5c3f57 Add 1 to the width returned by DoGetBestSize in order to work around a
GTK issue where it sometimes wrapps the text needlessly


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 18:15:56 +00:00
Włodzimierz Skiba
895cc20597 Use bottom flat notebook on PocketPC by default.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 13:12:20 +00:00
Włodzimierz Skiba
5b56bffb33 Include wx/memory.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 12:51:01 +00:00
Włodzimierz Skiba
9a6384ca1e Improvements for building minimal builds and new ports: wxUSE_* usage and minor cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 11:25:30 +00:00
Robert Roebling
b1d8cb4417 Compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 10:17:00 +00:00
Robert Roebling
a84f5f39b8 Correct compilation for GTK < 2.4.
Remove double testing for __WXMGL__ and __WXX11__
    after testing for __UNIVERSAL__


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 10:05:42 +00:00
Julian Smart
da452b9eec Missing dereference caused wrong wxString ctor to be used, leading to
memory errors


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 08:09:27 +00:00
Włodzimierz Skiba
ed2fbeb835 Include wx/sizer.h and wx/layout.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 06:57:39 +00:00
Paul Cornett
c918b2cda2 use "event-after" signal to send thumb release event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 05:16:25 +00:00
Włodzimierz Skiba
a5bbd1cc91 Include wx/combobox.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 22:01:12 +00:00
Vadim Zeitlin
d5bfbd9ab8 1. renamed wxFontMapper::IsWxFontMapper() to IsDummy() (with reverse semantics)
2. added wxFontMapper::Reset() to only do the cast needed when deleting
   the font mapper object once
3. reset the dummy font mapper created during the app initialization in
   wxFontMapperModule and not in init.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 17:49:27 +00:00
Włodzimierz Skiba
4e3e485bc8 Include wx/toolbar.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 17:46:13 +00:00
Włodzimierz Skiba
658ff7f1d8 [ 1502010 ] Cast to wrong type.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 17:12:57 +00:00
Włodzimierz Skiba
7ce30d0b41 [ 1502016 ] wxImage::ConvertToGreyscale should retain alpha channel.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 17:02:08 +00:00
Włodzimierz Skiba
9061c15cee Show grey version of image with alpha channel.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 16:59:33 +00:00
Włodzimierz Skiba
d0e834f399 Missing plural.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 15:06:08 +00:00
Włodzimierz Skiba
b26f242524 Widgets sample mentioned.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 15:02:40 +00:00
Włodzimierz Skiba
5950509243 Use common book flags (and other minor corrections).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 14:54:51 +00:00
Włodzimierz Skiba
54a7425b81 Minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 13:57:10 +00:00
Włodzimierz Skiba
19bc15143a wxBLACK usage.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 13:26:00 +00:00
Julian Smart
110ffa1637 Alternative implementation for process termination detection on Intel, since task_for_pid
doesn't work on Intel Macs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 13:07:17 +00:00
Włodzimierz Skiba
1ab440bc20 Include wx/scrolwin.h and wx/dirdlg.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 11:44:19 +00:00
Julian Smart
55193d61ae Removed comma
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 08:49:45 +00:00
Kevin Ollivier
f87584b552 Putting files back in the wxWidgets-$VERSION dir.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 04:16:38 +00:00
Robin Dunn
d211a853c5 Added wrappers for the Picker controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 02:26:41 +00:00
Robin Dunn
06f23ff937 Added an implementation for wxPickerBase::SetInternalMargin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 02:23:40 +00:00
Robin Dunn
2c52450c87 Added wx/pickerbase.h so it will get installed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 02:23:02 +00:00
Włodzimierz Skiba
9d2c19f136 Include wx/gauge.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 22:02:01 +00:00
Włodzimierz Skiba
b2e178485a AUI under wxMGL build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 21:44:39 +00:00
Włodzimierz Skiba
3a7458677b AUI under wxOS2 build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 21:07:42 +00:00
Robin Dunn
092f0ed782 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 19:21:28 +00:00
Robin Dunn
d618ed9b67 Compilation fix for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 18:24:16 +00:00
Robin Dunn
0fade4f147 More compilation fixes. Move dummy wxPowerEvent to where it can be
seen by other modules.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 17:50:09 +00:00
Robin Dunn
401569f1a1 Set MONOLITHIC for posix platforms based on the output of wx-config,
use this to add the media lib if needed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 17:49:06 +00:00
Włodzimierz Skiba
f4da9a9431 Include wx/slider.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 16:28:58 +00:00
Włodzimierz Skiba
bfeed34c1c Source cleaning, wxW headers, whitespaces and improved PCH support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 15:50:42 +00:00
Włodzimierz Skiba
be66f18ee1 Source cleaning, wxW headers, whitespaces and improved PCH support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 15:39:16 +00:00
Julian Smart
9db1b54074 Fix for wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 15:20:30 +00:00
Julian Smart
c4c7d59800 Script updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 14:43:50 +00:00
Julian Smart
834cc67c64 Updated make dist script for wxAUI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 14:35:45 +00:00
Julian Smart
530b74d7c6 Fixes for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 14:31:59 +00:00
Włodzimierz Skiba
453535a739 On-demand creation of the pages for speedup of sample launch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 14:10:06 +00:00
Julian Smart
3f60522a05 Updated configure for wxAUI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 14:06:31 +00:00
Julian Smart
08469b1f18 Compile corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 14:05:11 +00:00
Julian Smart
5e4903f5cc Further wxAUI commits
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 13:34:54 +00:00
Julian Smart
50acee04cd Initial commit of wxAUI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 13:12:07 +00:00
Julian Smart
90f9b8ef0c Reverted last wxBookCtrl change and added alignment check to notebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 12:53:31 +00:00
Julian Smart
926395e16b Each book control should say what its default orientation. Use this info
if no alignment style, otherwise assertion will happen in GetPageRect.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 11:05:22 +00:00
Julian Smart
dd61c39df2 Suppress assertion when the array is sorted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 11:03:31 +00:00
Julian Smart
62ad77afbd If a base font mapper object was created prematurely before the traints
object was created, delete it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 11:02:09 +00:00
Włodzimierz Skiba
fec9cc08e7 Include wx/textctrl.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 07:23:19 +00:00
Michael Wetherell
88f5a9ba6e Move the generic picker files to the GUI common section.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 07:22:43 +00:00
Vadim Zeitlin
1185254d55 replaced WXTYPE with wxEventType
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 01:28:34 +00:00
Robin Dunn
4e67f28fb7 Fixed compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 23:00:02 +00:00
Włodzimierz Skiba
b3c33d35d3 Peaceful solution to wxCheckListBox inheritance in WinCE and wxListBox::Clear() ambiguity in wxUniv.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 20:37:57 +00:00
Stefan Neis
90075c0892 Removed some focus handling that was to general and did break e.g. combobox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 19:35:08 +00:00
Michael Wetherell
08f30494b0 Fix alignment issue.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 19:07:26 +00:00
Stefan Neis
c9ab2da6f8 Fixed brush realization as suggested by Franz Bakan.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 18:47:22 +00:00
Stefan Neis
da51aebeec Improved error handling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 18:08:40 +00:00
Robin Dunn
daf22b890b Typos fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 18:08:18 +00:00
Mart Raudsepp
5503a51cac Do not set the wmclass for toplevels. This MUST be unique across the application, and GTK takes care of it for us
- don't screw it over.
Change it to set_role instead, but #if 0 out for now until some discussion about potential affect of this to
existing applications.
Toplevels that have a role set can be handled by the window manager, and store the positiong and size for them,
and restore it on later occasion. If apps do stupid things like don't have unique motif names set for different
toplevels, then this can cause problems with backwards compatibility. I am in favor of doing set_role, but it
needs a little discussion and testing.
Setting WM_CLASS is definately wrong, so just get rid of that till then.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 17:57:37 +00:00
Roman Rolinsky
96bfe7feee fix for empty value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 17:48:00 +00:00
Michael Wetherell
a9b4774c05 Build fix for motif.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 17:12:45 +00:00
Vadim Zeitlin
a893b65e62 fixed memory leak introduced by dynamic wxMimeTypesManagerImpl creation (rev. 1.44 of mimecmn.cpp) changes; also renamed wxMimeTypesManagerFactory::Get/SetFactory() to just Get/Set()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 17:01:46 +00:00
Włodzimierz Skiba
b0b5881aea Include wx/radiobut.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 16:46:15 +00:00
Roman Rolinsky
b3d78b0cc5 fix for non-utf-8 character support in 'content'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 16:04:37 +00:00
Roman Rolinsky
e484fddf08 hopefully this will fix some encoding problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 16:01:42 +00:00
Roman Rolinsky
e98e706227 debug is not defined here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 16:00:54 +00:00
Robin Dunn
b6fe9de819 Make it possible to override VER_FLAGS from the command-line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 16:00:19 +00:00
Robin Dunn
88bb598337 Added wxWINDOW_STYLE_MASK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 15:58:24 +00:00
Stefan Neis
d92f5f03c9 Made additional error codes available.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 15:58:19 +00:00
Robin Dunn
e19f96049e New methods for dragging coloumns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 15:57:30 +00:00
Robin Dunn
991e49b62a No need to use 2-phase create of the text ctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 15:52:06 +00:00
Michael Wetherell
2da724cb54 Add missing picker files for gtk1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 14:16:46 +00:00
Vadim Zeitlin
83930b2fd2 Reparent() is available under Mac as well (bug 1500782)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 11:55:21 +00:00
Chris Elliott
4f90b0b334 replace hard coded path with relative path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 10:31:41 +00:00
Chris Elliott
c8333fe800 changed hardware at York
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 10:29:53 +00:00
Vadim Zeitlin
f5e6e431ea changed menu accels to not clash with menubar ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-04 22:31:44 +00:00
Paul Cornett
fb18afdd86 avoid gtk assert on negative window size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-04 21:18:45 +00:00
Vadim Zeitlin
3e0630be8a use wxImage to load icons in non-native formats
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-04 15:51:39 +00:00
Vadim Zeitlin
db67d86dd1 s/wxHyperLinkCtrl/wxHyperlinkCtrl/
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-04 15:14:53 +00:00
Vadim Zeitlin
813210ca7e added hyperlink.tex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-04 15:11:42 +00:00
Vadim Zeitlin
22d8c8bf43 added missing brace after wxTB_NO_TOOLTIPS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-04 15:09:36 +00:00
Vadim Zeitlin
8381106751 fixed typo in HitTest() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-04 15:04:52 +00:00
Vadim Zeitlin
852b6c3ce7 silence gcc warnings about values not handled in switch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-04 14:55:10 +00:00
Vadim Zeitlin
3b6da0a258 printf format spec warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-04 14:51:10 +00:00
Vadim Zeitlin
d4cd85a064 on some systems PBT_APMRESUMESUSPEND is not sent on resume but PBT_APMRESUMEAUTOMATIC is
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-04 14:27:06 +00:00
Michael Wetherell
b2f55c8b71 Make Bourne compatible.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-04 12:39:55 +00:00
Paul Cornett
a2a7ad6ccd build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-04 06:19:33 +00:00
Vadim Zeitlin
eaba6eba3a wxArrayString::Sort() wasn't MT-safe even though it tried to
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-03 22:32:36 +00:00
Vadim Zeitlin
0a77a468a7 just some spelling fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-03 20:34:10 +00:00
Robin Dunn
73cef663aa Fix line-endings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-03 19:51:48 +00:00
Paul Cornett
c757b5fee0 correct access for virtuals, unneeded includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-03 19:20:23 +00:00
Paul Cornett
8ea30e3603 don't generate a scroll event when setting scroll position from scroll event handler
fix setting scroll position from thumb release event handler


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-03 18:35:29 +00:00
Vadim Zeitlin
317121eac5 take const wxWindow * in wxUxThemeHandle ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-03 14:56:05 +00:00
Vadim Zeitlin
749704355b clarify global wxConfig object life-management
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-03 14:49:23 +00:00
Michael Wetherell
03ead65495 Add picker files for mac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-03 10:21:10 +00:00
Stefan Csomor
333026dcb0 Fixes and XCode 2.3 update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-02 15:27:13 +00:00
Stefan Csomor
e059f83fa6 Fixes and XCode 2.3 update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-02 14:34:47 +00:00
Michael Wetherell
80d2a664f8 Compile fix for no precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-02 14:05:54 +00:00
Michael Wetherell
0f64eb0bd1 Add wx-lib xml as adv depends on it for the richtext control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-02 12:12:28 +00:00
Michael Wetherell
556151f5ff Commit pickers-fixes.patch added to 1472329 (Francesco Montorsi)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-02 12:00:30 +00:00
Michael Wetherell
7ba03e3cd2 Revert previous commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-02 10:20:13 +00:00
Michael Wetherell
9a8362297a Lazy creation of the picker dialogs (Francesco).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-02 08:17:23 +00:00
Jouk Jansen
cc57f388d7 Updated OpenVMS compile support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-02 06:39:13 +00:00
Robin Dunn
069eeb1772 colSortFlag shoudl be an int, not a Boolean
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-02 03:44:25 +00:00
Robin Dunn
bf158fe6c6 Switch to bzip2 for compression
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-02 03:43:46 +00:00
Włodzimierz Skiba
3700569251 uxtheme.h provides symbols regardless wxUSE_UXTHEME flag.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 23:56:23 +00:00
Robin Dunn
7d69080996 Some explainations and directions for building the Debian wx packages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 22:23:24 +00:00
Robin Dunn
6de5430bc6 Updated debian-dist and debian package scripts from 2.6 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 22:22:02 +00:00
Włodzimierz Skiba
2d4c14ab56 OW/MGL build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 22:17:39 +00:00
Włodzimierz Skiba
38ffe8cd93 Typo fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 22:15:07 +00:00
Włodzimierz Skiba
cc11cc6918 Include wx/radiobox.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 20:52:09 +00:00
Robin Dunn
fc1fde1ee1 DLL compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 17:32:41 +00:00
Włodzimierz Skiba
f18ad9c64b Build fix after PCH changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 15:19:53 +00:00
Włodzimierz Skiba
5b27bcb66c Add new components to wxOS2 builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 15:16:27 +00:00
Włodzimierz Skiba
24bbfc6292 Universal build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 13:18:10 +00:00
Michael Wetherell
5b34e14106 Compile fixes for GTK 2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 12:31:56 +00:00
Włodzimierz Skiba
8b7fdb77c2 Minor corrections to pickers presentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 11:01:17 +00:00
Włodzimierz Skiba
7c808858c9 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 10:58:28 +00:00
Włodzimierz Skiba
3f26ef3142 Build fix for OW regarding & operator needing full class specs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 10:57:11 +00:00
Michael Wetherell
3aa077cebc Build fix for systems linux where va_list is an array type.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 09:44:35 +00:00
Włodzimierz Skiba
4ce7b1e43f Minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 09:16:06 +00:00
Włodzimierz Skiba
45f9b662d6 Build fix based on wxOS2 night build log.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 08:52:03 +00:00
Włodzimierz Skiba
2a673eb1c9 Include wx/listbox.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 08:23:42 +00:00
Vadim Zeitlin
e926368418 regenerated after wxColour/File/Dir/FontPickerCtrl changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 00:17:43 +00:00
Vadim Zeitlin
d417574519 added possibility to reorder columns by dragging them (patch 1409677)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 00:13:19 +00:00
Vadim Zeitlin
ec376c8fd9 added wx{Colour|File|Dir|Font}PickerCtrl (patch 1472329 by Francesco)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 23:57:54 +00:00
Vadim Zeitlin
96aed0cd6b don't assert if neither wxFD_OPEN nor wxFD_SAVE is given; wxFD_OPEN is the default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 23:37:36 +00:00
Vadim Zeitlin
f36630afc9 use gtk_window_set_modal(TRUE/FALSE) instead of gtk_grab_add/remove() (part of patch 1472329)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 22:48:22 +00:00
Vadim Zeitlin
7a0a4c095f corrected header for wxWakeUpIdle()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 21:35:38 +00:00
Robin Dunn
4e9da8b79e Forward port of changes for using themed drawing of owner-drawn buttons.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 21:26:39 +00:00
Włodzimierz Skiba
876cd6f7e3 Include wx/statbox.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 18:27:51 +00:00
Włodzimierz Skiba
370efbe741 [ 1498016 ] 'Add wxUniv toolbar support wxTB_TEXT style' - with modifications.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 18:15:42 +00:00
Paul Cornett
cf26ac62e3 threads fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 17:22:38 +00:00
Włodzimierz Skiba
3c9e913f6f PCH support for !MSW/!autoconf platforms.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 12:18:02 +00:00
Włodzimierz Skiba
b9c94fbf31 PCH support for !MSW/!autoconf platforms.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 12:10:38 +00:00
Włodzimierz Skiba
66b9f7f7e4 Various dummy.cpp centralized in common/dummy.cpp. Build rebaked.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 11:48:45 +00:00
Włodzimierz Skiba
e267406e11 Include wx/statbmp.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 09:34:05 +00:00
Stefan Csomor
42cc0b316e changing scrollbars (hiding/showing) triggers a size event.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 05:38:46 +00:00
Włodzimierz Skiba
ccdc11bbaf Include wx/stattext.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 17:39:22 +00:00
Vadim Zeitlin
bacd54f604 fix the tests to pass with both gcc and msvc (2nd part of patch 1462778)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 17:22:04 +00:00
Vadim Zeitlin
a31746c7de fixes for wxVsnprintf() in Unicode build (2nd part of patch 1462778)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 17:14:35 +00:00
Włodzimierz Skiba
851dee09b5 Include wx/scrolbar.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 13:43:18 +00:00
Vadim Zeitlin
a245fd31a6 mentioned that the handlers should be allocated on the heap also in ClearHandlers() docs (and not only in AddHandle() section)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 13:10:30 +00:00
Włodzimierz Skiba
a6f7daee0b Missing items for default DMC distribution.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 12:41:41 +00:00
Włodzimierz Skiba
f9300d429e wxHyperlink page for widgets presentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 11:55:24 +00:00
Włodzimierz Skiba
a9e8bf2dd9 [ 1494561 ] wxComboCtrl vertical size fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 09:17:45 +00:00
Włodzimierz Skiba
2bd6022f1c Include commctrl.h properly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 07:43:05 +00:00
Włodzimierz Skiba
b36e08d086 Include wx/choice.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 07:34:30 +00:00
Włodzimierz Skiba
e031f1df56 wxFD_* constants without 2.6 compatibility (heavily extended and modified patch #1497305).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 07:25:35 +00:00
Włodzimierz Skiba
4c9a69c19a Smartphone build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 23:49:43 +00:00
Włodzimierz Skiba
dbc74bccc9 wxWinCE power build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 23:24:02 +00:00
Robin Dunn
dc690d951f wx.HIDE_READONLY is gone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 22:45:55 +00:00
Robin Dunn
511bec9640 Avoid an assert if no alignment style is specified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 22:43:14 +00:00
Włodzimierz Skiba
9a8fc68d92 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 21:45:52 +00:00
Włodzimierz Skiba
e6e839336c Include wx/checklst.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 21:26:35 +00:00
Robin Dunn
704eda0cdc reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 21:18:31 +00:00
Włodzimierz Skiba
dd74a8f6aa Source markup fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 21:12:51 +00:00
Robin Dunn
3b91982e01 Added wxHyperlinkCtrl, wxPowerEvent, and lots of little things to
match changes made in wx.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 20:57:05 +00:00
Robin Dunn
aeeaf3eaf0 wxWakeUpIdle seems unnecessary here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 20:54:57 +00:00
Robin Dunn
ee77681f4e Take out AdjustPagebreak for now...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 20:41:45 +00:00
Robin Dunn
a9c10f79d2 Compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 20:31:03 +00:00
Robin Dunn
5c20af5de8 wxFileDialog SetStyle and GetStyle are gone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 20:29:13 +00:00
Robin Dunn
efe0d228f7 Provide a wxDirSelectorPromptStr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 20:27:19 +00:00
Robin Dunn
870597ef5e hyperlink is in adv, not core
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 20:07:30 +00:00
Robin Dunn
d0e2ede057 Added wxHyperlinkCtrl, wxPowerEvent, and lots of little things to
match changes made in wx.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 19:52:17 +00:00
Robin Dunn
9e89f049b8 rebake for *hyperlink.* files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 19:16:15 +00:00
Michael Wetherell
0cc14b9cc5 Warning fixes for VC++ 5.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 17:31:31 +00:00
Michael Wetherell
6b8f5d3069 64-bit fix in wxNotebook for Tru64.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 17:26:55 +00:00
Michael Wetherell
6624c58882 wxMGL fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 17:24:44 +00:00
Michael Wetherell
f5ce6d569c Add url for linux djgpp cross compiler (Cavit Cahit VURAL)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 17:20:18 +00:00
Paul Cornett
6ef708cde1 revert removal of gtk1 code from common file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 16:32:22 +00:00
Włodzimierz Skiba
b41af6aa0f Updated universal setup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 16:06:34 +00:00
Vadim Zeitlin
8ad31f9dfd call gtk_toolbar_set_tooltips() from GtkSetStyle(); removed erroneous wxTB_TOOLTIPS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 16:06:04 +00:00
Vadim Zeitlin
a130bb4e75 removed spurious #endif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 16:04:23 +00:00
Vadim Zeitlin
4af8f6ef9b added missing include after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 14:51:42 +00:00
Włodzimierz Skiba
33f9f48e20 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 14:23:26 +00:00
Włodzimierz Skiba
9e6aca686c Keep FindString in sync with wxControlWithItems base class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 13:11:40 +00:00
Włodzimierz Skiba
344ff08345 Unused variable removal.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 13:07:27 +00:00
Vadim Zeitlin
7e2b786046 override all Detach() overloads in wxStaticBoxSizer to avoid virtual function hiding warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 12:12:23 +00:00
Vadim Zeitlin
f7b06c8ce1 use a filename, not URL, when quering its modification time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 11:56:48 +00:00
Włodzimierz Skiba
7456f3828a Fail for assert(0,...).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 11:17:17 +00:00
Włodzimierz Skiba
3cb3b8b84d NO_GCC_PRAGMA removed from hyperlink code. Clipboard markup added.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 11:14:34 +00:00
Włodzimierz Skiba
ff7d9066da Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 10:11:45 +00:00
Włodzimierz Skiba
7bd236e6da Fail for assert(0,...).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 10:10:37 +00:00
Włodzimierz Skiba
06ec4d9c0f Typo fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 10:09:00 +00:00
Vadim Zeitlin
649cfca1ce don't include statbox.h from the header, move wxStaticBoxSizer dtor to .cpp file instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 09:58:53 +00:00
Włodzimierz Skiba
ab1ce969df Include wx/checkbox.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 08:13:19 +00:00
Włodzimierz Skiba
ef59736105 Let's have new sample distributed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 07:51:11 +00:00
Włodzimierz Skiba
99ea403a8e Let's have new sample distributed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 07:45:55 +00:00
Włodzimierz Skiba
01f242e264 Use same path in header as user should use in his #include.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 07:36:41 +00:00
Paul Cornett
896395610d mention better gtk wxScrollWinEvent generation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 07:33:30 +00:00
Włodzimierz Skiba
98159dd8b6 Source cleaning for new features.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 07:31:24 +00:00
Włodzimierz Skiba
2858324691 Source cleaning for new features.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 07:23:02 +00:00
Paul Cornett
706e740f50 build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 06:53:31 +00:00
Paul Cornett
f79f1604a0 revert forward declaration of hashmap, it doesn't work with STL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 06:52:46 +00:00
Włodzimierz Skiba
f8ba4cb61a Use complete class for delete of the class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 06:48:01 +00:00
Włodzimierz Skiba
8d3ba63b1e Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 06:39:40 +00:00
Kevin Ollivier
6f828b026b widgets sample no longer has .rc file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 04:58:42 +00:00
Kevin Ollivier
feaa021883 Exit on error was too strict.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 04:44:04 +00:00
Kevin Ollivier
e32bf19f15 Stop building on a platform as soon as a tarball build error is encountered.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 03:05:02 +00:00
Vadim Zeitlin
6954625c85 regenerated after the recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 00:32:16 +00:00
Vadim Zeitlin
831778df78 use CFLAGS for GTK tests, not CXXFLAGS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 00:24:05 +00:00
Vadim Zeitlin
85ab460e7d miscellaneous wxFont enhancements (patch 1496606):
- made SetFaceName() bool and return false if the face name is not available
- corrected To/FromUserString() to complement each other


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 00:03:36 +00:00
Vadim Zeitlin
7aa7d2d407 oops, typo in last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 00:01:30 +00:00
Vadim Zeitlin
154b6b0f0e spelling fixes (patch 1495562)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:56:51 +00:00
Vadim Zeitlin
f395a825a9 added CollapsePath() (patch 1494638)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:54:28 +00:00
Vadim Zeitlin
bd00fe32fb implemented notifications of the child process termination (patch 1494439)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:51:23 +00:00
Vadim Zeitlin
622eb78696 don't offset the position for toplevel windows in wxFindWindowAtPoint() (patch 1491559)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:47:59 +00:00
Vadim Zeitlin
8b713759b6 correct painting of the items with custom colours in TVIS_DROPHILITED state (patch 1491478)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:45:39 +00:00
Vadim Zeitlin
b5b0a35d6b don't crash when destroying a not initialized socket (patch 1489095)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:38:11 +00:00
Vadim Zeitlin
347f5baaa1 readded back wxDD_NEW_DIR_BUTTON removed by last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:34:47 +00:00
Vadim Zeitlin
ff3e84ffdc File/dir dialog styles and other changes (patch 1488371):
- check invalid combinations of styles in wxFileDialogBase::Create()
- use wxFD_XXX naming convention for wxFileDialog styles
- replaces wxDD_NEW_DIR_BUTTON with wxDD_DIR_MUST_EXIST
- removes #ifdef __WXGTK24__ / #endif blocks from wxGTK code
- removes wxFileDialogBase::Get/SetStyle and wxFileDialogBase::m_fileName
- renames wxDirDialogGTK to wxDirDialog


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:32:12 +00:00
Vadim Zeitlin
55325d01e6 more wxFD_XXX renamings (patch 1488371)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:31:38 +00:00
Vadim Zeitlin
c5d7205ca2 don't strip &s from tooltips (patch 1488318)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:15:01 +00:00
Włodzimierz Skiba
34deaa9362 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:08:31 +00:00
Vadim Zeitlin
1c756ac814 allow specifying the style for wxHtmlHelpController used as fallback by wxBestHelpController (patch 1485669)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:07:02 +00:00
Vadim Zeitlin
a552d1201f fix the bug which prevented the same wxFile/DirDialog object from being used twice (patch 1485127)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:01:21 +00:00
Vadim Zeitlin
fd0bab4353 use dynamic array for the page breaks positions (patch 1483976)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 22:56:28 +00:00
Vadim Zeitlin
db759dde87 use GetPath() instead of GetFullPath() in the directory-oriented functions (patch 1482016)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 22:44:04 +00:00
Vadim Zeitlin
5613bc20ed check for ERROR_NO_MORE_FILES error code from FindFirstFile() as it's not really an error (patch 1481895)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 22:40:37 +00:00
Vadim Zeitlin
b219a1a95b added British spellings of the alignment flags (patch 1486478)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 22:37:04 +00:00
Vadim Zeitlin
234fedd2d3 added support for CMYK JPEGs loading (patch 1476078)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 20:08:39 +00:00
Vadim Zeitlin
bd981f27c9 use wxBitmap objects instead of pointers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 20:00:56 +00:00
Vadim Zeitlin
a4f7b480c1 document that GetSubItemRect() is new since 2.7.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 19:35:56 +00:00
Michael Wetherell
3fa2676fc3 Take account of the numlock when mapping mgl virtual keycodes to wx ones.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 19:23:44 +00:00
Robin Dunn
10383fe27b Allow for non-ascii text in resources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 19:20:45 +00:00
Michael Wetherell
6dd7263a0f Regenerate to add the new file toucan.png.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 19:05:26 +00:00
Michael Wetherell
27d98837f3 Use the posix S_ISREG instead of S_IFREG if it is defined. Fixes wxFileExists
on DJGPP where S_IFREG is defined as 0.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 18:58:12 +00:00
Vadim Zeitlin
164a797204 added wxListCtrl::GetSubItemRect() and subitem hit testing (patch 1476971)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 18:10:10 +00:00
Vadim Zeitlin
17e914373a added wxHyperlinkCtrl (patch 1476781 from Francesco)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 17:41:09 +00:00
Michael Wetherell
515a581d0d Export the event types.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 17:40:20 +00:00
Michael Wetherell
5de959df83 Compile fixes: gcc seems to need pbt.h including, and PBT_APMRESUMEAUTOMATIC
isn't in the headers for most compilers (the other PBT_* macros are there).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 17:36:30 +00:00
Vadim Zeitlin
2f0add5ae0 allow partial read/writes (patch 1476893)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 17:27:40 +00:00
Vadim Zeitlin
e978011a40 delete the associated wxStaticBox in wxStaticBoxSizer dtor (patch 1473769)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 17:24:12 +00:00
Vadim Zeitlin
6a1b3ead3f added wxTB_NO_TOOLTIPS (heavily modified patch 1458009)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 17:17:02 +00:00
Vadim Zeitlin
0bb4ad85f3 fix crashes in the calctl sample under OS/2 (patch 1495898)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 15:20:32 +00:00
Vadim Zeitlin
7a828c7ffb wxVsnprintf() implementation with positional parameters support (patch 1462778); disabled for now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 15:18:15 +00:00
Vadim Zeitlin
fcca30c7e6 added assertion_traits<> specialization for wxString and convenient CPPUNIT_ASSERT_STR_EQUAL macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 15:06:14 +00:00
Vadim Zeitlin
1e1c5d6276 explicitly call base class ctor to silent gcc warning (patch 1492701)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 14:33:56 +00:00
Vadim Zeitlin
8e1a5bf979 added SetDoubleBuffered() (patch 1491093)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 14:30:08 +00:00
Vadim Zeitlin
0a089246e7 wizards not using sizers for the page layout now work again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 14:19:18 +00:00
Vadim Zeitlin
2faa0a64e1 no changes (spaces only)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 14:17:48 +00:00
Vadim Zeitlin
6540132fa1 wxFontEnumerator::GetFacenames/Encodings() now return arrays and not pointers to them (patch 1483341)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 13:51:34 +00:00
Vadim Zeitlin
22757a804b update from Adrián González
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 13:08:02 +00:00
Mart Raudsepp
49b8ffac1a The following methods appear to be new since 2.7.0 (from 64-bit stream patch):
wxLongLong& operator operator=(wxULongLong_t ll)
wxLongLong& operator operator=(long l)
wxLongLong& operator operator=(unsigned long l)
wxLongLong& operator operator=(const wxULongLong & ll)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 10:53:00 +00:00
Mart Raudsepp
b2458f311b wxStringTokenizer::GetLastDelimiter is new since 2.7.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 10:19:23 +00:00
Mart Raudsepp
a06ee28822 GetDocumentsDir, GetResourcesDir and GetLocalizedResourcesDir are new since 2.7.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 10:12:57 +00:00
Mart Raudsepp
d6f2fae8e6 Underscore escaping fix from Angel Vidal Veiga
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 10:03:03 +00:00
Mart Raudsepp
e1d6cd9a03 \newsince{2.7.0} for GetMouseCursor with a note to GetCursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 09:47:08 +00:00
Mart Raudsepp
0376722f64 newsince for ProcessMouseClick with a note to OnMouseClick in earlier versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 09:41:52 +00:00
Mart Raudsepp
78b5edc517 Add \newsince{2.7.0} to GetAsString and Set(wxString&)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 09:29:53 +00:00
Mart Raudsepp
669b0c0a0b Fix underscore escaping again (one obscure one left in wxmsw.tex)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 09:12:42 +00:00
Michael Wetherell
7325e21c4f Missing header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 09:05:10 +00:00
Vadim Zeitlin
3032b7b5c2 moved power functions for MSW from utils.cpp to (new) power.cpp and implemented them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-27 14:29:30 +00:00
Vadim Zeitlin
355debca06 added wxPowerEvent; moved power functions stubs to common/powercmn.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-27 14:09:40 +00:00
Vadim Zeitlin
9fa1b6aad4 added more directories
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-27 12:24:03 +00:00
Włodzimierz Skiba
954427ba3e More small devices adjustements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-27 00:03:27 +00:00
Włodzimierz Skiba
6e0f4664cc Correct dll usage for wxDatePickerCtrl under WinCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 23:58:39 +00:00
Robin Dunn
4a2e5ee8f9 Fixes for the DLL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 19:02:57 +00:00
Włodzimierz Skiba
910b005366 Include wx/wx/bmpbuttn.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 18:47:45 +00:00
Robin Dunn
45dc66f8e2 Some tweaks to reflect changes in wxWidgets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 18:36:37 +00:00
Włodzimierz Skiba
8715875f72 Fixed unicode reference file writing under some builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 17:27:22 +00:00
Paul Cornett
ed32fb5b21 fix incomplete change in previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 16:44:49 +00:00
Robin Dunn
bd2903e1c3 Another stab (hopefully the last) at how to handle the delayed
initialization of the stock objects.  Go ahead and create an
uninitialized instance using __new__, and then just set the .this
attribute when the app is initialized.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 16:43:24 +00:00
Robin Dunn
293524e162 Use MustHaveApp for wx.RendererNative.Get and others
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 16:35:36 +00:00
Paul Cornett
e7445ff8ee move some data definitions to more appropriate places
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 16:12:31 +00:00
Włodzimierz Skiba
b4446c2447 Fixed OpenWatcom (strange) scope related crash.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 14:56:11 +00:00
Włodzimierz Skiba
88060820ac wxToggleButton for wxUniv already implemented.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 14:09:50 +00:00
Włodzimierz Skiba
261357eb0a Small devices adjustements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 14:07:47 +00:00
Włodzimierz Skiba
93fbbe0765 Include wx/control.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 10:15:44 +00:00
Vadim Zeitlin
a18c21f000 show help for the page under mouse when the [?] button is used to request help
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 02:23:24 +00:00
Vadim Zeitlin
3276179da6 moved wxNotebook::HitTest() to the base book control class; implemented it for wxList/Treebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 02:22:24 +00:00
Vadim Zeitlin
b107e8d578 added help event origin field: indicates if the help was requested using the mouse or from keyboard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 02:21:38 +00:00
Vadim Zeitlin
851b88c310 moved wxNotebook::HitTest() to the base book control class; implemented it for wxList/Treebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 02:09:44 +00:00
Vadim Zeitlin
61d702d9e6 mention the addition of the clipboard events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 01:12:30 +00:00
Włodzimierz Skiba
ce5d92e150 Include wx/cmndata.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 21:08:11 +00:00
Stefan Csomor
6643c354c5 using new method for implementing Maximize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 19:03:16 +00:00
Paul Cornett
9cdf21473a unused declarations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 15:46:00 +00:00
Robin Dunn
f4102f1735 wx.lib.mixins.listctrl.TextEditMixin: Fixed the double END_LABEL_EDIT
event problem in TextEditMixin by checking if the editor was already
hidden before continuing with the CloseEditor method.  Also added code
to OpenEditor to send the BEGIN_LABEL_EDIT event and to not allow the
opening of the editor to continue if the event handler doesn't allow
it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 15:41:53 +00:00
Włodzimierz Skiba
88c576e5df src/mac/carbon/pnghand.cpp removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 14:45:39 +00:00
Włodzimierz Skiba
7cdf27dc55 Adjustement to wxCheckListBox under WinCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 14:03:59 +00:00
Włodzimierz Skiba
727eb4c12c Better screen usage on smaller devices.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 13:59:24 +00:00
Włodzimierz Skiba
f1a4ca62a9 __WXHANDHELD__ introduction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 13:57:04 +00:00
Włodzimierz Skiba
cdc99dddd2 [ 1494429 ] Fix for wxOwnerDrawnComboBox::Clear() crash.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 11:39:51 +00:00
Włodzimierz Skiba
133f3119f0 Removed some references to unused files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 10:03:56 +00:00
Włodzimierz Skiba
246c5004eb Include wx/msgdlg.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 07:07:23 +00:00
Paul Cornett
1c2d839fbf don't crash on zero length string in DoDrawRotatedText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 02:40:58 +00:00
Mart Raudsepp
93664d1bff Typo fix (age -> page) and \texttt{NULL} -> \NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 23:23:19 +00:00
Michael Wetherell
98b9b5eaf3 Use wx_static_cast instead of static_cast.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 22:55:28 +00:00
Paul Cornett
bd88c1fa96 derive univ toggle button from button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 17:17:27 +00:00
Włodzimierz Skiba
d48d1eaeda Missing app.h include.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 17:03:11 +00:00
Włodzimierz Skiba
e7c80f9e05 wx/debug.h is always unconditionally included by wx/defs.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 15:13:23 +00:00
Włodzimierz Skiba
32816f9a68 wxToggleButton page added to widgets sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 14:56:15 +00:00
Michael Wetherell
dd5e86874e Map between int page ids and page pointers using hashes so that it works when
pointers are 64-bits.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 14:39:52 +00:00
Julian Smart
615a96e37d Don't unselect if setting string that's not found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 13:41:12 +00:00
Włodzimierz Skiba
1c4743aa20 [ 1493780 ] wxOwnerDrawnComboBox warnings fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 09:44:56 +00:00
Włodzimierz Skiba
0a87ef19ce wxToggleButton for wxUniv already introduced.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 09:42:25 +00:00
Włodzimierz Skiba
7ca4ac6383 [ 1493802 ] Allow multiple wxComboCtrl::SetPopupControl calls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 09:29:06 +00:00
Włodzimierz Skiba
9eddec696f Include wx/settings.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 07:16:32 +00:00
Paul Cornett
13199c3dcb correct access for virtuals, other minor corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 05:03:00 +00:00
Robin Dunn
0fe9c32957 Make it possible for pywxrc to generate just the gettext _() strings
with no other code, and also make it possible to process more than one
XRC file at once into a single output module.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 04:49:07 +00:00
Robin Dunn
f05326bac1 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 21:15:19 +00:00
Robin Dunn
06810ecffb reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 21:08:28 +00:00
Julian Smart
f56e08c432 Documented wxUniv wxToggleButton addition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 20:36:14 +00:00
Julian Smart
390f811460 Avoid flags that may clash with alignment flags
Don't try to set the string selection if not found


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 20:33:17 +00:00
Julian Smart
25e19bdf01 Check for null pointers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 20:32:00 +00:00
Włodzimierz Skiba
bec3b0ddef [ 1491948 ] Fix for a minor GUI bug in wxEditableListBox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 19:30:03 +00:00
Julian Smart
2ee0e1869a Makefile change for wxUniversal wxToggleButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 18:13:44 +00:00
Włodzimierz Skiba
f6b110d724 Add images with arrows of the combo sample to build system.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 18:13:20 +00:00
Julian Smart
d25774ab97 wxToggleButton for wxUniversal: configure changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 18:09:50 +00:00
Włodzimierz Skiba
b7540dc1ec [ 1493005 ] Fix wxComboCtrl popup positioning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 18:05:30 +00:00
Julian Smart
43be3c33f3 Applied patch 1489656: support for wxToggleButton under wxUniversal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 17:53:50 +00:00
Włodzimierz Skiba
35932e0596 wxScrolBar event sending fix in wxUniv.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 16:52:29 +00:00
Włodzimierz Skiba
1f7e5f7be3 [ 1470717 ] wxUniv toolbar separator drawing fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 16:05:12 +00:00
Włodzimierz Skiba
0164f8ebfd Improved wxDCPen/BrushChangers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 14:11:55 +00:00
Julian Smart
fbb67d0e52 Guard against comparing invalid iterators, which produces an assertion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 13:58:51 +00:00
Julian Smart
45e13c7fb6 Applied patch [ 1489741 ] Bugfix for wxScrolledWindow::SetScrollRate in wxUniversal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 11:24:18 +00:00
Julian Smart
063d8a571c Applied patch [ 1489638 ] Trivial bugfix - missing constructor in wxGenericFontDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 11:16:47 +00:00
Włodzimierz Skiba
c0badb709a Include wx/timer.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 11:04:37 +00:00
Julian Smart
957eca2f20 Applied patch [ 1487942 ] Fixed bug in generic file selection dialog box
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 10:33:58 +00:00
Paul Cornett
0706e7487f fix incomplete change from rev 1.1121
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 05:58:51 +00:00
Paul Cornett
efc8ab7c53 replace deprecated gtk_type_new, plus minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 05:33:07 +00:00
Robin Dunn
e1a66d9a86 Don't scroll the grid when starting a cell editor if it will already
fit in the viewable space.  The way it was always jumping around drove
me nuts!

Also, ensure that keys like HOME or END won't start the cell editor on
wxGTK2.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 02:17:39 +00:00
Robin Dunn
6dc3c14ff2 Minor fixes for the overzealous renamer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 02:06:18 +00:00
Robin Dunn
c68c9afe84 a bit of cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 02:05:38 +00:00
Robin Dunn
7847dc507a Add some dtor wrappers for the print dialogs that are not really
dialogs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 02:05:01 +00:00
Robin Dunn
c1f50b06ec I've now seen 2 or 3 themes that need this extra space in a label-less
static box, so I'm checking in my GetBordersForSizer change discussed
on wx-dev a few weeks ago.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 02:04:01 +00:00
Robin Dunn
30fc5e8fee Added wrappers and demo for RichTextCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 01:10:25 +00:00
Vadim Zeitlin
8fa8d158bd document that wxRenderer methods [are supposed to] preserve wxDC attributes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-22 22:03:42 +00:00
Robin Dunn
4d02625ccf Changes to ensure that the potential drag is totally cleaned up in LeftButtonUp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-22 21:38:59 +00:00
Włodzimierz Skiba
fdf565feca Include wx/dialog.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-22 20:54:04 +00:00
Paul Cornett
c259ffdff7 unused win_gtk stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-22 17:51:55 +00:00
Paul Cornett
cdddcdb147 typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-22 17:51:20 +00:00
Jouk Jansen
12faa71cea updating OpenVMS compile support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-22 14:38:36 +00:00
Włodzimierz Skiba
4660e6acfc Introduced wxDCPenChanger and wxDCBrushChanger.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-22 14:25:35 +00:00
Włodzimierz Skiba
75d6ba569d Drawing fix for generic wxTreeCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-22 12:20:22 +00:00
Włodzimierz Skiba
cc92fd8452 [ 1469227 ] wxUniv patch for toolbar button.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-22 12:03:27 +00:00
Włodzimierz Skiba
f0fa4312b1 Continuation of 'widgets' sample improvements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-22 10:39:40 +00:00
Włodzimierz Skiba
c8326d649c Include wx/cursor.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-22 07:11:26 +00:00
Włodzimierz Skiba
cf6f325cd3 wxID_ANY usage.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-22 06:55:30 +00:00
Włodzimierz Skiba
613351172a Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-21 22:36:33 +00:00
Włodzimierz Skiba
923d28da0e Include wx/icon.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-21 21:45:44 +00:00
Włodzimierz Skiba
b61f4f77bc [ 1492391 ] Fix wxComboCtrl button rendering problem.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-21 21:12:59 +00:00
Włodzimierz Skiba
f385b493df Workaround to broken WinCE directory scanning for all includes (#ifdefed for other ports).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-21 20:53:20 +00:00
Stefan Csomor
ad604d0f8d hack around a UnicodeEditTextControl which does not deliver a correct selection unless the control has the focus.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-21 09:38:21 +00:00
Włodzimierz Skiba
a269ba6e3d wxMSW/watcom is already rebaked by pure bakefile_gen call. wxOS2/wxMGL for watcom needs only wx.bkl baking due to filename conflict for other makefiles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-21 07:44:04 +00:00
Kevin Ollivier
5a1595056d Attempt at fixing the misplaced MSW build files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-21 07:23:15 +00:00
Kevin Ollivier
04227ed681 First attempt at adding the files in the build/os2 and build/mgl dirs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-21 06:41:20 +00:00
Kevin Ollivier
947859ae14 Adding dataview and combo sample files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-21 06:33:06 +00:00
Włodzimierz Skiba
311161449b Rebaked wxOS2 makefile.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 23:39:54 +00:00
Włodzimierz Skiba
e4e11217be [ 1492040 ] Prevent wxComboCtrl::GetPopupControl from failing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 23:35:23 +00:00
Włodzimierz Skiba
93f7f8be7e [ 1492036 ] Fix incorrect wxComboCtrl minimum size.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 23:27:12 +00:00
Włodzimierz Skiba
8ef6d51ed7 Rebaked wxMGL makefile.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 22:55:34 +00:00
Włodzimierz Skiba
3bc2d7aeda Non-PCH build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 22:53:46 +00:00
Włodzimierz Skiba
92d594fc71 Workaround to broken WinCE directory scanning for all includes (#ifdefed for other ports).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 21:32:34 +00:00
Włodzimierz Skiba
559a723c1d Include wx/palette.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 19:43:09 +00:00
Stefan Csomor
0966072025 hacking around a missed-scroll bug in multi-line text fields in Tiger, in case there is no CR in the text.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 07:32:22 +00:00
Paul Cornett
24c2029f69 parenthesize macro replacement containing operator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 06:47:11 +00:00
Paul Cornett
dd0d56f5c7 remove unneeded includes from mac/carbon/private.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 05:47:39 +00:00
Paul Cornett
813b6b3f88 correct wxString forward declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 05:44:22 +00:00
Paul Cornett
6a423d6544 remove unneeded include of mac/private.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 05:43:06 +00:00
Paul Cornett
aba610e77a non-pch build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 05:41:25 +00:00
Paul Cornett
eb721ee29f remove unneeded declarations missed in previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 02:41:27 +00:00
Paul Cornett
3cb7a9ca75 avoid float to double conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 02:39:54 +00:00
Robin Dunn
13bf44b079 Demo the page setup dialog instead of the print setup dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 22:58:12 +00:00
Włodzimierz Skiba
c64755ed1a Include wx/brush.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 19:47:45 +00:00
Włodzimierz Skiba
e36bdde2c2 wxUniv setup up to date (sync. before joining family of setups updated by script).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 18:44:07 +00:00
Paul Cornett
12a480c12d gtk slider code simplification and better event determination
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 16:57:37 +00:00
Paul Cornett
49ca2a9920 using defined in a macro has undefined behavior
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 16:57:07 +00:00
Paul Cornett
7c98266873 build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 15:12:56 +00:00
Włodzimierz Skiba
d8a731eed4 Tinderbox build fix: preprocessing directive not recognized within macro arg.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 10:17:43 +00:00
Włodzimierz Skiba
339039581a Build fix for link error in new combo code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 10:13:57 +00:00
Włodzimierz Skiba
f559024395 Include wx/pen.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 09:37:38 +00:00
Stefan Csomor
f3ba97e8c2 fixing style and underline information transfer back
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 06:57:15 +00:00
Paul Cornett
dbaf49a996 non-pch universal build fix: combo.h should not include combobox.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 05:21:20 +00:00
Paul Cornett
38009079fb universal build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 05:17:59 +00:00
Mart Raudsepp
d00e5eb5d4 Check if wxOVERWRITE_PROMPT style flag exists in the gtk2.8 native overwrite prompt case as well. Fixes the case
where with 2.8+ compile and runtime version of gtk overwrite prompt always happens if the file already exists -
even if the style flag is not present. Fixes my introduced oversight and bug #1484020.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 02:38:09 +00:00
Robin Dunn
2131d850ee reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 02:02:29 +00:00
Robin Dunn
b8aab4d28d memory dc must have bitmap selected into it before it can be used for measuring
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 01:57:30 +00:00
Robin Dunn
4b40bcb44d DeprecationWarning for the old wxPython package.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 01:25:12 +00:00
Robin Dunn
8d7e482e06 generated rename directives are no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 01:10:46 +00:00
Robin Dunn
4dca6329b1 wxMessageBox --> wx.MessageBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 23:14:49 +00:00
Paul Cornett
7f81dfa1a0 gtk spinctrl code simplification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 17:04:16 +00:00
Robin Dunn
1767b394f0 Don't set a module attribute for the *_swigregister functions, just
call the one in the extension module directly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 16:15:41 +00:00
Robin Dunn
d306ba9b27 Added SetQuickBestSize and GetQuickBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 15:57:05 +00:00
Włodzimierz Skiba
d8d07a796f wxUniv port mentioned instead of native, wxButton ports listed, minor placement fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 15:36:44 +00:00
Stefan Csomor
ec8a8e042e switching to ATS font names instead of ATSUI ones (japanese font names had problems afterwards)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 15:07:16 +00:00
Robin Dunn
bbf0bd0538 Undo part of lst change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 14:45:03 +00:00
Stefan Csomor
45d5159fa4 adding an assert for invalid fonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 14:43:54 +00:00
Julian Smart
6a82a0d041 Selection should be set to -1 if all pages are deleted, or the next
insertion will try to set the selection to 1.
Fixed lack of initial controller resize when first page is added,
though I think the listctrl should probably always have a decent initial
height even when empty.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 09:53:19 +00:00
Julian Smart
52f15cb7bb Don't use wxSIMPLE_BORDER on Windows since it gives a black border instead
of blue on XP


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 09:38:47 +00:00
Julian Smart
77a1771911 Added Set/GetQuickBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 09:35:25 +00:00
Julian Smart
7c3840677c Fixed tree book controller sizing by invalidating size after first
insertion, and also allowing full size calculation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 09:33:17 +00:00
Stefan Csomor
acead93d81 using ATSUI also in textctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 08:06:34 +00:00
Włodzimierz Skiba
3b3dc8019a Include wx/menu.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 07:13:20 +00:00
Włodzimierz Skiba
85855db1c4 Missing #includes to allow wx/mac/carbon/tooltip.h be included first by user.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 06:45:59 +00:00
Paul Cornett
044077236a avoid wxColour::Set(long) confusion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 03:27:51 +00:00
Paul Cornett
a01ed326cc spinbutton code simplification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 03:08:25 +00:00
Paul Cornett
de7bb80239 avoid GTK "assertion `min < max' failed"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 02:39:23 +00:00
Robin Dunn
152e88789d Reverted mistaken check-in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 01:52:55 +00:00
Robin Dunn
f460c29d59 Use correct DLL import/export specifier for multi-lib builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 01:22:06 +00:00
Vadim Zeitlin
e328812d74 buttonbar.cpp/.h must be in GUI_CMN_SRC/HDR as toolbkg.cpp which is in common depends on them under Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 01:05:21 +00:00
Vadim Zeitlin
6ab4491a6d added virtual dtor to wxMacListControl to silence gcc warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 00:52:48 +00:00
Vadim Zeitlin
7c2b7791e5 fixed typo in last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 00:51:25 +00:00
Vadim Zeitlin
725566cab4 suppress gcc printf format warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 00:42:17 +00:00
Vadim Zeitlin
54933611e8 added virtual dtor to wxMacListControl to silence gcc warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 00:40:16 +00:00
Robin Dunn
0d6e24c346 Forgot about dropping the 'wx' for some Python objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 23:37:32 +00:00
Włodzimierz Skiba
7d1b5cb6ea Opening first subpage initially.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 22:21:29 +00:00
Włodzimierz Skiba
f2fdc4d56e Rearranged widgets sample to show more and categorized widgets.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 19:49:09 +00:00
Julian Smart
689f42f4b4 Documentation states scrollbars (plural) are switched off by wxHW_SCROLLBAR_NEVER,
so make sure this is true, even if the layout erroneously wants to create
a horizontal scrollbar.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 16:32:11 +00:00
Włodzimierz Skiba
987e9419b6 #include order with correct PCH support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 10:55:22 +00:00
Julian Smart
83eabba429 Fixes for compile breakage with no PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 10:42:03 +00:00
Vadim Zeitlin
ca7aeeb7d2 reset fd after closing it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 09:13:10 +00:00
Włodzimierz Skiba
f1e0171631 Include wx/button.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 09:07:47 +00:00
Julian Smart
00dff4d222 Combobox may not be fully created at this point
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 08:59:36 +00:00
Václav Slavík
69328c1a88 commented OpenContainer usage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 08:52:01 +00:00
Włodzimierz Skiba
25a9f2912d Missing 'int' interface for wxPlatform.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 08:48:31 +00:00
Robin Dunn
c15893b50e I haven't taught SWIG about wxChar, so pretend it's a wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 05:20:15 +00:00
Robin Dunn
05c43d4677 Clipboard events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 05:15:32 +00:00
Robin Dunn
7e8142e986 Use Bind for OnCloseWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 05:13:35 +00:00
Paul Cornett
add7cadd99 scrollbar handling simplification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 04:54:13 +00:00
Robin Dunn
69555b5c86 Use %rename("%(wxpy)s")
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 04:20:10 +00:00
Robin Dunn
ddc00ed1ea Set BUILD_RENAMERS default to zero.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 04:15:33 +00:00
Robin Dunn
d9f09ac42c Added SWIG patch that enables the wx-dropping renames to be done
internally instead of needing to be generated in a second pass after
processing the XML output.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 04:14:20 +00:00
Robin Dunn
29a41103aa Ported XRCed to the wx namespace, and also enabled the selected,
focus, and disabled bitmaps of wxBitmapButton to actually be treated
like bitmaps.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 03:57:57 +00:00
Robin Dunn
1d88e73a3f Allow art provider IDs for the extra bitmaps in a wxBitmapButton. (The
param value is empty in this case, but there is still a valid bimap
node.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 03:51:51 +00:00
Vadim Zeitlin
6964cbbac9 make sure that IsModified() returns false when it's called from EVT_TEXT handler invoked because of SetValue() call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 00:20:20 +00:00
Vadim Zeitlin
781acf8347 removed GTK-specific SetModified() as we already have a public MarkDirty() which does the same thing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-16 23:58:20 +00:00
Vadim Zeitlin
63f84de849 reset the dirty flag before generating the event from SetValue() in case the text didn't really change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-16 23:53:55 +00:00
Vadim Zeitlin
ff9a8ac6ba test IsModified() inside OnText()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-16 23:39:48 +00:00
Vadim Zeitlin
c85f2eb19f implemented clipboard events support for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-16 23:16:36 +00:00
Vadim Zeitlin
a57d600f1a renamed wxComboControl to wxComboCtrl and related wxUSE_XXX and configure switches for consistency with the other ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-16 22:57:40 +00:00
Vadim Zeitlin
87419e97c6 allow adjusting the combo button size (patch 1489452)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-16 21:39:33 +00:00
Stefan Csomor
a8f7c8b2c5 m_dialogStyle removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-16 17:19:59 +00:00
Vadim Zeitlin
f240839653 use wxTE_PROCESS_ENTER for the text control part
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-16 14:52:07 +00:00
Vadim Zeitlin
d18135abbf added documentation of common attributes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-16 13:05:37 +00:00
Mart Raudsepp
9689f522e5 Fix doc bug #1455621 - wxURI documentation has wrong include files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-16 11:53:35 +00:00
Jouk Jansen
6f99438350 Update OpenVMS build configuration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-16 06:54:54 +00:00
Mart Raudsepp
7d1fea10d4 No cast necessary for g_object_set first arg (it takes a gpointer).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-15 16:00:59 +00:00
Robin Dunn
2daad28083 wxMSW doesn't have the default ctor or Create method for wxDirDialog yet.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-15 15:32:26 +00:00
Robin Dunn
9c5c87674a Added SetSashPosition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-15 14:58:36 +00:00
Mart Raudsepp
f1e1e6952e Rename *_filedialog_* to *_dirdialog_* to ensure there is no clashing with filedlg.cpp implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-15 14:22:08 +00:00
Mart Raudsepp
3fe39b0ce3 Don't cast with G_OBJECT when passing a GObject to g_object_ref, g_object_unref and g_signal_connect.
They take a gpointer, not GObject*, and unnecessary casting not all that speedy with GObject types.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-15 14:17:38 +00:00
Mart Raudsepp
7e983dabef Fix compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-15 13:43:35 +00:00
Włodzimierz Skiba
7301b2b8e6 wxTabCtrl off build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-14 22:29:30 +00:00
Włodzimierz Skiba
ab5903dae3 Fix for linking error after combo changes: dummy getting key state.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-14 22:21:32 +00:00
Włodzimierz Skiba
ab82df4679 Bakefile specification fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-14 22:17:45 +00:00
Włodzimierz Skiba
85fed18c15 Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-14 21:29:12 +00:00
Kevin Hock
635f2bad90 Continue reading after checking the pushback buffer if more data is requested. Otherwise, once any data if placed in the pushback buffer, no more data will be read from the socket, even if more data is requested.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-14 19:49:19 +00:00
Vadim Zeitlin
4ce04fd883 check the item id validity in SetItem()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-13 11:48:12 +00:00
Vadim Zeitlin
f8a29d4f6e added Galician translation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-12 20:54:40 +00:00
Vadim Zeitlin
e051d008eb wxUniv compilation fixes after wxComboControl patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-12 20:30:43 +00:00
Vadim Zeitlin
0cb5718761 don't delete the exiting tooltip if SetToolTip() is called with the same one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-12 20:17:40 +00:00
Vadim Zeitlin
c0f482800a fix OpenWatcom warning (patch from Jaakko Salli)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-12 20:04:28 +00:00
Vadim Zeitlin
c98e80d98d correct dll declaration (the classes in the header are part of adv library, not core)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-12 19:31:50 +00:00
Paul Cornett
0d2c444336 remove gtk1 stuff and unused macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-12 17:06:20 +00:00
Paul Cornett
cb1476c34d unused variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-12 17:06:05 +00:00
Vadim Zeitlin
78c9181500 added clipboard events (wxEVT_COMMAND_TEXT_COPY/CUT/PASTE) and implemented them for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-12 15:21:41 +00:00
Mart Raudsepp
6905dfe91d [wxGTK2] Make the affirmative button the default in native wxDirDialog implementation (instead of no default at
all).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-11 17:15:57 +00:00
Mart Raudsepp
c1dfe97c32 [wxGTK2.4] Make affirmative button the default in wxFileDialog GtkFileChooser impl. Alex Bligh, patch #1484088.
Closes bugs #1484037 and #1347052.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-11 17:05:12 +00:00
Mart Raudsepp
b44f1ca20b Add some helpref's in the wxPython topic overview. Some of the ones without a helpref in the list are a good
indication of what classes we have undocumented still.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-11 16:46:38 +00:00
Robin Dunn
2240b1aa74 Make the app object be global in case it is run multiple times, such
as from encode_bitmaps.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-10 23:22:27 +00:00
Robin Dunn
01f6b6d3c8 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-10 23:12:34 +00:00
Robin Dunn
4a692286ca We no longer use the xml files, (and havn't for some time) so stop
generating them.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-10 23:09:22 +00:00
Paul Cornett
dcc8cf5ae3 correct access for virtuals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-10 17:08:45 +00:00
Paul Cornett
2092774d8a allow size event for windows without scrollbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-10 16:36:31 +00:00
Vadim Zeitlin
e16514bf08 test that wxUSE_DATAVIEWCTRL is defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-10 13:00:33 +00:00
Vadim Zeitlin
481e2766c2 test that wxUSE_OWNERDRAWNCOMBOBOX and wxUSE_COMBOCONTROL are defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-10 12:58:27 +00:00
Vadim Zeitlin
1b182562bb fixed bugs in icons handling introduced in 1.227
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-10 00:45:17 +00:00
Paul Cornett
76e4be8e18 simplify mouse wheel signal handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-09 16:55:25 +00:00
Paul Cornett
8539643021 unused member variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-09 16:54:24 +00:00
Vadim Zeitlin
6d0ce565ff fixes and missing files from the first wxComboControl patch (update of patch 1479938)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-09 16:18:19 +00:00
Vadim Zeitlin
65b977e5b3 mbstate-t related fix for CW8.3 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-09 14:26:48 +00:00
Włodzimierz Skiba
11dbb4bfab Include wx/dcscreen.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-09 13:55:29 +00:00
Chris Elliott
3dbe49e1aa change of hardware - modify daily build script
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-09 12:52:03 +00:00
Chris Elliott
a3c5de686b add files omitted from script for daily builds at York
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-09 12:31:34 +00:00
Vadim Zeitlin
899eacc753 removed spurious trailing commas in enums
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-09 11:11:07 +00:00
Vadim Zeitlin
28cbbe69df added wxUSE_COMBOBCONTROL and wxUSE_OWNERDRAWNCOMBOBOX to wx/setup.h files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-09 00:04:35 +00:00
Vadim Zeitlin
642bcba929 wxUSE_COMBOCONTROL and wxUSE_OWNERDRAWNCOMBOBOX added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 23:57:40 +00:00
Vadim Zeitlin
1b52ba67a1 just regenerated with autoconf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 23:55:08 +00:00
Vadim Zeitlin
f5058cd7d9 bakefile-generated makefiles for the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 23:51:51 +00:00
Vadim Zeitlin
0bcb13b8ea mention wxComboControl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 23:47:26 +00:00
Vadim Zeitlin
21849f3a8e added wxUSE_COMBOBCONTROL and wxUSE_OWNERDRAWNCOMBOBOX to wx/setup.h files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 23:46:37 +00:00
Vadim Zeitlin
a340b80d8a wxComboControl and wxOwnerDrawnComboBox (patch 1479938)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 23:42:45 +00:00
Vadim Zeitlin
cd4e32afe7 added conversion ctor to create const_iterator from iterator, otherwise assigning the return value of begin() called on a non-const object to a const_iteator didn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 23:26:39 +00:00
Włodzimierz Skiba
6d50343d87 Include wx/dcprint.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 22:34:12 +00:00
Vadim Zeitlin
af867f957d fixed operator[] in wxUSE_STL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 21:25:00 +00:00
Włodzimierz Skiba
ed8219a5e0 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 11:31:03 +00:00
Włodzimierz Skiba
dd4e6da0e0 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 10:27:17 +00:00
Włodzimierz Skiba
0799bc868e Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 10:05:40 +00:00
Włodzimierz Skiba
f38924e863 Include wx/dcmemory.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 07:58:37 +00:00
Vadim Zeitlin
9ea1246ba6 added operator[] for STL builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 00:56:59 +00:00
Vadim Zeitlin
89780b6ee0 removed __throws_bad_alloc import, this apparently breaks CW8.3 compilation and is unused anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 00:51:31 +00:00
Stefan Neis
6ba87b0697 Need to do tests for compiler version (to determine C++ libs needed to
successfully link C++ core) in C mode on OS/2.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-07 14:43:41 +00:00
Paul Cornett
259a4264ac call static functions directly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-07 01:26:34 +00:00
Paul Cornett
4fab51ddff unused variables/declarations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-07 01:17:16 +00:00
Paul Cornett
b45c2fe579 correct access for virtuals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-07 01:14:50 +00:00
Vadim Zeitlin
6121a198d3 use non numpad equivalents for the numpad keys in CHAR events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-07 00:39:52 +00:00
Vadim Zeitlin
b60978b228 removed more unneeded code in kbd handling logic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-07 00:34:47 +00:00
Vadim Zeitlin
7c722b22b3 removed code which had no effect in HandleChar()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-07 00:31:02 +00:00
Vadim Zeitlin
aac18ec71e generate ctors with optional parent parameters in C++ code (patch 1238355)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 22:53:06 +00:00
Vadim Zeitlin
c01d5de838 fix for popup menus (part of patch 1238355)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 22:48:15 +00:00
Robin Dunn
68d76e7385 Add wx.TextAttr.Merge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 22:41:13 +00:00
Vadim Zeitlin
c9c537e6b0 better Wait/Delete() docs (patch 1434085)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 22:40:19 +00:00
Vadim Zeitlin
05ae668ce4 use SubclassWin() insteaf of just wxAssociateWinWithHandle() to make sure we generate wxWindowCreateEvents for MDI frames (see patch 1411774)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 22:35:55 +00:00
Vadim Zeitlin
e7c652bc7a send wxWindowCreateEvent from SubclassWin(), not WM_CREATE handler as we don't get WM_CREATEs for the windows of standard classes (last version of patch 1411774; closes bug 1349291)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 22:34:24 +00:00
Vadim Zeitlin
3f2174bb28 don't generate duplicate event for numpad keys with numlock on (patch 1448853)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 22:27:30 +00:00
Vadim Zeitlin
8361f92be8 use wxGtkString instead of manual g_free()s (also fixed free/g_free mismatch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 21:59:15 +00:00
Robin Dunn
7e25260c0d GetXRCID has a new parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 21:57:09 +00:00
Robin Dunn
0cfaa1dab1 Added wxDD_CHANGE_DIR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 21:56:15 +00:00
Robin Dunn
41d4305cd3 minor wx.DirDialog updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 21:55:27 +00:00
Włodzimierz Skiba
ed4b0fdca6 Include wx/dcclient.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 21:51:49 +00:00
Vadim Zeitlin
23f4f495a5 pango_font_description_get_family() can return NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 21:48:02 +00:00
Vadim Zeitlin
c23d400420 compilation fix for the last check in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 20:32:46 +00:00
Vadim Zeitlin
7c55c50ea9 clamp the point size of the font to a reaosnable range (second part of patch 1481722)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 20:23:36 +00:00
Vadim Zeitlin
f0545c140a docs for Get/SetNativeFontInfoUserDesc() (part of patch 1481722)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 20:15:06 +00:00
Vadim Zeitlin
b24069f2cc cache best size in DoGetBestSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 20:12:28 +00:00
Vadim Zeitlin
141d782d56 misc fixes for wxDirDialog; new wxDD_CHANGE_DIR flag (patch 1478051)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 20:10:11 +00:00
Vadim Zeitlin
4523ebb3f1 simplify the client data/non standard images handling code by unconditionally using wxTreeItemParam struct instead of using indirect data only sometimes; also extend it to contain the id which allows to always sort the items correctly (closes bug 1447419) (patch 1449096 from Ryan)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 19:17:22 +00:00
Vadim Zeitlin
4c15a37592 added InitCommandEventWithItems() and call it from wxChoice and wxComboBox code to ensure that per item client data is set correctly in the generated events (replaces patch 1476171; closes bug 1470505)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 19:05:50 +00:00
Vadim Zeitlin
168a76fe3d corrected last change to cWC2MB() to also work for encoding with NUL length > 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 18:53:43 +00:00
Vadim Zeitlin
13d92ad62a don't allocate 0-sized buffer in cWC2MB() even if input size is 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 18:49:47 +00:00
Vadim Zeitlin
d68d85908b removed wxIsLoggingEnabled() as it could create the log target as an unwanted side effect and just use wxLog::IsEnabled() instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 18:48:48 +00:00
Vadim Zeitlin
41f44cca0a typo: PrintfInLogBug() was probably supposed to be called PrintfInLogBuf()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 18:45:13 +00:00
Vadim Zeitlin
5db920c9dd delete the old log target if one had been created somehow even before DoCommonPreInit() was called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 18:44:03 +00:00
Vadim Zeitlin
85d3e5a9ad added ConversionEmpty() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 17:47:35 +00:00
Vadim Zeitlin
ddca12cfd9 mention that Wait() relocks the mutex before returning (patch 1482390)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 17:29:16 +00:00
Vadim Zeitlin
3affcd078b added wxString::EndsWith() (patch 1483049)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 17:27:52 +00:00
Vadim Zeitlin
9b2a74693e allow to specify the value for unknown ids in GetXRCID() (patch 1448981)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 16:59:59 +00:00
Paul Cornett
5625d0d4ca call static functions directly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 16:57:00 +00:00
Vadim Zeitlin
53ee60908a added wxTextAttr::Merge (modified patch 1482719)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 16:16:25 +00:00
Vadim Zeitlin
6e86472fa5 don't give an error when editing of the items label is cancelled (patch 1482176)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 16:07:29 +00:00
Vadim Zeitlin
593ac33e50 added InitCommandEventWithItems() and call it from wxChoice and wxComboBox code to ensure that per item client data is set correctly in the generated events (replaces patch 1476171; closes bug 1470505)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 15:48:27 +00:00
Vadim Zeitlin
9b7d3c0988 blank lines were ignored in multiline cell labels (replaces patch 1476165)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 15:33:23 +00:00
Vadim Zeitlin
4330c974ed code cleanup in DrawTextRectangle()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 15:28:27 +00:00
Vadim Zeitlin
5637e1311b signed/unsigned warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 15:26:41 +00:00
Vadim Zeitlin
97ca4fe477 re-reversed SB_TOP/BOTTOM undoing rev 1.21 change (still no idea why was it done)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 15:17:08 +00:00
Stefan Csomor
f028b0d919 must be AnyState , not NoState to get all elements (error in apple's doc, reported)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 04:34:45 +00:00
Paul Cornett
0f4f26bd65 don't include scrollbar area in client size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 04:33:43 +00:00
Vadim Zeitlin
38a5c64e29 removed TTN_NEEDTEXT handlers, we don't use tooltips on demand
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 00:04:26 +00:00
Vadim Zeitlin
caddf9b410 corrected wording of application shutdown logic description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 23:58:22 +00:00
Włodzimierz Skiba
da80ae712a Include wx/dc.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 22:58:39 +00:00
Vadim Zeitlin
6f7b61759e mention that timestamp is in ms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 19:37:41 +00:00
Robin Dunn
b14b1312ac fix a typo causing the wrong method to be called.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 19:09:04 +00:00
Włodzimierz Skiba
7270921da6 CSS colour compatibility after #1473731.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 17:38:58 +00:00
Włodzimierz Skiba
e8ee8f2716 Helper for clipping to range.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 17:28:33 +00:00
Włodzimierz Skiba
0c11387408 [ 1482626 ] Fix widgets sample build on unicode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 17:24:00 +00:00
Paul Cornett
cb3db09022 correct access for virtuals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 17:04:48 +00:00
Włodzimierz Skiba
51f5e2822c Tinderbox build fix for wxUnivGTK build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 12:23:38 +00:00
Włodzimierz Skiba
7577ac4b5c !wxUSE_TOOLTIPS build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 09:42:21 +00:00
Włodzimierz Skiba
76b49cf49b Include wx/frame.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 08:10:55 +00:00
Włodzimierz Skiba
6337cacce9 Misplaced #ifdef ... #endif fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 07:10:24 +00:00
Vadim Zeitlin
aa1e6de9b1 implemented SetItemToolTip()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 23:40:06 +00:00
Vadim Zeitlin
f7ce0e4a5f added static Apply(GtkWidget, tip) method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 23:34:10 +00:00
Vadim Zeitlin
4dfda526ef mention that SetItemToolTip() is for wxMSW and wxGTK2 only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 23:31:47 +00:00
Vadim Zeitlin
6cae7af2f1 renamed ss_tooltips to gs_tooltips to follow the standard naming convention (and it could have been a typo in the first place)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 23:05:19 +00:00
Vadim Zeitlin
d33704ddf2 renamed m_boxes to m_buttons because, well, it contains the radio buttons and not boxes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 23:00:34 +00:00
Vadim Zeitlin
07014b5a0a renamed local variable named m_radio as the m_ prefix was very confusing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 22:55:49 +00:00
Vadim Zeitlin
d64ad2c7e1 added support for radiobox items tooltips in XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 22:54:17 +00:00
Robin Dunn
ab0c98223a Added Get/SetItemToolTip
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 19:42:17 +00:00
Włodzimierz Skiba
8e609c8259 Include wx/panel.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 18:10:27 +00:00
Vadim Zeitlin
4a851b11c2 made GetRowCount() return size_t to avoid signed/unsigned warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 16:19:31 +00:00
Vadim Zeitlin
d5e20cd8d4 added brief wxRadioBox description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 16:17:55 +00:00
Vadim Zeitlin
d3cd1c03a3 only take into account visible children in DoLayout()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 16:12:18 +00:00
Vadim Zeitlin
c670c85582 added Get/SetItemToolTip() (and implemented them for MSW) to allow setting tooltips for the individual radiobox items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 16:08:56 +00:00
Vadim Zeitlin
c009bf3e9f relay mouse move events to the tooltips even when the window itself doesn't have a tooltip -- but its subwindow does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 16:07:15 +00:00
Vadim Zeitlin
4453b38d02 made RelayEvent() static
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 15:58:29 +00:00
Vadim Zeitlin
0c5405b727 added Remove(HWND); removed unused wParam parameter from SendTooltipMessage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 15:51:38 +00:00
Vadim Zeitlin
60c84f8501 allow entering multiline tooltips directly; allow removing tooltip by entering empty string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 15:50:09 +00:00
Vadim Zeitlin
bf00495160 implemented declared but never defined resize() method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 15:01:37 +00:00
Vadim Zeitlin
9372855d19 fixed python-related files names after they had been apparently renamed in the cvs 4 months ago; fixed broken sed command syntax
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 12:12:01 +00:00
Jouk Jansen
d7313bdcee Committing in .
improvement of the previous commit
 fixes OpenVMS support for wxGTK1

 Modified Files:
 	wxWidgets/include/wx/dirdlg.h wxWidgets/src/gtk1/descrip.mms
 Removed Files:
 	wxWidgets/src/gtk1/dirdlg.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 12:02:10 +00:00
Jouk Jansen
a40f0c2334 Committing in .
Update of OpenVMS compile support.
  -I had to add dirdlg.cpp to src/gtk1 to get the dialog sample linking
   Note that it is just a copy of the verion in the src/gtk directory.


 Modified Files:
 	wxWidgets/src/common/descrip.mms
 	wxWidgets/src/gtk1/descrip.mms
 Added Files:
 	wxWidgets/src/gtk1/dirdlg.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 09:20:13 +00:00
Włodzimierz Skiba
cdccdfabb2 Include wx/window.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 07:57:04 +00:00
Kevin Ollivier
9c8cfcb9c5 docopydocs is not needed for this script.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 04:47:50 +00:00
Robin Dunn
4e20fcc551 Ensure the button still exists after the Notify before doing anything
with it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:18:25 +00:00
Robin Dunn
7f80dd64ec Handle object ownership of wxTreeListColumnInfo and wxPyTreeItemData properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:16:52 +00:00
Robin Dunn
8ec09aacc6 wx.ProgressDialog.Update now returns two values.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:15:48 +00:00
Robin Dunn
27eac64cf9 Font size adjustment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:09:24 +00:00
Robin Dunn
1e19282e10 Use SetBackgroundStyle for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:08:47 +00:00
Robin Dunn
4b13569ffb Add test for a stock button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:08:09 +00:00
Robin Dunn
1d14e1836a Add GetAsString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:07:41 +00:00
Robin Dunn
229acc7990 Amazingly GetInt returns an integer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:07:00 +00:00
Robin Dunn
4a983d2c63 IsAlwaysMaximized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:06:37 +00:00
Robin Dunn
ef802f32a3 Expose UpdateScrollbar and RemoveScrollbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:05:58 +00:00
Robin Dunn
4ba3af91ab Docstring updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:04:22 +00:00
Robin Dunn
57ffa5851d Redo (again) how the stock objects are initialized in wxPython.
Factor out the wxPyTwoIntItem_helper template function so it can be
used in other extension modules.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:03:39 +00:00
Robin Dunn
f6e949dfbe Ignore Destroy calls on wx.BusyInfo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:02:40 +00:00
Robin Dunn
6af7d1bdb7 3 parameter wx.ImageList.Replace is now available everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:01:51 +00:00
Robin Dunn
9034710113 Main now takes a list of args
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:00:51 +00:00
Robin Dunn
07e3a44f88 DrawCheckButton -- > DrawCheckBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:00:13 +00:00
Vadim Zeitlin
19ea26f684 moved wx/msw/helpbest.h to HTML_HDR from MSW_DESKTOP_HDR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-03 22:22:23 +00:00
Vadim Zeitlin
2f79f2912d compilation fix when not using PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-03 22:19:06 +00:00
Włodzimierz Skiba
530ecef01f Include wx/stream.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-03 21:50:35 +00:00
Vadim Zeitlin
9a32689b37 remove non existing AM_OPTIONS_WXRC: it results in an error with aclocal 1.4, even though it's inside a comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-03 17:10:29 +00:00
Vadim Zeitlin
f1560fa6df fixed printf format warning on 64 bit platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-03 16:18:37 +00:00
Vadim Zeitlin
8b4b9395e0 documented GetPathWithSep()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-03 13:12:41 +00:00
Vadim Zeitlin
ab9a58f424 include volume in path returned by GetPathWithSep()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-03 13:11:18 +00:00
Kevin Ollivier
3d23c9b7d9 Initial implementation of wxWidgets build scripts for Mac and Unix. To run tests, just run dobuilds in mac and unix dirs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-03 04:36:17 +00:00
Kevin Ollivier
1646ae2229 Include and use the shared docopydocs function.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-03 04:30:13 +00:00
Kevin Ollivier
528656884c Make sure to include the current values for INCLUDE, LIB, PATH.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-03 04:28:00 +00:00
Kevin Ollivier
b519f7d462 Move the copying of docs that are included in several tarballs into its own function.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-03 04:25:44 +00:00
Paul Cornett
4362c7052b wxASSERT(false) --> wxFAIL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-03 04:12:48 +00:00
David Surovell
c2f5b920ca minor cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-03 02:44:33 +00:00
Robin Dunn
7e05216cce Patch from Eli Golovinsky. Adds generation of _() code for gettext
and other tweaks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-03 01:47:57 +00:00
Vadim Zeitlin
a717bd116a update the sizes of all pages when the control size changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-03 00:43:44 +00:00
Vadim Zeitlin
26e95a246b don't invalidate the tree size when pages are added/removed, we don't want the tree size to jump on its own ad the programmer should call FitTree() explicitely if this is desired
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-03 00:42:33 +00:00
Vadim Zeitlin
6bd02a4367 fixed setting selection when there are NULL pages in the tree
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-03 00:36:57 +00:00
Vadim Zeitlin
a16a4ab156 mention that FindToolForPosition() is not implemented under wxGTK; general cleanup (\arg instead of \it, \NULL instead of NULL)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-02 23:43:55 +00:00
Paul Cornett
8b64a7e24b correct access specifier for virtuals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-02 17:23:04 +00:00
Paul Cornett
27ed553558 remove definitions which are already in wx/app.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-02 17:21:30 +00:00
Włodzimierz Skiba
e19ac18a71 DMC warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-02 16:28:22 +00:00
Włodzimierz Skiba
de6185e212 Include wx/utils.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-02 10:39:23 +00:00
Paul Cornett
a8461d3170 & operator should be &&
virtual OnDismiss() access should match base
extraneous semicolon


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-01 17:39:19 +00:00
Stefan Csomor
c881da964f use cleaner OSX version (10.3 upwards)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-01 14:40:35 +00:00
Włodzimierz Skiba
90b903c263 Renamed DrawCheckButton due to conflict with existing and public api of wxUniversal port.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 23:54:26 +00:00
Włodzimierz Skiba
3cdcf4d444 eVC3 (older WinCE) build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 21:20:44 +00:00
Włodzimierz Skiba
4ff2699952 Be nice to eVC++ build process and don't include not existing files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 21:16:56 +00:00
Włodzimierz Skiba
1fb351fada Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 12:32:29 +00:00
Robert Roebling
5b9003ae32 Applied patch to add n bitmaps at once to an image
list of the bitmap is n times as wide as the
    image width of the image list. This was the case
    in the MSW image list before.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 11:58:40 +00:00
Robert Roebling
781945ea41 Patch 1476076 about negative wxImage size when
copying (or something).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 11:44:14 +00:00
Robert Roebling
1219d8a408 wxListBox default cstr doc patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 11:40:56 +00:00
Robert Roebling
434cf5a448 Commit XML doc patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 11:37:12 +00:00
Robert Roebling
f644bc116b Blindly added wxImageList::replace( int, bitmap, mask )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 10:38:32 +00:00
Robert Roebling
3f8fba02a2 Added gtk dirdlg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 10:10:09 +00:00
Robert Roebling
1a090517cf int -> unsigned int in wxListBox docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 09:59:07 +00:00
Robert Roebling
4d5beb1c33 Committed bakefile correction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 09:52:27 +00:00
Robert Roebling
85deaacd30 Fix mem leak.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 09:50:36 +00:00
Robert Roebling
b50747ea53 Trying to commit wxDirDialog patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 09:44:29 +00:00
Robin Dunn
dd70f7a2ad some tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 05:18:44 +00:00
Włodzimierz Skiba
f43255e838 No more avoiding wxSizer::Fit in wxWinCE builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 00:20:54 +00:00
Włodzimierz Skiba
6aa68c25a4 Build fix for SmartPhoneCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 00:04:37 +00:00
Dimitri Schoolwerth
a166eb645e changed calls to wxMac's private wxColour::Set to use the renamed function wxColour::FromRGBColor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-29 19:19:58 +00:00
Stefan Csomor
af182d461f obsolete ref to checklistbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-29 05:51:49 +00:00
Stefan Csomor
2a0155df72 switching implementation to current base technologies
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-29 05:37:31 +00:00
Stefan Csomor
753d02e833 switching implementation new core system (ATS)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-29 05:30:33 +00:00
Mart Raudsepp
d95c5149ad Add virtual keyword where applicable.
Rearrange declarations to match the order in base classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-29 00:46:05 +00:00
Włodzimierz Skiba
7d01c54d7f Final touch for wxColour <-> wxString and wxColourBase by Francesco Montorsi.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-28 17:59:28 +00:00
Włodzimierz Skiba
33cf9a1922 Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-28 17:07:14 +00:00
Włodzimierz Skiba
670f993563 Include wx/app.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-28 12:44:37 +00:00
Włodzimierz Skiba
6f26f98eb5 Simplify wxWinCE #ifdefs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-28 10:19:41 +00:00
Włodzimierz Skiba
268c20fa31 Be nice to eVC++ build process and don't include not existing files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-28 10:14:27 +00:00
Włodzimierz Skiba
979a0320b0 wxTLW::IsAlwaysMaximized() introduction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-27 17:18:46 +00:00
Włodzimierz Skiba
30ab80d646 Unicode build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-27 16:39:30 +00:00
Vadim Zeitlin
6206893050 use wxDelegateRendererNative as base class instead of wxRendererNative to not have to reimplement all pure virtuals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-27 13:50:20 +00:00
Włodzimierz Skiba
d5da0ce7cb Include wx/event.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-27 12:47:14 +00:00
Włodzimierz Skiba
07b6378fcb Be nice to eVC++ build process and don't include not existing files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-27 11:33:56 +00:00
Vadim Zeitlin
5b53617d42 correction to exception handling in threads: call wxThread::OnExit() always
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-27 11:31:21 +00:00
Włodzimierz Skiba
120b9b056e Refresh(row) should be RefreshRow(row), otherwise it's whole window refreshing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-27 11:25:42 +00:00
Vadim Zeitlin
114c220f2d undid last commit, it was accidental and the commit message was wrong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-27 10:21:52 +00:00
Vadim Zeitlin
d3f8206ce7 handle fatal exceptions in the other threads (based on patch 1459813 by Carl-Friedrich Braun)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-27 10:17:13 +00:00
Stefan Csomor
f61ed7ee42 renamed RGBColor setter to avoid former overload being an override
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-27 07:41:06 +00:00
Paul Cornett
b0fa218726 use stock pens/colors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-27 04:45:13 +00:00
Robin Dunn
ccb9fa0dfb Reset the mouse event object and id in case FindWindowForMouseEvent
selected a new window to send the event to.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-27 00:30:59 +00:00
Vadim Zeitlin
39ea2103cd handle fatal exceptions in the other threads (based on patch 1459813 by Carl-Friedrich Braun)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-26 18:04:15 +00:00
Vadim Zeitlin
784d240848 fixed unused param warning and code cleanup/simplification in DrawItemSelectionRect()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-26 18:00:52 +00:00
Paul Cornett
d0363d3d2d make pen/brush parameters const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-26 16:27:20 +00:00
Paul Cornett
90daa6cd4a build fix for latest C++ standard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-26 16:27:16 +00:00
Stefan Csomor
34cf96b216 fixing translation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-26 16:15:34 +00:00
Stefan Csomor
c8e597f84a default button on older systems was not shown with OK, but empty, resulting in wxID_CANCEL returns, patch 1473745
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-26 16:08:11 +00:00
Vadim Zeitlin
67533115f9 renamed RESCOMP to WINDRES due to bakefile changes (patch 1372332)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-26 12:12:18 +00:00
Robert Roebling
daebb44c74 Added wxRenderer method for drawing selection
rect if an item in a list has ben selected.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-26 10:48:52 +00:00
Włodzimierz Skiba
e4db172a3b Include wx/log.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-26 08:21:31 +00:00
David Surovell
56b6cf265c minor cleanup 2 - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-26 02:48:26 +00:00
Paul Cornett
1c9d49c661 revert return type changes for gdi object pointers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-26 02:24:42 +00:00
Vadim Zeitlin
c1aa5517ac remove the vertical scrollbar completely if the control is empty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-26 00:17:52 +00:00
Vadim Zeitlin
b1b408af9e don't paint an infinite number of items if the control is empty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-26 00:16:07 +00:00
Vadim Zeitlin
63b3dc58be document that the workaround used to make popup menus behave correctly is the one officially sanctioned by Microsoft and provide the URL to the Knowledge Base article; also minor cleanup: use GetHwndOf() instead of HWND casts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-26 00:05:09 +00:00
Włodzimierz Skiba
94c4754368 Back to previous #include order - wxGTK1 include loop needs rethinking.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 21:43:14 +00:00
Włodzimierz Skiba
59b8b14745 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 21:39:21 +00:00
Włodzimierz Skiba
d022d3649e Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 17:31:27 +00:00
David Surovell
3d59537f64 minor cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 17:04:30 +00:00
Włodzimierz Skiba
68b4e4cff0 [ 1473731 ] 'wxColourBase and wxString <-> wxColour implementation'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 15:16:13 +00:00
Włodzimierz Skiba
88a7a4e10e Include wx/intl.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 14:38:19 +00:00
Włodzimierz Skiba
ee19674c9f [ 1473731 ] 'wxColourBase and wxString <-> wxColour implementation'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 12:40:19 +00:00
Włodzimierz Skiba
81853b9861 wxTheColourDatabase->Find() can fail.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 12:06:51 +00:00
Robert Roebling
7266451464 Lots of minor visual updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 10:51:34 +00:00
Robert Roebling
e585d8137c Added rc file for MINGW compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 10:50:32 +00:00
Robert Roebling
b6339e0b4f Minor sample update.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 10:49:21 +00:00
Robert Roebling
db4ad642aa Added simple scroll sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 10:48:26 +00:00
Robert Roebling
506d54a3f6 Minor corrections to native renderer. I also corrected
the header button renderer as per MSW, this might break
    other code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 10:47:29 +00:00
Robert Roebling
85e5bb6a95 Compile fix for VC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 08:38:07 +00:00
Włodzimierz Skiba
9eb49b58c0 Build fix after wxColourBase introduction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 21:32:00 +00:00
Włodzimierz Skiba
daebb84bff Build fix after wxColourBase introduction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 21:05:04 +00:00
Włodzimierz Skiba
a317d71423 Build fix after DrawPushButton introduction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 21:01:34 +00:00
Włodzimierz Skiba
7b5874dd9f Build fix after wxColourBase introduction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 19:44:07 +00:00
Robert Roebling
daa85e93c4 Compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 19:17:26 +00:00
Włodzimierz Skiba
7760051f27 Build fix after wxColourBase introduction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 18:31:23 +00:00
Włodzimierz Skiba
4b80b7705f Build fix after wxColourBase introduction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 18:02:27 +00:00
Vadim Zeitlin
7d13fbc6dc don't use invalid/uninitialized iterator in wxList::compatibility_iterator in wxUSE_STL==1 case, this doesn't work with the debug version of glibc STL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 17:59:10 +00:00
Włodzimierz Skiba
bc5a523959 wxUSE_NOTEBOOK usage.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 16:59:17 +00:00
Robert Roebling
2209baaee3 Committed Jaako's renderer patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 16:57:27 +00:00
Włodzimierz Skiba
6b5d2431fc wxOS2 build fixes after wxColourBase introduction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 16:34:26 +00:00
Robert Roebling
e21f75bdf6 Finished most of the selection/focus handling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 15:34:17 +00:00
Włodzimierz Skiba
40989e46b8 [ 1473731 ] 'wxColourBase and wxString <-> wxColour implementation' with minor modifications and rebaked build files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 14:52:23 +00:00
Robert Roebling
cab0703813 Lots of selection and focus code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 12:33:24 +00:00
Włodzimierz Skiba
d7903e1336 Removal of second part of dsw files (as requested by Jamie Gadd).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 09:29:35 +00:00
Włodzimierz Skiba
df91131cb0 Include wx/string.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 08:46:59 +00:00
Vadim Zeitlin
eeee4050cf correct i18n problems in accel handling code (replaces patch 1465417; closes bug 1464912) and a lot of cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 00:56:24 +00:00
Vadim Zeitlin
2e91c90549 corrected return codes of various methods (patch 1472288)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-23 22:41:42 +00:00
Vadim Zeitlin
265c34ee78 emit only 1, not 2, events when changing text of a single line text control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-23 21:35:33 +00:00
Václav Slavík
0019dee69e don't link against 3rd party image libs when building non-GUI targets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-23 16:38:47 +00:00
Václav Slavík
b1e411d9f5 fixed bug: option's default value must be among the list of allowed values -- removing <values> list to fix this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-23 15:59:20 +00:00
Mart Raudsepp
9cf0f6ae4f Add #if !WXWIN_COMPATIBILITY_EVENT_TYPES around wxNewEventType calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-22 22:12:55 +00:00
Paul Cornett
09bf837807 extract 3 copies of scrollbar width code into one function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-22 05:46:54 +00:00
Václav Slavík
968d6f46c8 added comment explaining how to replace calls to deprecated method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-21 20:47:48 +00:00
Włodzimierz Skiba
61609f69a5 Removal of first part of dsw files (as requested by Jamie Gadd).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-21 20:08:59 +00:00
Vadim Zeitlin
04227efc4d fix for Win64 after last sizeof(OPENFILENAME) change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-21 13:24:39 +00:00
Vadim Zeitlin
cd7afaff0c test centering file dialog on parent frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-21 13:10:51 +00:00
Vadim Zeitlin
cb80db46e5 no real changes, just (unsuccessful) attempts to make the dialog resizing work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-21 13:09:19 +00:00
Włodzimierz Skiba
9577d302a7 Build fix due to broken last commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-21 12:01:30 +00:00
Włodzimierz Skiba
a58e8e0cd6 Removed outdated build files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-21 11:57:01 +00:00
Włodzimierz Skiba
32d4c30a13 Include wx/hash.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-21 10:33:01 +00:00
Vadim Zeitlin
62675f1e33 added operator=(unsigned int) overload (should help djgpp compilation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-21 01:50:46 +00:00
Vadim Zeitlin
5bb372168a always use V5 OPENFILENAME struct first and fall back on V4 if it doesn't work (replaces patch 1472018)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-21 01:30:50 +00:00
Vadim Zeitlin
fd587c7a5e made wxCommandEvent::GetInt() return int, not long (patch 1473771)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-21 00:53:59 +00:00
Włodzimierz Skiba
74b720793f Keep wxPalmOS buildable after changes in wxConvAuto.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-20 22:58:03 +00:00
David Surovell
5b061713ea fix for prior commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-20 18:36:22 +00:00
David Surovell
a9339fe22c cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-20 18:23:01 +00:00
Paul Cornett
900ca9b89a remove unneeded gdiobj.h files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-20 16:47:15 +00:00
Vadim Zeitlin
12f3417159 LaTeX syntax error in wxRenameFile fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-20 16:25:13 +00:00
Václav Slavík
3f1ed8567e fixed typo: SelectItem doesn't have return value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-20 12:22:52 +00:00
Mart Raudsepp
9542719478 Typo fixes (precompilatixon)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-20 07:39:54 +00:00
Włodzimierz Skiba
8ecff18117 Include wx/list.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-20 07:31:44 +00:00
Mart Raudsepp
40a0dc1b0e Coverity CID117: Ignore returned_null here, because we know it can't happen because the Matches() above succeeded
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-20 07:08:55 +00:00
Robin Dunn
181568ed64 DocView and ActiveGrid IDE updates from Morgan Hua:
New Features: In Tab-View mode, Ctrl-number will take the user to
    the numbered tab view.  Modified files now show an '*' astrisk in
    the view title.  Debugger framework can now support PHP debugging.
    Not important for python development, but at least that means the
    debugger framework is more generalized.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-20 06:34:04 +00:00
Robin Dunn
aca310e5cc DocView and ActiveGrid IDE updates from Morgan Hua:
New Features: In Tab-View mode, Ctrl-number will take the user to
    the numbered tab view.  Modified files now show an '*' astrisk in
    the view title.  Debugger framework can now support PHP debugging.
    Not important for python development, but at least that means the
    debugger framework is more generalized.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-20 06:26:03 +00:00
Robin Dunn
ea5449ae51 Add code to remove the selection (if any) in wxTextCtrl::WriteText for multi-line controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-20 04:23:36 +00:00
Robin Dunn
d64b8944c6 Fixed line-endings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 19:14:17 +00:00
Stefan Csomor
0cc00f4f48 fixing two unicode compile errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 16:43:08 +00:00
David Surovell
ccdee36f75 cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 15:38:26 +00:00
Stefan Csomor
6d49e4bbed fixing sign conversion warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 14:42:55 +00:00
Stefan Csomor
f309770945 mb2wc fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 14:37:08 +00:00
Włodzimierz Skiba
ad9835c97c Include wx/dynarray.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 14:18:39 +00:00
Włodzimierz Skiba
991d57f844 Build fix after recent changes in wxRendererNative class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 12:15:44 +00:00
Włodzimierz Skiba
8e3f3880bc Include wx/object.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 10:02:20 +00:00
Vadim Zeitlin
ddae497f7b fix off by one error in CharToString(); also simplified the conversion code a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 09:38:54 +00:00
Robert Roebling
b4d6492404 renderer::DrawHeaderButton() seems to need space
which should be corrected in a general way.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 08:32:55 +00:00
Robert Roebling
c21f7aa162 Added style flags for selection mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 08:31:35 +00:00
Robert Roebling
a87594c638 Fix Refresh() problem.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 08:20:42 +00:00
Stefan Csomor
6cce68eaab listbox rewrite, cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 07:53:02 +00:00
Stefan Csomor
ca92309874 listbox rewrite
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 07:25:08 +00:00
Stefan Csomor
c82af6eec5 fixing 'id' objc.h collisions, listbox rewrite
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 06:42:21 +00:00
Stefan Csomor
7af76fc14e fixing 'id' objc.h collisions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 06:39:43 +00:00
Paul Cornett
a8fb9edee4 don't convert false to a pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 03:07:42 +00:00
Vadim Zeitlin
9f93b45e59 implemented DrawCheckButton() for XP renderer; code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 02:15:30 +00:00
Vadim Zeitlin
b76d9e767e don't duplicate wxDCBase::DoDrawCheckMark() code in wxDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 01:22:30 +00:00
Vadim Zeitlin
3061e2fb50 use wxDC::DrawCheckMark() to draw the checkbox button; also simplified the code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 01:20:42 +00:00
Vadim Zeitlin
27fd2cb679 fixed unused param warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 01:07:10 +00:00
Vadim Zeitlin
5f2c545c7f regenerated using build/update-setup-h to have wxUSE_DISPLAY and wxUSE_DATAVIEWCTRL changes in all versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 01:03:10 +00:00
Vadim Zeitlin
9e75975626 set wxUSE_DISPLAY to 1 by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 01:00:51 +00:00
Vadim Zeitlin
2952b4b9e4 put wxUSE_DATAVIEWCTRL in alphabetical order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 00:58:44 +00:00
Paul Cornett
45ae6833c3 remove unneeded gdiobj.h files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 00:25:30 +00:00
Robin Dunn
da91cb0fd1 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 00:22:55 +00:00
Robert Roebling
533544f2ea Added some column width contrl code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 23:14:36 +00:00
Robert Roebling
940f5ae85d Fix code when making scrollwindow bigger so that
the scroll bars will finally disappear. The
    code forgot to scroll the window back to 0.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 23:11:50 +00:00
Robin Dunn
50efceee4e reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 23:00:39 +00:00
Robin Dunn
639158366c Some minor tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 22:59:14 +00:00
Vadim Zeitlin
45000e4546 define constfunc in terms of func, this helps tex2rtf to create automatic links for the types used as constfunc arguments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 22:56:06 +00:00
Vadim Zeitlin
1b2afc5ac7 wxSizerItem can be used by user code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 22:54:48 +00:00
Vadim Zeitlin
3d561414e5 don't use the return result of wxLocaltime_r, we receive the output in second parameter anyhow (simplifies the code and also suppresses warning about tm being not used if WX_GMTOFF_IN_TM is not defined)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 22:28:02 +00:00
Paul Cornett
c0989defa0 Fixes after stock gdi changes within core library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 22:26:26 +00:00
Vadim Zeitlin
e56f4f9e90 use CXXFLAGS instead of CFLAGS in several places now that the tests are done using C++ compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 22:06:57 +00:00
Robin Dunn
e48f0e09bf Add AppendSubMenu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:56:56 +00:00
Robin Dunn
1412e528f8 Removed GetVisible and SetVisible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:56:24 +00:00
Robin Dunn
e0de65e8b8 Added wx.RendererNative.DrawCheckButton.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:55:25 +00:00
Robin Dunn
46992103a3 Added wx.StandardPaths.GetDocumentsDir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:54:14 +00:00
Robin Dunn
99a001dd43 Changed how the stock objects (wx.RED, wx.RED_PEN, wx.RED_BRUSH, etc.)
are initialized.  They are now created as a wrapper object that
initializes itself on first use (when an attribute of the object is
requested.)  This was needed because of similar delayed initialization
functionality that was implemented in wxWidgets, but the end result is
cleaner for wxPython as well, and allowed me to remove some ugly code
under the covers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:49:48 +00:00
Vadim Zeitlin
5d7b75542e regenaretd configure after AC_LANG changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:07:06 +00:00
Vadim Zeitlin
a24217f050 don't include GNOME FS header if we don't use it (and might not have it at all)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:06:25 +00:00
Vadim Zeitlin
d84cedb39e compile GTK+ test program using C compiler, not C++ one, otherwise it always fails as it uses undeclared functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:03:57 +00:00
Vadim Zeitlin
d240dea199 removed extra semicolon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:03:15 +00:00
Vadim Zeitlin
8006bf3c49 do all tests using C++ compiler, this should fix all problems due to testing with C compiler and compiling the real code later with the C++ one (such as bug 1472458); in case of problems, the last version using C for (most) tests is tagged BEFORE_LANG_CXX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 20:50:24 +00:00
Włodzimierz Skiba
5c1f6b2752 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 19:37:10 +00:00
Włodzimierz Skiba
a2e5beeebb Avoid deleting 'const' object.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 19:34:23 +00:00
Robert Roebling
862d8041ab Add wxRenderer::DrawCheckButton for use inside
wxDataViewCtrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 16:14:12 +00:00
Włodzimierz Skiba
f6630099a7 Blind build fix for night wxOS2 build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 12:30:57 +00:00
Włodzimierz Skiba
3a8db46f44 Fixes after stock gdi changes within core library.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 10:01:38 +00:00
Włodzimierz Skiba
7520f3da33 wx/wxprec.h already includes wx/defs.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 09:56:17 +00:00
Włodzimierz Skiba
18f3decb46 wx/wxprec.h already includes wx/defs.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 09:05:00 +00:00
Włodzimierz Skiba
ce3e37f1ec [#1472076] Fixes after stock gdi changes within core library.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 08:29:15 +00:00
Włodzimierz Skiba
93763ad5ba wx/wxprec.h already includes wx/defs.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 08:11:26 +00:00
Włodzimierz Skiba
8898456df4 wx/wxprec.h already includes wx/defs.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 07:24:35 +00:00
Vadim Zeitlin
2c1e249967 compilation fix for !WX_PRECOMP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-17 18:04:58 +00:00
Vadim Zeitlin
8258c3ddbd document that Remove(index) doesn't delete the window neither (replaces patch 1470834)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-17 17:01:16 +00:00
Vadim Zeitlin
484e841e33 corrected ancient event type constant in an example
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-17 11:43:41 +00:00
Vadim Zeitlin
61bb5a9c1b implement Layout() so that sizers work correctly when the window is scrolled (1st part of the patch 1439905)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-17 02:00:48 +00:00
Vadim Zeitlin
f5e209857f don't use COMPRESSION_LZW by default, it's not implemented in our own libtiff (patch 1434275)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-17 01:54:10 +00:00
Vadim Zeitlin
b26a650c10 added insert_at property for the object nodes (patch 1185138)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-17 01:35:22 +00:00
Vadim Zeitlin
17af82fb4c added wxStandardPaths::GetDocumentsDir() (patch 1214360)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-17 01:12:04 +00:00
Vadim Zeitlin
af6c0f1de7 don't eat activation events (replaces patch 1465849)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-17 00:00:58 +00:00
Vadim Zeitlin
3700e21b91 added a menu allowing to quickly switch to any page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 23:57:57 +00:00
Vadim Zeitlin
fdfe568d12 no changes, just removed some commented out code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 23:43:49 +00:00
Vadim Zeitlin
a183ddba3e don't return items which are not visible from DoHitTest() (patch 1448508)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 23:41:52 +00:00
Vadim Zeitlin
1301e2289f added a menu allowing to change the border style used by the widget
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 23:39:11 +00:00
Vadim Zeitlin
6493aacaeb centralized the handling of border styles; added borders support for wxListBox and support of other kinds of borders (patch 1448088)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 23:38:26 +00:00
Vadim Zeitlin
3786c8b587 added wxMenu::AppendSubMenu() to avoid having to specify a dummy id when adding a submenu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 23:25:21 +00:00
Vadim Zeitlin
47ce5c4a5a clarified the rules for determining whether the path is absolute or relative (patch 1451229 and bug 1438196)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 22:44:19 +00:00
Vadim Zeitlin
432ea998aa added virtual dtor to wxHtmlWindowMouseHelper to avoid gcc warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 22:41:15 +00:00
Vadim Zeitlin
1de8d512b7 simplify/cleanup wxTheXXXList and wxGDIObject code (patch 1452023 from Paul Cornett)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 22:33:24 +00:00
Vadim Zeitlin
d0914b9d8d build fixes for wxUSE_LOG==0 (modified patch 1450207)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 22:29:47 +00:00
Vadim Zeitlin
f516d98637 create stock GDI objects on demand; use const with GDI objects appropriately (patch 1445355)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 22:18:29 +00:00
Vadim Zeitlin
c4edcd7c86 documented Set/GetBitmapSelected() (patch 1339028)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 22:10:45 +00:00
Vadim Zeitlin
66df4ec643 show effects of mirroring toucan image with alpha (modified part of patch 1469817)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 21:41:59 +00:00
Vadim Zeitlin
051924b886 Handle alpha channel in wxImage::Mirror() and GetSubImage() (patch 1469817)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 21:37:39 +00:00
Vadim Zeitlin
2936a6b18c implement wxFileModificationTime() in terms of wxFileName::GetTimes() (replaces broken patch 1468592)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 21:24:22 +00:00
Vadim Zeitlin
57e988b8ef added overwrite parameter to wxRenameFile (patch 1467041)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 21:14:00 +00:00
Vadim Zeitlin
e3950b1852 added missing methods documentation (patch 1466949); also use \arg instead of \it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 21:09:12 +00:00
Julian Smart
d5363f57fb Make an image block beore writing it, if there's no data in the block
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 18:37:09 +00:00
Vadim Zeitlin
dd5cb4b197 define WX_DIR as WXWIN env var for Unix and not only Win32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 15:47:11 +00:00
Vadim Zeitlin
c81032a760 allow specifying non default libraries for gnu output format (patch 1469464)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 15:42:00 +00:00
Julian Smart
4bfec1790f Changed the wxPlatform syntax as per Vadim's suggestions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 09:31:06 +00:00
Vadim Zeitlin
e4861c72be HitTest() seems to be implemented on most platforms now (replaces patch 1467212)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 01:24:32 +00:00
Vadim Zeitlin
c9d9b9c11a fixed typo in EVT_SCROLLWIN_BOTTOM documentation (patch 1463429)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 01:16:16 +00:00
Vadim Zeitlin
760f0fc2f4 set up scrollbars correctly when we don't need them (fixes the problems reported by the patches 1460482 and 1456060)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 01:14:28 +00:00
Vadim Zeitlin
6fb683081c removed unnecessary (the problem is due to a bug elsewhere) test for vertical scroll position in OnScroll() introduced in rev 1.400
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 01:10:28 +00:00
Vadim Zeitlin
cf76cd4eba a tentatively better fix for the problem of patch 1456060: don't use m_linesPerPage directly as it's initialized on demand by GetCountPerPage(); also removed some stray tabs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 00:48:34 +00:00
Julian Smart
55d452c6f9 Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 19:34:18 +00:00
Vadim Zeitlin
d364df5fee removed unneeded reverse_iterator::operator->() which provokes VC6 warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 18:39:56 +00:00
Julian Smart
230c90774f Easier platform testing class and function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 17:40:13 +00:00
Vadim Zeitlin
481203cb23 made width computation in GetTextExtent() more precise, especially for italics fonts (based on the code from Wlodek Szafran)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 15:08:43 +00:00
Vadim Zeitlin
968f291be6 added wxString::rbegin() and rend()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 15:03:57 +00:00
Stefan Neis
d704d2f5dc Replaced "uint" (which may be or may not be defined depending on platform)
by "guint".


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 10:01:21 +00:00
Robin Dunn
e9d6f3a473 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 07:30:59 +00:00
Robin Dunn
89a3d0f772 Avoid assert that was hidden by IsStandard bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 06:54:37 +00:00
Robin Dunn
7017fd6745 IsStandard needs to check m_type, not m_format
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 06:53:56 +00:00
Robin Dunn
c072c75701 Give wxDataObjectComposite a way to report what kind of data was given
to it from the clipboard or DnD source.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 05:35:08 +00:00
Robin Dunn
4725f47eb2 Various wxHtml updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 05:30:35 +00:00
Robin Dunn
de871c916e Add wxButtonToolBar, but since it is currently only enabled for Mac
leave it #if'd out for now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 05:15:56 +00:00
Robin Dunn
2890ca155b Remove wxHVScrolledWindow wrappers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 05:06:41 +00:00
Robin Dunn
1564807335 Wrap some deprecation wrappers around newly deprecated items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 05:02:59 +00:00
Robin Dunn
e6f85a8554 Add some missing wxPyBeginBlockThreads calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 04:29:30 +00:00
Vadim Zeitlin
619297ab30 slight simplification of coords translation code in GetBoundingRect()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 01:16:52 +00:00
Vadim Zeitlin
96c59453c5 removed reference to hvscroll.tex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 23:03:28 +00:00
Vadim Zeitlin
4c384a0b37 reverted wxHVScrolledWindow patch (back to rev 1.10)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 22:03:07 +00:00
Václav Slavík
5e888f8eef don't use deprecated interface
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 21:02:54 +00:00
Václav Slavík
31297dbbd0 use public inheritance when deriving from wxHtmlWindowMouseHelper so that overriden methods can call base versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 20:43:06 +00:00
Włodzimierz Skiba
561db924ca Deprecated and obsolete parts marked up for backward compatibility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 20:06:39 +00:00
Włodzimierz Skiba
3ed377f13a Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 19:56:03 +00:00
Włodzimierz Skiba
1d94e268dd Deprecated and obsolete parts marked up for backward compatibility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 19:54:51 +00:00
Włodzimierz Skiba
89831b54e6 Deprecated and obsolete parts marked up for backward compatibility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 19:32:51 +00:00
Włodzimierz Skiba
8243a33965 HitTest is not deprecated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 18:17:16 +00:00
Vadim Zeitlin
bf5752a4a0 respect the specified font encoding in DoGetTextExtent() instead of always using m_font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 17:34:35 +00:00
Vadim Zeitlin
1a6c768b17 added wxGTK_CONV_FONT/ENC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 17:32:25 +00:00
Vadim Zeitlin
63916e4494 don't show vertical scrollbar if we don't need it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 17:16:45 +00:00
Włodzimierz Skiba
40ff126ac4 Deprecated and obsolete parts marked up for backward compatibility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 17:01:16 +00:00
Julian Smart
006591def7 Spacing tweak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 16:25:33 +00:00
Vadim Zeitlin
234b1c0147 reverted wxHVScrolledWindow patch (rev 1.19/1.21 of vscroll.h/.cpp) because not only we don't want to duplicate code like this but it also broke wxHtmlListBox by making scrolling in it O(N) instead of O(1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 15:55:28 +00:00
Julian Smart
fac6eaec24 Simulated text labels and toggle highlights under buttons
Removed background colour


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 15:49:57 +00:00
Julian Smart
b95c06ba08 Reversed accidental commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 15:24:50 +00:00
Vadim Zeitlin
959b1a338e fixed bug with not taking background colour into account introduced in 1.24
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 15:22:31 +00:00
Julian Smart
77631b1d81 Implemented Mac-style button toggling within wxButtonToolBar, and line
under toolbar.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 12:40:34 +00:00
Julian Smart
1a1190b245 Allow specification of border spacing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 12:38:48 +00:00
Włodzimierz Skiba
9d9d3d55c9 MSLU with DMC build fix [#1469456].
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 12:16:29 +00:00
Václav Slavík
88a1b6485f don't show the I-beam cursor over text in wxHtmlListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 11:38:36 +00:00
Julian Smart
b887dc7b5a wxButtonToolBar only useful on Mac right now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 10:09:11 +00:00
Julian Smart
e5f49cbf82 Compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 09:31:47 +00:00
Julian Smart
64d3ed176d Steps towards implementing native-style, non-top-level toolbars on Mac
by implementing a toolbar class that uses native buttons.
Ultimately this should allow wxToolbook and wxPropertySheetDialog
classes to look native, when we complete the button API improvements
to combine text, bitmaps and toggling.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 09:15:10 +00:00
Jamie Gadd
44c930ebba Fix bug in GetTimeZone where timezone wasn't set.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 03:05:45 +00:00
Václav Slavík
bc55e31bdc 1. added abstract interface to wxHtmlWindow for use by wxHtmlWinParser and implemented it for wxHtmlListBox
2. used the above to implement clickable links support in wxHtmlListBox


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-13 22:08:28 +00:00
Włodzimierz Skiba
e0d5d9af8b All book controls shares wxBK_* flags [bug #1469980].
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-13 18:24:38 +00:00
Julian Smart
9916dbf643 Compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-13 14:37:11 +00:00
Julian Smart
87cf52d8ac On screens with restricted space, it's useful to be able to add controls
to e.g. the wxChoice control of a wxChoicebook. GetControlSizer
allows an app to do that, and we also add a control margin which
may or may not be respected by individual book controls.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-13 14:22:32 +00:00
Jamie Gadd
7a9f5d5a79 Fix casts from void* to int on x86_64 gcc by using wxUIntPtr instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-13 12:41:21 +00:00
Vadim Zeitlin
a78c43f158 initialize nulLen to 0 for all compilers as some versions of gcc don't see that it's not used if left uninitialized too (bug 1469637)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-13 12:16:38 +00:00
Julian Smart
5ccc3f8470 Added Makefile.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-13 08:25:22 +00:00
Stefan Neis
0934d91c7b Fixed GetSelection to behave the same as for the other ports, added
GetCurrentSelection.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-12 20:31:46 +00:00
Vadim Zeitlin
43563ef2dd mention UTF-16/32 fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-12 16:22:14 +00:00
Julian Smart
ca3af33701 Addd IsDynamic, added const to CreateObject
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-12 14:29:50 +00:00
Julian Smart
cb8acbd632 Added IsDynamic to XTI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-12 13:46:21 +00:00
Julian Smart
dd456db5e6 Applied patch [ 1463711 ] wxRichTextCtrl fix for pasting text
(too many linefeeds).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-12 13:33:48 +00:00
Julian Smart
0c06c9839c Applied patch [ 1211299 ] Minor mod to wxClassInfo to improve usability
David Falkinder


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-12 13:06:05 +00:00
Vadim Zeitlin
171a1afede made ShouldPreventAppExit() public
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-12 00:47:36 +00:00
Vadim Zeitlin
46e86fc347 a better compilation fix after wxGTK_CONV changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-12 00:17:36 +00:00
Vadim Zeitlin
c334a69083 removed spurious if in DoGradientFillLinear()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-11 21:28:12 +00:00
Vadim Zeitlin
b8f3257625 compilation fix after wxGTK_CONV changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-11 21:24:52 +00:00
Włodzimierz Skiba
bd755fdc3f Update wxMGL/wxOS2 makefiles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-11 18:32:49 +00:00
Vadim Zeitlin
5851053a96 added wx/font.h include to fix PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-11 14:18:20 +00:00
Włodzimierz Skiba
f321851acb Regenerated Makefile after wxBaseOS2 fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-11 13:26:11 +00:00
Stefan Csomor
0c81ef7fce Ryan's patch 1468129 ,
1) Don't hog mouse events from other windows
2) Don't crash on mouse and other events when a bad file is loaded
3) Correctly detect whether a file can be loaded or not (Forgot to call ::ClearMoviesStickyError())
4) Real workaround for the wxNotebook issue (by using offscreen GWorld)
5) Nuke of CreateMovieControl version and many other cleanups


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-11 05:53:55 +00:00
Stefan Csomor
786a9df157 Ryan's patch 1467727 , removing the SetValue from SetRange when not needed and some cleanups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-11 05:45:31 +00:00
Robin Dunn
2d6a2f1d78 Add wxST_DOTS_MIDDLE and wxST_DOTS_END constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-11 01:43:37 +00:00
Vadim Zeitlin
4693d68648 removed wxGTK2 hack, not needed any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-11 01:37:36 +00:00
Vadim Zeitlin
77c514d111 if we don't convert message catalog strings to the UI encoding, use message catalog encoding for the UI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-11 01:34:03 +00:00
Robin Dunn
ffb4a474d3 Acquire the GIL in GetSelections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-11 01:18:23 +00:00
Vadim Zeitlin
1cef1b4ab6 Unicode compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-11 01:05:18 +00:00
Vadim Zeitlin
7a4b1e6623 some code simplifications, no real changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-11 01:04:21 +00:00
Vadim Zeitlin
d5bef0a323 added wxConvUI which determines the conversion used for the UI elements and can be changed from the user code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-11 00:36:24 +00:00
Vadim Zeitlin
ef95ce4170 documented all the other global conversion objects (wxConvLocal, wxConvISO8859_1, wxConvUTF8)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-11 00:33:18 +00:00
Vadim Zeitlin
12bc5f9ad2 use wxConvLocal for wxFONTENCODING_SYSTEM/DEFAULT in wxConvertToGTK()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 23:53:09 +00:00
Vadim Zeitlin
d0311dd366 all encodings are available in GTK+ 2 (because we always convert to UTF-8 anyhow)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 22:26:36 +00:00
Vadim Zeitlin
5f11fef543 use the encoding of the font which is used to draw the text when convering it to UTF-8 in wxGTK_CONV; the old wxGTK_CONV renamed to wxGTK_CONV_SYS (uses system encoding) and used in the contexts where no font is available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 22:22:13 +00:00
Vadim Zeitlin
0e05227246 no changes, just corrected the comment for wxConvLocal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 21:53:42 +00:00
Vadim Zeitlin
33de8c70f3 wxGetActiveWindow() exists in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 19:42:56 +00:00
Włodzimierz Skiba
7e04a500df Bug #1467905: wxOS2 headers not included in wxBase.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 19:10:43 +00:00
Vadim Zeitlin
99257cbe01 don't let the user modify the contents of read-only control (modified patch 1463707)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 16:22:42 +00:00
Vadim Zeitlin
fc298ea781 added wxDCClipper ctor overload taking a wxRegion and documented it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 15:08:10 +00:00
David Surovell
12cb759190 cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 14:58:15 +00:00
Włodzimierz Skiba
f7c3b945ec Blind check for compatibility flags.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 13:42:28 +00:00
Roman Rolinsky
0cbb7d59d4 added TreeCtrl.WindowIndex method for skipping items like MenuBar
when counting window children


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 13:13:51 +00:00
Vadim Zeitlin
f3190d1cea use #if WXWIN_COMPATIBILITY_2_6 guard around implementation of wxNotebookSizer ctor too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 13:04:25 +00:00
Vadim Zeitlin
3abb199dee use #if WXWIN_COMPATIBILITY_2_6 guard around implementation of wxBookCtrlSizer ctor too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 12:54:52 +00:00
Stefan Csomor
37c287c49c cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 11:45:54 +00:00
David Surovell
1dc0f664d7 cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 08:04:13 +00:00
David Surovell
520b09fcda cleanup - reformatting, pt 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 04:45:25 +00:00
David Surovell
cee24bf7ab cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 03:54:42 +00:00
Vadim Zeitlin
a3669332df use wxGTK_CONV instead of directly using wxConvLocal (simplifies code avoiding needless #ifdefs and prepares for further wxGTK_CONV changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 01:39:38 +00:00
Vadim Zeitlin
2f4f6de77b added wxWxCharBuffer which stands for buffer of wxChars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 01:35:21 +00:00
Vadim Zeitlin
777f37e0cc don't generate wxEVT_CONTEXT_MENU messages for right clicks in the list control header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 01:17:49 +00:00
Vadim Zeitlin
2754877b7c fix for the previous commit: delete m_conv after calling Flush() which uses it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 00:52:21 +00:00
Vadim Zeitlin
3952889a90 really fix warning about implicitly converting 0 and 1 to size_t -- use explicit cast to size_type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-09 22:47:46 +00:00
Vadim Zeitlin
84a9b3f89e ISO8859-1 is also supported by GTK+ 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-09 20:42:40 +00:00
Vadim Zeitlin
7182d62a02 added more files to parse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-09 19:55:48 +00:00
Stefan Csomor
3281bf6779 make the string properly 0 terminated and allow for one char more on the output buffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-09 12:51:03 +00:00
Vadim Zeitlin
2dcd83af91 very minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-09 11:00:45 +00:00
Stefan Csomor
75b324211c in case of an faulty event this might not get initialized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-09 08:53:39 +00:00
Stefan Csomor
d995756723 conversion fix by Ryan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-09 08:48:36 +00:00
Stefan Csomor
ef2c03d913 listbox cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-09 08:37:56 +00:00
Stefan Csomor
b4726a583d listbox cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-09 06:50:54 +00:00
Stefan Csomor
ba5b8a68f7 listbox cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-09 06:42:32 +00:00
Robin Dunn
c5ce3dfb1e Added CmdDown() to grid events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-09 00:15:04 +00:00
Robin Dunn
2b01fd4918 Use CmdDown in mouse events instead of ControlDown so Mac users can
multi-select with shift and cmd like they are used to.  Other
platforms are not affected.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-09 00:09:35 +00:00
Robin Dunn
afd0f084f4 Added missing not operator that was preventing the drawing of the
gridlines


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-08 23:09:46 +00:00
Vadim Zeitlin
4c82058341 don't redefine _CRT_SECURE_NO_DEPRECATE and _CRT_NON_CONFORMING_SWPRINTFS if already defined (patch 1463364)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-08 22:58:54 +00:00
Vadim Zeitlin
031943ac4c changed DoMessageFromThreadWait() to not block if there are no messages, this avoids the need for sending a dummy WM_NULL from the thread wait loop (replaces patch 1459812)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-08 22:51:42 +00:00
Robin Dunn
284ee6c3da Give wx.GridTableBase a destructor, and clear the ownership when it is
passed to SetTable.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-08 21:49:20 +00:00
Stefan Csomor
66bc84a900 ellipsis support for static text (mac), applied patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-08 15:32:18 +00:00
Stefan Csomor
3271d7376a fixing Clipboard::IsSupported when asking for unicode text and only non-unicode text is available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-08 15:26:05 +00:00
Julian Smart
429bf2309b Corrected FindString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-08 14:58:08 +00:00
Stefan Csomor
2fbfb7d6fb changing coordinates to client-area relative (patch 1378189)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-08 14:33:00 +00:00
Stefan Csomor
51478cd68d allowing the suppression of SetValue event-triggering (needed for composite controls)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-08 13:00:13 +00:00
Stefan Csomor
32efab35c1 applying patch 1411230
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-08 11:43:13 +00:00
David Surovell
a074f61eae minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-08 09:14:06 +00:00
Robin Dunn
73b2a9a749 First pass at integrating a code generator in XRCed. Initial patch
from Eli Golovinsky, with lots of additional mods by me.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-08 06:17:11 +00:00
Stefan Csomor
1413285777 ellipsis support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-08 05:52:43 +00:00
Vadim Zeitlin
36b4d42311 fix recently introduced memory leak of m_conv (bug 1466559)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-07 22:41:11 +00:00
Robin Dunn
a2234452a7 wxNotebookSizer is gone now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-07 19:24:39 +00:00
Stefan Csomor
f5158fa61f applied patch 1378261
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-07 19:21:50 +00:00
Stefan Csomor
c4d9fc3947 applied patch 1466370
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-07 18:59:51 +00:00
Stefan Csomor
b1fd3badf5 applied patch 1465549
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-07 18:56:13 +00:00
David Surovell
2f02438455 cleanup - added whitespace around operators, some blank lines, fixed comment typos, broke up one-line if-stmts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-07 16:51:36 +00:00
Julian Smart
26de4d605a Added minimal Info.plist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-07 07:12:36 +00:00
Vadim Zeitlin
daf9adeb97 added html headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-07 00:39:50 +00:00
Vadim Zeitlin
65afac3fbc added wxTLW::ShouldPreventAppExit() which can be overridden to allow closing the application even if some windows are still opened; use it for wxHtmlHelpFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-07 00:38:49 +00:00
Vadim Zeitlin
2ed8c8dd1f some compilers warn about implicitly converting 0 and 1 to size_t -- use 0u and 1u instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-06 23:45:14 +00:00
Vadim Zeitlin
2e2cf78dc1 fixed gcc warnings about not initializing the base class in copy ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-06 17:11:25 +00:00
Vadim Zeitlin
402dfce7b3 GetBoundingRect() is supposed to return the logical coordinates, even in !textOnly case; also documented it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-06 14:27:34 +00:00
Vadim Zeitlin
9088c87bd0 leave enough space for the trailing NUL when converting UTF-16 to UTF-32 in Mac conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-06 12:43:38 +00:00
Vadim Zeitlin
faa112c4ca don't crash if conversion of a command line argument to Unicode fails
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-06 12:38:31 +00:00
Mart Raudsepp
5e08131542 wxGTK2: No need to check for __WXGTK20__ here either (and test cia script again)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-06 12:06:37 +00:00
Mart Raudsepp
2ec371fda2 wxGTK2: No need to check for __WXGTK20__ here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-06 12:01:04 +00:00
Mart Raudsepp
afeb58f16b wxGTK2: We don't need to check for __WXGTK20__ here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-06 11:59:07 +00:00
Vadim Zeitlin
8d3dd06948 added missing const to fix last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-06 11:51:41 +00:00
Vadim Zeitlin
46f4cdbeaf changed the version and the date
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-06 11:29:22 +00:00
Vadim Zeitlin
e27a15e146 added a cast to wxDecodeSurrogate() to fix wxMSW cross-compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-06 11:27:40 +00:00
Robin Dunn
fdcbb1ce01 Minor tweaks to bring up to date with CVS changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-06 02:35:05 +00:00
Robin Dunn
dd8659cac6 Update with 2.6.3.2 info
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-06 02:34:10 +00:00
David Surovell
ef1991645a cleanup (repeat of v197) - added whitespace around operators, some blank lines, fixed comment typos, renamed out-in vars to outBuff-inBuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-06 02:30:52 +00:00
Robin Dunn
0cdd86d6d0 wx.lib.pubsub updates from Oliver Schoenborn:
- the hash problem re non-hashable objects
    - now supports listeners that use *args as an argument
      (listener(*args) was not passing the validity test)
    - corrected some mistakes in documentation
    - added some clarifications (hopefully useful for first time
      users)
    - changed the way singleton is implemented since old way prevented
      pydoc etc from extracting docs for Publisher


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-06 01:15:20 +00:00
Robin Dunn
2f643d0600 Force a full refresh when the focus changes so the bitmap button will
redraw its label if needed.  Also give defaults to more of the ctor parameters.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-06 00:12:11 +00:00
Vadim Zeitlin
bfaee57e81 really fixed number of bytes written in WriteString() in Unicode mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 23:19:09 +00:00
Vadim Zeitlin
35d11700a5 implemented UTF-16/32 using To/FromWChar() instead of MB2WC/WC2MB for sizeof(wchar_t)==4 platforms too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 23:04:10 +00:00
Vadim Zeitlin
467e04791c 1. use a manifest constant wxNO_LEN instead of -1 for lengths everywhere
2. reimplemented UTF-16/32 conversions using To/FromWChar() API instead
   of MB2WC/WC2MB for Windows (or rather SIZEOF_WCHAR_T == 2 platforms),
   the first tangible result is that reading UTF-32BE text streams now
   works too
3. more off by 1 fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 22:12:45 +00:00
Vadim Zeitlin
e6a87338f0 name the test just MBConv instead of MBConvTestCase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 21:03:25 +00:00
Vadim Zeitlin
1fc9e0d31e name the test just Unicode instead of UnicodeTestCase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 19:59:27 +00:00
David Surovell
d32a507d02 cleanup - added whitespace around operators, some blank lines, fixed comment typos, renamed out-in vars to outBuff-inBuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 18:02:26 +00:00
Roman Rolinsky
20002db0f8 implemented locating objects in gridbag sizer,
expanding tree to show selected object


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 17:36:21 +00:00
Vadim Zeitlin
d3478e2cf1 Mac compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 17:10:01 +00:00
Vadim Zeitlin
e835ec0100 added wxMBConv::Clone() to be able to copy conversion objects polymorphically
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 16:54:02 +00:00
Vadim Zeitlin
3793402c74 also fixed WriteString() to work correctly when outputting UTF-16/32: can't use strlen() with these encodings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 16:28:29 +00:00
Vadim Zeitlin
d7f73361b9 fixed NextChar() to read the entire character at once as before it stopped on the first byte for ASCII input encoded as UTF-32LE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 16:17:58 +00:00
Vadim Zeitlin
d36c9347ea added wxMBConv::Clone() to be able to copy conversion objects polymorphically
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 16:10:08 +00:00
Vadim Zeitlin
64f56529a8 properly NUL-terminate the output in wxMBConvUTF16swap::WC2MB()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 15:18:05 +00:00
Vadim Zeitlin
d31a29b566 rebaked after adding convautotest.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 15:07:06 +00:00
Vadim Zeitlin
a1999705b6 rebaked after adding convauto.cpp/.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 15:06:15 +00:00
Roman Rolinsky
28e65e0fa0 Second fix for Copy/Paste (using expat.native_encoding property).
Added cellpos,cellspan properties for Spacer in GridBag sizer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 14:55:17 +00:00
Vadim Zeitlin
a29cce78aa tests for wxConvAuto
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 14:38:42 +00:00
Vadim Zeitlin
830f8f11bc 1. changed all "wxMBConv& conv" parameters to "const wxMBConv&"
2. this allows to use wxConvAuto() instead of wxConvUTF8 as default value
   for this parameter in the classes which read text from the file: wxConvAuto
   automatically recognizes the BOM at the start of file and uses the correct
   conversion
3. don't use Windows for UTF-7 conversions as there is no way to make it
   fail on invalid UTF-7 strings; use our own wxMBConvUtf7 instead


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 14:37:47 +00:00
Mart Raudsepp
cc845a6142 encconv.cpp: Remove comment about 5 being big enough value for ENC_PER_PLATFORM - it should be the minimum
necessary instead.
fmapbase.cpp: Slightly reduce the size of an array - it should be reduced further (we only have one item with the
size of 9, rest are not over 6)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 10:02:28 +00:00
Mart Raudsepp
da9619e046 Update unictabl.inc manually, keeping KOI8-U, while doing it as close as possible for as how the regenerator would
have done if it had a matching KOI8-U.TXT file at hand.
This moves 5.9KB from .data to .rodata (guaranteed to be shared among wx apps).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 00:37:45 +00:00
Mart Raudsepp
cd1a22d1d3 Support having const encoding tables. Modify generator code to regenerate as such.
Can't simply regenerate src/common/unictabl.inc, because KOI8-U.TXT is missing, and mk_fallbacks has issues
(sort +2 isn't valid on my system)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 00:30:18 +00:00
Mart Raudsepp
c260cbf80d Make the unicode table scripts generate file with whitespacing done as has been manually edited despite the
warning on top.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 00:18:31 +00:00
Robin Dunn
b82f68a95b Docstring fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 23:33:01 +00:00
Robin Dunn
985eb16c7b EVT_TEXT_ENTER handler on a combobox needs evt.Skip() otherwise the
dropdown may not close


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 23:29:14 +00:00
Mart Raudsepp
8ddbb13781 Make EquivalentEncodings 3-dimensional array const, moving 864 bytes from data segment (copy-on-write) to
.rodata segment (always guaranteed to be shared among processes) in wxBase.
Make said array as big as necessary, not bigger than necessary (as before) - shaving 122 bytes off of that 864
bytes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 23:01:57 +00:00
Mart Raudsepp
ac131bab11 wxGTK2: No need to warn about threads being unsupported if gtk+ is lower than 1.2.4 - this is source code for gtk2
only.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 19:44:27 +00:00
Mart Raudsepp
042bcad45e Add GDK_PIXBUF_DISABLE_DEPRECATED, it should build with it now. Will keep an eye on the tinderbox at a reasonable
interval.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 19:34:38 +00:00
Mart Raudsepp
08f600190c gdk_window_get_colormap -> gdk_drawable_get_colormap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 18:56:39 +00:00
Mart Raudsepp
bc8b8220f8 gdk_cursor_destroy -> gdk_cursor_unref
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 18:19:55 +00:00
Mart Raudsepp
2454dc8a64 GDK_ROOT_PARENT -> gdk_get_default_root_window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 17:50:58 +00:00
Mart Raudsepp
791d7ea2d6 gdk_window_get_size -> gdk_drawable_get_size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 17:19:42 +00:00
David Surovell
ee32d4354f added missing paren
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 16:40:38 +00:00
Mart Raudsepp
e6e9293af3 gdk_gc_destroy -> gdk_gc_unref -> g_object_unref
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 15:06:55 +00:00
Mart Raudsepp
4e84399d42 gdk_image_destroy -> g_object_unref (gdk_image_destroy is deprecated in favor of gdk_image_unref, and is just a
#define to it; gdk_image_unref deprecated in favor of g_object_unref)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 14:57:45 +00:00
Mart Raudsepp
1a3a1b2df2 gdk_pixbuf_unref -> g_object_unref
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 14:44:06 +00:00
Mart Raudsepp
5e4bf05abd gdk_gc_unref -> g_object_unref
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 14:26:57 +00:00
Vadim Zeitlin
5c763f5a23 corrected mistake in the UTF-16 test on big endian machines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 14:25:59 +00:00
Mart Raudsepp
f5af73080a And gdk_drawable_unref is in turn deprecated in favor of g_object_unref
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 14:06:00 +00:00
Mart Raudsepp
f368b5b9ab gdk_bitmap/pixmap_unref -> gdk_drawable_unref
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 13:54:02 +00:00
Mart Raudsepp
15f0ad7014 gdk_draw_pixmap -> gdk_draw_drawable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 13:46:34 +00:00
Mart Raudsepp
62d4b5d6fe gdk_window_copy_area(drawable,gc,x,y,source_drawable,source_x,source_y,width,height) ->
gdk_draw_pixmap(drawable,gc,source_drawable,source_x,source_y,x,y,width,height)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 13:37:31 +00:00
Mart Raudsepp
22a3bce465 gdk_window_get_visual -> gdk_drawable_get_visual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 13:13:04 +00:00
Vadim Zeitlin
509da4510f MB2WC/WC2MB are not pure virtual any longer, implement them in terms of To/FromWChar()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 13:04:47 +00:00
Vadim Zeitlin
483b0434bf added new To/FromWChar() API with more reasonable semantics than old MB2WC/WC2MB; for now both coexist and the change is/should be backwards compatible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 12:35:21 +00:00
Vadim Zeitlin
7ef3ab50e9 renamed GetMinMBCharWidth() to GetMBNulLen(), made it public and documented it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 07:49:08 +00:00
Vadim Zeitlin
5e51fb4ca5 fixed LaTeX markup to suit tex2rtf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-03 22:16:22 +00:00
Václav Slavík
e7feeafa56 added ParseInnerSource() to make <pre>-like parsing easier
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-03 19:34:21 +00:00
Włodzimierz Skiba
47eb93d02d Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-03 17:38:05 +00:00
Mart Raudsepp
8de699dcfa Sync wxGTK docs from WX_2_6_BRANCH to HEAD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-03 05:53:39 +00:00
David Surovell
bee1995894 minor cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-03 00:21:00 +00:00
Vadim Zeitlin
0739e2eef9 Apple gcc compilation fixes: for it size_t and unsigned are not the same type for some reason
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-02 20:18:33 +00:00
Vadim Zeitlin
69373110a5 fixed wxMBConv_iconv to work with UTF-16/32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-02 20:03:42 +00:00
Vadim Zeitlin
72b2fc5c80 properly terminate UTF-32 test string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-02 20:02:33 +00:00
Vadim Zeitlin
39406a5d05 compilation fix for iconv call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-02 15:59:57 +00:00
Julian Smart
eb257f65ed Corrected index passed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-02 15:50:32 +00:00
Vadim Zeitlin
33366127e8 added filename comparison test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-02 15:02:56 +00:00
Vadim Zeitlin
c1464d9d10 replaced recently added wxMBConv::GetMBNul() with a less clever but better
working GetMinMBCharWidth(): the idea is that we can't deal with completely
arbitrary encodings anyhow using the current API as we get confused by NUL
runs in the middle of the string, so instead just deal correctly with normal
multibyte encodings, UTF-16/UCS-2 and UTF-32/UCS-4 which should cover 99.9% of
the cases


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-02 14:59:53 +00:00
Vadim Zeitlin
11fead7c46 added wxBuffer::reset()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-02 14:57:36 +00:00
Vadim Zeitlin
a7823b26b0 added UTF-32 test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-02 14:06:50 +00:00
Vadim Zeitlin
2877b82808 added test UTF-16 string with embedded NUL NUL which makes the current code fail
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-02 14:01:18 +00:00
Vadim Zeitlin
f98452a969 added test UTF-16 string with embedded NUL NUL not terminating the string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-02 13:45:58 +00:00
Kevin Hock
30dfb74488 Make the Connect that also takes a local bind port non-virtual. This silences some compiler warnings (Borland, Watcom). Plus, it's not likely that this method would need to be overridden anyway since it has rather limited and specific uses.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-02 04:56:18 +00:00
Vadim Zeitlin
89971c7710 document missing default parameters in ctor (patch 1458151)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-02 01:29:17 +00:00
Vadim Zeitlin
ef25e5a4c8 don't crash when loading images with verbose==false (patch 1449823)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-02 01:27:36 +00:00
Vadim Zeitlin
1819a5c1ac report error for GIF images without CLEAR code in the stream instead of crashing (patch 1449734)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-02 01:21:53 +00:00
Vadim Zeitlin
3871d4ca75 use proper dllexport declaration with _WX_LIST_HELPER_
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-02 01:10:41 +00:00
Vadim Zeitlin
bd35ed323f added wxTimeSpan::Millisecond[s]() for consistency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-02 00:58:44 +00:00
Vadim Zeitlin
9c21e80bb0 seconds and milliseconds in wxTimeSpan ctor should be long long, not long
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-02 00:52:57 +00:00
Julian Smart
48a102f9e5 Reset the position when auto-sizing toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-01 18:16:17 +00:00
David Surovell
e9531db94d fix compilation problem in prior commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-01 16:40:08 +00:00
Vadim Zeitlin
a905bdb8a4 let the UTF7 test fail but not crash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-01 15:53:55 +00:00
Vadim Zeitlin
356410fc88 fixed wxMBConv_iconv::GetMBNul()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-01 15:34:42 +00:00
Vadim Zeitlin
fb86a4bb69 regenerated to add textfiletest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-01 14:04:59 +00:00
Vadim Zeitlin
22886fb3c3 Unix compilation fixes after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-01 13:38:28 +00:00
Vadim Zeitlin
adf5d5935b added NUL command
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-01 12:43:52 +00:00
Vadim Zeitlin
eec47cc6c4 Described in the comments and documented the semantics of the parameters and
return values of wxMBConv methods and tried to make them more consistent. The
only (intentional) backwards incompatible change is that cMB2WC/cWC2MB now
return the length of the converted string in outLen parameter and not length+1

Added wxMBConv::GetMBNul() and use it instead of supposing that all multibyte
strings are always terminated with a single NUL which is wrong for UTF-16/32.

Using GetMBNul(), completely rewrote cMB2WC/cWC2MB() to accept a string of the
specified length, whether it is NUL-terminated or not. This means that they
don't overwrite the provided buffer any more and convert the entire string in
all cases.

Fixed bug in wxMBConvUTF16::WC2MB() which didn't NUL-terminate the string
properlyv even if there was enough space.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-01 12:43:03 +00:00
Vadim Zeitlin
7e0a8463eb made DoTestConversion() work with strings containing NULs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-01 03:24:23 +00:00
Vadim Zeitlin
6901ac371f added extend() method which realloc()s the buffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-01 02:58:56 +00:00
Vadim Zeitlin
fedde9b906 default ctor should create an empty/uninitialized buffer, not one with a single character string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 23:33:38 +00:00
Robin Dunn
1fce4e9668 Fixed the equality and inequality operators for some of the basic
data types (wx.Point, wx.Size, wx.Colour, etc.) to no longer raise a
TypeError if the compared object is not compatible, but to just return
a boolean as expected.  For example::

	  wx.Colour(64,0,64) == 123      ==> False


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 23:29:39 +00:00
Robin Dunn
8948306f78 Fixed problem in wx.lib.splitter when used on 64-bit platforms. Used
the current length of the list for specifying an append instead of
sys.maxint.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 23:19:34 +00:00
Vadim Zeitlin
2229d9b30b added missing licence information
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 21:14:40 +00:00
Vadim Zeitlin
da12017a64 undid last (wrong) change to wxMBConvUTF16swap::MB2WC(); added comment to explain why
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 20:28:37 +00:00
Vadim Zeitlin
5975f1982d added UTF16 test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 20:25:20 +00:00
Vadim Zeitlin
bfab25d4c4 fixed fatal buffer overwrite in wxMBConvUTF16swap::MB2WC()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 20:23:33 +00:00
Vadim Zeitlin
04a378342d detect some invalid UTF7 strings when decoding them in wxMBConvUTF7
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 20:04:07 +00:00
Vadim Zeitlin
b0441359ca test predefined wxConvUTF[78] too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 19:30:34 +00:00
Vadim Zeitlin
7ce0c58f8d the expected test result was wrong, corrected; also define a manifest constant only once instead of using its value everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 19:24:23 +00:00
Vadim Zeitlin
6ef5a7a370 fixed if/idef wxHAVE_U_ESCAPE mixup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 19:15:46 +00:00
David Surovell
b8c3d6306c simplify KeywordSearch; cleanup and reformat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 19:04:25 +00:00
Włodzimierz Skiba
d879e16fc3 Build fix for 2.6 compatibility off.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 18:26:24 +00:00
Włodzimierz Skiba
1c067fe3c1 Removed every usage of obsolete wxTLW flags. 2.6 compatibility markup for them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 18:07:22 +00:00
Vadim Zeitlin
ed177375b2 use wxHAVE_U_ESCAPE to accomodate old compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 17:43:10 +00:00
Vadim Zeitlin
8da7a00a94 enable tests using \u escapes for VC7; replaced compiler version checks for this with wxHAVE_U_ESCAPE defined once and for all in testprec.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 17:42:26 +00:00
Vadim Zeitlin
53c174fcd5 really pass the proper output buffer size in wxMBConv_win32 round trip check, at least for the encodings without NULs such as UTF7
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 17:40:17 +00:00
Vadim Zeitlin
2f96d9bb8d pass proper output buffer size in round trip conversion success check in wxMBConv_win32, otherwise conversions from UTF-7 always failed for example
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 17:34:48 +00:00
Vadim Zeitlin
a65ca3e600 moved wide char conversion tests to their own file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 17:10:07 +00:00
Vadim Zeitlin
ede838eb4d removed wxTextFile test case, what was it doing here?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 17:07:25 +00:00
Roman Rolinsky
ecc19da767 version 0.1.7-3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 16:39:07 +00:00
Roman Rolinsky
9932837291 ignore wrong colour spec
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 16:38:20 +00:00
Roman Rolinsky
ebaaf8f630 fix for copy/paste to work with i18n
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 14:36:34 +00:00
Vadim Zeitlin
93a57d19fe added tests for UTF8 and UTF16 files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 14:26:59 +00:00
Vadim Zeitlin
44327ff375 don't give error when reading empty file in Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 14:00:31 +00:00
Vadim Zeitlin
18230eb6b6 Unicode compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 13:58:01 +00:00
Vadim Zeitlin
dbcf443c7d rewrote Read() to slurp all the file at once to avoid problems in Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 13:53:20 +00:00
Vadim Zeitlin
468c5a97ec added unit test for wxTextFile (reading only for now)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 13:46:38 +00:00
Włodzimierz Skiba
6a9e54bdff Better backward compatibility and deprecation markup for interface deprecated in comments.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 11:13:03 +00:00
Vadim Zeitlin
4521d1cdda also link in ODBC lib if wxUSE_ODBC (patch 1457800)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 00:05:02 +00:00
Vadim Zeitlin
dedba2a11f use wx/dynlib.h and not wx/dynload.h (patch 1448691)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 00:03:15 +00:00
Vadim Zeitlin
735dec5e62 added #if wxUSE_CONSTRAINTS around the whole file (patch 1448826)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 00:01:11 +00:00
Vadim Zeitlin
b3825734fc don't compile DirectDraw code when wxUSE_DIRECTDRAW==0 (patch 1461271); set wxUSE_DIRECTDRAW to 0 by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-30 23:49:34 +00:00
Jamie Gadd
82d492f145 Include compatibility guard for int GetItemSpacing( bool isSmall ) in implementation file also.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-30 23:01:55 +00:00
Robert Roebling
0fcce6b9d9 Fix previous crashes when scrolling generic version
of wxDataViewCtrl.
  Added in-place editing of strings (no user vetoing
   and such). The code uses the corrected version of
   the respective code from wxListCtrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-30 15:35:44 +00:00
Kevin Hock
3c57bda545 Fix GetTraits() check for event loop in wxSocketBase::_Wait() [ bug 1460607 ] [ patch by Angel / elkry ]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-30 15:29:22 +00:00
Robert Roebling
3603a3895e Fix wxListCtrl in-place editing (to not crash
when editin is finished by clicking somewhere
    else and thus taking the focus away from the
    wxTextCtrl). Also, "delete this" in the middle
    of code isn't optimal.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-30 15:25:59 +00:00
Vadim Zeitlin
c1981a2fa4 don't process previously read characters twice in OnRead()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-30 14:04:46 +00:00
Włodzimierz Skiba
ca3e85cfa8 Better backward compatibility and deprecation markup for interface deprecated in comments.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-30 14:04:17 +00:00
Julian Smart
63fa3f89e8 Unicode correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-30 11:35:12 +00:00
Julian Smart
1fc1bbfc68 Generate Mac bundle for helpview
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-30 11:32:39 +00:00
Robert Roebling
f7570f5771 Use memcpy instead of strcpy.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-30 09:53:15 +00:00
Julian Smart
d4445d24d3 Reverted wxChoice size fix due to problems in W2K and below
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-30 09:21:11 +00:00
Robin Dunn
ccd34c944d Need to tell which object to Destroy()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-30 01:41:47 +00:00
Robin Dunn
faca2e452f Fixed reference leak in wx.gizmos.TreeListCtrl.GetSelections.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-30 01:38:38 +00:00
David Surovell
617bfeecfe simplify OnActivate menubar install code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-29 20:52:36 +00:00
Stefan Csomor
3c24dad6f7 formatting and native HIView compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-29 19:19:06 +00:00
Stefan Csomor
8c07d8b324 clean-up and fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-29 19:17:07 +00:00
Václav Slavík
369e0d0575 made WX_CONFIG default configurable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-29 16:48:46 +00:00
Vadim Zeitlin
d195f10fe3 don't use -- inside XML comments, this is not allowed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-29 16:30:29 +00:00
Vadim Zeitlin
0900766967 added func parameter to wxOnAssert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-29 14:33:53 +00:00
Vadim Zeitlin
5d584acb88 don't return void values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-29 14:30:22 +00:00
Vadim Zeitlin
0cc88b4bb4 wxUSE_STL==1 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-29 14:22:03 +00:00
Robin Dunn
b8c4ab9cbc Added GetResourcesDir and GetLocalizedResourcesDir to
wx.StandardPaths.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-29 02:34:00 +00:00
David Surovell
30c23e741e fix null-deref
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 19:55:24 +00:00
Robin Dunn
70b5f65e55 Some tweaks to build hosts and tasks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 19:25:30 +00:00
Robin Dunn
de2a042405 avoid assert in wxMac port, only change the font point size when we
are going to be using it in objects that need to draw text


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 19:20:48 +00:00
Robin Dunn
3640e087dd Updated 2.6.3.0's CHANGES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 19:19:18 +00:00
Robin Dunn
a9d06ca68a install the analogclock package
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 19:16:49 +00:00
Vadim Zeitlin
5981cd22f3 really disable wxUSE_DISPLAY for wxMGL and wxOS2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 14:17:42 +00:00
Włodzimierz Skiba
020e385d47 Warning fix for wxOS2 night build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 14:15:10 +00:00
Włodzimierz Skiba
989ab1e5a6 Line-up deprecated interface of wxTreeCtrl between ports.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 13:11:20 +00:00
Włodzimierz Skiba
4033be7874 More typos.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 13:00:42 +00:00
Włodzimierz Skiba
6cfc4ddb23 Patch #1459942: typos.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 11:34:55 +00:00
Włodzimierz Skiba
e0c8d2d924 Documentation fixes for unresolved labels after changes in debbuging api.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 11:24:08 +00:00
Julian Smart
1b14e197be Removed redundant XBM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 11:14:49 +00:00
Julian Smart
91feb0d1ae Use XPM for symbols and pictures on all platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 11:12:48 +00:00
Włodzimierz Skiba
8e13c1ec4e Make wxPASSWORD and wxPROCESS_ENTER really deprecated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 11:02:37 +00:00
Włodzimierz Skiba
39987096b3 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 10:48:55 +00:00
Julian Smart
ecf418ad77 Correct test for WORDS_BIGENDIAN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 10:32:00 +00:00
Julian Smart
f45bffb686 stdpaths.h needs filefn.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 10:30:20 +00:00
Julian Smart
0e41582e52 Added missing includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 08:29:19 +00:00
Robert Roebling
0f0297d8f3 Remove CVS clash in RCS-ID
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 08:14:50 +00:00
Robert Roebling
8b1464af32 Apply wxListCtrl patch which fixes some crashes
and let the generic wxListCtrl show context
    menus like the MSW one.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 08:13:48 +00:00
Vadim Zeitlin
b260e323ea properly NUL-terminate the buffer before converting it to Unicode: we may need more than one trailing NUL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 00:05:52 +00:00
Vadim Zeitlin
e11e27cf74 made wxTextFile work in Unicode (bug 1260189); also made it possible to use it with non seekable files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 23:31:23 +00:00
Vadim Zeitlin
86948c99a6 made wxTextFile work in Unicode; also made it possible to use it with non seekable files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 23:27:29 +00:00
Vadim Zeitlin
4ae776b767 really fixed iteration over wxTextbuffer using GetFirst/NextLine()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 23:01:00 +00:00
Vadim Zeitlin
ddf56b4c52 we don't need to include wx/textfile.h here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 22:48:16 +00:00
Vadim Zeitlin
3ae00f5b57 reuse Clear() instead of duplicating its code in Close()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 20:43:15 +00:00
Vadim Zeitlin
2dfa1d9e11 fix bug in Eof() which returned true even if we were only on the last line, not beyond it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 20:39:48 +00:00
Vadim Zeitlin
a85a25c7d8 use wxLaunchDefaultBrowser by default if no browser is specified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 20:23:33 +00:00
Vadim Zeitlin
2364556be3 renamed m_MapFile into m_helpDir because this is what it really is
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 20:05:07 +00:00
Włodzimierz Skiba
5536310df9 Test commit to verify cvs speed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 17:37:46 +00:00
Vadim Zeitlin
02f51f1f14 added an option to use wxExtHelpController (which means that it now depends on the adv library)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 17:32:02 +00:00
Vadim Zeitlin
249b3fe3bb rewrote wxExtHelpController loading code to use wxFileName as it was broken under Mac and it also reduces the code size; also use wxTextFile to further simplify the code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 17:28:51 +00:00
Włodzimierz Skiba
06052f3f87 Source and warning cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 17:26:38 +00:00
Włodzimierz Skiba
6a64f8d41d Unconditional assert means failure.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 17:25:14 +00:00
Włodzimierz Skiba
be437778be Minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 15:52:54 +00:00
Włodzimierz Skiba
6cd6ec633c Fix for broken 'param' macro syntax.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 15:02:59 +00:00
Włodzimierz Skiba
d23ec02c6a Minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 14:47:39 +00:00
Włodzimierz Skiba
f554a14b89 Source and warning cleaning after enabling wxUSE_DATAVIEWCTRL in wxMSW builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 14:01:33 +00:00
Vadim Zeitlin
f3b0f8ad21 documented GetResourcesDir() and GetLocalizedResourcesDir() (somehow forgot to commit before, sorry)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 13:48:18 +00:00
Vadim Zeitlin
8c94336825 fixed unused parameter warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 13:46:50 +00:00
Włodzimierz Skiba
a8b9c34463 Coverity CID 100 fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 12:36:11 +00:00
Włodzimierz Skiba
faa94f3ec8 Final and global PRIOR/NEXT change: keep consistency using only PAGE versions, deprecate old ids, remove rest of build problems with case statemets.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 12:25:17 +00:00
Jouk Jansen
aa3310b88d Committing in .
Removing obsolete compiler directives for OpenVMS

 Modified Files:
 	wxWidgets/src/generic/notebook.cpp
 	wxWidgets/src/univ/notebook.cpp
 	wxWidgets/src/unix/mimetype.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 09:35:41 +00:00
Vadim Zeitlin
321fe98cfe translate tips which appear inside _() in wxFileTipProvider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 00:57:06 +00:00
Vadim Zeitlin
85149efad7 removed wxClassInfo::CleanUp() as it breaks wxEntry reentrancy: once the sm_classTable is destroyed it's not going to be recreated again; instead leave last wxClassInfo::Unregister() call do this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 00:54:00 +00:00
Vadim Zeitlin
4fbbe847c8 explain that the message catalogs should be installed in the default directory for them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 00:23:44 +00:00
Vadim Zeitlin
89611d4d5a partly undid last commit: we still need to look in . for the message catalogs to find them under Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 22:57:49 +00:00
Vadim Zeitlin
f0a6989d8b look for catalogs with LC_MESSAGES subdirectory and without it under Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 22:57:19 +00:00
Vadim Zeitlin
adaa49a801 discard the debug directories at the end of the executable path automatically in debug builds to allow running the programs without installing them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 18:31:44 +00:00
Vadim Zeitlin
1191c93ebc no need to add . and .. explicitely to the catalogs search path, the new catalog search code code is smart enough to find them there on its own
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 18:30:04 +00:00
Vadim Zeitlin
f830b2b1fc simplified message catalog search code using the new wxStandardPaths::GetLocalizedResourcesDir()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 18:28:29 +00:00
Vadim Zeitlin
3af9f2de59 added wxStandardPaths::GetResourcesDir() and GetLocalizedResourcesDir()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 17:00:40 +00:00
Vadim Zeitlin
cc4d990340 implemented GetPluginsDir() to behave as documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 14:50:31 +00:00
Vadim Zeitlin
d3b9c6271b use one #ifdef __VMS instead of doing it in each and every function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 14:47:44 +00:00
Vadim Zeitlin
4907027102 removed wxMac stuff from here, unless I'm missing something this file is not used under Mac at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 14:42:05 +00:00
Vadim Zeitlin
300ff33dec don't crash in GetInstallPrefix() if wxTheApp == NULL (especially as we don't need it anyhow)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 14:34:27 +00:00
Julian Smart
5cf83b1ac0 Fixed crash in Life demo on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 12:04:37 +00:00
Włodzimierz Skiba
fbb526cced Build fix after PRIOR/NEXT removal.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 07:59:53 +00:00
Vadim Zeitlin
e633eb2f36 re-fix operator?: involving wxNodes and compatibility_iterators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 03:14:13 +00:00
Vadim Zeitlin
aedeab233f X11 callbacks must be extern C
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 03:01:55 +00:00
Robin Dunn
9c6e3c5714 Use self.GetCanvas() instead of just self.GetCanvas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 00:14:46 +00:00
Robin Dunn
6802574779 more size_t --> unsigned int changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 00:13:33 +00:00
Robin Dunn
2c906a4907 The null byte at the end of the string should not be included in the
size of a text data object in the clipboard, otherwise we have to
subtract it when the data is requested and that results in truncating
one byte for other data formats.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 00:06:25 +00:00
Włodzimierz Skiba
894b93d3ba Updated changes list after int/size_t unsigned int.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 23:57:43 +00:00
Włodzimierz Skiba
027d45e8fc Back to unsigned int count in wxTreeCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 23:46:43 +00:00
Włodzimierz Skiba
7a952d4cbd More null virtuals in wxRadioBoxBase (see: 'Developers_Notebook-Incomplete-API' in wxWiki)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 22:50:51 +00:00
David Surovell
de5e599c8a minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 17:19:35 +00:00
Robin Dunn
6fa9383b57 Add a note about WXK*PRIOR and WXK*NEXT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 17:01:12 +00:00
Julian Smart
9dc1d18069 Commented out call that breaks metal style setting before Create
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 13:49:37 +00:00
Włodzimierz Skiba
63ccc65902 Allow easier PalmOS5 development by volounteers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 13:41:27 +00:00
Julian Smart
54ce9ebbd6 Reduced deprecation warning frequency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 13:01:19 +00:00
Julian Smart
3ee937aad0 Hidden variable warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 12:27:45 +00:00
Włodzimierz Skiba
5f60a273bd PRIOR/NEXT build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 12:17:48 +00:00
Julian Smart
03cc5f8ec5 Added note about accelerator translation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 12:13:07 +00:00
Włodzimierz Skiba
80e2cdc6e9 Keep wxPalmOS buildable in case Access would reuse some portions of PalmOS6.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 10:32:16 +00:00
Włodzimierz Skiba
3ad4e2df04 PRIOR/NEXT build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 10:27:44 +00:00
Włodzimierz Skiba
87815d3d0a PRIOR/NEXT build fixes and warning corrections.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 10:20:58 +00:00
Włodzimierz Skiba
4bcc364758 Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 08:44:55 +00:00
Włodzimierz Skiba
8ebb2a1d99 Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 08:31:58 +00:00
Julian Smart
936bbdf902 Updated adding samples section.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 08:28:38 +00:00
Włodzimierz Skiba
277956850e Fix after removal of PRIOR/NEXT in common headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 08:28:08 +00:00
Julian Smart
fec647a203 Build corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 08:22:29 +00:00
Włodzimierz Skiba
aee12bfb80 Fix after removal of PRIOR/NEXT in common headers (duplicates change in GTK2 sources).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 08:22:23 +00:00
Włodzimierz Skiba
3b69b47ca6 Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 08:19:35 +00:00
Włodzimierz Skiba
a5325ad672 Back to 'unsigned int' after reasearch of 'size_t' problems.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 07:51:55 +00:00
Włodzimierz Skiba
9e728732e9 Removed useless pragma after fixing code to use insigned ints.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 07:26:14 +00:00
Włodzimierz Skiba
550eb91ae2 Fixed missing usage of x during Layout.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 07:19:45 +00:00
Robin Dunn
5bd24f7242 Make WXK*PRIOR and WXK*NEXT be aliases for WXK*PAGEUP and WXK*PAGEDOWN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 04:14:29 +00:00
Robin Dunn
50f151d726 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 01:52:48 +00:00
Robin Dunn
f65bb0f8ab * wx.Panel doesn't have a SetTitle anymore. What was this used for
anyway?

* Allow  wxMenuBar to be created inside a wxFrame

* More robust clipboard handling


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 01:49:58 +00:00
Robin Dunn
a62df55f4d Need to use wizard.GetPageAreaSizer().Add(page) now to get the layout
handled correctly


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 00:13:59 +00:00
Robin Dunn
cdd7b180fe wxFileSystemHandler needs a destructor and to give ownership to wxFileSystem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 00:12:12 +00:00
Robin Dunn
2fbb702ba3 Length --> length
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 00:10:48 +00:00
Robin Dunn
3f5ec80664 Several instances of int --> unsigned int
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 00:08:45 +00:00
Vadim Zeitlin
aa61d35253 replaced all int/size_t indices in wxControlWithItems API with unsigned int (committing on behalf of ABX)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 22:05:23 +00:00
David Surovell
5aa67d6619 minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 22:04:57 +00:00
Julian Smart
b910a8add4 Fixes/makefiles for building data view control on Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 21:28:24 +00:00
Robert Roebling
4064f7deac Take into account cell's own size, not only the
space allocated to it (mostly much more).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 19:00:53 +00:00
Stefan Csomor
55f5548f78 filedata implementation streamlined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 18:18:20 +00:00
Stefan Csomor
d7b284e5c6 implementation streamlined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 18:16:02 +00:00
Stefan Csomor
3a4abf8055 setting the hacked cocoa font panel as default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 18:11:54 +00:00
Stefan Csomor
fbb7ee81b4 convenience methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 18:09:04 +00:00
Stefan Csomor
bcd9697973 better file data support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 18:06:28 +00:00
Vadim Zeitlin
f2fb22f9b9 fixed last commit which accidentally included parts of upcoming size_t/unsigned patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 17:45:00 +00:00
Julian Smart
e557031896 Added missing declarations required for e.g. VC++ 6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 17:15:47 +00:00
Vadim Zeitlin
e3e78de1b8 Minor fixes after last commit:
1. don't pass -1 to base class DoSetSize(), this is documented to not work
   under Win2k
2. instead, don't do anything at all if neither size nor position changed
3. only call DoGetSize() once instead of doing it in both if branches
4. added comment about 30000 returned by CB_GETDROPPEDCONTROLRECT


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 16:56:19 +00:00
Vadim Zeitlin
27b436242e 1. fixed compilation after wxList::compatibility_iterator changes
2. removed #if wxUSE_STL tests which are not needed any longer
3. better fix for SetCurrent() virtual hiding: just rename the method


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 16:29:02 +00:00
Vadim Zeitlin
2e4b087e1c reverted return type of wxList method to nodetype * from compatibility_iterator (undoing change of rev 1.103) because this breaks very old core relying on conversion of wxList::GetFirst() to wxNode* for example
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 16:19:48 +00:00
Julian Smart
b83d533aec Miscellaneous change log updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 16:16:49 +00:00
Julian Smart
4952771da3 Fixed home and end accelerators.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 16:16:00 +00:00
Robin Dunn
6cfc5ebfa7 no longer need reverse renamers for the *Ptr classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 15:56:22 +00:00
Julian Smart
0b652e0ef9 Added an optimization that fixes a recursive paint problem when controls
are embedded in wxHTML (or other circumstances where the parent resizes
the choice/combobox within a paint handler). This also speeds up
addition of strings considerably (see "Add many strings" in widgets sample).

Also added a check for silly values that can be returned from
CB_GETDROPPEDCONTROLRECT.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 15:28:02 +00:00
Włodzimierz Skiba
cca1624d2a Centering maximized wxTLWs on screen should do nothing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 13:00:06 +00:00
Włodzimierz Skiba
7cb32b4b74 Unconditional assert means fail.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 11:47:21 +00:00
Robert Roebling
0fdc2321bc Implement basic MVC logic (change an item in one
view and all views update themselves) and made
   wxDataViewToggleCell react to mouse clicks as a
   test for that (generic code).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 11:44:57 +00:00
Julian Smart
acd8510fd2 Don't centre the frame on WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 11:35:56 +00:00
Robert Roebling
90675b9582 Make generic wxDataViewCtrl draw its contents.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 11:02:20 +00:00
Włodzimierz Skiba
4bc6f7a06c Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 10:11:05 +00:00
Włodzimierz Skiba
bb2955b339 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 09:57:59 +00:00
Vadim Zeitlin
30a29593e8 workaround for mingw 3.2.3 DLL build with wxUSE_STL=1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 02:01:25 +00:00
Vadim Zeitlin
d294c9db88 nested iterator classes must be dll-exported
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 01:01:50 +00:00
Vadim Zeitlin
d14e03f5b7 removed unneeded (and provoking warnings in DLL build) DLL export declarations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 00:48:09 +00:00
Vadim Zeitlin
aa78d22e20 don't compare invalid iterators/node pointers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 00:47:01 +00:00
Vadim Zeitlin
b028252442 don't return true from wxRadioBox::AcceptsFocus() even when it's hidden/disabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 00:43:11 +00:00
David Surovell
7ca019817d fixed compilation issue in prior checkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 00:41:09 +00:00
David Surovell
8b4457965a cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 23:03:04 +00:00
Włodzimierz Skiba
1ea9acd9aa wxFrameNameStr was already delivered by #include one line earlier.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 20:51:07 +00:00
Włodzimierz Skiba
a9672e89d5 DMC bug workaround.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 20:39:52 +00:00
Vadim Zeitlin
986d27c395 make it possible to predefine __WXFUNCTION__ in user code to have a different behaviour (e.g. use __PRETTY_FUNCTION instead of __FUNCTION__ with gcc) if needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 19:37:58 +00:00
Vadim Zeitlin
fa3bd1aaea define __WXFUNCTION__ instead of redefining the (semi-)standard __FUNCTION__ which could result in conflicts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 19:32:28 +00:00
Vadim Zeitlin
fd05688e22 documented __WXFUNCTION__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 19:31:09 +00:00
Vadim Zeitlin
2bd3cba690 made alphabetical list of functions more alphabetical
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 19:20:28 +00:00
Vadim Zeitlin
d4d8988c72 made wxList methods return compatibility_iterator instead of Node * to further reduce differences between wxUSE_STL==0 and 1 cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 19:14:28 +00:00
Włodzimierz Skiba
80f218424f Semicolon needed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 18:29:34 +00:00
Włodzimierz Skiba
045bd076c5 Test both constuctors. Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 18:07:19 +00:00
Włodzimierz Skiba
7fb0a11d3a Unconditional assert means fail.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 17:55:05 +00:00
Julian Smart
c31be54ae0 Added missing include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 17:39:33 +00:00
Julian Smart
3a46bcdd32 Mac compile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 16:45:38 +00:00
David Surovell
7884ab9018 fix wxMac compilation problem by hoisting simple variable declarations above all goto stmts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 16:21:55 +00:00
Włodzimierz Skiba
d17b1e7621 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 14:39:47 +00:00
Julian Smart
0cd6a2f8e6 Rearranged, added info about universal builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 14:38:06 +00:00
Vadim Zeitlin
0e0589e873 fixed handling PNG errors accidentally broken in rev 1.46 (libpng would just abort on invalid files now); fixed huge memory leak when failing to load an invalid PNG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 14:12:48 +00:00
Włodzimierz Skiba
e1204086ba Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 13:24:23 +00:00
Robert Roebling
a0f3af5fb6 Setup notifiers from datamodel to generic
wxDataViewCtrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 10:27:29 +00:00
Robert Roebling
3d9d7cc4f7 In the generic version of wxDataViewCtrl, all
cells are custom cells (nothing native).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 10:01:57 +00:00
Jouk Jansen
bbc8b0ee18 Committing in .
Updates to make OpenVMS happy

 Modified Files:
 	wxWidgets/setup.h_vms wxWidgets/include/wx/defs.h
 	wxWidgets/src/gtk/choice.cpp wxWidgets/src/gtk/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 07:47:22 +00:00
Vadim Zeitlin
b503b4075c fixed wxCHECK in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 01:11:52 +00:00
Vadim Zeitlin
acc476c530 fixed __FUNCTION__ use in Unicode build (it's a variable, not a macro)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 17:00:16 +00:00
Vadim Zeitlin
8605eb1abe added ParseDate() tests; use CPPUNIT_ASSERT_EQUAL to see the dates in cppunit output
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 16:21:18 +00:00
Vadim Zeitlin
eca0692c77 fixed several bugs in ParseDate() (invalid dates could result in assert failure while some valid dates such as 29 Feb 2004 were not recognized)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 16:20:43 +00:00
Vadim Zeitlin
b0d8bfa6cd don't throw away the first three stack frames in the assert stack dump (fix needed after recent assert cleanup/changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 15:59:58 +00:00
Vadim Zeitlin
3ec4a23f50 show the function in which the assert failure occured if the compiler supports it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 15:47:24 +00:00
Vadim Zeitlin
20a4311e7f use new wxAPPLY_T macro instead of 3 identical __XDATE__/__XTIME__/__XFILE__ ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 15:43:46 +00:00
Vadim Zeitlin
dfa0b52f4a show the function in which the assert failure occured if the compiler supports it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 15:19:53 +00:00
Vadim Zeitlin
bc151e8486 recognize bitmap2 tag as containing a bitmap (used for disabled toolbar buttons)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 15:12:37 +00:00
Vadim Zeitlin
497a2d6d54 don't evaluate assert expression unless the condition is false (patch 1450705)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 14:17:49 +00:00
Vadim Zeitlin
637b7e4f3a added semicolons after wxCHECK()s (part of patch 1450705)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 14:16:34 +00:00
Vadim Zeitlin
0cc70962a1 Made wxList::compatibility_iterator a class in wxUSE_STL == 0 case too instead
of a simple typedef to "Node *" to be able to initialize it with NULL in ctor
which makes the behaviour of the code with and without wxUSE_STL the same.


The price to pay is that the code like

	wxList:compatibility_iterator ci;
	ci = cond ? list->GetFirst() : wxList::compatibility_iterator();

doesn't compile any more and has to be replaced with (more clear anyhow)

	wxList:compatibility_iterator ci;
	if ( cond )
		ci = list->GetFirst();


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 14:05:11 +00:00
Stefan Csomor
06840f1796 gcc 4.0 for all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 13:53:47 +00:00
Vadim Zeitlin
ed97f493ab can't pass objects through ... (please don't ever ignore this gcc warning)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 13:33:08 +00:00
Vadim Zeitlin
46cb4b3f8a added wxGtkString::c_str()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 13:31:35 +00:00
Vadim Zeitlin
5d9ef6deec return NULL (and not invalid) iterator from compatibility_iterator::GetPrevious() when we're at the start of the list (see patch 1445506)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 13:17:31 +00:00
Vadim Zeitlin
b4affacc10 added assert to verify that operands are initialized in compatibility_iterator::operator==()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 13:14:19 +00:00
Vadim Zeitlin
e547f7a7b8 better fix for infinite loop in HandleOnNavigationKey() when wxUSE_STL==1 and start_node is NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 13:10:20 +00:00
Vadim Zeitlin
0b6cf20588 reuse operator bool() check in compatibility_iterator::IndexOf() instead of rewriting it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 13:00:19 +00:00
Vadim Zeitlin
edc0a395c6 fix an infinite loop in HandleOnNavigationKey() when wxUSE_STL==1 and start_node is NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 12:53:28 +00:00
Robert Roebling
4b3feaa75d Added windowing and scrolling logic to generic
implementation of wxDataViewCtrl (it runs now).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 12:30:06 +00:00
Julian Smart
40cc34ec56 Fix accelerstors with down and left
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 11:30:23 +00:00
Julian Smart
dd7230ab0b Fixed a crash when deleting the last timer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 11:25:26 +00:00
Mart Raudsepp
b976323b04 Use wxGtkString here too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 09:24:47 +00:00
Václav Slavík
577579933d removed Julian's hack that is no longer needed after wxBitmap stubs were added even for DIB-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 23:25:48 +00:00
Vadim Zeitlin
da75a14e72 explain why do you need wxUSE_WXDIB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 23:24:47 +00:00
Vadim Zeitlin
50a9dd77f5 provide stubs for conversion to/from image functions even when wxUSE_WXDIB==0, this allows to not test for it in other places
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 23:23:00 +00:00
Vadim Zeitlin
511fb92a6c removed hard tabs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 22:57:07 +00:00
Václav Slavík
45f3249bb6 fixed GetBitmap() to respect the "param" argument if !wxUSE_FILESYSTEM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 22:26:39 +00:00
Robin Dunn
f52cbe909c reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 18:26:35 +00:00
Robin Dunn
607a3fa066 Editors, Renderers and Attrs need to have a destructor so SWIG won't
complain about it, but since they are protected in C++ we need to give
them a dummy one.  In the future these shoud be changed to use
%ref/%unref and let SWIG manage the refcount for us.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 18:02:37 +00:00
Robin Dunn
ce1522a1f2 Use the static method instead of the global alias
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 17:56:42 +00:00
Vadim Zeitlin
a6c355d270 initialize wxZipFSHandler even when wxUSE_GIF=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 17:09:03 +00:00
Robert Roebling
45778c96d4 Further compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 16:44:46 +00:00
Robert Roebling
9d14de69f4 Compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 16:41:41 +00:00
Robert Roebling
4ed7af081e Added (yet unfunctional) skeleton files fir
generic implementation of wxDataViewCtrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 16:37:24 +00:00
Vadim Zeitlin
c1a3ff259e fixed Clear() for GTK+ 2.4+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 12:17:03 +00:00
Vadim Zeitlin
be27bc46ab corrected cross-reference to non existent note
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-19 13:43:58 +00:00
Stefan Csomor
ffc75ee452 rewire char events in case there is no focusable control on a tlw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-19 10:55:09 +00:00
Robin Dunn
80b6bf7c7c A bit of cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-19 02:22:08 +00:00
Robin Dunn
ac288fac82 docstrings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-19 02:17:43 +00:00
Robin Dunn
6cedc146fa Add wxHelpProvider destructor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-19 02:16:08 +00:00
Robin Dunn
f70ec5b8f7 Demonstrate setting metal appearance for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-18 22:17:39 +00:00
Vadim Zeitlin
dd44c9e02c do not assign uniChar to wxKeyEvent::m_keyCode for EVT_CHAR events; this breaks any code handling things like arrow keys as it gets absolutely useless kDownArrowCharCode instead of WXK_DOWN for example
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-18 17:14:55 +00:00
Vadim Zeitlin
8470c37812 removed redundant declaration (no real changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-18 17:04:47 +00:00
Vadim Zeitlin
2dd52041d0 fixed crash introduced in rev. 187 for all non-MSW platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-18 16:53:42 +00:00
Mart Raudsepp
e027bfd9cb Update copyright years. Is manual2e.tex even used anymore? Much information in it is out of date.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-18 13:32:23 +00:00
Mart Raudsepp
a73554d4be Test commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-18 12:59:09 +00:00
Mart Raudsepp
bb7a709657 Testing CVSROOT/loginfo changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-18 12:25:56 +00:00
Mart Raudsepp
a9c876c0b0 Test wxPython CIA announcement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-18 12:19:16 +00:00
Robin Dunn
1c47620268 New source dirs that need installed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-18 01:03:45 +00:00
Robin Dunn
0ae3258d7a SWIG 1.3.29 updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-18 01:03:08 +00:00
Robin Dunn
10ae0adb58 Add DoGetBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 22:50:05 +00:00
Robin Dunn
71caeaf3c0 Add scrollbars when the plot is zoomed in, and also the ability to
grab a zoomed plot and move it around with a mouse drag.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 22:45:37 +00:00
Stefan Csomor
5cd47bd76a disabling close box
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 20:51:38 +00:00
David Surovell
e542ecc6f6 cleanup - added some error checking, reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 19:11:32 +00:00
Stefan Csomor
7358f9073d intel pict fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 18:29:14 +00:00
Stefan Csomor
db28a493dd fixing a scope error introduced in 1.41
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 17:12:40 +00:00
Stefan Csomor
27ea6757f3 fix for sf bug 1448153: Widgets sample hangs on Japanese radio label
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 14:26:59 +00:00
Robert Roebling
2b850ae1a5 Rearrange code to make adding wxMimeTypesManagerFactory
at runtim possible.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 14:13:02 +00:00
Robert Roebling
1d115baf4b Added files for GnomeVFS backend (currently useful
for strictly nothing).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 14:08:58 +00:00
Vadim Zeitlin
8c03c8bed1 don't use toupper() with non-ASCII key codes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 13:49:47 +00:00
Stefan Csomor
1cf9b41c2d intel pict fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 10:39:56 +00:00
David Surovell
611ac06b89 cleanup - fixed a warning, some typos, and made minor reformatting changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 04:09:10 +00:00
Vadim Zeitlin
f5a45ee2e9 use correct string in wxEVT_COMMAND_COMBOBOX_SELECTED events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 02:38:58 +00:00
Robin Dunn
3abaf18160 The dummy wxDisplay class is no longer needed as there is now always a
wxDisplay class available, but it has limiited functionality if
wxUSE_DISPLAY is zero.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 01:30:21 +00:00
Robin Dunn
8f146d6b11 updated comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 00:54:51 +00:00
Robin Dunn
90ab4a358c Add GetClientArea
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 00:50:33 +00:00
Vadim Zeitlin
47f43b6bb5 need wxRect definition and not just declaration here (fixes wxMotif build without PCH)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 00:15:04 +00:00
Vadim Zeitlin
b69a24bfee wxUSE_DISPLAY should be 0 for VMS port as Xinerama is apparently not available there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 00:12:17 +00:00
Vadim Zeitlin
b09a59f521 fixed incorrect XtVaXXX() function call (thanks to g++ 4 for detecting this!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 00:09:41 +00:00
Vadim Zeitlin
262a153683 don't put the window off screen when centering it (if possible); also don't centre on the parent if the parent is entirely off screen (should fix centering on the MDI parent frame under Mac)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 00:04:13 +00:00
Robin Dunn
1c71765a15 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 23:41:43 +00:00
Robin Dunn
75219dcb68 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 23:24:27 +00:00
Robin Dunn
3c31306c74 Docstring typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 23:22:10 +00:00
Robin Dunn
29f18b90c2 Somehow (probably in a merge) all the CVS Id: tags got deactivated...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 22:59:03 +00:00
Julian Smart
5c7a8a092a wxMotif/ANSI can't cope with UTF-8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 18:59:12 +00:00
Vadim Zeitlin
afcc11bb93 documented option enabling DirectDraw implementation of wxDisplay under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 16:10:50 +00:00
Vadim Zeitlin
6c5d62917d added wxDisplay::GetClientArea() (currently implemented for single display and MSW implementations only)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 16:07:24 +00:00
Vadim Zeitlin
480abc8fdb Albanian translation added (Besnik Bleta)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 15:41:09 +00:00
Vadim Zeitlin
fdd7a38bb2 fixed build after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 15:28:22 +00:00
Włodzimierz Skiba
9c9691ba24 Forward port from 2.6 branch to avoid wxSTD usage crashes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 13:06:39 +00:00
Włodzimierz Skiba
7487919e55 wxDisplay build fix for missing Direct Draw.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 11:06:10 +00:00
Julian Smart
c1dfa9eb8e Mobile 5 Smartphone fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 11:03:26 +00:00
Włodzimierz Skiba
3ea19afd1f Missing wxDisplay identifiers for DMC build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 10:45:11 +00:00
Włodzimierz Skiba
5d484919aa forward port from 2.6 - eVC3 fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 08:52:36 +00:00
Włodzimierz Skiba
8785360429 Rebuild build files so all night/Tinderbox/Coverity builds could sleep well.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 08:19:57 +00:00
Włodzimierz Skiba
de97c9d7d9 Rebuild build files so all night/Tinderbox/Coverity builds could sleep well.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 08:06:27 +00:00
Stefan Csomor
66936c3770 universal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 07:10:24 +00:00
David Surovell
6a5cb3b79c added missing ctor implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 06:12:43 +00:00
Vadim Zeitlin
f37c35d717 initialize base class using its ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 04:35:22 +00:00
Vadim Zeitlin
1003169e21 added wxDisplayFactoryX11 ctor body
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 04:32:42 +00:00
Vadim Zeitlin
0d5b6a403e linking fixes after last checkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 04:32:02 +00:00
Vadim Zeitlin
547308b8e6 compilation fixes after last checkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 04:30:53 +00:00
Vadim Zeitlin
22d679f369 compile some functionality even when wxUSE_DISPLAY == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 04:24:29 +00:00
Vadim Zeitlin
4efdec45d7 removed obsolete display.h files; added display_impl.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 04:24:04 +00:00
Vadim Zeitlin
ef1717a963 wxDisplay cleanup/rewrite:
- wxDisplay is now a concrete class and uses a pImpl-based design
- got rid of four duplicate but subtly different versions of trivial
  single display-only wxDisplay implementation (but 2 versions of Mac
  Classic and Mac CoreGraphics implementations each still remain...)
- assorted code simplifications and memory leaks fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 04:23:07 +00:00
Robin Dunn
8072477d51 Enable OnDrawSeparator and OnDrawBackground to be overridable in wx.HtmlListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 02:30:42 +00:00
Robin Dunn
d0bc88b82a Added some overview text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 23:27:11 +00:00
Robin Dunn
23a023642c Added CheckListCtrlMixin from Bruce Who
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 23:22:53 +00:00
Robin Dunn
caeac82e4d Updated the analogclock.py module to the new analogclock package from
E. A. Tacao.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 23:17:54 +00:00
Robin Dunn
5f3c9dc69c updated html-ized version of the stc.h file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 22:47:26 +00:00
Robin Dunn
5756f98678 Added wx.Window.GetScreenPosition and GetScreenRect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 22:46:55 +00:00
Robin Dunn
f8dda225b3 some int --> size_t changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 22:45:10 +00:00
Robin Dunn
329a56f7ff tweaked font sizes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 22:35:11 +00:00
Vadim Zeitlin
fd921f3560 use wxDynamicLibrary::GetSymbolAorW() instead of duplicating its functionality with macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 20:18:42 +00:00
Mart Raudsepp
aa738eb8e3 Don't return a void value here - VC6 doesn't like it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 19:49:39 +00:00
David Surovell
51d4293d68 cleanup - minor restructuring, reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 19:22:01 +00:00
Włodzimierz Skiba
05fd6a8b82 More size_t in interface.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 18:46:24 +00:00
Włodzimierz Skiba
c7094dec84 Documentation build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 18:14:36 +00:00
Włodzimierz Skiba
45abfa7137 wxOS2 night build warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 15:33:34 +00:00
Włodzimierz Skiba
5429cf2455 wxTinderbox warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 11:52:59 +00:00
Włodzimierz Skiba
44014bcda0 wxTinderbox warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 11:27:22 +00:00
Włodzimierz Skiba
7e3edf927b wxTinderbox warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 10:37:24 +00:00
Julian Smart
6fdaa47727 Added documentation for compiling under Windows Mobile 5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 10:32:34 +00:00
Julian Smart
839f48f25d Fix windows.h inclusion problem on WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 10:30:08 +00:00
Julian Smart
ff759b6ad3 Fix for WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 10:28:38 +00:00
Włodzimierz Skiba
266df1bf1b wxTinderbox warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 10:10:13 +00:00
Włodzimierz Skiba
612bbde52f wxTinderbox warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 10:03:44 +00:00
Julian Smart
625b3cf1f4 Fix for command bar not painting in Windows Mobile 5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 09:57:00 +00:00
Julian Smart
72e7ec5b6a Add menus even if we have no menubar HMENU (Windows Mobile 5.0 can't retrieve it).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 09:55:55 +00:00
Julian Smart
19fc41a359 Corrected wrong include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 09:50:37 +00:00
Mart Raudsepp
67756da424 Use wxGtkString here to clean up code, and not leak in debug builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 09:12:52 +00:00
Mart Raudsepp
4b84311a44 Compile fix. Seems to work too, at quick glance.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 09:05:25 +00:00
Julian Smart
2c3ebf8be5 Removed use of deprecated functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 08:50:46 +00:00
Julian Smart
b1c6a00e63 Fix compile problem with VS 2005
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 08:44:28 +00:00
Włodzimierz Skiba
e95c145cc8 Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 07:49:43 +00:00
Mart Raudsepp
9d655692b9 g_value_set_string duplicates the string itself, so don't do it ourselves only to leak memory.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 07:41:10 +00:00
Mart Raudsepp
35a489dd90 Introduce a convenience class for g_freeing a gchar* on scope exit automatically, as suggested by VZ
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 07:25:32 +00:00
David Surovell
c18353e561 cleanup - fixed warnings, reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 06:22:36 +00:00
Mart Raudsepp
74af7bcf4f Don't return the return value of a void method in a void method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 03:42:26 +00:00
Mart Raudsepp
d394f0c93f ICCCM says that the TIMESTAMP atom is required, so provide it. This is patch 1424755 from Timothée Lecomte.
Additionally fix a memory leak from a gdk_atom_name.
(Forward port from 2.6 branch to both HEAD gtk sources)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 03:01:06 +00:00
Mart Raudsepp
cc6e44bf0b Don't leak a gchar* in wxDataFormat::GetId()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 00:38:39 +00:00
Włodzimierz Skiba
36e14c2bc8 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 00:01:18 +00:00
Włodzimierz Skiba
c3be59bcdb wxTinderbox build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 23:27:59 +00:00
Włodzimierz Skiba
035b6a79d0 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 23:16:13 +00:00
David Surovell
4c286ef633 cleanup - expanded wxTimerBase::Init to assign all member vars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 22:46:49 +00:00
Robin Dunn
62139e5a27 Can't use IsValidInsert from GtkAddHelper as it could cause a segfault in
GetCount if the widget is not fully created yet.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 22:00:17 +00:00
Robin Dunn
1dc9b42f4f Fix compilation error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 20:28:07 +00:00
Włodzimierz Skiba
8228b8932a Line-up interfaces to use size_t for GetCount()s (and count related api).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 19:44:45 +00:00
Włodzimierz Skiba
afbe150a76 Line-up interfaces to use size_t for GetCount()s (and count related api).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 19:30:06 +00:00
Robin Dunn
77e79241e8 m_windowReserved was removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 18:45:31 +00:00
Vadim Zeitlin
6021b8f80b we don't need reserved virtual functions on HEAD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 16:04:33 +00:00
Vadim Zeitlin
5a63a0f10a fixed centering of a TLW on a non-TLW parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 15:59:32 +00:00
Vadim Zeitlin
3c81c9aafb added GetScreenPosition/Rect() which always return the screen coordinates of the window (for child windows and TLWs alike)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 15:45:12 +00:00
Jouk Jansen
ad332e5bf3 Committing in .
Update OpenVMS compile support

 Modified Files:
 	wxWidgets/src/x11/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 08:39:07 +00:00
Robin Dunn
1bd5559898 reSWIGed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 05:17:03 +00:00
Robin Dunn
554f62e979 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 05:06:32 +00:00
Robin Dunn
0085ce4937 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 04:18:43 +00:00
Robin Dunn
94b2c6e696 SWIG-1.3.29
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 04:15:20 +00:00
Robin Dunn
ace78e271b SWIG 1.3.29
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 04:06:46 +00:00
Robin Dunn
c099c54cba Silence some warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 01:40:05 +00:00
Robin Dunn
5be7e07a3f Keep wxSTC_LEX_ASP and _PHP available for now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 01:39:22 +00:00
Robin Dunn
a6cb8040a8 typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 01:29:52 +00:00
Robin Dunn
369ac260a9 Sometimes we do need to allow recursion of callbacks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 01:28:22 +00:00
Mart Raudsepp
41e9579283 OnGetLineHeight and OnGetLinesHint are virtual, so document them as such. Closes bug #1445485
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 00:36:44 +00:00
Włodzimierz Skiba
8e25c1981b wxComboBox with SmartphoneCE has different members due to differnt wxChoice.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 00:35:05 +00:00
Mart Raudsepp
0902898a15 Docs: Escape underscores
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 00:24:53 +00:00
Robin Dunn
226de48a85 Dtor for wxHtmlCell
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-13 23:11:35 +00:00
Julian Smart
c6b81cebf1 If we processed a command event, return true, or we could end up processing
it again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-13 15:11:14 +00:00
Włodzimierz Skiba
caf6e6dee8 TRUE/FALSE source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-13 10:04:15 +00:00
Włodzimierz Skiba
b7e37e558d Init() does not belong to public.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-13 09:37:23 +00:00
Włodzimierz Skiba
61373fa8f3 Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-13 09:21:30 +00:00
Włodzimierz Skiba
cfb6676306 Make wxListCtrl changes ported from 2.6 branch complete (fix for long list of errors at wxTinderbox).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-13 09:18:22 +00:00
Vadim Zeitlin
7891b4d450 don't send weird colours for different controls, this looks really bad under some platforms (such as Mac) and makes the text unreadable under the others; there is widgets sample now for testing whether the colour setting works interactively
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 20:58:21 +00:00
Vadim Zeitlin
361484a8db create a non readonly combobox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 20:55:12 +00:00
Julian Smart
107ff6689a Added context menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 20:54:13 +00:00
Vadim Zeitlin
7d90194ccb fixed event generation for wxComboBox to be consistent with the other platforms and also simplified the code by using the existing wxChoice logic instead of reimplementing it in a broken way
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 20:53:27 +00:00
Vadim Zeitlin
c11f04122f fixed event generation for wxChoice: it now sends one and exactly one wxEVT_COMMAND_CHOICE_SELECTED irrespectively of how the item was chosen and only does it after the dropdown is closed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 20:20:16 +00:00
Vadim Zeitlin
d77d8c0719 don't send EVT_CHOICE events while the dropdown is opened for consistency with the other platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 19:43:27 +00:00
Vadim Zeitlin
bc50a2ae95 log wxChoice events in the same format as wxComboBox ones to make it simpler to compare them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 19:16:35 +00:00
Vadim Zeitlin
9ae1959972 use the sizer to layout the main window/panel (this allows to give more size to the log window by resizing the main frame while before it was pretty difficult to see anything in it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 17:04:23 +00:00
Vadim Zeitlin
985f824c2b fixed printf format warnings for all platforms (previous fix for Darwin broke it for Linux)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 16:51:43 +00:00
Vadim Zeitlin
f87ab3cca3 don't set cursor coords to (0, 0) which could be invalid coordinates (in an empty grid)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 15:44:44 +00:00
Vadim Zeitlin
937f314d3f native implementation of wxDirDialog for wxCocoa (patch 1403780)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 15:30:52 +00:00
Włodzimierz Skiba
71ac8ec3c8 IsValid() is now in base class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 15:25:58 +00:00
Włodzimierz Skiba
0360340068 Line-up interfaces to use size_t for GetCount()s (and count related api).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 15:14:12 +00:00
Vadim Zeitlin
5d0d3e6d72 use %lu and not %d print format for size_t arguments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 15:14:00 +00:00
Vadim Zeitlin
31e57091f2 non virtual dtors warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 15:10:23 +00:00
Włodzimierz Skiba
43f06cfda1 Line-up interfaces to use size_t for GetCount()s (and count related api).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 14:49:25 +00:00
Vadim Zeitlin
e5efa97ec1 regenerated after changes in configure.in in revisions 1.1116 and 1.1117
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 14:44:43 +00:00
Włodzimierz Skiba
a862f3cc19 Make wxTinderbox pass dialup sample for DOS cross-build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 14:34:31 +00:00
Vadim Zeitlin
2e1f50128a support mnemonics for wxStatic/RadioBox and made it easier to add support for more controls by virtualizing the mnemonics support logic (patch 1448178)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 14:21:19 +00:00
Vadim Zeitlin
186344760d support underlined fonts (patch 1448089)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 14:14:59 +00:00
Vadim Zeitlin
01c54165d1 don't require multimon.h any more now (patch 1446030); enable wxUSE_DISPLAY by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 13:49:21 +00:00
Vadim Zeitlin
b931e275f5 remove dead code from wxMatchWild (patch 1445809)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 13:39:41 +00:00
Vadim Zeitlin
20aa779e3e define size() in terms of length(), not vice versa, to make the code somewhat faster in non-optimized builds + some typo fixes in comments (patch 1440237)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 13:37:56 +00:00
Włodzimierz Skiba
9eb5cd3b1f wxCore build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 13:35:59 +00:00
Vadim Zeitlin
0aa7c44136 don't require at least 8 bytes of sound data (patch 1340767); do check that we have enough data before reading it (and crashing)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 13:29:05 +00:00
Włodzimierz Skiba
cceed0407f wxBase build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 13:28:55 +00:00
Włodzimierz Skiba
3b38e2a022 Line-up interfaces to use size_t for GetCount()s.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 13:15:53 +00:00
Włodzimierz Skiba
78fc4e5509 Line-up interfaces to use size_t for GetCount()s.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 13:08:24 +00:00
Włodzimierz Skiba
02e05e7e40 wxTinderbox build fix (!PCH support).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 13:03:40 +00:00
Włodzimierz Skiba
30d5f9f54e More wxMSW specific headers in precompiled headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 13:00:35 +00:00
Vadim Zeitlin
e894be201b GetNumberOfLines() now returns the number of physical, not logical, lines in the control in wxGTK2 as under the other platforms (patch 1438117)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 12:46:58 +00:00
Vadim Zeitlin
c01359d9d5 more accurate best size calculation logic (use the current date format)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 01:22:43 +00:00
Vadim Zeitlin
7fce89b944 deal with the situation when a (dynamic) event handler disconnects itself during its execution (and skips the event, too): this is used to crash but there is no reason it should
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-11 21:50:44 +00:00
David Surovell
2e91d506b2 minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-11 21:13:28 +00:00
Włodzimierz Skiba
f30f25b559 WXUNUSED is our coding standard.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-11 18:42:10 +00:00
Stefan Neis
6433b7f48a Removed -fno-strict-aliasing for OS/2 (not supported by all supported gcc versions).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-11 18:02:38 +00:00
Julian Smart
692ebda6c7 Applied patch [ 1372332 ] Support for WX_RESCOMP to allow MSYS+wx-config to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-11 14:51:45 +00:00
Julian Smart
32ceccf56f Fix crash caused by last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-11 14:49:23 +00:00
Julian Smart
c4709ea55c Applied patch [ 1428990 ] wxUniv: patch for toolbar button remain in pressed status
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-11 14:40:41 +00:00
Julian Smart
de63b922ca Applied patch [ 1443707 ] kill "cast truncates constant value" warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-11 14:33:25 +00:00
Julian Smart
388aa6e289 Applied patch [ 1435340 ] Add support of wxToggleButton to wxGenericValidator
With precomp header fix


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-11 14:28:00 +00:00
Julian Smart
d8909578f7 Applied [ 1425529 ] Tooltip was not removed on deletion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-11 14:22:55 +00:00
Julian Smart
7db713aea6 Applied patch [ 1436761 ] wxGrid: Can't enable cell edit ctrl on very wide columns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-11 14:17:50 +00:00
Julian Smart
4c43dd9078 Applied patch [ 1432449 ] wxXml API documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-11 13:43:58 +00:00
Julian Smart
e8291ef43d Applied patch [ 1447184 ] Elimination of a warning about unused parameters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-11 13:26:16 +00:00
Julian Smart
b6e5dfeff3 Applied patch [ 1447666 ] Fix obscure GTK wxListBox construction bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-11 13:24:07 +00:00
Julian Smart
e7b8da226f Applied patch [ 1447732 ] Fix CVS HEAD for VC6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-11 13:13:00 +00:00
Vadim Zeitlin
ef22edc309 don't Connect() to wxEVT_RIGHT_DOWN twice (fixed problem introduced by last patch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 21:37:20 +00:00
Vadim Zeitlin
443e2f09a5 made DoListHitTest() more efficient (patch 1446848) and also fix it under OS X 10.4 where the coodrinates returned by data browser are client and not screen ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 21:36:25 +00:00
Vadim Zeitlin
c6abf0ef4d define wxUSE_UNICODE=1 on the command line in UNICODE builds (allows to use default wx/setup.h unchanged)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 21:30:03 +00:00
Robin Dunn
06db67bcb0 Applied Patch #1424869: Implement wxListCtrl::SetItemColumnImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 21:26:59 +00:00
Vadim Zeitlin
b4deaacba3 simplification: create listbox in only one place (patch 1447019)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 21:24:29 +00:00
Stefan Csomor
6264c8e2bd patch 1444066
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 19:04:59 +00:00
Stefan Csomor
6945b5878c fixing RawBitmap access
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 18:58:16 +00:00
Stefan Csomor
4b217ea039 not needed anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 18:54:11 +00:00
Robin Dunn
5a86739df2 Increase timeout in order to catch slower clicks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 18:09:22 +00:00
Julian Smart
abd61ebf9b To -> From
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 18:04:55 +00:00
Vadim Zeitlin
bc509e346e OnApply() calls TransferDataFromWindow(), not To
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 18:02:15 +00:00
Robin Dunn
b0d45269cc Applied patch #1441370: lib.plot - allow passing in wx.Colour()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 17:44:48 +00:00
Vadim Zeitlin
cc59d93963 signed/unsigned comparison warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 17:35:39 +00:00
Stefan Csomor
c06bbbff22 additional types for carbon events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 17:02:51 +00:00
Stefan Csomor
2e98aa1243 fix for non precomp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 16:44:10 +00:00
Stefan Csomor
509b4eccfe adding experimental font dialog version - hacking the font panel ...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 16:11:29 +00:00
Stefan Csomor
cdef033465 CodeWarrior fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 16:06:32 +00:00
Stefan Csomor
cd17aeff89 non mach-o fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 16:04:54 +00:00
Stefan Csomor
7ea1c91776 using new API (no visual difference)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 16:03:09 +00:00
Stefan Csomor
2a2e63652d added non mach version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 16:01:08 +00:00
Stefan Csomor
b6b59e43ca support for unicode font names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 15:59:52 +00:00
Vadim Zeitlin
71771e3525 handle directories with spaces in them better
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 13:42:10 +00:00
Włodzimierz Skiba
2e98a222ba Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 10:00:35 +00:00
Włodzimierz Skiba
9f322c6d8f Avoid unexpected negative array index (CID 41).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 09:59:38 +00:00
Włodzimierz Skiba
f402150f77 wxTinderbox build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 09:56:06 +00:00
Włodzimierz Skiba
80cac95edb wxTinderbox warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 09:54:08 +00:00
Robin Dunn
46910b0611 slight refactor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 00:31:25 +00:00
Robin Dunn
35c15a4d84 Test wx.ListBox.HitTest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 00:30:28 +00:00
Robin Dunn
78522d7351 Test wx.CommandEvent.GetClientData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 00:29:03 +00:00
Robin Dunn
c5633576a8 Give classes that need one a destructor wrapper, and set %disown when
another class takes ownership.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 00:27:37 +00:00
Robin Dunn
d344366c42 Add wx.ListBox.HitTest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 00:26:28 +00:00
Robin Dunn
821053dda4 Add wx.CommandEvent.GetClientData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 00:24:32 +00:00
Robin Dunn
f938068ed4 Compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 00:05:02 +00:00
David Surovell
0e859e3223 cleanup magic number usage and comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 00:01:28 +00:00
Włodzimierz Skiba
c45c32033d FontEnum fix: use NULL for global enumeration.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 23:36:32 +00:00
Vadim Zeitlin
8a7fc9b5a7 always return something in GetCommandForVerb() second argument, even if verb not found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 19:09:22 +00:00
Vadim Zeitlin
9e2bd1354a corrected test for NUL in wxHtmlEntitiesParser::Parse() (patch 1443823)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 14:16:49 +00:00
Vadim Zeitlin
9ce754611c call SetWindowPos(SWP_FRAMECHANGED) after changing some styles (patch 1445096)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 14:12:35 +00:00
Vadim Zeitlin
0aed400874 define UDM_{SETRANGE|SETPOS|GETPOS}32 if we don't have them in the headers to allow using full 32bit range even for older compilers/SDK (patch 1439887)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 14:04:41 +00:00
Vadim Zeitlin
c039fef565 don't clear clipboard if it was changed by another application since we used it (patch 1436601)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 13:59:31 +00:00
Vadim Zeitlin
28354d90fc made SetFirstItem() work again (patch 1445170)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 13:47:25 +00:00
Vadim Zeitlin
0faa7620a5 fixed idle event generation logic (thanks to Paul Cornett for patch 1444602)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 13:44:02 +00:00
Vadim Zeitlin
c4fa282ce1 removed useless colMapAllocCounter (patch 1413456)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 13:38:22 +00:00
Vadim Zeitlin
848332140b moved wxapp_install_idle_handler and g_isIdle from many cpp files into gtk/private.h (patch 1435529)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 13:36:53 +00:00
Vadim Zeitlin
1d7e458f1a removed unused ifdef wxUSE_THREADS block (patch 1435521)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 13:33:01 +00:00
Vadim Zeitlin
a52d2b7974 uninitialized variable warning fixed (modified patch 1434065)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 13:23:52 +00:00
Vadim Zeitlin
315a49a10e fix gcc4 warning for wndproc casts (patch 1431939)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 13:18:50 +00:00
Vadim Zeitlin
7fab07efba let _T() work with macros (modified patch 1437983)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 13:16:02 +00:00
Vadim Zeitlin
e5e41cfecb fixed mouse (and other?) events generation broken by recent changes (patch 1446205)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 13:12:18 +00:00
Vadim Zeitlin
c279d9ab2d compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 13:08:07 +00:00
Vadim Zeitlin
57772185bc compilation fix after last commit; some extra comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 13:02:30 +00:00
Vadim Zeitlin
c00fed0ef4 added wxListBox::HitTest() from Ryan (patch 1446207)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 12:48:52 +00:00
Julian Smart
22d29469a0 Missing >
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 07:49:32 +00:00
Robin Dunn
c64371deb2 Patch #1446110: use of uninitialized variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 06:27:59 +00:00
Vadim Zeitlin
8e75dca831 don't check that the cursor is over the window calling SetCursor(), it might have captured it and so want to change the cursor even when it's outside the window boundaries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 03:03:15 +00:00
Robin Dunn
61f0bec0cd Keep the key up/down event consistency without relying on toupper()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 02:20:39 +00:00
Robin Dunn
cdff13184c Applied (a slightly refactored) Patch #1445169: wxListBox bestsize fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 00:32:42 +00:00
Robin Dunn
466c166f5a Fix for bug #1436503. Delay the start of the DnD oprtation in case
the user just intended to click, not drag.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 23:57:45 +00:00
Julian Smart
f75ae77cd7 Name clash correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 23:35:16 +00:00
Robin Dunn
cd2e8564d7 warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 23:22:35 +00:00
Julian Smart
cfe590ae1d Added slightly better font dialog for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 19:45:51 +00:00
Włodzimierz Skiba
d35ad26eee Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 16:34:47 +00:00
Robin Dunn
f355f03e63 workaround MacSetMetalAppearance being made protected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 03:06:25 +00:00
Robin Dunn
1e9bafca0f Updated to Scintilla 1.67
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 01:48:03 +00:00
Vadim Zeitlin
728f972bce don't draw focus rect for custom drawn items when the list control doesn't have focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 01:27:59 +00:00
Vadim Zeitlin
9a3952fad8 generate wxEVT_COMMAND_TEXT_ENTER for multiline controls too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 00:23:36 +00:00
Vadim Zeitlin
d0c3476bd6 correct gcc print format warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 00:20:29 +00:00
Vadim Zeitlin
41f4eb8534 compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 00:19:19 +00:00
Vadim Zeitlin
c5dd5a3dac test EVT_TEXT_ENTER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 00:15:20 +00:00
Vadim Zeitlin
f120af9d56 use wxCHECK instead of wxASSERT to avoid crashing later (coverity checker CID 19)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 00:09:37 +00:00
Vadim Zeitlin
641c5f1a97 don't crash in case of unknown sizer type (coverity checker CID 17)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 00:05:44 +00:00
Vadim Zeitlin
1e5deeb2f1 don't crash in case of incorrectly specified parent type of MDI child frame (coverity checker CID 16)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 00:03:15 +00:00
Vadim Zeitlin
306608eb3c use wxCHECK instead of wxASSERT in CanonicalizePluginName() to avoid crashing in console apps (coverity checker CID 13)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:55:23 +00:00
Vadim Zeitlin
ce46daf91c test for dst!=NULL instead of bpp==1 in Rescale() as otherwise we'd crash on monochrome display (not very common any more, but still) (coverity checker CID 12)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:52:46 +00:00
Vadim Zeitlin
d6a7ca317f don't crash if one of GetAllCommands() parameters is NULL (coverity checker CID 11)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:47:15 +00:00
Vadim Zeitlin
fbf1ee1d09 removed unneeded test for pal!=NULL in ConvertToImage() (coverity checker CID 10)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:44:25 +00:00
Vadim Zeitlin
517cce713e oops, undid last commit, the extra test is unneded (but a comment explaining why it isn't probably wouldn't hurt)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:40:06 +00:00
Vadim Zeitlin
10793ebfbb make sure we don't use uninitalized output stream in OnSysWrite() (coverity checked CID 7)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:38:09 +00:00
Vadim Zeitlin
37b6a42697 fixed crash in case of not subclasses wxWizardPage in the resources (coverity checker CID 18)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:34:34 +00:00
Vadim Zeitlin
32592f4a80 fixed yet another memory leak in LoadGnomeDataFromKeyFile() (coverity checker CID 51)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:32:09 +00:00
Vadim Zeitlin
926ce9e3ac fix another memory leak in SetCommand() (coverity checker CID 52)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:30:43 +00:00
Vadim Zeitlin
cb0b7b7d81 fix memory leak (coverity checker CID 53)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:27:51 +00:00
Vadim Zeitlin
47e6466439 make it clear that m_page is not NULL in OnBackOrNext() (coverity checked CID 20)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:24:55 +00:00
Vadim Zeitlin
455f6b8d94 fixed memory leaks in case of errors during file load in wxSound::Create() (coverity checker CID 54)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:21:08 +00:00
Vadim Zeitlin
e1026179ef fixed a memory leak in case server name couldn't be resolved in MakeConnection() (coverity checker CID 56)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:16:58 +00:00
Vadim Zeitlin
c56ae04274 fixed a big memory leak in DoDrawBitmap() (coverity checker CID 57)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:14:14 +00:00
Vadim Zeitlin
0d2ef7a802 fixed a double free bug in SetBufferIO(size_t) (coverity checker CID 62)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:04:10 +00:00
Vadim Zeitlin
66619ee50c removed useless checks for tree==NULL in wxGenericTreeItem::DeleteChildren(), as tree==this of the calling object (coverity checker CID 6)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 22:56:11 +00:00
Vadim Zeitlin
91894db3d7 simplified the code in ProcessGridCellMouseEvent() to get rid of unreachable code (coverity checked CID 3)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 22:53:10 +00:00
Vadim Zeitlin
af5c81b3fa don't compile the code used only in wxUniv build in the other ports (coverity checker CID 5)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 22:30:01 +00:00
Julian Smart
97148373b3 Tweaks for demos on MacOSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 22:02:37 +00:00
Julian Smart
1d1a4b71e8 Zip up Windows demos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 21:04:05 +00:00
Włodzimierz Skiba
8d5ff32d33 Removed unused and outdated Watcom build files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 20:59:31 +00:00
Julian Smart
21e354f107 Applied patch [ 1445031 ] wxString passed as ellipsis argument in richtexthtml.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 20:40:31 +00:00
Włodzimierz Skiba
4aa14001d2 DMC build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 19:53:43 +00:00
Julian Smart
16c5f4ae6d Fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 19:36:11 +00:00
Włodzimierz Skiba
cececf4db5 Don't send dummy wxCommandEvent. Make members private and use wxW coding standards for them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 18:54:41 +00:00
Włodzimierz Skiba
0e4e783cf0 ::GetFileAttributes takes Unicode in Unicode build, don't use fn_str() (Borland Unicode build fix).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 18:49:17 +00:00
Włodzimierz Skiba
548b537752 Don't send dummy wxCommandEvent.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 18:41:27 +00:00
Václav Slavík
73de5077ce preserve window's content when changing the fonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 18:31:49 +00:00
Włodzimierz Skiba
3568f700f6 Borland build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 18:16:24 +00:00
Vadim Zeitlin
46c48053f4 don't leave evtType uninitialized in gtk_slider_callback() (thanks coverity checker)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 18:13:11 +00:00
Julian Smart
51128f7dab Added script for building and archiving a small range of demo binaries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 16:50:07 +00:00
Julian Smart
0652567356 Reordered symbols since MinGW wasn't getting HDN_GETDISPINFOW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 16:21:37 +00:00
Włodzimierz Skiba
e0b15ca795 Don't link with media lib with USE_MEDIA==0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 15:15:59 +00:00
Włodzimierz Skiba
03575f9bd3 Don't link with media lib with USE_MEDIA==0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 15:01:59 +00:00
Julian Smart
654056ee40 Increase precision of variant conversion to string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 14:52:33 +00:00
Julian Smart
fe4cb4f5ea Allow width to be absent but precision present
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 14:50:50 +00:00
Julian Smart
2dec67617f Added conversion to HTML, by Akin Demirtug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 14:48:17 +00:00
Włodzimierz Skiba
b28a6678e0 Replace dummy wxCommandEvent with dedicated API. Disable resizing of dialog only on subset of WinCEs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 11:41:51 +00:00
Kevin Ollivier
089bac8ed4 Fix for invalid 'invisible' chars.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 07:06:29 +00:00
Mart Raudsepp
2eb1512ac8 Apply patch #1443819 from Paul Cornett - move the GtkTreeIter to the outer scope as to not assign the address of an
auto variable to an outer scope variable (now both are in the outer (function) scope).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 06:55:26 +00:00
Mart Raudsepp
7e48f6d964 Remove the GetItemHeight sample from samples/checklst as it exists only on wxGTK and wxMSW. Improved patch #1443694
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 06:37:29 +00:00
Kevin Ollivier
da00183307 Move generation of the eVC, and DMars formats over to the release scripts.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 06:29:02 +00:00
Kevin Ollivier
403aad7973 Adding Linux and Mac build steps, and updating some build-environ.cfg options.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 06:15:25 +00:00
Kevin Ollivier
c877c0c3be Documentation change, and adding an end linebreak.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 06:13:59 +00:00
Kevin Ollivier
65d7c84cb3 Adding documentation on the automated release system.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 06:04:02 +00:00
Kevin Ollivier
2d09ef21fa Mac and Linux build scripts.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 06:02:42 +00:00
Włodzimierz Skiba
684883e3e3 Present generic dialog on WinCE. Show using/avoiding Ok-button WinCE policy.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 01:50:45 +00:00
Vadim Zeitlin
9d3cb3f369 added a tiny class to call Freeze/Thaw in ctor/dtor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 01:50:21 +00:00
Włodzimierz Skiba
c81c9392fa Apply WinCE OK-button policy. Use standard buttons routines.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 01:45:18 +00:00
Kevin Ollivier
49089236aa Typo fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 01:18:22 +00:00
Kevin Ollivier
98da423304 Script to configure MSVC6 environment for Cygwin.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 00:07:25 +00:00
Kevin Ollivier
d78c9b7e4a Finished moving this over to bash syntax.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 00:02:33 +00:00
Kevin Ollivier
615c15f981 Generate wxMSW zip even if we've turned off InnoSetup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 00:00:03 +00:00
Włodzimierz Skiba
8942f83aca wxWinCE build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-06 23:58:27 +00:00
Robin Dunn
132bcd1256 cleanup doc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-06 21:10:04 +00:00
Robin Dunn
a65ef6fb79 Use EVT_CONTEXT_MENU
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-06 21:09:46 +00:00
Robin Dunn
7748c15cd8 Fix indentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-06 21:06:10 +00:00
Robin Dunn
c15cc56f2d Make the 'this' attribute a real attribute of the Facade, not a
viritual one.  This is needed because of some SWIG optimizations that
will skip using getattr to find the 'this'.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-06 20:19:25 +00:00
Robin Dunn
b0429a4019 Publisher is now able to parse a dotted notation string
into a topic tuple.  For example: subscribing to "timer.clock.seconds"
is the same as subscribing to ("timer", "clock", "seconds").


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-06 20:17:20 +00:00
Václav Slavík
8902898054 fixed win32 code to not use MB_ERR_INVALID_CHARS on win version where it isn't available; roundtrip check is used instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-06 17:36:36 +00:00
Julian Smart
818f394678 Added wxGenericFileDialog to WinCE project to give alternative to
restrictive native dialog


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-06 10:46:37 +00:00
Julian Smart
619111b9aa Fixed wxGenericFileDialog to work with WinCE, so it can be used to
replace native dialog that doesn't allow access to all folders.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-06 10:44:48 +00:00
Kevin Ollivier
d83959ef7c Fixed accidental removal of eVC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-06 04:45:43 +00:00
Kevin Ollivier
603ef9cac8 Enabling DigitalMars and eVC project formats.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-06 04:07:57 +00:00
Kevin Ollivier
918978c710 Needed so we can install TaskRunner to Python's site-packages dir and use it from everywhere. :)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-06 03:19:45 +00:00
Mart Raudsepp
a5bb4f8293 Remove semicolon after if statmce that can potentially cause harm later. Patch #1443820 from Paul Cornett
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-06 02:17:49 +00:00
Włodzimierz Skiba
51bc4da1e9 Minimal (nearly empty) wxDisplay for wxMGL (to compensate src/common/tplvcmn.cpp wxDisplay usage).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-05 23:42:03 +00:00
Vadim Zeitlin
2934338f05 use WXSIZEOF() instead of hardcoded number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-05 20:52:34 +00:00
Vadim Zeitlin
0e5edcda8a don't Printf() a string into itself (bug indicated by patch 1443669)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-05 20:50:25 +00:00
Vadim Zeitlin
2353544718 fix to last custom draw fix: only leave space for the image in the first column
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-05 13:30:11 +00:00
Vadim Zeitlin
8a5434c1a5 corrected typo in PRC Envelope paper definition (used m instead of mm)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-05 12:40:46 +00:00
Vadim Zeitlin
0e31545d0c update from Ch. Buck
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-05 12:30:25 +00:00
Vadim Zeitlin
25e6a4a698 another custom draw fix: leave space for the image even if the current item doesn't have any but the list control has an image list (because this is what the standard drawing procedure does)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-05 12:12:11 +00:00
Vadim Zeitlin
13845bd57c don't trust CDIS_FOCUS flag vale in custom drawing code, it is no more correct than CDIS_SELECTED so we have to get it from the control itself directly too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-05 11:26:13 +00:00
Robin Dunn
5ce8a6113a GetEditControl is not wxMSW specific any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-05 04:01:10 +00:00
Robin Dunn
b4b426fe86 Dont' return references to wxDateTime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-05 04:00:35 +00:00
Robin Dunn
971e47976f Comment out wxHVScrolledWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-05 04:00:08 +00:00
Robin Dunn
df5f8f4e3d Add GetHandlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-05 03:59:45 +00:00
Robin Dunn
7d50c11074 Add copy constructor, DateTimeFromDateTime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-05 03:59:06 +00:00
Vadim Zeitlin
9d0b3fc5b7 removed main() definition from wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-05 00:52:56 +00:00
Włodzimierz Skiba
eb4f312b05 Follow coommon changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-05 00:44:04 +00:00
Włodzimierz Skiba
40319aa0ce Build fix: help OW 1.4 to apply template.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-05 00:38:59 +00:00
Vadim Zeitlin
94245f6df0 handle size==-1 or absence of size parameter in font tag as expected, i.e. by ignoring it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-04 22:40:16 +00:00
Vadim Zeitlin
f0756835d5 don't send mouse events to disabled windows (this really shouldn't be possible as otherwise it allows the user to modify the state of a disabled control)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-04 22:09:40 +00:00
Vadim Zeitlin
f124c9086b no real changes; just streamlined ifdef around compositing check and removed redundant and never executing code to relay mouse enter/leave events to tooltips
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-04 21:28:39 +00:00
Vadim Zeitlin
9a6a4f6d57 deselect the current selection when the user clicks outside of any item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-04 20:42:54 +00:00
Włodzimierz Skiba
5b7df27e4c More informative comment about previous commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-04 20:34:12 +00:00
Vadim Zeitlin
c1318d3fa2 don't use grey background for the control, it makes selection almost completely invisible in the default Mac colour scheme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-04 20:26:14 +00:00
Vadim Zeitlin
75ae9acfa8 fixed crash due to double deletion of wxListTextCtrlWrapper intorduced in a recent change (wrong use of PopEventHandler instead of RemoveEventHandler)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-04 20:24:48 +00:00
Vadim Zeitlin
ebadbb76d3 centre icon and text vertically in the report view (previously the text wasn't aligned with the icon if their heights was different)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-04 19:52:10 +00:00
Vadim Zeitlin
d54a3e735e recognize wxBORDER_XXX as well as wxXXX_BORDER styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-04 18:55:38 +00:00
Julian Smart
f350d4b2ee If context menu not handled, treat as left click instead.
If handled, don't send a left click event.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-04 18:18:28 +00:00
Vadim Zeitlin
a02debb4c6 mention wxEventUpdateUI::Show() change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-04 16:12:07 +00:00
Václav Slavík
1e22bc9233 added comments clarifying the code a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-04 11:12:02 +00:00
Kevin Ollivier
e8e59fe61c Adding silent option for automatic builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-04 03:41:22 +00:00
Kevin Ollivier
ad17c279f3 Committing Mac tarball script.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-04 03:36:28 +00:00
Vadim Zeitlin
48733d4741 move the code freeing temporary argv array to wxEntry(HINSTANCE) overload to avoid doing it twice in some cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-03 23:06:54 +00:00
Włodzimierz Skiba
5ff845876f Stop invalidating size on wxTLW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-03 15:26:14 +00:00
Kevin Ollivier
8fc3a8c911 Adding Unix build script.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-03 06:17:04 +00:00
Kevin Ollivier
d9114aa6e9 Don't fetch makefiles, we'll add their creation to the pre-flight process later.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-03 02:28:53 +00:00
Kevin Ollivier
77b14ee244 Fixed a typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-03 02:00:39 +00:00
Kevin Ollivier
ec43e6824c Remove the reference to ReleaseForge now, as we don't yet use it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-03 01:47:40 +00:00
Kevin Ollivier
03a2668fed As discussed with Julian, the new release system will use a new directory so that we are more free to make changes, and also so we can re-organize files and remove old files. This is still a work in progress!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-02 20:23:54 +00:00
Stefan Csomor
5eef2b35e3 fix unresolved symbol under 10.3.9
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-02 20:02:44 +00:00
Mart Raudsepp
304b9d52cf Docs: Escape underscores
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-02 13:59:27 +00:00
Julian Smart
6b775e666c On WinCE, generic font dialog didn't work because the point size wxChoice
menu went off the display. Now a wxSpinCtrl is used. Also fixed the preview
window in PDA mode (was invisible).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-02 12:57:30 +00:00
Julian Smart
07225d48b6 Application clipping region can be set to null without affecting
paint clipping region. This fixes severe refresh problems on WinCE
when clipping regions are used, and is experimental on desktop wxMSW
but so far works fine.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-02 12:54:47 +00:00
Julian Smart
3919d5306a Worked around a crash in wxHTML on WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-02 12:51:22 +00:00
Julian Smart
dd28209328 Use temp directory and don't prepend two backslashes, on WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-02 12:46:06 +00:00
Robert Roebling
3f3af7e7f8 Change wxVariant GetValue() to GetValue( wxVariant & ).
More cool sorting code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-02 10:46:01 +00:00
Robert Roebling
04e044c4d6 Use GTK+ function to obtain GdkWindow for wxListBox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-02 09:55:07 +00:00
Robert Roebling
fe39b16a97 Apply patch which makes it possible to resize a
control in a toolbar.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-01 22:43:57 +00:00
Robert Roebling
dcd3c79cfa Corrected scrolling when using cursor keys.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-01 22:17:16 +00:00
Robert Roebling
65616292d0 Added GtkTreeView item helper class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-01 21:59:55 +00:00
Robert Roebling
4a46cbe8c6 Applied Ryan's native wxListBox and wxCheckListBox patch
in slightly modified form..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-01 21:51:42 +00:00
Robert Roebling
4eccd3a10f Further sorting work using the sorting data model.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-01 10:49:06 +00:00
Robert Roebling
abd6692ca8 Added stubs for variaous tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-28 22:27:09 +00:00
Robert Roebling
241cb04bd8 Don't delete model in views destructor as several
views can have the same model and memory doesn't
    like getting freed several times.
  Sorting actually works. Not yet editing the sorted
    data.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-28 21:41:13 +00:00
Robert Roebling
8f850e2831 Moved code around preparing the sorted model.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-28 15:04:25 +00:00
Julian Smart
53754b9293 Documented WinCE context menu change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-28 14:28:41 +00:00
Julian Smart
92f07cf89e Proposed syntax for telling WinCE whether a context menu is available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-28 14:18:45 +00:00
Julian Smart
7d4f65e393 Added context menu support under PocketPC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-28 13:37:23 +00:00
Julian Smart
42b16af462 WinCE can't copy with title in menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-28 13:26:55 +00:00
Robert Roebling
8981608c69 Added wxDataViewSortedListModel, which doesn't work
yet, but you get the idea..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-28 10:47:28 +00:00
Kevin Hock
30bbf68d3a Make SetLocal actually work instead of crashing immediately; due to required longevity of the item to make it from SetLocal to Connect, we need to use a specifc address type.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-28 02:04:29 +00:00
Kevin Hock
fb3234e549 Make MacSetMetalAppearance private so that the extra style flags can't get out of sync with the OS X-level metal flags by calling MacSetMetalAppearance directly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-28 01:33:54 +00:00
Robert Roebling
f0bc6afbbd First release mouse, then emit event.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-27 21:49:48 +00:00
Kevin Ollivier
913fffd75a Adding missing wxall and wxmsw targets.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-27 19:30:06 +00:00
Kevin Ollivier
582241e4a4 Typo. Who puts vowels in 'makedirs'? ;-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-27 18:26:10 +00:00
Vadim Zeitlin
e2fb71bc85 fix for wxPathList::FindValidPath() for wxUSE_STL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-27 15:14:27 +00:00
Robert Roebling
3c05fe1dbc Removed superfluous code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-27 14:20:44 +00:00
Robert Roebling
5d605a6995 MVC works now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-27 14:18:24 +00:00
Robert Roebling
b5d777c78e Added generic MVC hookup code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-27 13:09:41 +00:00
Robert Roebling
7ea3a0de1e Most things about wxDataViewDateCell work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-27 09:34:50 +00:00
Robert Roebling
33c0d0ed75 Make wxTransientPopupWindow ignore button down events
which have been sent before or at the same time as
    the control creation time so that these evens don't
    make the control disappear again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-27 09:16:28 +00:00
Kevin Ollivier
c8470018b8 Sorry, zapping rogue print statement. ;-/
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-27 05:52:56 +00:00
Kevin Ollivier
d3c518f985 Bumping the arg numbers since we now don't have a CFGFILE as first argument.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-27 05:06:06 +00:00
Kevin Ollivier
f1a9f3318b Adding code to load Config objects from a file, and move to modifying environment variables rather than sourcing the config file (so that every script is not required to do this).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-27 03:25:48 +00:00
Robert Roebling
a78d8dd08a Move wxDataViewCtrl to Adv (hope this has worked..).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-26 19:26:19 +00:00
Stefan Neis
9e87870780 Added handling of dashes (patch #1438894).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-26 16:53:11 +00:00
Robert Roebling
4d496ecbc4 Some restructuring, beginning of wxDataViewDateCell.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-26 15:48:42 +00:00
Włodzimierz Skiba
c644b82e76 Missing wxPen (dashes) members.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-26 10:45:38 +00:00
Włodzimierz Skiba
1914bb8e12 WinCE friendly wxCheckListBox sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-26 02:04:58 +00:00
Włodzimierz Skiba
c5491b21d9 Correct wxCheckListBox insertion.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-26 02:00:46 +00:00
Robert Roebling
553f7d8f56 Makes custom cell activatable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-26 01:51:28 +00:00
Włodzimierz Skiba
1272e71b8a Revitalise SIP support in all toplevel wince windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-25 23:11:26 +00:00
Włodzimierz Skiba
555b2ce915 Make wxWinCE buildable (workaround eVC++ limitations).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-25 21:15:50 +00:00
Mart Raudsepp
fc2e1beec2 Revert the strict aliasing "fix". As per Michael Wetherell it isn't correct as we aren't able to make a runtime
guarantee for the cast to be correct


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-25 14:51:59 +00:00
Robert Roebling
1a36756471 Add scrollbars, fix crash, leak less memory.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-25 14:07:06 +00:00
Robert Roebling
ad63bf413b Added wxDataViewProgressCell with native code
for GTK 2.6 and fallbacks otherwise.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-25 13:13:05 +00:00
Robert Roebling
8045736e4d Add compilation guards.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-25 12:07:19 +00:00
Jamie Gadd
b7e5ba8f2d Fixes for WinCE build caused by my last commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-25 03:36:45 +00:00
Vadim Zeitlin
fb7e87effa cleaned up and disabled by default the toolbar buttons colour remapping code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-25 03:28:19 +00:00
Vadim Zeitlin
5cce8340b2 DT_WORD_ELLIPSIS is not defined under CE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-25 00:22:20 +00:00
Vadim Zeitlin
b7e1957a67 we need to pass szLocale allocated by strdup() and not retloc itself to setlocale()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 23:40:18 +00:00
Vadim Zeitlin
70ad0e06f0 need to include wx/treectrl.h to use CLASSINFO(wxTextCtrl)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 23:40:01 +00:00
Robin Dunn
4f160924b3 Use correct attribution
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 19:53:56 +00:00
Robert Roebling
e152afc3d4 Added wxDataViewCustomCell.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 18:19:55 +00:00
Robin Dunn
b30b49e993 Workaround the lack of a wx.EVT_FIND_CLOSE on Windows when doing a
normal search.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 18:14:24 +00:00
Mart Raudsepp
4fcf6b4849 Test commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 16:55:03 +00:00
Mart Raudsepp
1ac9fdc52e Test commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 16:41:14 +00:00
Mart Raudsepp
7f7beb1d3a Fix gtk callback return types and more in window.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 16:37:06 +00:00
Julian Smart
f7273ce09a Fixed interpretation of selection and added selection/check notification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 16:00:42 +00:00
Vadim Zeitlin
26e8da413c implemented EditLabel() with custom text controls and GetEditControl()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 15:32:29 +00:00
Jamie Gadd
3c96418b71 Make wx{List,Tree}Ctrl resize their standard font if the user changes the system font.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 14:19:12 +00:00
Robert Roebling
605c2c4ac6 added wxDataViewToggleCell
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 13:19:23 +00:00
Robert Roebling
f081c944e8 Implemented user dashes for PS print.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 11:53:52 +00:00
Robert Roebling
8c419a5c4d Implemented user dashes for gnome print.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 11:41:20 +00:00
Robert Roebling
74ab0bfbb7 New implementation for printing circles and epllipses.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 09:36:35 +00:00
Robin Dunn
e773f79b19 Allow clearing the history, and saving the history on demand
Let the session tab show all of the history
Fix case-sensitive searches to actually allow case-insensitive
Make wx.WXK_NUMPAD_ENTER equivalent to wx.WXK_RETURN


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 01:21:26 +00:00
Robin Dunn
4251af7e75 Merge some 2.6-branch changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 01:15:50 +00:00
Robin Dunn
28ff70c21f Minor demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 01:13:55 +00:00
Robin Dunn
23ed80cb4d Add LastWrite
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 01:13:18 +00:00
Robin Dunn
c86fa5a1fa Add CalcRowsCols
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 01:12:40 +00:00
Robin Dunn
9c38390133 Docstring fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 01:11:56 +00:00
Robin Dunn
df75c66c35 Give attribution to Jorgen Bodde
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 01:08:06 +00:00
Robin Dunn
bea992c873 Docstring fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 01:05:19 +00:00
Robin Dunn
760b2b99f3 Use wxSystemSetitngs for the rule color
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 01:04:21 +00:00
Robin Dunn
1d84f787f4 Use UNICODE=0 for ansi builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 01:03:18 +00:00
Jamie Gadd
1d6e57680c Fix bug where labels were multicoloured if their length > box width using XP with a non-default colour.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-23 13:50:39 +00:00
Robert Roebling
a7f61f762d wxDataViewCtrl now with editable text and multiple
views for the same data model (in the sample).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-23 13:34:15 +00:00
Mart Raudsepp
a237731e1c Test the commit announcement bot some more by fixing more gtk signal callback handler signatures. Are any correct?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-23 11:09:28 +00:00
Mart Raudsepp
5d4c083326 Use correct return type for some of the signal callbacks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-23 10:57:17 +00:00
Kevin Ollivier
f814ff336e Finishing up Monolithic build support, and proper generation of more wx library names under multilib builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-23 06:59:40 +00:00
Robert Roebling
6090c7d328 Return variant type of a cell.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-23 03:09:27 +00:00
Robert Roebling
7b4fde8255 Route data from wxDataViewModel in a wxVariant
through wxDataViewCell::SetValue() to the
   GtkCellRendererText.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-23 03:04:15 +00:00
Robert Roebling
0313c114f5 Update sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-23 02:11:57 +00:00
Robert Roebling
6842a71a5b added wxDataViewCell
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-23 02:04:46 +00:00
Robert Roebling
8ab9a53699 Support requesting more idle events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-22 23:37:46 +00:00
Robert Roebling
38f69be155 Emit wxSetCursorEvent before mouse move and
mouse enter.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-22 23:36:32 +00:00
Robert Roebling
9b0d12e94f Correcteded wxComboBox::Clear
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-22 22:37:15 +00:00
Mart Raudsepp
5b008dd712 undef GTK_DISABLE_DEPRECATED for any gtk+ version, as it turns out we use GtkList in here too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-22 17:15:20 +00:00
Václav Slavík
2e6a9dad08 skip the paint event instead of calling wxControl version when not doing any custom drawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-22 12:33:02 +00:00
Kevin Hock
b74865fa61 Rearrange and simplify read and error checks, and remove use of MSG_PEEK that is unneeded and not supported on CE anyway [ Modified & Expanded Patch 1428745 ]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-22 01:55:43 +00:00
Robert Roebling
fa28826dd3 Added wxDataViewColumn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-22 00:19:04 +00:00
Mart Raudsepp
7ef2db2570 Revert inclusion of wx/dateevt.h for now, as it breaks linkage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-21 22:14:31 +00:00
Robert Roebling
6e2e590f2a Add notifier class.
Only use listmodel for now, treemodel later.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-21 20:52:05 +00:00
Robert Roebling
111f83c49e wxDataViewCtrl actually runs now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-21 20:25:47 +00:00
Robert Roebling
260b9be703 More compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-21 19:55:58 +00:00
Włodzimierz Skiba
0f30d8e39e Fixed using list of wildcards in filter of wxDocTemplate.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-21 19:53:31 +00:00
Robert Roebling
1557c77b9f Compiles now..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-21 18:44:13 +00:00
Robert Roebling
64ffb88849 Compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-21 18:12:44 +00:00
Robert Roebling
bc3448951d Added wxDataViewtrl files to bakefiles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-21 17:57:26 +00:00
Robert Roebling
239eaa4154 wxDataViewCtrl WIP.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-21 17:35:19 +00:00
Robert Roebling
362d7fb988 Updated wxDataViewCtrl sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-21 17:31:36 +00:00
Roman Rolinsky
0159bfd008 corrected positioning of internal panels, as the default value -1
was used as a real coordinate causing extra pixels in the right margin


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-21 14:23:48 +00:00
Mart Raudsepp
6ebf3215ff wxGTK2: Declare GTK_DISABLE_DEPRECATED in defs.h. I will be monitoring the tinderbox, and think on how to rearrange
the declarations and inclusions related to this.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-20 21:34:42 +00:00
Mart Raudsepp
1efb5db896 Make everything compile with GTK_DISABLE_DEPRECATED declared.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-20 21:28:53 +00:00
Robert Roebling
cc7e9e2083 Added test for wxComboBox::SetString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-20 17:12:07 +00:00
Robert Roebling
590f50d6cc Make use of GTK 2.4 GtkComboBox if it is available,
fall back to old GtkCombo one if not (run-time check).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-20 17:10:49 +00:00
Jouk Jansen
088af5898e Committing in .
Update of OpenVMS compile support

 Modified Files:
 	wxWidgets/setup.h_vms wxWidgets/src/common/descrip.mms
 	wxWidgets/src/generic/descrip.mms
 	wxWidgets/src/gtk/descrip.mms wxWidgets/src/unix/descrip.mms
 	wxWidgets/src/unix/displayx11.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-20 13:47:08 +00:00
Robert Roebling
1fb33bdb46 Rename gtk_ callbacls to gtkcombo_ callbacks
to make room for gtkcombobox_


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-20 11:35:31 +00:00
Julian Smart
e934052eb0 Include dateevt.h from datectrl.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-20 09:14:45 +00:00
Vadim Zeitlin
2d0bea2c37 fix MT-unsafe accesses to wxConditionInternal::m_numWaiters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-19 14:38:20 +00:00
Mart Raudsepp
b0c43acc87 wxGTK2: gtk_signal_disconnect_by_func isn't used anywhere anymore. Nuke prototype from gtk/private.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-18 23:44:40 +00:00
Robin Dunn
49102d7bd0 Added the wx.HVScrolledWindow class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-18 21:43:28 +00:00
Robin Dunn
1ad0de842d Treat Ctrl-Shift-Backspace the same as ESC in the shell.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-18 21:41:10 +00:00
Robin Dunn
c32253089b Prevent using a bad tree item.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-18 21:40:57 +00:00
Robin Dunn
4424b2a116 Added the wx.HVScrolledWindow class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-18 21:37:24 +00:00
Vadim Zeitlin
f3a69d1df1 gcc initializer order fix warning (patch 1432835)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-18 18:16:57 +00:00
Mart Raudsepp
0c83d5ef4b wx_gtk_vmsjackets.c seems to not be used by anything these days. Delete on both wxGTK ports.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-18 13:49:53 +00:00
Vadim Zeitlin
bcc1153a9e compilation fix for old SDK headers (such as shipped with VC6)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-17 21:25:05 +00:00
Roman Rolinsky
6165053b84 Fixed Cut command, added support for MenuBar inside Frame/Dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-16 17:19:39 +00:00
Vadim Zeitlin
eb3efe0d4b compilation fix after removing wxImage(wxImage *) ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-16 14:12:02 +00:00
Robert Roebling
5985c07ce0 Allow tabbing in wxRadioBox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-16 11:26:03 +00:00
Robert Roebling
4c20ee63f0 Use g_signal_connect_after for GTK+ native controls
and wxTopLevelWindow focus events and the normal
    _connect for custom controls.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-16 09:00:45 +00:00
Julian Smart
f01bca89fd Applied patch [ 1431955 ] Fixes wxSocket* _Wait/Select
From Angel Vidal Veiga


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-16 08:53:35 +00:00
David Surovell
3025abca05 cleanup - reformatting (pt 2)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-16 06:16:56 +00:00
Robin Dunn
06336f51bb Added GetToolsCount
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-16 03:07:20 +00:00
Robin Dunn
a3e9caa2b5 Fix for Bug #1432054: ToolBar controls not removed by ClearTools
Use DeleteTool in ClearTools instead of just destroying the internal
list, so the toolbar is kept fully in sync with the removal of all
tool types.  Also fix wxMSW version to actually Destroy() the controls
when they are deleted from the toolbar.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-16 03:03:43 +00:00
David Surovell
3b6a117962 cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-16 01:03:29 +00:00
Michael Wetherell
b26ed94e4f The cyrillic characters used in the CaseChanges() test have different values
on different platforms depending on the cyrillic character set used. So try
generating these from the Unicode instead of using fixed values.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 21:16:45 +00:00
Michael Wetherell
0c09451870 Warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 21:16:10 +00:00
Mart Raudsepp
f1e57cb96f Revert. Crashes single-line wxTextCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 20:14:12 +00:00
Mart Raudsepp
4adf7c2be5 Connect focus_out_event handler before the default handler, as to suppress queue_draw when appropriate, that the
default one does.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 20:09:10 +00:00
David Surovell
cc374a2f29 cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 19:59:27 +00:00
David Surovell
1089fc00cd cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 16:31:05 +00:00
Mart Raudsepp
f7108f16cc Use correct type for storing return value. gboolean instead of bool.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 15:49:09 +00:00
Vadim Zeitlin
ed5bc8f1bf return non-numpad key codes from wxCharCodeMSWToWX() if it is called with lParam==0 (this happens only when it's not called from WM_KEYDOWN/UP/CHAR handler and so we don't have information about which key was really pressed)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 15:04:04 +00:00
Vadim Zeitlin
b1ac62dda7 fixed USE_QA_DEFAULT usage (bug 1431952)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 14:57:41 +00:00
Mart Raudsepp
aaf53059fe Wrap the warning suppress of SetSize around #ifndef WX_WARN_ILLEGAL_SETSIZE.
configure with CFLAGS="-DWX_WARN_ILLEGAL_SETSIZE" when wanting to deal with the problem and therefore see the
warnings.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 14:26:53 +00:00
Mart Raudsepp
f3a5f83a66 The return types for enter/leave-notify-event and focus-in/out-event handlers are gboolean, not gint
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 14:01:20 +00:00
Robert Roebling
0050e023dc The focus handling change in wxTopLevelWindows broke
a few things.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 13:26:28 +00:00
Michael Wetherell
1d805c1468 Fix for 64-bit systems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 12:59:37 +00:00
Michael Wetherell
fec7aeabc1 Check encoding names case insensitively
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 12:58:50 +00:00
Robert Roebling
628bad7560 Alter focus handling to disable GTK+ standard
behaviour for custom controls (non native
    controls) so that window is not invalidated
    after focus in and out. Leave native control
    alone.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 12:10:47 +00:00
Robert Roebling
d77836e48c Applied wxVScrolledWindow patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 09:59:39 +00:00
Jouk Jansen
93d3dbd4b3 Committing in .
first version of wxGTK2 for OpenVMS. At present for debugging only.

 Modified Files:
 	wxWidgets/descrip.mms wxWidgets/setup.h_vms
 	wxWidgets/contrib/src/deprecated/descrip.mms
 	wxWidgets/samples/minimal/descrip.mms
 	wxWidgets/src/common/descrip.mms
 	wxWidgets/src/generic/descrip.mms
 	wxWidgets/src/gtk/descrip.mms wxWidgets/src/html/descrip.mms
 	wxWidgets/src/unix/descrip.mms wxWidgets/src/xml/descrip.mms
 	wxWidgets/src/xrc/descrip.mms
 Added Files:
 	wxWidgets/lib/VMS_GTK2.OPT
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 09:33:40 +00:00
Robert Roebling
cbab6fe5ff Reenable wxFULL_REPAINT_ON_RESIZE line.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 09:02:58 +00:00
Roman Rolinsky
57c48fc465 OnReplace not yet undoable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 23:06:34 +00:00
Robin Dunn
1225122523 make the stay-on-top mode controlled by a command-line parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 22:15:24 +00:00
Robin Dunn
b1fcee843e reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 22:13:50 +00:00
Robin Dunn
e17b4db3f8 Applied patch #1431193: work around for recent fileuri change in mediactrl + fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 22:04:49 +00:00
Roman Rolinsky
126080e46c update of Paste command, new revision
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 21:08:02 +00:00
Roman Rolinsky
1893848ef7 fix for memory leak in paste
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 20:58:11 +00:00
Robert Roebling
67cbdfc150 More experimenting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 13:54:51 +00:00
Mart Raudsepp
9a71e770e1 Cast to void* before casting to Node** to make the compiler do no strict-aliasing assumptions, and suppress a warning
if -fstrict-aliasing (enabled with -O2, -O3 and -Os unless forced off as is planned for the time being) is used.
See http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/70262 for details.
Also return NULL instead of 0 in the same GetNodePtr, as the return type is a pointer, not integer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 09:21:37 +00:00
David Surovell
f2b8291a28 cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 06:54:06 +00:00
David Surovell
0ce0b76b50 cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 04:41:07 +00:00
Kevin Hock
8dc6614e60 Fix wxComboBox constructors after keyboard access commit, not all constructors were setting the parent container pointer. Added Init method and put all the constructors together in the header (rather than being split between h and cpp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 04:00:39 +00:00
Vadim Zeitlin
e6b1317b79 modified custom draw code to fully draw the items using a font with encoding different from the system one as the native list control ignores the font encoding; seems to finally work somehow but there is still horrible flicker as the items seem to be redrawn on every mouse move over them, no idea how to avoid this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 03:49:20 +00:00
Michael Wetherell
4077791b7f Fix for reversed masks on displays with 8-bit depth, reported in patch 1219989.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 22:12:33 +00:00
David Surovell
51c4d2a5a0 cleanup - refomatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 21:44:48 +00:00
Vadim Zeitlin
8f14114792 declare lists as exported, seems to be necessary in VC5 DLL builds and shouldn't hurt elsewhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 21:20:26 +00:00
Robin Dunn
ec646e6384 New APIs, Events, etc. for MediaCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 19:20:46 +00:00
Robin Dunn
a067618812 a little tweak to the debug code (commented out)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 19:20:24 +00:00
Robin Dunn
ddba849c38 don't hide the log messages, and be sure to stop the timer when done
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 19:19:39 +00:00
Robin Dunn
aa5644aee0 Show some GradientFill usage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 19:18:29 +00:00
Robin Dunn
14b37d975b change doc tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 19:17:28 +00:00
Robin Dunn
1f168cbd49 New APIs, Events, etc. for MediaCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 19:15:16 +00:00
Robin Dunn
3edb17decf new GetShown, Show, and etc. for wx.UpdateUIEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 19:13:38 +00:00
Robin Dunn
b702ab768f a little reorg and cleanup from the last two revisions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 19:12:31 +00:00
Robert Roebling
790b137ee9 Starting wxDataView..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 16:34:56 +00:00
Vadim Zeitlin
2884838a3c fixed transparency handling broken by the last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 15:30:28 +00:00
Vadim Zeitlin
4e43c81518 minor docs corrections and improvements from Andreas Mohr (patch 1430551)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 15:18:35 +00:00
Vadim Zeitlin
fccb65a23c fixed SetAddress() for self-assignment (patch 1430703)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 15:16:37 +00:00
Vadim Zeitlin
a64bba4eb5 use C cast instead of reinterpret_cast which doesn't work for casting pointers to functions to pointers to objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 14:58:21 +00:00
David Surovell
7af14d7187 cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 09:10:34 +00:00
David Surovell
cc224d6e79 cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 08:03:37 +00:00
Vadim Zeitlin
e493ecef80 fixed several crashes in XPM parsing code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 03:04:40 +00:00
Jamie Gadd
36eadb4ff3 Rearrange build order so it successfully builds dll versions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 02:39:03 +00:00
Vadim Zeitlin
7447bdd7b7 fix client to screen (and vice versa) conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 00:49:24 +00:00
Vadim Zeitlin
38b2e0de18 blind compilation fix for 64 bit systems after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 00:26:33 +00:00
Kevin Ollivier
e069db2d65 Easy fix for automated uploads (I thought I tried this and it failed, but fortunately I was wrong there) and leave a note about rebaking until it's implemented.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 00:19:05 +00:00
Vadim Zeitlin
8235976431 fixed wxFontMapper behaviour under wxGTK2: it now just maps all encodings to UTF-8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 23:39:55 +00:00
David Surovell
0ec80ebe6f cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 23:37:07 +00:00
Vadim Zeitlin
6b71411ac9 get (temporarily) rid of GTK+ debugging messages about negative width and size as this makes programs built with wxGTK2 unusable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 23:21:55 +00:00
David Surovell
3e822cd8d0 clean - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 23:17:35 +00:00
Włodzimierz Skiba
b1a1a83c92 wxPalmOS build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 18:47:53 +00:00
Włodzimierz Skiba
0e2d298670 !WX_PRECOMP (wxPalm) build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 17:51:44 +00:00
Vadim Zeitlin
a3a4105df6 it is not possible to show/hide the window from the UpdateUI event handler; refactored the code by moving control-specific parts into the derived classes (patch 1338350)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 16:32:50 +00:00
Vadim Zeitlin
27237c3708 don't use #error as some compilers ignore it; provoke a real compile error instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 13:55:19 +00:00
Vadim Zeitlin
0a9ed8f14e trick the sizer code into thinking that the wizard pages are shown so that it takes them into account for the layout, even if they're not really shown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 13:48:49 +00:00
Vadim Zeitlin
88517d9008 no changes; just added some comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 13:37:45 +00:00
Włodzimierz Skiba
b9a958e66f wxWinCE warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 13:16:52 +00:00
Vadim Zeitlin
e35d07b9d0 compilation fix for VC8 (see patch 1429985)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 13:08:37 +00:00
Włodzimierz Skiba
bc8793f4d2 wxUSE_UXTHEME=0 (WinCE) build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 13:06:54 +00:00
Vadim Zeitlin
f74fd79b8e removed extra semicolons added by previous patch (patch 1429906)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 13:01:07 +00:00
Vadim Zeitlin
9002a61c32 fixed memory leak in the sample and simplified wxCheckListBox creation code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 12:54:19 +00:00
Vadim Zeitlin
3ff260ae2c typo in comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 12:40:18 +00:00
Michael Wetherell
8d7eaf9140 Warning fixes for VC5 (Igor Korot)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 12:16:56 +00:00
Michael Wetherell
51d0522672 Some compilers don't define SIZE_T (e.g. dmc) so use size_t instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 11:00:45 +00:00
Julian Smart
2baea9e267 Script tweak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 10:28:33 +00:00
Stefan Csomor
7e81aa035c intel fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 09:00:44 +00:00
Jamie Gadd
5483756fdc Replace deprecated wxNB_* flags with wxBK_* used in last commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 08:43:01 +00:00
Robin Dunn
a2c53287f8 Forward decalre wxPyFindSwigType
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 08:17:29 +00:00
Robin Dunn
ddbb966daa Added the wx.DC.GradientFillConcentric and wx.DC.GradientFillLinear
methods.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 08:16:10 +00:00
Kevin Hock
29c731cae9 Add missing include for non-PCH builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 03:43:53 +00:00
Kevin Hock
36287f1a97 Add missing include for non-PCH builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 03:11:37 +00:00
Vadim Zeitlin
f154b9fa94 typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 02:21:13 +00:00
Vadim Zeitlin
213ad8e72c added linear and concentric gradient fill functions (modified/fixed patch from Ryan Norton)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 01:57:31 +00:00
Michael Wetherell
d6bf7254f4 Add -fno-strict-aliasing to the optimisation flags for gcc as discussed on wx-dev
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 01:55:41 +00:00
Kevin Hock
24f4fc23ac Note wxSOCKET_REUSEADDR and SetLocal/Connection changes [ Result of extended patch 1415505 ]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 00:46:14 +00:00
Kevin Hock
2ccd904b01 Document new SetLocal method, new capabilities for wxSOCKET_REUSEADDR, and new overloaded Connect method [ Documentation changes for extended patch 1415505 ]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 00:44:54 +00:00
Kevin Hock
716a5baa6e Respect the REUSEADDR flag to allow rebinding; bind to local port prior to connecting if a local port is specified [ Extension of patch 1415505 ]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 23:44:26 +00:00
Kevin Hock
c232b3cdc6 Respect the REUSEADDR flag to allow rebinding; bind to local port prior to connecting if a local port is specified; add SO_REUSEPORT wherever SO_REUSEADDR is used if SO_REUSEPORT is defined, otherwise reuse fails on BSD systems (e.g. Mac OS X) [ Extension of patch 1415505 ]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 23:43:17 +00:00
Kevin Hock
33d925b0d9 Add SetLocal method; overload Connect to accept a local address and move common Connect code into DoConnect; DoConnect handles wxSOCKET_REUSEADDR flag and setting local address [ Heavily modified and expanded patch 1415505 ]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 23:39:25 +00:00
Robin Dunn
080b9cbc7f Rearrainge things so the SWIG_VERSION values doesn't need to be
written to the C++ wrapper file.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 19:46:49 +00:00
Robin Dunn
12e7f72a35 Docstring update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 19:45:38 +00:00
Robin Dunn
7c30eb5a42 No longer need the SWIG_VERSION to be output to the C++ file, so
remove that change from the patch.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 19:45:17 +00:00
Kevin Ollivier
b41b09e285 Documenting WX_MONOLITHIC build option.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 18:41:11 +00:00
Vadim Zeitlin
a4d2944e64 added assignment operators from int for disambiguation of expressions such as ll=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 17:30:26 +00:00
Vadim Zeitlin
bb60e16c8f removed stray #endif added in previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 17:17:08 +00:00
Vadim Zeitlin
33f81fc7d0 use wxClockMillis_t to fix wxUSE_LONGLONG=0 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 16:56:40 +00:00
Vadim Zeitlin
216a72f3b9 added support for 64 bit ints in wx stream classes (patch 1203970)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 16:51:34 +00:00
Vadim Zeitlin
87152bb53d wxUSE_DATETIME==0 compilation fix (part of patch 1203970)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 16:40:10 +00:00
Vadim Zeitlin
608f8a111b provide wxGetLocalTimeMillis() (returning double) even if wxUSE_LONGLONG==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 16:38:28 +00:00
Vadim Zeitlin
7ba7c4e62f use wxDiskspaceSize_t which is long and not wxLongLong if wxUSE_LONGLONG==0 (part of patch 1203970)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 16:21:14 +00:00
Vadim Zeitlin
34af0de434 compilation fixes for wxUSE_DATETIME==0 (another part of patch 1203970)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 16:20:28 +00:00
Vadim Zeitlin
5ac31f6f8d wxODBC depends on wxDateTime (part of patch 1203970)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 15:44:21 +00:00
Vadim Zeitlin
5d36ad180e wxArchive depends on wxDateTime (part of patch 1203970)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 15:42:01 +00:00
Julian Smart
7cc1ad299f Applied patch [ 1412216 ] non-themed fallback support for other wxNotebook orientation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 15:41:40 +00:00
Julian Smart
4496eadc93 Applied [ 1394785 ] wxListCtrl::EndEditLabel implementation
By troelsk


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 15:16:35 +00:00
Julian Smart
d5ea3919a3 Applied patch [ 1417709 ] wxFSVolume produces error messagebox
(following Vadim's suggestion to do this globally)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 14:57:25 +00:00
Julian Smart
0a0e6932cd Applied part 2 of [ 1415183 ] a couple of wxAutomation object/ole fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 14:51:16 +00:00
Julian Smart
2ae226ddc3 Applied patch [ 1424247 ] Have wxGenericListCtrl not size a window with a negative val
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 14:39:23 +00:00
Julian Smart
095e0f9148 Doc corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 12:05:53 +00:00
Mart Raudsepp
27ef4b9b29 I like if things compile with --enable-unicode + --enable-mediactrl. Code shamelessly stolen from src/gtk/app.cpp.
gst backend of wxMediaCtrl doesn't seem to be able to load files (at least in unicode) though...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 11:47:12 +00:00
Mart Raudsepp
939197fe47 Do not reintroduce #pragma interface/implementation for html/helpdlg and mediactrl. These pragmas are an abomination
from hell.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 04:53:56 +00:00
Mart Raudsepp
9ef33d86f6 * wxFrameLayout should compile in unicode builds for ports other than wxMSW or wxGTK too - fix missing _().
* wxMac has Reparent, so use it in wxFL instead of the, now unicode-compilable, warning messagebox.
* Code cleanup.
- Probably some more ports have Reparent too, so could add into the CPP check. And it might be a good idea to do for
the non-supported ports what wxGTK1 does (just return, not spew a messagebox). If Reparent already does nothing for
unsupported ports, then could get rid of the CPP logic completely.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 02:03:25 +00:00
David Surovell
e28985499b fixed wx_media linkage/export problems - from RN patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 00:30:20 +00:00
Vadim Zeitlin
24f904f41f note that SetAutoLayout() doesn't work for all windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 00:19:34 +00:00
Vadim Zeitlin
b0d969e854 clarified wxUSE_STD_IOSTREAM and wxUSE_STREAMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 00:12:06 +00:00
David Surovell
4ac483ebb2 fixed compilation problem in pror commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 23:57:36 +00:00
Jamie Gadd
deb0d191ca Toplevel windows don't have sibling static boxes. Fixes crash in AdjustStaticBoxZOrder.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 21:44:54 +00:00
David Surovell
9419b0d649 cleanup - reformatting (reapplied after RN-VZ mega-update)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 21:38:24 +00:00
Vadim Zeitlin
ad6f7122f6 support monolithic build using wxpresets (patch 1360289)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 21:13:41 +00:00
Vadim Zeitlin
c4edb7acdf added generation of wxEVT_SCROLL_XXX (patch 1424698)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 21:03:35 +00:00
Vadim Zeitlin
3782aa47f4 document GetInsertionPoint() bug under MSW (see patch 1262125)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 20:36:16 +00:00
Vadim Zeitlin
9849a94455 added test for GetInsertyionPoint() (patch 1262125)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 20:24:48 +00:00
Vadim Zeitlin
f10e38c48a regenerated with bakefile 0.2.0 m4 files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 20:22:27 +00:00
Vadim Zeitlin
bd73e1842a updated to 0.2.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 20:15:08 +00:00
Vadim Zeitlin
6505ca85df fixed deprecation warnings; removed #if 0'd code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 20:14:48 +00:00
Vadim Zeitlin
0604740afd regenerated make/project files after applying mediactrl patch (1427775)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 20:02:55 +00:00
Vadim Zeitlin
77a7dfc1a1 regenerated all makefiles with bakefile 0.2.0; removed REZ option from config.bkl as it's now defined by bakefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 19:51:08 +00:00
Vadim Zeitlin
4ff53d1b7a compilation fix for gcc4 (patch 1428840)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 19:43:14 +00:00
Vadim Zeitlin
557002cf81 Ryan's cumulative wxActiveX and media control patch (1427775)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 19:37:40 +00:00
David Surovell
dcae64c221 cleanup - reformatting; simplified OnPaint
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 19:37:04 +00:00
Vadim Zeitlin
cf9b63b38a regenerated all makefiles with bakefile 0.2.0; removed REZ option from config.bkl as it's now defined by bakefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 19:27:51 +00:00
David Surovell
5cf1cb1006 cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 19:16:20 +00:00
Robin Dunn
51941b4877 Oops, CenteronScreen wasn't really removed, just moved to wxTopLevelWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 19:07:36 +00:00
Robin Dunn
f0879a0a8f use wxRTTI to construct the right class of wxHtmlCell
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 18:38:43 +00:00
Robin Dunn
b15ce82158 Add missing constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 18:36:50 +00:00
Robin Dunn
99fbb25ba4 Add wx.Dialog.Get/SetAffirmativeId and Get/SetEscapeId
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 18:36:03 +00:00
Robin Dunn
1d0ac8f576 wx.Window.CenterOnScreen has been removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 18:34:02 +00:00
Robin Dunn
096e3ea1c5 Add wx.Rect.CenterIn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 18:33:26 +00:00
Robin Dunn
488867abe8 Add wx.KeyEvent.GetModifiers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 18:32:41 +00:00
Robin Dunn
eb3d14161d GetFromWindow is available everywhere now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 18:32:10 +00:00
Robin Dunn
f2e29d5438 Add Get/SetBitmapHover
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 18:31:47 +00:00
David Surovell
592a247ddd cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 17:53:02 +00:00
Stefan Csomor
f288c87b3d intel endian fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 17:40:25 +00:00
Vadim Zeitlin
8628b7d413 GTK1 fixes after wxObject-derived classes copy ctors/assignment operators simplifications (patch 1428863)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 15:41:06 +00:00
Włodzimierz Skiba
f4ec6bd20a Use 'wx/' for contrib samples and make wxTinderbox properly rebuilded after commits in core headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 11:59:52 +00:00
Włodzimierz Skiba
e77138c0e2 wxTinderbox build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 11:33:22 +00:00
Vadim Zeitlin
9d4e821b97 GetFromWindow() is not MSW-only any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 02:30:38 +00:00
Vadim Zeitlin
dae6a419ae generic GetFromWindow() implementation for non-MSW platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 02:29:30 +00:00
Vadim Zeitlin
1f464296de fixed centering of top level windows on secondary displays (replaces patch 1267173)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 00:02:06 +00:00
Vadim Zeitlin
1bfb73b877 added wxRect::CentreIn()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 00:01:19 +00:00
Vadim Zeitlin
cae50e6bbd added tests for centering dialogs on screen/parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 23:17:35 +00:00
Vadim Zeitlin
b40bb73e7c put property sheets in their own submenu; resolve accelerators conflict
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 23:09:15 +00:00
Michael Wetherell
8193978003 Fix link errors from advdll_taskbar.o on cygwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 22:19:14 +00:00
Julian Smart
99e60663fb Added wxUSE_INKEDIT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 22:00:45 +00:00
Robin Dunn
22e717582a Mention BeginDrawing and EndDrawing deprecation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 16:09:57 +00:00
Robin Dunn
951090428f Docstring fix, and a bit of cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 16:09:16 +00:00
Stefan Csomor
7f10ed6e65 full keyboard access support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 15:45:46 +00:00
Robin Dunn
98717dd512 Use Bind()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 15:43:23 +00:00
Robin Dunn
1e19321bfb Patch #1428290: STCStyleEditor updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 15:41:19 +00:00
Robin Dunn
7153b2cb86 Patch #1428181: Sample wxProject.py updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 15:37:39 +00:00
Julian Smart
b18f44e244 Applied doc patch [ 1426505 ] Failure to call wxWizard.Destroy() causes hang on exit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 15:35:48 +00:00
Stefan Csomor
90b4f7b5f5 full keyboard access support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 15:30:21 +00:00
Julian Smart
88c139da46 Applied patch [ 1427626 ] Fix wxFileConfig so that it still works after DeleteAll()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 15:28:42 +00:00
Vadim Zeitlin
c86fd3a793 undeprecated wxSizerItem::IsShown() undoing last change to wx/sizer.h: turns out we do need this logic in a few places
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 15:25:22 +00:00
Stefan Csomor
cabb99da6d support themed foreground brushes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 15:20:39 +00:00
Stefan Csomor
54a6974c51 guard against empty ref
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 15:16:21 +00:00
Stefan Csomor
a395a6243e bring XBM in line with MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 15:09:59 +00:00
Stefan Csomor
1de4364516 correct tabbing for full keyboard access
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 15:03:51 +00:00
Vadim Zeitlin
e4277538a5 set m_encoding in wxCSConv ctor from name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 14:58:08 +00:00
Jamie Gadd
006b8dff84 Fix drag and drop inside static boxes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 12:42:25 +00:00
Vadim Zeitlin
0c131a5ad2 implemented ScrollLines/Pages() for all classes in wxGTK, not just wxTextCtrl (patch 1281503)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 03:53:34 +00:00
Vadim Zeitlin
a8e24848f6 don't put the size of the data with the data itself by default (but allow it for compatibility with previous versions) (modified patch 1288868)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 03:45:14 +00:00
Vadim Zeitlin
69e72fda93 documented GetMenus(); corrected GetMaxFiles() return type (patch 1371483)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 03:14:28 +00:00
Vadim Zeitlin
97ad053bff more standard (although less RFC-conformant) treatment of file: URIs (patch 1415189)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 03:09:36 +00:00
Vadim Zeitlin
f8855e4725 great copy ctor/assignment operators cleanup by Paul Cornett (patch 1307665)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 00:51:23 +00:00
Vadim Zeitlin
1906f9df59 fix for wrong debugging message (replaces patch 1424028)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 00:37:56 +00:00
Vadim Zeitlin
db6d391891 fixed wxUSE_TABDIALOG/TAB_DIALOG confusion and other fixes to prevent wxTabCtrl from being built into the library unnecessarily (patch 1416049)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 00:28:34 +00:00
Vadim Zeitlin
5489227348 avoid warnings C4311/4312 when building with MSVC >= 7 (patch 1414052)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 22:32:42 +00:00
Vadim Zeitlin
3cf545c76c don't always find the file if it's in the current directory (even if it's not in the search path) (patch 1411994 closing bug 1214987)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 22:24:29 +00:00
Vadim Zeitlin
f303d69f93 deprecated wxSizerItem::IsShown() because it doesn't really make sense for the sizers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 22:22:51 +00:00
Vadim Zeitlin
e64658ed99 don't lose the alignment flags when setting the column image (replaces patch 1411870; closes bug 1155504)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 22:15:34 +00:00
Vadim Zeitlin
9eaba69276 fix for artefacts when dragging a column divider in wxListCtrl with wxLC_VRULES style (patch 1411857 closing bug 673394)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 22:03:53 +00:00
Vadim Zeitlin
9f01395e41 don't update m_iconized in IsIconized(), this can break wxFrame::HandleSize() logic (bug 1407848)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 21:55:02 +00:00
Vadim Zeitlin
6f02a879ed make access specifiers for the virtual functions match their access in the base class (patch 1400131)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 21:47:09 +00:00
Vadim Zeitlin
e4ccedf7b2 removed duplicate entries for UTF-16/32 (which are aliases for either LE or BE variants) from the encodings data arrays (patch 1382350)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 21:32:24 +00:00
David Surovell
0f85d5e799 cleanup - reformatting (again)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 17:46:09 +00:00
Vadim Zeitlin
59abfcf813 removed code refreshing toolbar on every MDI child move -- no idea why was it there (since rev 1.1) but it results in horrible flicker and removing it doesn't seem to do any harm
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 15:41:45 +00:00
Vadim Zeitlin
5bee6b2be4 set the same background colour for wxMDIParentFrame as for wxFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 15:38:20 +00:00
Vadim Zeitlin
3d412f80e9 account for DrawThemeParentBackground() returning S_FALSE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 15:23:42 +00:00
Vadim Zeitlin
053889ad4b don't set colours for the toolbar manually, this prevents default redrawing from taking place; draw themed background if the parent is themed (based on patch 1358919)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 14:42:48 +00:00
Vadim Zeitlin
848c37c35b no changes; just code cleanup in OnEraseBackground()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 14:01:50 +00:00
Vadim Zeitlin
566b7f7bbf added wxCHANGE_HDC_MAP_MODE to avoid #ifdef __WXWINCE__ everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 14:00:34 +00:00
Vadim Zeitlin
0699a648f6 documented wxToolBar dontattachtoframe tag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 13:33:55 +00:00
Vadim Zeitlin
6a62debb2c added a page showing wxToolBars (part of patch 1358919)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 13:29:49 +00:00
Vadim Zeitlin
700dbceb37 added support for <bg> tag for toolbars in XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 13:22:56 +00:00
Vadim Zeitlin
114807c0b2 added support disabled tag for toolbar elements in XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 13:20:18 +00:00
Vadim Zeitlin
e786a78b1c removed a few more extra semicolons (patch 1425785)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 13:04:14 +00:00
Vadim Zeitlin
268b0725a2 corrected description of font parameter of GetTextExtent()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 13:02:20 +00:00
David Surovell
9b26622dc1 fixed DoDrawRoundedRect to use corner rounding radius arguments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-07 21:54:48 +00:00
Robin Dunn
830f23c593 Remove calls to dc.BeginDrawing and dc.EndDrawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-07 17:28:12 +00:00
David Surovell
63811cf00a removed deprecated wxDC.[Begin,End]Drawing calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-07 09:32:05 +00:00
Robin Dunn
7f7aa1664c reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-07 04:42:55 +00:00
Robin Dunn
b06b3e70d1 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-07 04:36:54 +00:00
Robin Dunn
2ea1b3733b some cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-07 04:17:53 +00:00
Robin Dunn
c26d9ab4b5 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-07 04:16:22 +00:00
Robin Dunn
f4cc01acd1 Oops, DoLog and DoLogString are protected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-07 04:14:37 +00:00
Robin Dunn
38dc15374b Added feature flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-07 04:04:02 +00:00
Robin Dunn
a7a0141800 Changes to how overridable C++ methods are virtualized for Python.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-07 03:56:44 +00:00
Vadim Zeitlin
e4c37d10dd removed old Win16 files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-07 00:42:25 +00:00
Vadim Zeitlin
93489fc8f1 always send TB_AUTOSIZE in UpdateSize(), even if we're not attached to a frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-07 00:39:17 +00:00
David Surovell
d141b21808 tweaks and comments to previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-06 22:53:31 +00:00
Vadim Zeitlin
33c0ca829f declare rich text control event types with correct dll export qualifiers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-06 22:48:25 +00:00
David Surovell
bf26e9e078 fix gcc v3.3.3 compiler crash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-06 22:34:32 +00:00
David Surovell
57a67daf9a fix compilation problem, pass 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-06 22:09:19 +00:00
Robin Dunn
122d1d563a Fix compilation error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-06 21:58:56 +00:00
6614 changed files with 589516 additions and 1810124 deletions

27894
Makefile.in

File diff suppressed because it is too large Load Diff

View File

@@ -132,7 +132,7 @@ AC_DEFUN([WX_CPP_NEW_HEADERS],
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_CHECK_HEADERS(iostream)
AC_CHECK_HEADERS(iostream,,, [ ])
if test "$ac_cv_header_iostream" = "yes" ; then
ifelse([$1], , :, [$1])
@@ -227,6 +227,72 @@ AC_DEFUN([WX_CPP_EXPLICIT],
fi
])
dnl ---------------------------------------------------------------------------
dnl WX_CHECK_FUNCS(FUNCTIONS...,
dnl [ACTION-IF-FOUND],
dnl [ACTION-IF-NOT-FOUND],
dnl [EXTRA-DEFINES-AND-INCLUDES],
dnl [EXTRA-TEST-CODE])
dnl
dnl Checks that the functions listed in FUNCTIONS exist in the headers and the
dnl libs. For each function, if it is found then defines 'HAVE_FUNCTION' and
dnl executes ACTION-IF-FOUND, otherwise executes ACTION-IF-NOT-FOUND.
dnl
dnl The code from EXTRA-DEFINES-AND-INCLUDES is inserted into the test before
dnl the default headers are included, and EXTRA-TEST-CODE is inserted into
dnl the main() function after the default test for existence.
dnl
dnl Examples:
dnl # the simple case
dnl WX_CHECK_FUNCS(stat)
dnl # use break to finish the loop early
dnl WX_CHECK_FUNCS(mkstemp mktemp, break)
dnl # extra defines
dnl WX_CHECK_FUNCS(strtok_r, [], [], [#define _RREENTRANT])
dnl # extra includes
dnl WX_CHECK_FUNCS(swprintf, [], [], [#include <wchar.h>])
dnl # checking the signature with extra test code
dnl WX_CHECK_FUNCS(gettimeofday, [], [], [#include <sys/time.h>]
dnl [struct timeval tv; struct timezone tz; gettimeofday(&tv, &tz)])
dnl ---------------------------------------------------------------------------
AC_DEFUN([WX_CHECK_FUNCS],
[
for wx_func in $1
do
AC_CACHE_CHECK(
[for $wx_func],
[wx_cv_func_$wx_func],
[
AC_LINK_IFELSE(
[
AC_LANG_PROGRAM(
[
$4
AC_INCLUDES_DEFAULT
],
[
#ifndef $wx_func
&$wx_func;
#endif
$5
])
],
[eval wx_cv_func_$wx_func=yes],
[eval wx_cv_func_$wx_func=no])
])
if eval test \$wx_cv_func_$wx_func = yes
then
AC_DEFINE_UNQUOTED([AS_TR_CPP([HAVE_$wx_func])])
$2
else
:
$3
fi
done
])
dnl ---------------------------------------------------------------------------
dnl a slightly better AC_C_BIGENDIAN macro which allows cross-compiling
dnl ---------------------------------------------------------------------------
@@ -284,6 +350,10 @@ AC_DEFUN([WX_ARG_CACHE_FLUSH],
mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
])
dnl return the name of the variable to store the value of the given
dnl WX_ARG_WITH/ENABLE option
AC_DEFUN([WX_ARG_CACHE_NAME],)
dnl this macro checks for a three-valued command line --with argument:
dnl possible arguments are 'yes', 'no', 'sys', or 'builtin'
dnl usage: WX_ARG_SYS_WITH(option, helpmessage, variable-name)
@@ -294,13 +364,13 @@ AC_DEFUN([WX_ARG_SYS_WITH],
AC_ARG_WITH($1, [$2],
[
if test "$withval" = yes; then
ac_cv_use_$1='$3=yes'
AS_TR_SH(wx_cv_use_$1)='$3=yes'
elif test "$withval" = no; then
ac_cv_use_$1='$3=no'
AS_TR_SH(wx_cv_use_$1)='$3=no'
elif test "$withval" = sys; then
ac_cv_use_$1='$3=sys'
AS_TR_SH(wx_cv_use_$1)='$3=sys'
elif test "$withval" = builtin; then
ac_cv_use_$1='$3=builtin'
AS_TR_SH(wx_cv_use_$1)='$3=builtin'
else
AC_MSG_ERROR([Invalid value for --with-$1: should be yes, no, sys, or builtin])
fi
@@ -313,12 +383,12 @@ AC_DEFUN([WX_ARG_SYS_WITH],
no_cache=1
fi
ac_cv_use_$1='$3='$DEFAULT_$3
AS_TR_SH(wx_cv_use_$1)='$3='$DEFAULT_$3
])
eval "$ac_cv_use_$1"
eval "$AS_TR_SH(wx_cv_use_$1)"
if test "$no_cache" != 1; then
echo $ac_cv_use_$1 >> ${wx_arg_cache_file}.tmp
echo $AS_TR_SH(wx_cv_use_$1) >> ${wx_arg_cache_file}.tmp
fi
if test "$$3" = yes; then
@@ -338,15 +408,15 @@ dnl this macro checks for a command line argument and caches the result
dnl usage: WX_ARG_WITH(option, helpmessage, variable-name, [withstring])
AC_DEFUN([WX_ARG_WITH],
[
withstring=$4
withstring=$4
AC_MSG_CHECKING([for --${withstring:-with}-$1])
no_cache=0
AC_ARG_WITH($1, [$2],
[
if test "$withval" = yes; then
ac_cv_use_$1='$3=yes'
AS_TR_SH(wx_cv_use_$1)='$3=yes'
else
ac_cv_use_$1='$3=no'
AS_TR_SH(wx_cv_use_$1)='$3=no'
fi
],
[
@@ -357,12 +427,12 @@ AC_DEFUN([WX_ARG_WITH],
no_cache=1
fi
ac_cv_use_$1='$3='$DEFAULT_$3
AS_TR_SH(wx_cv_use_$1)='$3='$DEFAULT_$3
])
eval "$ac_cv_use_$1"
eval "$AS_TR_SH(wx_cv_use_$1)"
if test "$no_cache" != 1; then
echo $ac_cv_use_$1 >> ${wx_arg_cache_file}.tmp
echo $AS_TR_SH(wx_cv_use_$1) >> ${wx_arg_cache_file}.tmp
fi
if test "$$3" = yes; then
@@ -380,15 +450,15 @@ dnl message when running configure instead of the default "checking for
dnl --enable-foo" one whih is useful for the options enabled by default
AC_DEFUN([WX_ARG_ENABLE],
[
enablestring=$4
enablestring=$4
AC_MSG_CHECKING([for --${enablestring:-enable}-$1])
no_cache=0
AC_ARG_ENABLE($1, [$2],
[
if test "$enableval" = yes; then
ac_cv_use_$1='$3=yes'
AS_TR_SH(wx_cv_use_$1)='$3=yes'
else
ac_cv_use_$1='$3=no'
AS_TR_SH(wx_cv_use_$1)='$3=no'
fi
],
[
@@ -399,12 +469,12 @@ AC_DEFUN([WX_ARG_ENABLE],
no_cache=1
fi
ac_cv_use_$1='$3='$DEFAULT_$3
AS_TR_SH(wx_cv_use_$1)='$3='$DEFAULT_$3
])
eval "$ac_cv_use_$1"
eval "$AS_TR_SH(wx_cv_use_$1)"
if test "$no_cache" != 1; then
echo $ac_cv_use_$1 >> ${wx_arg_cache_file}.tmp
echo $AS_TR_SH(wx_cv_use_$1) >> ${wx_arg_cache_file}.tmp
fi
if test "$$3" = yes; then
@@ -415,6 +485,47 @@ AC_DEFUN([WX_ARG_ENABLE],
])
dnl Like WX_ARG_ENABLE but accepts a parameter.
dnl
dnl Usage:
dnl WX_ARG_ENABLE_PARAM(option, helpmessage, variable-name, enablestring)
dnl
dnl Example:
dnl WX_ARG_ENABLE_PARAM(foo, [[ --enable-foo[=bar] use foo]], wxUSE_FOO)
dnl
dnl --enable-foo wxUSE_FOO=yes
dnl --disable-foo wxUSE_FOO=no
dnl --enable-foo=bar wxUSE_FOO=bar
dnl <not given> value from configarg.cache or wxUSE_FOO=no
dnl
AC_DEFUN([WX_ARG_ENABLE_PARAM],
[
enablestring=$4
AC_MSG_CHECKING([for --${enablestring:-enable}-$1])
no_cache=0
AC_ARG_ENABLE($1, [$2],
[
wx_cv_use_$1="$3='$enableval'"
],
[
LINE=`grep "$3" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
wx_cv_use_$1='$3='$DEFAULT_$3
else
no_cache=1
wx_cv_use_$1="$3=no"
fi
])
eval "$wx_cv_use_$1"
if test "$no_cache" != 1; then
echo $wx_cv_use_$1 >> ${wx_arg_cache_file}.tmp
fi
AC_MSG_RESULT([$$3])
])
dnl ===========================================================================
dnl Linker features test
dnl ===========================================================================
@@ -428,81 +539,80 @@ dnl call WX_VERSIONED_SYMBOLS(versionfile)
dnl ---------------------------------------------------------------------------
AC_DEFUN([WX_VERSIONED_SYMBOLS],
[
found_versioning=no
case "${host}" in
*-*-cygwin* | *-*-mingw* )
dnl although ld does support version script option on these
dnl platforms, it doesn't make much sense to use it under Win32
dnl and, moreover, this breaks linking because of a bug in handling
dnl paths in -Wl,--version-script,path option (if we ever do need
dnl to use it for cygwin/mingw32, keep in mind that replacing last
dnl comma with the equal sign works) so
dnl simply disable it
wx_cv_version_script=no
;;
dnl FIXME - doesn't work, Solaris linker doesn't accept wildcards
dnl in the script.
dnl dnl Check for known non-gcc cases:
dnl case "${host}" in
dnl *-*-solaris2* )
dnl if test "x$GCC" != "xyes" ; then
dnl LDFLAGS_VERSIONING="-M $1"
dnl found_versioning=yes
dnl fi
dnl ;;
dnl esac
dnl Generic check for GCC or GCC-like behaviour (Intel C++, GCC):
if test $found_versioning = no ; then
AC_CACHE_CHECK([if the linker accepts --version-script], wx_cv_version_script,
[
echo "VER_1 { *; };" >conftest.sym
echo "int main() { return 0; }" >conftest.cpp
if AC_TRY_COMMAND([
$CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
-Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr]) ; then
if test -s conftest.stderr ; then
wx_cv_version_script=no
else
wx_cv_version_script=yes
fi
else
wx_cv_version_script=no
fi
*)
AC_CACHE_CHECK([if the linker accepts --version-script], wx_cv_version_script,
[
echo "VER_1 { *; };" >conftest.sym
echo "int main() { return 0; }" >conftest.cpp
dnl There's a problem in some old linkers with --version-script that
dnl can cause linking to fail when you have objects with vtables in
dnl libs 3 deep. This is known to happen in netbsd and openbsd with
dnl ld 2.11.2.
dnl
dnl To test for this we need to make some shared libs and
dnl unfortunately we can't be sure of the right way to do that. If the
dnl first two compiles don't succeed then it looks like the test isn't
dnl working and the result is ignored, but if OTOH the first two
dnl succeed but the third does not then the bug has been detected and
dnl the --version-script flag is dropped.
if test $wx_cv_version_script = yes
then
echo "struct B { virtual ~B() { } }; \
struct D : public B { }; \
void F() { D d; }" > conftest.cpp
if AC_TRY_COMMAND([
$CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
-Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr]) ; then
if test -s conftest.stderr ; then
wx_cv_version_script=no
else
wx_cv_version_script=yes
fi
else
wx_cv_version_script=no
fi
if AC_TRY_COMMAND([
$CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
-Wl,--version-script,conftest.sym >/dev/null 2>/dev/null]) &&
AC_TRY_COMMAND([
$CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
-Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null])
then
if AC_TRY_COMMAND([
$CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
-Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null])
then
wx_cv_version_script=yes
else
wx_cv_version_script=no
dnl There's a problem in some old linkers with --version-script that
dnl can cause linking to fail when you have objects with vtables in
dnl libs 3 deep. This is known to happen in netbsd and openbsd with
dnl ld 2.11.2.
dnl
dnl To test for this we need to make some shared libs and
dnl unfortunately we can't be sure of the right way to do that. If the
dnl first two compiles don't succeed then it looks like the test isn't
dnl working and the result is ignored, but if OTOH the first two
dnl succeed but the third does not then the bug has been detected and
dnl the --version-script flag is dropped.
if test $wx_cv_version_script = yes
then
echo "struct B { virtual ~B() { } }; \
struct D : public B { }; \
void F() { D d; }" > conftest.cpp
if AC_TRY_COMMAND([
$CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
-Wl,--version-script,conftest.sym >/dev/null 2>/dev/null]) &&
AC_TRY_COMMAND([
$CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
-Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null])
then
if AC_TRY_COMMAND([
$CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
-Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null])
then
wx_cv_version_script=yes
else
wx_cv_version_script=no
fi
fi
fi
rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
rm -f conftest1.output conftest2.output conftest3.output
])
if test $wx_cv_version_script = yes ; then
LDFLAGS_VERSIONING="-Wl,--version-script,$1"
fi
fi
fi
rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
rm -f conftest1.output conftest2.output conftest3.output
])
if test $wx_cv_version_script = yes ; then
LDFLAGS_VERSIONING="-Wl,--version-script,$1"
fi
fi
;;
esac
])

9
aclocal.m4 vendored
View File

@@ -1,7 +1,7 @@
# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
# generated automatically by aclocal 1.10 -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
# 2005 Free Software Foundation, Inc.
# 2005, 2006 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
@@ -11,6 +11,9 @@
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
m4_include([build/aclocal/ac_raf_func_which_getservbyname_r.m4])
m4_include([build/aclocal/ax_func_which_gethostbyname_r.m4])
m4_include([build/aclocal/bakefile-dllar.m4])
m4_include([build/aclocal/bakefile-lang.m4])
m4_include([build/aclocal/bakefile.m4])
m4_include([build/aclocal/cppunit.m4])
@@ -18,6 +21,4 @@ m4_include([build/aclocal/gtk-2.0.m4])
m4_include([build/aclocal/gtk.m4])
m4_include([build/aclocal/pkg.m4])
m4_include([build/aclocal/sdl.m4])
m4_include([build/aclocal/ax_func_which_gethostbyname_r.m4])
m4_include([build/aclocal/ac_raf_func_which_getservbyname_r.m4])
m4_include([acinclude.m4])

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *addbookm_xpm[] = {
static const char * addbookm_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 3 1",
". c Black",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char * back_xpm[] = {
static const char * back_xpm[] = {
"16 15 3 1",
" c None",
". c Black",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *cdrom_xpm[] = {
static const char * cdrom_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 36 1",
"= c #9BACC2",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *copy_xpm[] = {
static const char * copy_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 23 1",
"o c #97C4E7",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *cross_xpm[] = {
static const char * cross_xpm[] = {
/* columns rows colors chars-per-pixel */
"10 10 2 1",
" c Gray0",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *cut_xpm[] = {
static const char * cut_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 25 1",
"6 c #D8BDC0",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *deffile_xpm[] = {
static const char * deffile_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 16 32 1",
"= c #97C4E7",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *delbookm_xpm[] = {
static const char * delbookm_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 3 1",
". c Black",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *delete_xpm[] = {
static const char * delete_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 21 1",
"2 c #A5AEBD",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *dir_up_xpm[] = {
static const char * dir_up_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 31 1",
"6 c #9BACC2",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char * down_xpm[] = {
static const char * down_xpm[] = {
"16 15 3 1",
" c None",
". c Black",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *exefile_xpm[] = {
static const char * exefile_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 16 51 1",
"% c #E8E8EC",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *fileopen_xpm[] = {
static const char * fileopen_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 36 1",
"6 c #9BACC2",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *filesave_xpm[] = {
static const char * filesave_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 21 1",
"O c #FFFFFF",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *filesaveas_xpm[] = {
static const char * filesaveas_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 23 1",
"X c Black",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *find_xpm[] = {
static const char * find_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 41 1",
"y c #A06959",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *findrepl_xpm[] = {
static const char * findrepl_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 42 1",
"y c #A06959",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *floppy_xpm[] = {
static const char * floppy_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 18 1",
"& c #E3E4E6",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *folder_xpm[] = {
static const char * folder_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 22 1",
"> c #9BACC2",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *folder_open_xpm[] = {
static const char * folder_open_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 31 1",
"6 c #9BACC2",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char * forward_xpm[] = {
static const char * forward_xpm[] = {
"16 15 3 1",
" c None",
". c Black",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *error_xpm[] = {
static const char * error_xpm[] = {
/* columns rows colors chars-per-pixel */
"48 48 4 1",
" c None",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *info_xpm[] = {
static const char * info_xpm[] = {
/* columns rows colors chars-per-pixel */
"48 48 9 1",
"$ c Black",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *question_xpm[] = {
static const char * question_xpm[] = {
/* columns rows colors chars-per-pixel */
"48 48 21 1",
". c Black",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *warning_xpm[] = {
static const char * warning_xpm[] = {
/* columns rows colors chars-per-pixel */
"48 48 9 1",
"@ c Black",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *harddisk_xpm[] = {
static const char * harddisk_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 39 1",
"7 c #E3E4E6",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *helpicon_xpm[] = {
static const char * helpicon_xpm[] = {
/* columns rows colors chars-per-pixel */
"32 32 6 1",
" c Gray0",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *home_xpm[] = {
static const char * home_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 3 1",
". c Black",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char * htmbook_xpm[] = {
static const char * htmbook_xpm[] = {
"16 16 6 1",
" c None",
". c Black",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char * htmfoldr_xpm[] = {
static const char * htmfoldr_xpm[] = {
"16 16 6 1",
" c None",
". c Black",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char * htmoptns_xpm[] = {
static const char * htmoptns_xpm[] = {
"16 15 2 1",
" c None",
". c #000000",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char * htmpage_xpm[] = {
static const char * htmpage_xpm[] = {
"16 16 4 1",
" c None",
". c #808080",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *htmsidep_xpm[] = {
static const char * htmsidep_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 6 1",
". c Black",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *listview_xpm[] = {
static const char * listview_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 4 1",
" c Black",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *missimg_xpm[] = {
static const char * missimg_xpm[] = {
/* columns rows colors chars-per-pixel */
"32 32 5 1",
"X c Black",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *error_xpm[] = {
static const char * error_xpm[] = {
/* columns rows colors chars-per-pixel */
"48 48 4 1",
" c None",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *info_xpm[] = {
static const char * info_xpm[] = {
/* columns rows colors chars-per-pixel */
"48 48 9 1",
"$ c Black",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *question_xpm[] = {
static const char * question_xpm[] = {
/* columns rows colors chars-per-pixel */
"48 48 21 1",
". c Black",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *warning_xpm[] = {
static const char * warning_xpm[] = {
/* columns rows colors chars-per-pixel */
"48 48 9 1",
"@ c Black",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *new_xpm[] = {
static const char * new_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 29 1",
"* c #97C4E7",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *new_dir_xpm[] = {
static const char * new_dir_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 22 1",
"X c Black",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *paste_xpm[] = {
static const char * paste_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 25 1",
"< c #FEECE4",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *print_xpm[] = {
static const char * print_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 39 1",
"< c #E3E4E6",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *quit_xpm[] = {
static const char * quit_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 69 1",
"@ c Black",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *redo_xpm[] = {
static const char * redo_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 37 1",
"4 c #9BACC2",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *removable_xpm[] = {
static const char * removable_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 23 1",
"@ c #C3C3C4",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *repview_xpm[] = {
static const char * repview_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 3 1",
" c Black",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *tick_xpm[] = {
static const char * tick_xpm[] = {
/* columns rows colors chars-per-pixel */
"10 10 2 1",
". c Gray0",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *tipicon_xpm[] = {
static const char * tipicon_xpm[] = {
/* columns rows colors chars-per-pixel */
"32 32 9 1",
"$ c Black",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char * toparent_xpm[] = {
static const char * toparent_xpm[] = {
"16 15 3 1",
" c None",
". c Black",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *undo_xpm[] = {
static const char * undo_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 37 1",
"4 c #9BACC2",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char * up_xpm[] = {
static const char * up_xpm[] = {
"16 15 3 1",
" c None",
". c Black",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *wxwin16x16_xpm[] = {
static const char * wxwin16x16_xpm[] = {
"16 16 6 1",
" c None",
". c #000000",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char *wxwin32x32_xpm[] = {
static const char * wxwin32x32_xpm[] = {
"32 32 6 1",
" c None",
". c #000000",

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +1,3 @@
#!/bin/sh
autoconf
#autoconf
make -f build/autogen.mk

View File

@@ -19,41 +19,53 @@ dnl @version 2001-08-20
dnl @license GPLWithACException
AC_DEFUN([AC_raf_FUNC_WHICH_GETSERVBYNAME_R],
[AC_CHECK_FUNC(getservbyname_r,
[AC_TRY_COMPILE([#include <netdb.h>],
[
char *name;
char *proto;
struct servent *se;
struct servent_data data;
(void) getservbyname_r(name, proto, se, &data);
],
ac_cv_func_which_getservbyname_r=four,
[AC_TRY_COMPILE([#include <netdb.h>],
[
AC_CACHE_CHECK(how many arguments getservbyname_r() takes,
ac_cv_func_which_getservbyname_r,
[
dnl we need to use C++ to detect missing prototypes
AC_LANG_PUSH(C++)
AC_TRY_COMPILE([#include <netdb.h>],
[
char *name;
char *proto;
struct servent *se, *res;
char buffer[2048];
int buflen = 2048;
(void) getservbyname_r(name, proto, se, buffer, buflen, &res);
(void) getservbyname_r(name, proto, se, buffer, buflen, &res)
],
ac_cv_func_which_getservbyname_r=six,
[AC_TRY_COMPILE([#include <netdb.h>],
[
char *name;
char *proto;
struct servent *se;
char buffer[2048];
int buflen = 2048;
(void) getservbyname_r(name, proto, se, buffer, buflen)
],
ac_cv_func_which_getservbyname_r=five,
ac_cv_func_which_getservbyname_r=no
)]
)]
)],
ac_cv_func_which_getservbyname_r=no)
[
AC_TRY_COMPILE([#include <netdb.h>],
[
char *name;
char *proto;
struct servent *se;
char buffer[2048];
int buflen = 2048;
(void) getservbyname_r(name, proto, se, buffer, buflen)
],
ac_cv_func_which_getservbyname_r=five,
[
AC_TRY_COMPILE([#include <netdb.h>],
[
char *name;
char *proto;
struct servent *se;
struct servent_data data;
(void) getservbyname_r(name, proto, se, &data);
],
ac_cv_func_which_getservbyname_r=four,
ac_cv_func_which_getservbyname_r=no
)
]
)
]
)
AC_LANG_POP()
]
)
if test $ac_cv_func_which_getservbyname_r = six; then
AC_DEFINE(HAVE_FUNC_GETSERVBYNAME_R_6)

View File

@@ -0,0 +1,483 @@
AC_DEFUN([AC_BAKEFILE_CREATE_FILE_DLLAR_SH],
[
dnl ===================== dllar.sh begins here =====================
dnl (Created by merge-scripts.py from dllar.sh
dnl file do not edit here!)
D='$'
cat <<EOF >dllar.sh
#!/bin/sh
#
# dllar - a tool to build both a .dll and an .a file
# from a set of object (.o) files for EMX/OS2.
#
# Written by Andrew Zabolotny, bit@freya.etu.ru
# Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
#
# This script will accept a set of files on the command line.
# All the public symbols from the .o files will be exported into
# a .DEF file, then linker will be run (through gcc) against them to
# build a shared library consisting of all given .o files. All libraries
# (.a) will be first decompressed into component .o files then act as
# described above. You can optionally give a description (-d "description")
# which will be put into .DLL. To see the list of accepted options (as well
# as command-line format) simply run this program without options. The .DLL
# is built to be imported by name (there is no guarantee that new versions
# of the library you build will have same ordinals for same symbols).
#
# dllar is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# dllar is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with dllar; see the file COPYING. If not, write to the Free
# Software Foundation, 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.
# To successfuly run this program you will need:
# - Current drive should have LFN support (HPFS, ext2, network, etc)
# (Sometimes dllar generates filenames which won't fit 8.3 scheme)
# - gcc
# (used to build the .dll)
# - emxexp
# (used to create .def file from .o files)
# - emximp
# (used to create .a file from .def file)
# - GNU text utilites (cat, sort, uniq)
# used to process emxexp output
# - GNU file utilities (mv, rm)
# - GNU sed
# - lxlite (optional, see flag below)
# (used for general .dll cleanup)
#
flag_USE_LXLITE=1;
#
# helper functions
# basnam, variant of basename, which does _not_ remove the path, _iff_
# second argument (suffix to remove) is given
basnam(){
case ${D}# in
1)
echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
;;
2)
echo ${D}1 | sed 's/'${D}2'${D}//'
;;
*)
echo "error in basnam ${D}*"
exit 8
;;
esac
}
# Cleanup temporary files and output
CleanUp() {
cd ${D}curDir
for i in ${D}inputFiles ; do
case ${D}i in
*!)
rm -rf \`basnam ${D}i !\`
;;
*)
;;
esac
done
# Kill result in case of failure as there is just to many stupid make/nmake
# things out there which doesn't do this.
if @<:@ ${D}# -eq 0 @:>@; then
rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
fi
}
# Print usage and exit script with rc=1.
PrintHelp() {
echo 'Usage: dllar.sh @<:@-o@<:@utput@:>@ output_file@:>@ @<:@-i@<:@mport@:>@ importlib_name@:>@'
echo ' @<:@-name-mangler-script script.sh@:>@'
echo ' @<:@-d@<:@escription@:>@ "dll descrption"@:>@ @<:@-cc "CC"@:>@ @<:@-f@<:@lags@:>@ "CFLAGS"@:>@'
echo ' @<:@-ord@<:@inals@:>@@:>@ -ex@<:@clude@:>@ "symbol(s)"'
echo ' @<:@-libf@<:@lags@:>@ "{INIT|TERM}{GLOBAL|INSTANCE}"@:>@ @<:@-nocrt@<:@dll@:>@@:>@ @<:@-nolxl@<:@ite@:>@@:>@'
echo ' @<:@*.o@:>@ @<:@*.a@:>@'
echo '*> "output_file" should have no extension.'
echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
echo ' The import library name is derived from this and is set to "name".a,'
echo ' unless overridden by -import'
echo '*> "importlib_name" should have no extension.'
echo ' If it has the .o, or .a extension, it is automatically removed.'
echo ' This name is used as the import library name and may be longer and'
echo ' more descriptive than the DLL name which has to follow the old '
echo ' 8.3 convention of FAT.'
echo '*> "script.sh may be given to override the output_file name by a'
echo ' different name. It is mainly useful if the regular make process'
echo ' of some package does not take into account OS/2 restriction of'
echo ' DLL name lengths. It takes the importlib name as input and is'
echo ' supposed to procude a shorter name as output. The script should'
echo ' expect to get importlib_name without extension and should produce'
echo ' a (max.) 8 letter name without extension.'
echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
echo ' These flags will be put at the start of GCC command line.'
echo '*> -ord@<:@inals@:>@ tells dllar to export entries by ordinals. Be careful.'
echo '*> -ex@<:@clude@:>@ defines symbols which will not be exported. You can define'
echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
echo ' If the last character of a symbol is "*", all symbols beginning'
echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
echo '*> -libf@<:@lags@:>@ can be used to add INITGLOBAL/INITINSTANCE and/or'
echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
echo '*> -nocrt@<:@dll@:>@ switch will disable linking the library against emx''s'
echo ' C runtime DLLs.'
echo '*> -nolxl@<:@ite@:>@ switch will disable running lxlite on the resulting DLL.'
echo '*> All other switches (for example -L./ or -lmylib) will be passed'
echo ' unchanged to GCC at the end of command line.'
echo '*> If you create a DLL from a library and you do not specify -o,'
echo ' the basename for DLL and import library will be set to library name,'
echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
echo ' library will be renamed into gcc_s.a.'
echo '--------'
echo 'Example:'
echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
CleanUp
exit 1
}
# Execute a command.
# If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
# @Uses Whatever CleanUp() uses.
doCommand() {
echo "${D}*"
eval ${D}*
rcCmd=${D}?
if @<:@ ${D}rcCmd -ne 0 @:>@; then
echo "command failed, exit code="${D}rcCmd
CleanUp
exit ${D}rcCmd
fi
}
# main routine
# setup globals
cmdLine=${D}*
outFile=""
outimpFile=""
inputFiles=""
renameScript=""
description=""
CC=gcc.exe
CFLAGS="-s -Zcrtdll"
EXTRA_CFLAGS=""
EXPORT_BY_ORDINALS=0
exclude_symbols=""
library_flags=""
curDir=\`pwd\`
curDirS=curDir
case ${D}curDirS in
*/)
;;
*)
curDirS=${D}{curDirS}"/"
;;
esac
# Parse commandline
libsToLink=0
omfLinking=0
while @<:@ ${D}1 @:>@; do
case ${D}1 in
-ord*)
EXPORT_BY_ORDINALS=1;
;;
-o*)
shift
outFile=${D}1
;;
-i*)
shift
outimpFile=${D}1
;;
-name-mangler-script)
shift
renameScript=${D}1
;;
-d*)
shift
description=${D}1
;;
-f*)
shift
CFLAGS=${D}1
;;
-c*)
shift
CC=${D}1
;;
-h*)
PrintHelp
;;
-ex*)
shift
exclude_symbols=${D}{exclude_symbols}${D}1" "
;;
-libf*)
shift
library_flags=${D}{library_flags}${D}1" "
;;
-nocrt*)
CFLAGS="-s"
;;
-nolxl*)
flag_USE_LXLITE=0
;;
-* | /*)
case ${D}1 in
-L* | -l*)
libsToLink=1
;;
-Zomf)
omfLinking=1
;;
*)
;;
esac
EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
;;
*.dll)
EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
if @<:@ ${D}omfLinking -eq 1 @:>@; then
EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
else
EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
fi
;;
*)
found=0;
if @<:@ ${D}libsToLink -ne 0 @:>@; then
EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
else
for file in ${D}1 ; do
if @<:@ -f ${D}file @:>@; then
inputFiles="${D}{inputFiles} ${D}file"
found=1
fi
done
if @<:@ ${D}found -eq 0 @:>@; then
echo "ERROR: No file(s) found: "${D}1
exit 8
fi
fi
;;
esac
shift
done # iterate cmdline words
#
if @<:@ -z "${D}inputFiles" @:>@; then
echo "dllar: no input files"
PrintHelp
fi
# Now extract all .o files from .a files
newInputFiles=""
for file in ${D}inputFiles ; do
case ${D}file in
*.a | *.lib)
case ${D}file in
*.a)
suffix=".a"
AR="ar"
;;
*.lib)
suffix=".lib"
AR="emxomfar"
EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
;;
*)
;;
esac
dirname=\`basnam ${D}file ${D}suffix\`"_%"
mkdir ${D}dirname
if @<:@ ${D}? -ne 0 @:>@; then
echo "Failed to create subdirectory ./${D}dirname"
CleanUp
exit 8;
fi
# Append '!' to indicate archive
newInputFiles="${D}newInputFiles ${D}{dirname}!"
doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
cd ${D}curDir
found=0;
for subfile in ${D}dirname/*.o* ; do
if @<:@ -f ${D}subfile @:>@; then
found=1
if @<:@ -s ${D}subfile @:>@; then
# FIXME: This should be: is file size > 32 byte, _not_ > 0!
newInputFiles="${D}newInputFiles ${D}subfile"
fi
fi
done
if @<:@ ${D}found -eq 0 @:>@; then
echo "WARNING: there are no files in archive \\'${D}file\\'"
fi
;;
*)
newInputFiles="${D}{newInputFiles} ${D}file"
;;
esac
done
inputFiles="${D}newInputFiles"
# Output filename(s).
do_backup=0;
if @<:@ -z ${D}outFile @:>@; then
do_backup=1;
set outFile ${D}inputFiles; outFile=${D}2
fi
# If it is an archive, remove the '!' and the '_%' suffixes
case ${D}outFile in
*_%!)
outFile=\`basnam ${D}outFile _%!\`
;;
*)
;;
esac
case ${D}outFile in
*.dll)
outFile=\`basnam ${D}outFile .dll\`
;;
*.DLL)
outFile=\`basnam ${D}outFile .DLL\`
;;
*.o)
outFile=\`basnam ${D}outFile .o\`
;;
*.obj)
outFile=\`basnam ${D}outFile .obj\`
;;
*.a)
outFile=\`basnam ${D}outFile .a\`
;;
*.lib)
outFile=\`basnam ${D}outFile .lib\`
;;
*)
;;
esac
case ${D}outimpFile in
*.a)
outimpFile=\`basnam ${D}outimpFile .a\`
;;
*.lib)
outimpFile=\`basnam ${D}outimpFile .lib\`
;;
*)
;;
esac
if @<:@ -z ${D}outimpFile @:>@; then
outimpFile=${D}outFile
fi
defFile="${D}{outFile}.def"
arcFile="${D}{outimpFile}.a"
arcFile2="${D}{outimpFile}.lib"
#create ${D}dllFile as something matching 8.3 restrictions,
if @<:@ -z ${D}renameScript @:>@ ; then
dllFile="${D}outFile"
else
dllFile=\`${D}renameScript ${D}outimpFile\`
fi
if @<:@ ${D}do_backup -ne 0 @:>@ ; then
if @<:@ -f ${D}arcFile @:>@ ; then
doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
fi
if @<:@ -f ${D}arcFile2 @:>@ ; then
doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
fi
fi
# Extract public symbols from all the object files.
tmpdefFile=${D}{defFile}_%
rm -f ${D}tmpdefFile
for file in ${D}inputFiles ; do
case ${D}file in
*!)
;;
*)
doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
;;
esac
done
# Create the def file.
rm -f ${D}defFile
echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
dllFile="${D}{dllFile}.dll"
if @<:@ ! -z ${D}description @:>@; then
echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
fi
echo "EXPORTS" >> ${D}defFile
doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
# Checks if the export is ok or not.
for word in ${D}exclude_symbols; do
grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
mv ${D}{tmpdefFile}% ${D}tmpdefFile
done
if @<:@ ${D}EXPORT_BY_ORDINALS -ne 0 @:>@; then
sed "=" < ${D}tmpdefFile | \\
sed '
N
: loop
s/^\\(@<:@0-9@:>@\\+\\)\\(@<:@^;@:>@*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
t loop
' > ${D}{tmpdefFile}%
grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
else
rm -f ${D}{tmpdefFile}%
fi
cat ${D}tmpdefFile >> ${D}defFile
rm -f ${D}tmpdefFile
# Do linking, create implib, and apply lxlite.
gccCmdl="";
for file in ${D}inputFiles ; do
case ${D}file in
*!)
;;
*)
gccCmdl="${D}gccCmdl ${D}file"
;;
esac
done
doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
touch "${D}{outFile}.dll"
doCommand "emximp -o ${D}arcFile ${D}defFile"
if @<:@ ${D}flag_USE_LXLITE -ne 0 @:>@; then
add_flags="";
if @<:@ ${D}EXPORT_BY_ORDINALS -ne 0 @:>@; then
add_flags="-ynd"
fi
doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
fi
doCommand "emxomf -s -l ${D}arcFile"
# Successful exit.
CleanUp 1
exit 0
EOF
dnl ===================== dllar.sh ends here =====================
])

View File

@@ -1,74 +1,36 @@
dnl ---------------------------------------------------------------------------
dnl Compiler detection macros by David Elliott
dnl ---------------------------------------------------------------------------
dnl
dnl This file is part of Bakefile (http://www.bakefile.org)
dnl
dnl Copyright (C) 2003-2007 Vaclav Slavik, David Elliott and others
dnl
dnl Permission is hereby granted, free of charge, to any person obtaining a
dnl copy of this software and associated documentation files (the "Software"),
dnl to deal in the Software without restriction, including without limitation
dnl the rights to use, copy, modify, merge, publish, distribute, sublicense,
dnl and/or sell copies of the Software, and to permit persons to whom the
dnl Software is furnished to do so, subject to the following conditions:
dnl
dnl The above copyright notice and this permission notice shall be included in
dnl all copies or substantial portions of the Software.
dnl
dnl THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
dnl IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
dnl FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
dnl THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
dnl LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
dnl FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
dnl DEALINGS IN THE SOFTWARE.
dnl
dnl $Id$
dnl
dnl Compiler detection macros by David Elliott and Vadim Zeitlin
dnl
dnl ===========================================================================
dnl Macros to detect non-GNU compilers (MetroWerks, XLC)
dnl Macros to detect different C/C++ compilers
dnl ===========================================================================
dnl Based on autoconf _AC_LANG_COMPILER_GNU
AC_DEFUN([_AC_BAKEFILE_LANG_COMPILER_MWERKS],
[AC_CACHE_CHECK([whether we are using the Metrowerks _AC_LANG compiler],
[bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_mwerks],
[AC_TRY_COMPILE([],[#ifndef __MWERKS__
choke me
#endif
],
[bakefile_compiler_mwerks=yes],
[bakefile_compiler_mwerks=no])
bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_mwerks=$bakefile_compiler_mwerks
])
])
dnl Loosely based on autoconf AC_PROG_CC
dnl TODO: Maybe this should wrap the call to AC_PROG_CC and be used instead.
AC_DEFUN([AC_BAKEFILE_PROG_MWCC],
[AC_LANG_PUSH(C)
_AC_BAKEFILE_LANG_COMPILER_MWERKS
MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
AC_LANG_POP(C)
])
dnl Loosely based on autoconf AC_PROG_CXX
dnl TODO: Maybe this should wrap the call to AC_PROG_CXX and be used instead.
AC_DEFUN([AC_BAKEFILE_PROG_MWCXX],
[AC_LANG_PUSH(C++)
_AC_BAKEFILE_LANG_COMPILER_MWERKS
MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
AC_LANG_POP(C++)
])
dnl Based on autoconf _AC_LANG_COMPILER_GNU
AC_DEFUN([_AC_BAKEFILE_LANG_COMPILER_XLC],
[AC_CACHE_CHECK([whether we are using the IBM xlC _AC_LANG compiler],
[bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_xlc],
[AC_TRY_COMPILE([],[#ifndef __xlC__
choke me
#endif
],
[bakefile_compiler_xlc=yes],
[bakefile_compiler_xlc=no])
bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_xlc=$bakefile_compiler_xlc
])
])
dnl Loosely based on autoconf AC_PROG_CC
AC_DEFUN([AC_BAKEFILE_PROG_XLCC],
[AC_LANG_PUSH(C)
_AC_BAKEFILE_LANG_COMPILER_XLC
XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
AC_LANG_POP(C)
])
dnl Loosely based on autoconf AC_PROG_CXX
AC_DEFUN([AC_BAKEFILE_PROG_XLCXX],
[AC_LANG_PUSH(C++)
_AC_BAKEFILE_LANG_COMPILER_XLC
XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
AC_LANG_POP(C++)
])
dnl Based on autoconf _AC_LANG_COMPILER_GNU
dnl _AC_BAKEFILE_LANG_COMPILER(NAME, LANG, SYMBOL, IF-YES, IF-NO)
AC_DEFUN([_AC_BAKEFILE_LANG_COMPILER],
@@ -89,12 +51,64 @@ AC_DEFUN([_AC_BAKEFILE_LANG_COMPILER],
)
]
)
AC_LANG_POP($2)
if test "x$bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_[]$3" = "xyes"; then
:; $4
else
:; $5
fi
AC_LANG_POP($2)
])
dnl More specific version of the above macro checking whether the compiler
dnl version is at least the given one (assumes that we do use this compiler)
dnl
dnl _AC_BAKEFILE_LANG_COMPILER_LATER_THAN(NAME, LANG, SYMBOL, VER, VERMSG, IF-YES, IF-NO)
AC_DEFUN([_AC_BAKEFILE_LANG_COMPILER_LATER_THAN],
[
AC_LANG_PUSH($2)
AC_CACHE_CHECK(
[whether we are using $1 $2 compiler v$5 or later],
[bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_[]$3[]_lt_[]$4],
[AC_TRY_COMPILE(
[],
[
#ifndef $3 || $3 < $4
choke me
#endif
],
[bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_[]$3[]_lt_[]$4=yes],
[bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_[]$3[]_lt_[]$4=no]
)
]
)
if test "x$bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_[]$3[]_lt_[]$4" = "xyes"; then
:; $6
else
:; $7
fi
AC_LANG_POP($2)
])
dnl CodeWarrior Metrowerks compiler defines __MWERKS__ for both C and C++
AC_DEFUN([AC_BAKEFILE_PROG_MWCC],
[
_AC_BAKEFILE_LANG_COMPILER(Metrowerks, C, __MWERKS__, MWCC=yes)
])
AC_DEFUN([AC_BAKEFILE_PROG_MWCXX],
[
_AC_BAKEFILE_LANG_COMPILER(Metrowerks, C++, __MWERKS__, MWCXX=yes)
])
dnl IBM xlC compiler defines __xlC__ for both C and C++
AC_DEFUN([AC_BAKEFILE_PROG_XLCC],
[
_AC_BAKEFILE_LANG_COMPILER([IBM xlC], C, __xlC__, XLCC=yes)
])
AC_DEFUN([AC_BAKEFILE_PROG_XLCXX],
[
_AC_BAKEFILE_LANG_COMPILER([IBM xlC], C++, __xlC__, XLCXX=yes)
])
dnl recent versions of SGI mipsPro compiler define _SGI_COMPILER_VERSION
@@ -133,6 +147,29 @@ AC_DEFUN([AC_BAKEFILE_PROG_INTELCXX],
_AC_BAKEFILE_LANG_COMPILER(Intel, C++, __INTEL_COMPILER, INTELCXX=yes)
])
dnl Intel compiler command line options changed in incompatible ways sometimes
dnl before v8 (-KPIC was replaced with gcc-compatible -fPIC) and again in v10
dnl (-create-pch deprecated in favour of -pch-create) so we need to test for
dnl its exact version too
AC_DEFUN([AC_BAKEFILE_PROG_INTELCC_8],
[
_AC_BAKEFILE_LANG_COMPILER_LATER_THAN(Intel, C, __INTEL_COMPILER, 800, 8, INTELCC8=yes)
])
AC_DEFUN([AC_BAKEFILE_PROG_INTELCXX_8],
[
_AC_BAKEFILE_LANG_COMPILER_LATER_THAN(Intel, C++, __INTEL_COMPILER, 800, 8, INTELCXX8=yes)
])
AC_DEFUN([AC_BAKEFILE_PROG_INTELCC_10],
[
_AC_BAKEFILE_LANG_COMPILER_LATER_THAN(Intel, C, __INTEL_COMPILER, 1000, 10, INTELCC10=yes)
])
AC_DEFUN([AC_BAKEFILE_PROG_INTELCXX_10],
[
_AC_BAKEFILE_LANG_COMPILER_LATER_THAN(Intel, C++, __INTEL_COMPILER, 1000, 10, INTELCXX10=yes)
])
dnl HP-UX aCC: see http://docs.hp.com/en/6162/preprocess.htm#macropredef
AC_DEFUN([AC_BAKEFILE_PROG_HPCC],
[
@@ -204,7 +241,18 @@ dnl _AC_BAKEFILE_PROG_COMPILER(LANG)
AC_DEFUN([_AC_BAKEFILE_PROG_COMPILER],
[
AC_PROG_$1
dnl Intel compiler can be used under several different OS and even
dnl different architectures (x86, amd64 and Itanium) so it's easier to just
dnl always test for it
AC_BAKEFILE_PROG_INTEL$1
dnl If we use Intel compiler we also need to know its version
if test "$INTEL$1" = "yes"; then
AC_BAKEFILE_PROG_INTEL$1_8
AC_BAKEFILE_PROG_INTEL$1_10
fi
dnl if we're using gcc, we can't be using any of incompatible compilers
if test "x$G$1" != "xyes"; then
if test "x$1" = "xC"; then
@@ -224,13 +272,23 @@ AC_DEFUN([_AC_BAKEFILE_PROG_COMPILER],
Darwin)
AC_BAKEFILE_PROG_MW$1
AC_BAKEFILE_PROG_XL$1
if test "$MW$1" != "yes"; then
AC_BAKEFILE_PROG_XL$1
fi
;;
IRIX*)
AC_BAKEFILE_PROG_SGI$1
;;
Linux*)
dnl Sun CC is now available under Linux too, test for it unless
dnl we already found that we were using a different compiler
if test "$INTEL$1" != "yes"; then
AC_BAKEFILE_PROG_SUN$1
fi
;;
HP-UX*)
AC_BAKEFILE_PROG_HP$1
;;

File diff suppressed because it is too large Load Diff

View File

@@ -28,6 +28,7 @@ AC_ARG_WITH(cppunit-exec-prefix,[ --with-cppunit-exec-prefix=PFX Exec prefix w
AC_MSG_CHECKING(for Cppunit - version >= $cppunit_version_min)
no_cppunit=""
if test "$CPPUNIT_CONFIG" = "no" ; then
AC_MSG_RESULT(no)
no_cppunit=yes
else
CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`

View File

@@ -1,57 +1,156 @@
# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
#
# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
dnl also defines GSTUFF_PKG_ERRORS on error
AC_DEFUN([PKG_CHECK_MODULES], [
succeeded=no
# PKG_PROG_PKG_CONFIG([MIN-VERSION])
# ----------------------------------
AC_DEFUN([PKG_PROG_PKG_CONFIG],
[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
fi
if test -n "$PKG_CONFIG"; then
_pkg_min_version=m4_default([$1], [0.9.0])
AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
PKG_CONFIG=""
fi
fi[]dnl
])# PKG_PROG_PKG_CONFIG
if test -z "$PKG_CONFIG"; then
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
fi
# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
#
# Check to see whether a particular set of modules exists. Similar
# to PKG_CHECK_MODULES(), but does not set variables or print errors.
#
#
# Similar to PKG_CHECK_MODULES, make sure that the first instance of
# this or PKG_CHECK_MODULES is called, or make sure to call
# PKG_CHECK_EXISTS manually
# --------------------------------------------------------------
AC_DEFUN([PKG_CHECK_EXISTS],
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
if test -n "$PKG_CONFIG" && \
AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
m4_ifval([$2], [$2], [:])
m4_ifvaln([$3], [else
$3])dnl
fi])
if test "$PKG_CONFIG" = "no" ; then
echo "*** The pkg-config script could not be found. Make sure it is"
echo "*** in your path, or set the PKG_CONFIG environment variable"
echo "*** to the full path to pkg-config."
echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
else
PKG_CONFIG_MIN_VERSION=0.9.0
if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
AC_MSG_CHECKING(for $2)
if $PKG_CONFIG --exists "$2" ; then
AC_MSG_RESULT(yes)
succeeded=yes
# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
# ---------------------------------------------
m4_define([_PKG_CONFIG],
[if test -n "$PKG_CONFIG"; then
if test -n "$$1"; then
pkg_cv_[]$1="$$1"
else
PKG_CHECK_EXISTS([$3],
[pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
[pkg_failed=yes])
fi
else
pkg_failed=untried
fi[]dnl
])# _PKG_CONFIG
AC_MSG_CHECKING($1_CFLAGS)
$1_CFLAGS=`$PKG_CONFIG --cflags "$2"`
AC_MSG_RESULT($$1_CFLAGS)
# _PKG_SHORT_ERRORS_SUPPORTED
# -----------------------------
AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
_pkg_short_errors_supported=yes
else
_pkg_short_errors_supported=no
fi[]dnl
])# _PKG_SHORT_ERRORS_SUPPORTED
AC_MSG_CHECKING($1_LIBS)
$1_LIBS=`$PKG_CONFIG --libs "$2"`
AC_MSG_RESULT($$1_LIBS)
else
$1_CFLAGS=""
$1_LIBS=""
## If we have a custom action on failure, don't print errors, but
## do set a variable so people can do so.
$1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
ifelse([$4], ,echo $$1_PKG_ERRORS,)
# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
# [ACTION-IF-NOT-FOUND])
#
#
# Note that if there is a possibility the first call to
# PKG_CHECK_MODULES might not happen, you should be sure to include an
# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
#
#
# --------------------------------------------------------------
AC_DEFUN([PKG_CHECK_MODULES],
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
pkg_failed=no
AC_MSG_CHECKING([for $1])
_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
_PKG_CONFIG([$1][_LIBS], [libs], [$2])
m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
and $1[]_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.])
if test $pkg_failed = yes; then
_PKG_SHORT_ERRORS_SUPPORTED
if test $_pkg_short_errors_supported = yes; then
$1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
else
$1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
fi
# Put the nasty error message in config.log where it belongs
echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
AC_SUBST($1_CFLAGS)
AC_SUBST($1_LIBS)
else
echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
echo "*** See http://www.freedesktop.org/software/pkgconfig"
fi
fi
ifelse([$4], , [AC_MSG_ERROR(dnl
[Package requirements ($2) were not met:
if test $succeeded = yes; then
ifelse([$3], , :, [$3])
else
ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])
fi
])
$$1_PKG_ERRORS
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
_PKG_TEXT
])],
[$4])
elif test $pkg_failed = untried; then
ifelse([$4], , [AC_MSG_FAILURE(dnl
[The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.
_PKG_TEXT
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.])],
[$4])
else
$1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
$1[]_LIBS=$pkg_cv_[]$1[]_LIBS
AC_MSG_RESULT([yes])
ifelse([$3], , :, [$3])
fi[]dnl
])# PKG_CHECK_MODULES

View File

@@ -20,20 +20,21 @@ AC_ARG_ENABLE(sdltest, [ --disable-sdltest Do not try to compile and run
, enable_sdltest=yes)
if test x$sdl_exec_prefix != x ; then
sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
if test x${SDL_CONFIG+set} != xset ; then
SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
fi
sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
if test x${SDL_CONFIG+set} != xset ; then
SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
fi
fi
if test x$sdl_prefix != x ; then
sdl_args="$sdl_args --prefix=$sdl_prefix"
if test x${SDL_CONFIG+set} != xset ; then
SDL_CONFIG=$sdl_prefix/bin/sdl-config
fi
sdl_args="$sdl_args --prefix=$sdl_prefix"
if test x${SDL_CONFIG+set} != xset ; then
SDL_CONFIG=$sdl_prefix/bin/sdl-config
fi
fi
AC_REQUIRE([AC_CANONICAL_TARGET])
PATH="$prefix/bin:$prefix/usr/bin:$PATH"
if test "x$prefix" != xNONE; then
PATH="$prefix/bin:$prefix/usr/bin:$PATH"
fi
AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH])
min_sdl_version=ifelse([$1], ,0.11.0,$1)
AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)

View File

@@ -0,0 +1,26 @@
# Created: 2005/03/12
# Author: David Elliott
# For autoconf: Debian in their infinite wisdom decided to improve upon
# the standard autoconf 2.59 macros. Thus Debian's autoconf generates
# a totally different configure script. This fixes it to look
# mostly like Debian's. There are also some fixes pulled in from the OS/2
# fork of autoconf.
# Rule to freeze the m4 so autoconf will actually use it.
# NOTE: VERY important to cd to somewhere there are no .m4 files.
# or at least no aclocal.m4 or else autom4te helpfully picks it up.
.PHONY: all
all: autoconf/autoconf.m4f
AUTOCONF_SOURCES = \
autoconf/c.m4 \
autoconf/general.m4 \
autoconf/libs.m4 \
autoconf/status.m4
AUTOM4TE=autom4te
autoconf/autoconf.m4f: $(AUTOCONF_SOURCES)
$(AUTOM4TE) -B . --language=Autoconf --freeze --output=autoconf/autoconf.m4f

View File

@@ -0,0 +1,22 @@
wxAutohacks
wxAutohacks is a way of ensuring the configure script remains consistent
between developer commits. Previous releases include a build/aclocal_include
which has now been moved into the wxWidgets build/aclocal directory.
At the moment, it is intended to be copied and or symlinked into a wxWidgets
source tree. For example, assume you have wxWidgets checked out in the
/home/myname/wxCVS/wxWidgets/ path. Then from /home/myname/wxCVS do this:
cvs -d :pserver:anoncvs@cvs.wxwidgets.org:/pack/cvsroots/wxwidgets checkout wxAutohacks
You will now have wxAutohacks in /home/myname/wxCVS/wxAutohacks/. Now go into
the wxWidgets build (/home/myname/wxCVS/wxWidgets/build/) and do this:
ln -s ../../wxAutohacks/build/autoconf_prepend-include .
From now on from the root of your wxWidgets source tree when you do this:
make -f build/autogen.mk
you will also build an autoconf.m4f file which will ensure the configure
script stays consistent.
Alternatively you can do this:
make -f build/autogen.mk AUTOHACKS_PREPEND_INCLUDE_DIR=../wxAutohacks/build/autoconf_prepend-include

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,498 @@
# This file is part of Autoconf. -*- Autoconf -*-
# Checking for libraries.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# 2002 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.
# As a special exception, the Free Software Foundation gives unlimited
# permission to copy, distribute and modify the configure scripts that
# are the output of Autoconf. You need not follow the terms of the GNU
# General Public License when using or distributing such scripts, even
# though portions of the text of Autoconf appear in them. The GNU
# General Public License (GPL) does govern all other use of the material
# that constitutes the Autoconf program.
#
# Certain portions of the Autoconf source text are designed to be copied
# (in certain cases, depending on the input) into the output of
# Autoconf. We call these the "data" portions. The rest of the Autoconf
# source text consists of comments plus executable code that decides which
# of the data portions to output in any given case. We call these
# comments and executable code the "non-data" portions. Autoconf never
# copies any of the non-data portions into its output.
#
# This special exception to the GPL applies to versions of Autoconf
# released by the Free Software Foundation. When you make and
# distribute a modified version of Autoconf, you may extend this special
# exception to the GPL to apply to your modified version as well, *unless*
# your modified version has the potential to copy into its output some
# of the text that was the non-data portion of the version that you started
# with. (In other words, unless your change moves or copies text from
# the non-data portions to the data portions.) If your modification has
# such potential, you must delete any notice of this special exception
# to the GPL from your modified version.
#
# Written by David MacKenzie, with help from
# Franc,ois Pinard, Karl Berry, Richard Pixley, Ian Lance Taylor,
# Roland McGrath, Noah Friedman, david d zuhn, and many others.
# Table of contents
#
# 1. Generic tests for libraries
# 2. Tests for specific libraries
## --------------------------------- ##
## 1. Generic tests for libraries.## ##
## --------------------------------- ##
# AC_SEARCH_LIBS(FUNCTION, SEARCH-LIBS,
# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND],
# [OTHER-LIBRARIES])
# --------------------------------------------------------
# Search for a library defining FUNC, if it's not already available.
AC_DEFUN([AC_SEARCH_LIBS],
[AC_CACHE_CHECK([for library containing $1], [ac_cv_search_$1],
[ac_func_search_save_LIBS=$LIBS
ac_cv_search_$1=no
AC_LINK_IFELSE([AC_LANG_CALL([], [$1])],
[ac_cv_search_$1="none required"])
if test "$ac_cv_search_$1" = no; then
for ac_lib in $2; do
LIBS="-l$ac_lib $5 $ac_func_search_save_LIBS"
AC_LINK_IFELSE([AC_LANG_CALL([], [$1])],
[ac_cv_search_$1="-l$ac_lib"
break])
done
fi
LIBS=$ac_func_search_save_LIBS])
AS_IF([test "$ac_cv_search_$1" != no],
[test "$ac_cv_search_$1" = "none required" || LIBS="$ac_cv_search_$1 $LIBS"
$3],
[$4])dnl
])
# AC_CHECK_LIB(LIBRARY, FUNCTION,
# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND],
# [OTHER-LIBRARIES])
# ------------------------------------------------------
#
# Use a cache variable name containing both the library and function name,
# because the test really is for library $1 defining function $2, not
# just for library $1. Separate tests with the same $1 and different $2s
# may have different results.
#
# Note that using directly AS_VAR_PUSHDEF([ac_Lib], [ac_cv_lib_$1_$2])
# is asking for troubles, since AC_CHECK_LIB($lib, fun) would give
# ac_cv_lib_$lib_fun, which is definitely not what was meant. Hence
# the AS_LITERAL_IF indirection.
#
# FIXME: This macro is extremely suspicious. It DEFINEs unconditionally,
# whatever the FUNCTION, in addition to not being a *S macro. Note
# that the cache does depend upon the function we are looking for.
#
# It is on purpose we used `ac_check_lib_save_LIBS' and not just
# `ac_save_LIBS': there are many macros which don't want to see `LIBS'
# changed but still want to use AC_CHECK_LIB, so they save `LIBS'.
# And ``ac_save_LIBS' is too tempting a name, so let's leave them some
# freedom.
AC_DEFUN([AC_CHECK_LIB],
[m4_ifval([$3], , [AH_CHECK_LIB([$1])])dnl
AS_LITERAL_IF([$1],
[AS_VAR_PUSHDEF([ac_Lib], [ac_cv_lib_$1_$2])],
[AS_VAR_PUSHDEF([ac_Lib], [ac_cv_lib_$1''_$2])])dnl
AC_CACHE_CHECK([for $2 in -l$1], ac_Lib,
[ac_check_lib_save_LIBS=$LIBS
LIBS="-l$1 $5 $LIBS"
AC_LINK_IFELSE([AC_LANG_CALL([], [$2])],
[AS_VAR_SET(ac_Lib, yes)],
[AS_VAR_SET(ac_Lib, no)])
LIBS=$ac_check_lib_save_LIBS])
AS_IF([test AS_VAR_GET(ac_Lib) = yes],
[m4_default([$3], [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_LIB$1))
LIBS="-l$1 $LIBS"
])],
[$4])dnl
AS_VAR_POPDEF([ac_Lib])dnl
])# AC_CHECK_LIB
# AH_CHECK_LIB(LIBNAME)
# ---------------------
m4_define([AH_CHECK_LIB],
[AH_TEMPLATE(AS_TR_CPP(HAVE_LIB$1),
[Define to 1 if you have the `]$1[' library (-l]$1[).])])
# AC_HAVE_LIBRARY(LIBRARY,
# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND],
# [OTHER-LIBRARIES])
# ---------------------------------------------------------
#
# This macro is equivalent to calling `AC_CHECK_LIB' with a FUNCTION
# argument of `main'. In addition, LIBRARY can be written as any of
# `foo', `-lfoo', or `libfoo.a'. In all of those cases, the compiler
# is passed `-lfoo'. However, LIBRARY cannot be a shell variable;
# it must be a literal name.
AU_DEFUN([AC_HAVE_LIBRARY],
[m4_pushdef([AC_Lib_Name],
m4_bpatsubst(m4_bpatsubst([[$1]],
[lib\([^\.]*\)\.a], [\1]),
[-l], []))dnl
AC_CHECK_LIB(AC_Lib_Name, main, [$2], [$3], [$4])dnl
ac_cv_lib_[]AC_Lib_Name()=ac_cv_lib_[]AC_Lib_Name()_main
m4_popdef([AC_Lib_Name])dnl
])
## --------------------------------- ##
## 2. Tests for specific libraries. ##
## --------------------------------- ##
# --------------------- #
# Checks for X window. #
# --------------------- #
# _AC_PATH_X_XMKMF
# ----------------
# Internal subroutine of _AC_PATH_X.
# Set ac_x_includes and/or ac_x_libraries.
m4_define([_AC_PATH_X_XMKMF],
[rm -fr conftest.dir
if mkdir conftest.dir; then
cd conftest.dir
# Make sure to not put "make" in the Imakefile rules, since we grep it out.
cat >Imakefile <<'_ACEOF'
acfindx:
@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
_ACEOF
if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
for ac_extension in a so sl; do
if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
test -f $ac_im_libdir/libX11.$ac_extension; then
ac_im_usrlibdir=$ac_im_libdir; break
fi
done
# Screen out bogus values from the imake configuration. They are
# bogus both because they are the default anyway, and because
# using them would break gcc on systems where it needs fixed includes.
case $ac_im_incroot in
/usr/include) ;;
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
esac
case $ac_im_usrlibdir in
/usr/lib | /lib) ;;
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
esac
fi
cd ..
rm -fr conftest.dir
fi
])# _AC_PATH_X_XMKMF
# _AC_PATH_X_DIRECT
# -----------------
# Internal subroutine of _AC_PATH_X.
# Set ac_x_includes and/or ac_x_libraries.
m4_define([_AC_PATH_X_DIRECT],
[# Standard set of common directories for X headers.
# Check X11 before X11Rn because it is often a symlink to the current release.
ac_x_header_dirs='
/usr/X11/include
/usr/X11R6/include
/usr/X11R5/include
/usr/X11R4/include
/usr/include/X11
/usr/include/X11R6
/usr/include/X11R5
/usr/include/X11R4
/usr/local/X11/include
/usr/local/X11R6/include
/usr/local/X11R5/include
/usr/local/X11R4/include
/usr/local/include/X11
/usr/local/include/X11R6
/usr/local/include/X11R5
/usr/local/include/X11R4
/usr/X386/include
/usr/x386/include
/usr/XFree86/include/X11
/usr/include
/usr/local/include
/usr/unsupported/include
/usr/athena/include
/usr/local/x11r5/include
/usr/lpp/Xamples/include
/usr/openwin/include
/usr/openwin/share/include'
if test "$ac_x_includes" = no; then
# Guess where to find include files, by looking for a specified header file.
# First, try using that file with no special directory specified.
AC_PREPROC_IFELSE([AC_LANG_SOURCE([@%:@include <X11/Xlib.h>])],
[# We can compile using X headers with no special include directory.
ac_x_includes=],
[for ac_dir in $ac_x_header_dirs; do
if test -r "$ac_dir/X11/Xlib.h"; then
ac_x_includes=$ac_dir
break
fi
done])
fi # $ac_x_includes = no
if test "$ac_x_libraries" = no; then
# Check for the libraries.
# See if we find them without any special options.
# Don't add to $LIBS permanently.
ac_save_LIBS=$LIBS
LIBS="-lX11 $LIBS"
AC_LINK_IFELSE([AC_LANG_PROGRAM([@%:@include <X11/Xlib.h>],
[XrmInitialize ()])],
[LIBS=$ac_save_LIBS
# We can link X programs with no special library path.
ac_x_libraries=],
[LIBS=$ac_save_LIBS
for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
do
# Don't even attempt the hair of trying to link an X program!
for ac_extension in a so sl; do
if test -r $ac_dir/libX11.$ac_extension; then
ac_x_libraries=$ac_dir
break 2
fi
done
done])
fi # $ac_x_libraries = no
])# _AC_PATH_X_DIRECT
# _AC_PATH_X
# ----------
# Compute ac_cv_have_x.
AC_DEFUN([_AC_PATH_X],
[AC_CACHE_VAL(ac_cv_have_x,
[# One or both of the vars are not set, and there is no cached value.
ac_x_includes=no ac_x_libraries=no
_AC_PATH_X_XMKMF
_AC_PATH_X_DIRECT
if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
# Didn't find X anywhere. Cache the known absence of X.
ac_cv_have_x="have_x=no"
else
# Record where we found X for the cache.
ac_cv_have_x="have_x=yes \
ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
fi])dnl
])
# AC_PATH_X
# ---------
# If we find X, set shell vars x_includes and x_libraries to the
# paths, otherwise set no_x=yes.
# Uses ac_ vars as temps to allow command line to override cache and checks.
# --without-x overrides everything else, but does not touch the cache.
AN_HEADER([X11/Xlib.h], [AC_PATH_X])
AC_DEFUN([AC_PATH_X],
[dnl Document the X abnormal options inherited from history.
m4_divert_once([HELP_BEGIN], [
X features:
--x-includes=DIR X include files are in DIR
--x-libraries=DIR X library files are in DIR])dnl
if test "x$ac_path_x_has_been_run" != xyes; then
AC_MSG_CHECKING([for X])
ac_path_x_has_been_run=yes
AC_ARG_WITH(x, [ --with-x use the X Window System])
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
if test "x$with_x" = xno; then
# The user explicitly disabled X.
have_x=disabled
else
if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
# Both variables are already set.
have_x=yes
else
_AC_PATH_X
fi
eval "$ac_cv_have_x"
fi # $with_x != no
if test "$have_x" != yes; then
AC_MSG_RESULT([$have_x])
no_x=yes
else
# If each of the values was on the command line, it overrides each guess.
test "x$x_includes" = xNONE && x_includes=$ac_x_includes
test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
# Update the cache value to reflect the command line values.
ac_cv_have_x="have_x=yes \
ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
# It might be that x_includes is empty (headers are found in the
# standard search path. Then output the corresponding message
ac_out_x_includes=$x_includes
test "x$x_includes" = x && ac_out_x_includes="in standard search path"
AC_MSG_RESULT([libraries $x_libraries, headers $ac_out_x_includes])
fi
fi])# AC_PATH_X
# AC_PATH_XTRA
# ------------
# Find additional X libraries, magic flags, etc.
AC_DEFUN([AC_PATH_XTRA],
[AC_REQUIRE([AC_PATH_X])dnl
if test "$no_x" = yes; then
# Not all programs may use this symbol, but it does not hurt to define it.
AC_DEFINE([X_DISPLAY_MISSING], 1,
[Define to 1 if the X Window System is missing or not being used.])
X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
else
if test -n "$x_includes"; then
X_CFLAGS="$X_CFLAGS -I$x_includes"
fi
# It would also be nice to do this for all -L options, not just this one.
if test -n "$x_libraries"; then
X_LIBS="$X_LIBS -L$x_libraries"
dnl FIXME: banish uname from this macro!
# For Solaris; some versions of Sun CC require a space after -R and
# others require no space. Words are not sufficient . . . .
case `(uname -sr) 2>/dev/null` in
"SunOS 5"*)
AC_MSG_CHECKING([whether -R must be followed by a space])
ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
AC_LINK_IFELSE([AC_LANG_PROGRAM()], ac_R_nospace=yes, ac_R_nospace=no)
if test $ac_R_nospace = yes; then
AC_MSG_RESULT([no])
X_LIBS="$X_LIBS -R$x_libraries"
else
LIBS="$ac_xsave_LIBS -R $x_libraries"
AC_LINK_IFELSE([AC_LANG_PROGRAM()], ac_R_space=yes, ac_R_space=no)
if test $ac_R_space = yes; then
AC_MSG_RESULT([yes])
X_LIBS="$X_LIBS -R $x_libraries"
else
AC_MSG_RESULT([neither works])
fi
fi
LIBS=$ac_xsave_LIBS
esac
fi
# Check for system-dependent libraries X programs must link with.
# Do this before checking for the system-independent R6 libraries
# (-lICE), since we may need -lsocket or whatever for X linking.
if test "$ISC" = yes; then
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
else
# Martyn Johnson says this is needed for Ultrix, if the X
# libraries were built with DECnet support. And Karl Berry says
# the Alpha needs dnet_stub (dnet does not exist).
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
AC_LINK_IFELSE([AC_LANG_CALL([], [XOpenDisplay])],
[],
[AC_CHECK_LIB(dnet, dnet_ntoa, [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"])
if test $ac_cv_lib_dnet_dnet_ntoa = no; then
AC_CHECK_LIB(dnet_stub, dnet_ntoa,
[X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"])
fi])
LIBS="$ac_xsave_LIBS"
# msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
# to get the SysV transport functions.
# Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
# needs -lnsl.
# The nsl library prevents programs from opening the X display
# on Irix 5.2, according to T.E. Dickey.
# The functions gethostbyname, getservbyname, and inet_addr are
# in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
AC_CHECK_FUNC(gethostbyname)
if test $ac_cv_func_gethostbyname = no; then
AC_CHECK_LIB(nsl, gethostbyname, X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl")
if test $ac_cv_lib_nsl_gethostbyname = no; then
AC_CHECK_LIB(bsd, gethostbyname, X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd")
fi
fi
# lieder@skyler.mavd.honeywell.com says without -lsocket,
# socket/setsockopt and other routines are undefined under SCO ODT
# 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
# on later versions), says Simon Leinen: it contains gethostby*
# variants that don't use the name server (or something). -lsocket
# must be given before -lnsl if both are needed. We assume that
# if connect needs -lnsl, so does gethostbyname.
AC_CHECK_FUNC(connect)
if test $ac_cv_func_connect = no; then
AC_CHECK_LIB(socket, connect, X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS", ,
$X_EXTRA_LIBS)
fi
# Guillermo Gomez says -lposix is necessary on A/UX.
AC_CHECK_FUNC(remove)
if test $ac_cv_func_remove = no; then
AC_CHECK_LIB(posix, remove, X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix")
fi
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
AC_CHECK_FUNC(shmat)
if test $ac_cv_func_shmat = no; then
AC_CHECK_LIB(ipc, shmat, X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc")
fi
fi
# Check for libraries that X11R6 Xt/Xaw programs need.
ac_save_LDFLAGS=$LDFLAGS
test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
# check for ICE first), but we must link in the order -lSM -lICE or
# we get undefined symbols. So assume we have SM if we have ICE.
# These have to be linked with before -lX11, unlike the other
# libraries we check for below, so use a different variable.
# John Interrante, Karl Berry
AC_CHECK_LIB(ICE, IceConnectionNumber,
[X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"], , $X_EXTRA_LIBS)
LDFLAGS=$ac_save_LDFLAGS
fi
AC_SUBST(X_CFLAGS)dnl
AC_SUBST(X_PRE_LIBS)dnl
AC_SUBST(X_LIBS)dnl
AC_SUBST(X_EXTRA_LIBS)dnl
])# AC_PATH_XTRA

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" ?>
<!-- $Id$ -->
<bakefile-gen>
<bakefile-gen xmlns="http://www.bakefile.org/schema/bakefile-gen">
<!--
Formats listed here are not generated by default. To enable them, either
@@ -15,18 +15,17 @@
Reasons why these formats are disabled (and so not in CVS):
dmars - In beta testing, will be added when it stabilizes.
dmars_smake - ditto
msevc4prj - ditto
cbuilderx - Generated projects are too bad to be included in CVS. Please
*do not* enable this format until FIXMEs in .bkl files related
to cbuilderx are addressed. In particular, the project must
be placed into build/msw(?) directory and store object files
in its subdirectory and it must copy setup.h as others do.
cbx_unix - Doesn't integrate well and won't be used by most Unix people.
dmars, dmars_smake, msevc4prj - These are generated at release time and
we don't want to clutter the source tree with these files.
-->
<disable-formats>dmars,dmars_smake,cbx_unix,cbuilderx,msevc4prj</disable-formats>
<disable-formats>dmars,dmars_smake,msevc4prj,cbx_unix,cbuilderx</disable-formats>
<!-- These wildcards match all .bkl files in wxWidgets tree: -->
@@ -55,22 +54,22 @@
</add-formats>
<del-formats files="../../samples/*.bkl">
autoconf,msvc6prj,msevc4prj,cbuilderx,cbx_unix
autoconf,msvc6prj,msevc4prj,msvs2005prj,cbuilderx,cbx_unix
</del-formats>
<del-formats files="../../demos/*.bkl">
msvc6prj,msevc4prj,cbuilderx,cbx_unix
msvc6prj,msevc4prj,msvs2005prj,cbuilderx,cbx_unix
</del-formats>
<del-formats files="../../samples/html/html_samples.bkl">
msvc6prj,msevc4prj,cbuilderx,cbx_unix
msvc6prj,msevc4prj,msvs2005prj,cbuilderx,cbx_unix
</del-formats>
<del-formats files="../../samples/mobile/mobile_samples.bkl">
msvc6prj,msevc4prj,cbuilderx,cbx_unix
msvc6prj,msevc4prj,msvs2005prj,cbuilderx,cbx_unix
</del-formats>
<del-formats files="../../samples/opengl/opengl_samples.bkl">
msvc6prj,msevc4prj,cbuilderx,cbx_unix
msvc6prj,msevc4prj,msvs2005prj,cbuilderx,cbx_unix
</del-formats>
<del-formats files="../../utils/*.bkl">
msvc6prj,msevc4prj,cbuilderx,cbx_unix
msvc6prj,msevc4prj,msvs2005prj,cbuilderx,cbx_unix
</del-formats>
<!-- WinCE can't have console apps: -->
@@ -82,7 +81,7 @@
<!-- HtmlCtrl sample is Cocoa only (autoconf format) -->
<del-formats files="../../samples/html/htmlctrl/htmlctrl.bkl">
borland,dmars_smake,dmars,mingw,msvc,msvc6prj,msevc4prj,watcom,cbuilderx,cbx_unix
borland,dmars_smake,dmars,mingw,msvc,msvc6prj,msevc4prj,msvs2005prj,watcom,cbuilderx,cbx_unix
</del-formats>
@@ -115,6 +114,9 @@
<add-flags files="wx.bkl" formats="msvc6prj">
-o../msw/wx.dsw
</add-flags>
<add-flags files="wx.bkl" formats="msvs2005prj">
-o../msw/wx.sln
</add-flags>
<add-flags files="wx.bkl" formats="msevc4prj">
-o../wince/wx.vcw
</add-flags>
@@ -132,7 +134,7 @@
-o../../contrib/src/$(INPUT_FILE_BASENAME_NOEXT)/$(INPUT_FILE_BASENAME_NOEXT).cbx
</add-flags>
<add-flags files="../../contrib/build/*/*.bkl"
formats="mingw,borland,dmars_smake,dmars,watcom,msvc,msvc6prj,msevc4prj">
formats="mingw,borland,dmars_smake,dmars,watcom,msvc,msvc6prj,msevc4prj,msvs2005prj">
-DSRCDIR=../../src/$(INPUT_FILE_BASENAME_NOEXT)
</add-flags>
@@ -143,11 +145,6 @@
-DAUTOCONF_MACROS_FILE=../../autoconf_inc.m4
</add-flags>
<add-formats files="wx.bkl">wx24dsp</add-formats>
<add-flags formats="wx24dsp">
-DUSE_GUI=1 -DWXUNIV=0 -o../../src/wxWindows.dsp
</add-flags>
<add-formats files="wx.bkl">rpmspec</add-formats>
@@ -156,7 +153,8 @@
<add-flags formats="borland,dmars_smake,dmars,mingw,msvc,watcom">
-DWRITE_OPTIONS_FILE=0
</add-flags>
<del-flags files="wx.bkl">
<del-flags formats="borland,dmars_smake,dmars,mingw,msvc,watcom"
files="wx.bkl">
-DWRITE_OPTIONS_FILE=0
</del-flags>
@@ -257,6 +255,15 @@
-DOPTIONS_FILE=../../../../build/msw/config.wat
</add-flags>
<!-- Makefiles for out-of-tree building of samples on Unix: -->
<add-formats files="../../samples/*/*.bkl,../../samples/*/*/*.bkl">
gnu
</add-formats>
<add-flags files="../../samples/*/*.bkl,../../samples/*/*/*.bkl"
formats="gnu">
-DOUT_OF_TREE_MAKEFILES=1 -o$(INPUT_FILE_DIR)/makefile.unx
</add-flags>
<!-- Personal customizations (not in CVS): -->
<include file="Bakefiles.local.bkgen" ignore_missing="1"/>

View File

@@ -8,7 +8,7 @@
the library.
-->
<if cond="FORMAT not in ['autoconf','msvc6prj','msevc4prj','cbuilderx'] and
<if cond="FORMAT not in ['autoconf','msvc6prj','msevc4prj','msvs2005prj','cbuilderx'] and
TOOLKIT in ['PM','MSW','MGL','MOTIF']">
<set var="BUILD_CFG_FILE" make_var="1">
@@ -39,9 +39,11 @@
@echo USE_THREADS=$(USE_THREADS) >>$(BUILD_CFG_FILE)
@echo USE_GUI=$(USE_GUI) >>$(BUILD_CFG_FILE)
@echo USE_HTML=$(USE_HTML) >>$(BUILD_CFG_FILE)
@echo USE_MEDIA=$(USE_MEDIA) >>$(BUILD_CFG_FILE)
@echo USE_ODBC=$(USE_ODBC) >>$(BUILD_CFG_FILE)
@echo USE_OPENGL=$(USE_OPENGL) >>$(BUILD_CFG_FILE)
@echo USE_QA=$(USE_QA) >>$(BUILD_CFG_FILE)
@echo USE_GDIPLUS=$(USE_GDIPLUS) >>$(BUILD_CFG_FILE)
@echo COMPILER=$(COMPILER) >>$(BUILD_CFG_FILE)
@echo CC=$(CC) >>$(BUILD_CFG_FILE)
@echo CXX=$(CXX) >>$(BUILD_CFG_FILE)

View File

@@ -3,7 +3,7 @@
<makefile>
<requires version="0.1.7"/>
<requires version="0.2.3"/>
<!-- bakefile modules we need: -->
<using module="datafiles"/>
@@ -130,7 +130,7 @@
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('adv')))</if>
</set>
<set var="WXLIB_MEDIA">
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('media')))</if>
<if cond="MONOLITHIC=='0' and USE_MEDIA=='1'">$(mk.evalExpr(wxwin.mkLibName('media')))</if>
</set>
<set var="WXLIB_HTML">
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('html')))</if>
@@ -149,6 +149,12 @@
<set var="WXLIB_DBGRID">
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('dbgrid')))</if>
</set>
<set var="WXLIB_AUI">
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('aui')))</if>
</set>
<set var="WXLIB_RICHTEXT">
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('richtext')))</if>
</set>
<set var="WXLIB_MONO">
<if cond="MONOLITHIC=='1'">$(mk.evalExpr(wxwin.mkLibName('mono')))</if>
@@ -194,7 +200,7 @@
</set>
<set var="LIBDIRNAME" make_var="1">
<if cond="FORMAT=='autoconf'">$(top_builddir)lib</if>
<if cond="FORMAT=='autoconf'">$(wx_top_builddir)/lib</if>
<if cond="FORMAT!='autoconf'">
$(nativePaths(TOP_SRCDIR))lib$(DIRSEP)$(COMPILER)$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)
</if>
@@ -276,6 +282,15 @@
<if cond="MSLU=='1'">unicows</if>
</set>
<if cond="FORMAT!='autoconf'">
<set var="GDIPLUS_LIB">
<if cond="USE_GDIPLUS=='1'">gdiplus</if>
</set>
<set var="GFXCTX_DEFINE">
<if cond="USE_GDIPLUS=='1'">wxUSE_GRAPHICS_CONTEXT=1</if>
</set>
</if>
<set var="LINK_TARGET_CPU">
<if cond="TARGET_CPU=='amd64'">/MACHINE:AMD64</if>
<if cond="TARGET_CPU=='AMD64'">/MACHINE:AMD64</if>
@@ -306,6 +321,7 @@
<if cond="FORMAT=='msvc'">
<ldflags>$(LINK_TARGET_CPU)</ldflags>
</if>
<include cond="FORMAT=='msevc4prj'">$(TOP_SRCDIR)build/wince/missing</include>
</template>
<template id="anylib">
@@ -331,28 +347,22 @@
<!-- deal with the need to copy setup.h here: -->
<set var="IS_MSVC_PRJ">$(FORMAT in ['msvc6prj','msevc4prj'])</set>
<set var="IS_MSVC_PRJ">
$(FORMAT in ['msvc6prj','msevc4prj','msvs2005prj'])
</set>
<define-tag name="msvc-headers" rules="dll,lib">
<if cond="IS_MSVC_PRJ">
<!-- FIXME: remove this once we require >=bkl-0.1.9 -->
<if cond="BAKEFILE_VERSION in ['0.1.7', '0.1.8']">
<msvc-project-files>
$(addPrefixToList('include\', wxwin.headersOnly(value)))
</msvc-project-files>
</if>
<if cond="BAKEFILE_VERSION not in ['0.1.7', '0.1.8']">
<msvc-project-files>
$(addPrefixToList('include\\', wxwin.headersOnly(value)))
</msvc-project-files>
</if>
<msvc-project-files>
$(addPrefixToList('include\\', wxwin.headersOnly(value)))
</msvc-project-files>
</if>
</define-tag>
<set var="msvc_copy_setup_h_script">
<if cond="IS_MSVC_PRJ">
Creating $(SETUPHDIR)\wx\setup.h
InputPath=..\include\wx\%s
InputPath=..\..\include\wx\%s
"$(SETUPHDIR)\wx\setup.h" : $(DOLLAR)(SOURCE) "$(DOLLAR)(INTDIR)" "$(DOLLAR)(OUTDIR)"
$(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
@@ -411,8 +421,9 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
</set>
<set var="_custom_build_include_wx_msw_genrcdefs_h">
Creating $(SETUPHDIR)\wx\msw\rcdefs.h
InputPath=..\..\include\wx\msw\genrcdefs.h
"$(SETUPHDIR)\wx\msw\rcdefs.h" : "$(DOLLAR)(SOURCE)" "$(DOLLAR)(SETUPHDIR)\wx\msw"
"$(SETUPHDIR)\wx\msw\rcdefs.h" : "$(DOLLAR)(SOURCE)" "$(SETUPHDIR)\wx\msw"
$(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\rcdefs.h"
</set>
</if>
@@ -471,6 +482,7 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r
<define>$(THREAD_DEFINE)</define>
<define>$(UNICODE_DEFINE)</define>
<define>$(MSLU_DEFINE)</define>
<if cond="FORMAT!='autoconf'"><define>$(GFXCTX_DEFINE)</define></if>
<include cond="FORMAT!='autoconf'">$(SETUPHDIR)</include>
<include cond="FORMAT!='autoconf'">$(TOP_SRCDIR)include</include>
<lib-path>$(LIBDIRNAME)</lib-path>
@@ -493,9 +505,6 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r
<!-- for both GUI and wxBase libs/samples: -->
<template id="wx_append_base_nomono">
<!-- link against builtin 3rd party libs, if needed: -->
<sys-lib>$(LIB_TIFF)</sys-lib>
<sys-lib>$(LIB_JPEG)</sys-lib>
<sys-lib>$(LIB_PNG)</sys-lib>
<sys-lib>$(LIB_ZLIB)</sys-lib>
<sys-lib>$(LIB_ODBC)</sys-lib>
<sys-lib>$(LIB_REGEX)</sys-lib>
@@ -520,6 +529,7 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r
<!-- system libraries on windows: -->
<if cond="FORMAT!='autoconf' and PLATFORM_WIN32=='1'">
<sys-lib>$(UNICOWS_LIB)</sys-lib>
<sys-lib>$(GDIPLUS_LIB)</sys-lib>
<if cond="FORMAT=='borland'">
<sys-lib>ole2w32</sys-lib>
</if>
@@ -558,7 +568,10 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r
<!-- for GUI libs/samples: -->
<template id="wx_append_nomono" template="wx_append_base_nomono">
<template id="wx_append_nomono" template_append="wx_append_base_nomono">
<sys-lib>$(LIB_TIFF)</sys-lib>
<sys-lib>$(LIB_JPEG)</sys-lib>
<sys-lib>$(LIB_PNG)</sys-lib>
<ldlibs>$(EXTRALIBS_FOR_GUI)</ldlibs>
</template>
@@ -580,10 +593,10 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r
<libname>$(WXLIBNAME)</libname>
<if cond="WX_DISABLE_PRECOMP_HEADERS=='0'">
<if cond="FORMAT!='autoconf' and TOOLKIT in ['MSW','WINCE']">
<sources>$(WXTOPDIR)src/msw/dummy.cpp</sources>
<if cond="FORMAT!='autoconf' and TOOLKIT in ['MSW','MGL','PM','WINCE']">
<sources>$(WXTOPDIR)src/common/dummy.cpp</sources>
<precomp-headers-gen>
$(WXTOPDIR)src/msw/dummy.cpp
$(WXTOPDIR)src/common/dummy.cpp
</precomp-headers-gen>
</if>
<precomp-headers-location>$(WXTOPDIR)include</precomp-headers-location>
@@ -628,12 +641,10 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r
<ldflags cond="FORMAT=='autoconf'">$(WXMACVERSION_CMD)</ldflags>
<!-- version info resources: -->
<if cond="FORMAT not in ['rpmspec','wx24dsp']"> <!-- FIXME: fix for bkl-0.1.7 only, remove the cond later -->
<res-define>WXDLLNAME=$(WXDLLNAME)</res-define>
<if cond="FORMAT=='autoconf'">
<res-include>$(RCDEFDIR)</res-include>
<res-include>$(TOP_SRCDIR)include</res-include>
</if>
<res-define>WXDLLNAME=$(WXDLLNAME)</res-define>
<if cond="FORMAT=='autoconf'">
<res-include>$(RCDEFDIR)</res-include>
<res-include>$(TOP_SRCDIR)include</res-include>
</if>
<win32-res>$(WXTOPDIR)src/msw/version.rc</win32-res>
</template>

View File

@@ -3,121 +3,17 @@
<makefile>
<include file="common.bkl"/>
<set var="file_common_samples_included">1</set>
<!-- =============================================================== -->
<!-- Template for wxWidgets samples: -->
<!-- =============================================================== -->
<if cond="FORMAT=='autoconf'">
<set var="MACOSX_RESOURCES">
<if cond="TOOLKIT=='MAC'">
Carbon.r sample.r
</if>
</set>
<if cond="not isdefined('OUT_OF_TREE_MAKEFILES')">
<set var="OUT_OF_TREE_MAKEFILES">0</set>
</if>
<set var="DLLFLAG">
<if cond="SHARED=='1'">WXUSINGDLL</if>
</set>
<template id="wx_util_b" template="wx">
<include>$(SRCDIR)</include>
<define>$(DLLFLAG)</define>
</template>
<template id="wx_util" template="wx_util_b">
<app-type>gui</app-type>
<mac-res cond="FORMAT=='autoconf'">$(MACOSX_RESOURCES)</mac-res>
<!-- resource files includes: -->
<include>$(SRCDIR)/$(WXTOPDIR)samples</include>
<!-- this include is not added via <include> for autoconf, see
common.bkl: -->
<if cond="FORMAT=='autoconf'">
<res-include>$(RCDEFDIR)</res-include>
<res-include>$(TOP_SRCDIR)include</res-include>
</if>
<win32-res>$(WXTOPDIR)samples/sample.rc</win32-res>
<if cond="FORMAT=='autoconf'">
<wx-os2-lib-resource/>
</if>
<!-- FIXME: temporary, until bakefile can reuse existing pch files -->
<if cond="FORMAT!='autoconf'">
<define>NOPCH</define>
</if>
</template>
<template id="wx_util_console" template="wx_util_b">
<app-type>console</app-type>
<define>wxUSE_GUI=0</define>
</template>
<template id="wx_sample" template="wx_util">
<if cond="FORMAT=='autoconf'">
<wx-mac-app-bundle/>
<ldflags>$(SAMPLES_RPATH_FLAG)</ldflags>
<postlink-command>$(SAMPLES_RPATH_POSTLINK)</postlink-command>
</if>
</template>
<template id="wx_sample_console" template="wx_util_console">
<if cond="FORMAT=='autoconf'">
<ldflags>$(SAMPLES_RPATH_FLAG)</ldflags>
<postlink-command>$(SAMPLES_RPATH_POSTLINK)</postlink-command>
</if>
</template>
<!-- =============================================================== -->
<!-- Support for samples data files: -->
<!-- =============================================================== -->
<define-rule name="wx-data" extends="copy-files">
<template>
<dependency-of>all</dependency-of>
<dstdir>$(BUILDDIR)</dstdir>
<srcdir>$(SRCDIR)</srcdir>
</template>
<!--
VS - FIXME:
Don't clean the files because it would wipe out sources files if
BUILDDIR==SRCDIR. This is same behaviour as in the old build system,
but it would be better to delete the files during "make clean" if
BUILDDIR!=SRCDIR.
<define-tag name="files">
<clean-files>
$(' '.join(['$(BUILDDIR)$(DIRSEP)%s'%x for x in value.split()]))
</clean-files>
</define-tag>
-->
</define-rule>
<!-- =============================================================== -->
<!-- Misc platform specialities: -->
<!-- =============================================================== -->
<if cond="FORMAT=='autoconf'">
<include file="mac_bundles.bkl"/>
<!--
A hack to include precompiled OS/2 resource file in apps instead of
compiling it from .rc file (gcc on OS/2 doesn't ship with resource
compiler):
-->
<define-tag name="wx-os2-lib-resource" rules="exe">
<set var="os2_lib_res">
<if cond="PLATFORM_OS2=='1'">
$(TOP_SRCDIR)include/wx/os2/wx.res
</if>
</set>
<set var="__objects" append="1">$(os2_lib_res)</set>
</define-tag>
<if cond="OUT_OF_TREE_MAKEFILES=='1'">
<include file="common_samples_outoftree.bkl"/>
</if>
<if cond="OUT_OF_TREE_MAKEFILES=='0'">
<include file="common_samples_intree.bkl"/>
</if>
</makefile>

View File

@@ -0,0 +1,121 @@
<?xml version="1.0" ?>
<!-- $Id$ -->
<makefile>
<include file="common.bkl"/>
<!-- =============================================================== -->
<!-- Template for wxWidgets samples: -->
<!-- =============================================================== -->
<if cond="FORMAT=='autoconf'">
<set var="MACOSX_RESOURCES">
<if cond="TOOLKIT=='MAC'">
Carbon.r sample.r
</if>
</set>
</if>
<set var="DLLFLAG">
<if cond="SHARED=='1'">WXUSINGDLL</if>
</set>
<template id="wx_util_b" template="wx">
<include>$(SRCDIR)</include>
<define>$(DLLFLAG)</define>
</template>
<template id="wx_util" template="wx_util_b">
<app-type>gui</app-type>
<mac-res cond="FORMAT=='autoconf'">$(MACOSX_RESOURCES)</mac-res>
<!-- resource files includes: -->
<include>$(SRCDIR)/$(WXTOPDIR)samples</include>
<!-- this include is not added via <include> for autoconf, see
common.bkl: -->
<if cond="FORMAT=='autoconf'">
<res-include>$(RCDEFDIR)</res-include>
<res-include>$(TOP_SRCDIR)include</res-include>
</if>
<win32-res>$(WXTOPDIR)samples/sample.rc</win32-res>
<if cond="FORMAT=='autoconf'">
<wx-os2-lib-resource/>
</if>
<!-- FIXME: temporary, until bakefile can reuse existing pch files -->
<if cond="FORMAT!='autoconf'">
<define>NOPCH</define>
</if>
</template>
<template id="wx_util_console" template="wx_util_b">
<app-type>console</app-type>
<define>wxUSE_GUI=0</define>
</template>
<template id="wx_sample" template="wx_util">
<if cond="FORMAT=='autoconf'">
<wx-mac-app-bundle/>
<ldflags>$(SAMPLES_RPATH_FLAG)</ldflags>
<postlink-command>$(SAMPLES_RPATH_POSTLINK)</postlink-command>
</if>
</template>
<template id="wx_sample_console" template="wx_util_console">
<if cond="FORMAT=='autoconf'">
<ldflags>$(SAMPLES_RPATH_FLAG)</ldflags>
<postlink-command>$(SAMPLES_RPATH_POSTLINK)</postlink-command>
</if>
</template>
<!-- =============================================================== -->
<!-- Support for samples data files: -->
<!-- =============================================================== -->
<define-rule name="wx-data" extends="copy-files">
<template>
<dependency-of>all</dependency-of>
<dstdir>$(BUILDDIR)</dstdir>
<srcdir>$(SRCDIR)</srcdir>
</template>
<!--
VS - FIXME:
Don't clean the files because it would wipe out sources files if
BUILDDIR==SRCDIR. This is same behaviour as in the old build system,
but it would be better to delete the files during "make clean" if
BUILDDIR!=SRCDIR.
<define-tag name="files">
<clean-files>
$(' '.join(['$(BUILDDIR)$(DIRSEP)%s'%x for x in value.split()]))
</clean-files>
</define-tag>
-->
</define-rule>
<!-- =============================================================== -->
<!-- Misc platform specialities: -->
<!-- =============================================================== -->
<if cond="FORMAT=='autoconf'">
<include file="mac_bundles.bkl"/>
<!--
A hack to include precompiled OS/2 resource file in apps instead of
compiling it from .rc file (gcc on OS/2 doesn't ship with resource
compiler):
-->
<define-tag name="wx-os2-lib-resource" rules="exe">
<set var="os2_lib_res">
<if cond="PLATFORM_OS2=='1'">
$(TOP_SRCDIR)include/wx/os2/wx.res
</if>
</set>
<set var="__objects" append="1">$(os2_lib_res)</set>
</define-tag>
</if>
</makefile>

View File

@@ -0,0 +1,43 @@
<?xml version="1.0" ?>
<!-- $Id$ -->
<makefile>
<!-- =============================================================== -->
<!-- Templates for out-of-tree Unix makefiles for wxWidgets samples: -->
<!-- =============================================================== -->
<include file="wxpresets/presets/wx.bkl"/>
<template id="wx_app_base" template="wx">
<include>$(SRCDIR)</include>
</template>
<template id="wx_util" template="wx_app_base">
<app-type>gui</app-type>
</template>
<template id="wx_util_console" template="wx_app_base">
<app-type>console</app-type>
</template>
<template id="wx_sample" template="wx_util"/>
<template id="wx_sample_console" template="wx_util_console"/>
<define-rule name="wx-gui-plugin" extends="module">
<template template="wx_app_base"/>
</define-rule>
<!-- empty stubs for things that don't make sense for makefile.unx: -->
<template id="wx_append"/>
<template id="wx_append_base"/>
<define-rule name="wx-data" pseudo="1">
<define-tag name="files"/>
<define-tag name="dstdir"/>
<define-tag name="srcdir"/>
</define-rule>
</makefile>

View File

@@ -79,7 +79,6 @@
<if cond="FORMAT=='msvc'">
<option name="TARGET_CPU">
<values>AMD64,IA64</values>
<default-value>$(DOLLAR)(CPU)</default-value>
<description>
The target processor architecture must be specified when it is not X86.
@@ -87,6 +86,8 @@ This does not affect the compiler output, so you still need to make sure
your environment is set up appropriately with the correct compiler in the
PATH. Rather it affects some options passed to some of the common build
utilities such as the resource compiler and the linker.
Accepted values: AMD64, IA64.
</description>
</option>
</if>
@@ -97,8 +98,8 @@ utilities such as the resource compiler and the linker.
<!-- FIXME: restore this once bakefile is fixed to not use
/Gm /GZ (incompatible with /O2) w/ debug-info -->
<set var="DEBUG_INFO_DEFAULT">
<if cond="FORMAT in ['msvc','msvc6prj','msevc4prj']">1</if>
<if cond="FORMAT not in ['msvc','msvc6prj','msevc4prj']">default</if>
<if cond="FORMAT in ['msvc','msvc6prj','msevc4prj','msvs2005prj']">1</if>
<if cond="FORMAT not in ['msvc','msvc6prj','msevc4prj','msvs2005prj']">default</if>
</set>
-->
<set var="DEBUG_INFO_DEFAULT">default</set>
@@ -180,6 +181,14 @@ Acts according to BUILD by default.
</description>
</option>
<option name="USE_MEDIA">
<values>0,1</values>
<default-value>1</default-value>
<description>
Build multimedia library (USE_GUI must be 1)?
</description>
</option>
<option name="USE_XRC">
<values>0,1</values>
<default-value>1</default-value>
@@ -188,6 +197,22 @@ Acts according to BUILD by default.
</description>
</option>
<option name="USE_AUI">
<values>0,1</values>
<default-value>1</default-value>
<description>
Build wxAUI library (USE_GUI must be 1)?
</description>
</option>
<option name="USE_RICHTEXT">
<values>0,1</values>
<default-value>1</default-value>
<description>
Build wxRichTextCtrl library (USE_GUI must be 1)?
</description>
</option>
<option name="USE_OPENGL">
<values>0,1</values>
<default-value>0</default-value>
@@ -206,12 +231,12 @@ Acts according to BUILD by default.
<!-- currently only VC++ can compile wxDebugReport which is in QA lib -->
<set var="USE_QA_DEFAULT">
<if cond="FORMAT in ['msvc','msvc6prj']">1</if>
<if cond="FORMAT not in ['msvc','msvc6prj']">0</if>
<if cond="FORMAT in ['msvc','msvc6prj','msvs2005prj']">1</if>
<if cond="FORMAT not in ['msvc','msvc6prj','msvs2005prj']">0</if>
</set>
<option name="USE_QA">
<values>0,1</values>
<default-value>USE_QA_DEFAULT</default-value>
<default-value>$(USE_QA_DEFAULT)</default-value>
<description>
Build quality assurance classes library (USE_GUI must be 1)?
</description>
@@ -241,6 +266,16 @@ Acts according to BUILD by default.
</description>
</option>
<if cond="FORMAT!='autoconf'">
<option name="USE_GDIPLUS">
<values>0,1</values>
<default-value>0</default-value>
<description>
Link with gdiplus.lib? (Needed for wxGraphicsContext, will also set wxUSE_GRAPHICS_CONTEXT)
</description>
</option>
</if>
<option name="OFFICIAL_BUILD">
<values>0,1</values>
<default-value>0</default-value>
@@ -295,7 +330,6 @@ to run the tests, include CppUnit library here.
<!-- ================================================================== -->
<if cond="FORMAT=='autoconf'">
<option name="REZ"/>
<option name="DEREZ"/>
<option name="TOOLKIT"/>
<option name="TOOLKIT_LOWERCASE"/>
@@ -305,6 +339,7 @@ to run the tests, include CppUnit library here.
<option name="EXTRALIBS"/>
<option name="EXTRALIBS_XML"/>
<option name="EXTRALIBS_HTML"/>
<option name="EXTRALIBS_MEDIA"/>
<option name="EXTRALIBS_ODBC"/>
<option name="EXTRALIBS_GUI"/>
<option name="EXTRALIBS_OPENGL"/>
@@ -321,6 +356,8 @@ to run the tests, include CppUnit library here.
<option name="WITH_PLUGIN_SDL">
<values>0,1</values>
</option>
<option name="wx_top_builddir"/>
</if>
@@ -354,6 +391,7 @@ it if SHARED=1 unless you know what you are doing.
<set var="EXTRALIBS"/>
<set var="EXTRALIBS_XML"/>
<set var="EXTRALIBS_HTML"/>
<set var="EXTRALIBS_MEDIA"/>
<set var="EXTRALIBS_ODBC"/>
<set var="EXTRALIBS_GUI"/>
<set var="EXTRALIBS_OPENGL">
@@ -366,10 +404,9 @@ it if SHARED=1 unless you know what you are doing.
<set var="WITH_PLUGIN_SDL">0</set>
<set var="SRCDIR">
<if cond="BUILDING_LIB=='1'">..$(DIRSEP)..</if>
<if cond="BUILDING_LIB=='0'">.</if>
</set>
<if cond="BUILDING_LIB=='1'">
<set-srcdir>../..</set-srcdir>
</if>
<set var="TOP_SRCDIR">$(SRCDIR)/$(WXTOPDIR)</set>
</if>
@@ -403,7 +440,10 @@ Set the version of your Mingw installation here.
<if cond="FORMAT_SUPPORTS_CONDITIONS=='0'">
<set var="RUNTIME_LIBS">dynamic</set>
<set var="OFFICIAL_BUILD">0</set>
<set var="USE_AUI">1</set>
<set var="USE_RICHTEXT">1</set>
<set var="USE_HTML">1</set>
<set var="USE_MEDIA">1</set>
<set var="USE_XRC">1</set>
<set var="USE_OPENGL">1</set>
<set var="USE_ODBC">1</set>
@@ -413,6 +453,7 @@ Set the version of your Mingw installation here.
<set var="USE_EXCEPTIONS">1</set>
<set var="USE_RTTI">1</set>
<set var="USE_THREADS">1</set>
<if cond="FORMAT!='autoconf'"><set var="USE_GDIPLUS">0</set></if>
<set var="DEBUG_INFO">$(DEBUG_INFO_DEFAULT)</set>
<set var="DEBUG_FLAG">default</set>
<set var="MSLU">0</set>

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" ?>
<bakefile-manifest>
<bakefile-manifest xmlns="http://www.bakefile.org/schema/bakefile-formats">
<format id="wx24dsp">
<description>

View File

@@ -4,6 +4,8 @@
<makefile>
<include file="presets/fake.bkl"/>
<set var="EOL_STYLE">unix</set>
<set var="COMPILER">gcc</set>
<!-- fake.bkl defaults to win32 platform -->

View File

@@ -1,19 +0,0 @@
<?xml version="1.0" ?>
<!-- $Id$ -->
<makefile>
<include file="win32.bkl"/>
<set var="COMPILER">vc</set>
<include file="presets/fake.bkl"/>
<set var="ALL_SOURCES" eval="0">
$(MONOLIB_SRC) src/msw/dummy.cpp $(OPENGL_SRC)
</set>
<output file="$(OUTPUT_FILE)" writer="wx24dsp.empy"/>
<set var="FORMAT_OUTPUT_VARIABLES">
ALL_SOURCES ALL_HEADERS
</set>
</makefile>

View File

@@ -1,461 +0,0 @@
@{
used = {}
def mkgroup(lst, name, mask):
x = [s for s in lst if s.startswith(mask)]
for s in x:
used[s] = 1
x.sort()
return (name,x)
sources = ALL_SOURCES.split()
SOURCES = []
SOURCES.append(mkgroup(sources,'Common Files','src/common/'))
SOURCES.append(mkgroup(sources,'Generic Files','src/generic/'))
SOURCES.append(mkgroup(sources,'wxHTML Files','src/html/'))
SOURCES.append(mkgroup(sources,'MSW Files','src/msw/'))
otherSrcs = [x for x in sources if x not in used]
otherSrcs.sort()
SOURCES.append(('Other Sources', otherSrcs))
headers = [x for x in ALL_HEADERS.split() if x.endswith('.h')]
HEADERS = []
HEADERS.append(mkgroup(headers,'MSW','wx/msw/'))
HEADERS.append(mkgroup(headers,'Generic','wx/generic/'))
HEADERS.append(mkgroup(headers,'HTML','wx/html/'))
commonHdrs = [x for x in headers if x not in used]
commonHdrs.sort()
HEADERS.insert(0, ('Common', commonHdrs))
}@
# Microsoft Developer Studio Project File - Name="wxWindows" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
# TARGTYPE "Win32 (x86) Static Library" 0x0104
CFG=wxWindows - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "wxWindows.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "wxWindows.mak" CFG="wxWindows - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "wxWindows - Win32 Release Unicode DLL" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "wxWindows - Win32 Debug Unicode DLL" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "wxWindows - Win32 Release Unicode" (based on "Win32 (x86) Static Library")
!MESSAGE "wxWindows - Win32 Debug Unicode" (based on "Win32 (x86) Static Library")
!MESSAGE "wxWindows - Win32 Release DLL" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "wxWindows - Win32 Debug DLL" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "wxWindows - Win32 Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxWindows - Win32 Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "wxWindows - Win32 Release With Debug Info" (based on "Win32 (x86) Static Library")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
!IF "$(CFG)" == "wxWindows - Win32 Release Unicode DLL"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "../lib"
# PROP BASE Intermediate_Dir "../ReleaseUnicodeDll"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../lib"
# PROP Intermediate_Dir "../ReleaseUnicodeDll"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
CPP=cl.exe
# ADD BASE CPP /nologo /MD /W4 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WXWINDLL_EXPORTS" /YX /FD /c
# ADD CPP /nologo /MD /W4 /O2 /I "../lib/mswdllu" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /I "./expat/lib" /D "_USRDLL" /D "NDEBUG" /D "WXMAKINGDLL" /D "_UNICODE" /D "UNICODE" /D "WIN32" /D WINVER=0x0400 /D "STRICT" /D wxUSE_BASE=1 /Yu"wx/wxprec.h" /FD /c
MTL=midl.exe
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
RSC=rc.exe
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /i "../include" /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib winmm.lib ..\lib\jpeg.lib ..\lib\tiff.lib ..\lib\expat.lib ..\lib\png.lib ..\lib\regex.lib ..\lib\zlib.lib /nologo /dll /machine:I386 /out:"../lib/wxmsw250u.dll"
# ADD LINK32 kernel32.lib user32.lib gdi32.lib advapi32.lib comdlg32.lib shell32.lib ole32.lib oleaut32.lib odbc32.lib uuid.lib rpcrt4.lib comctl32.lib wsock32.lib winmm.lib ..\lib\jpeg.lib ..\lib\tiff.lib ..\lib\expat.lib ..\lib\png.lib ..\lib\regex.lib ..\lib\zlib.lib /nologo /version:2.5 /dll /machine:I386 /out:"../lib/wxmsw250u.dll"
!ELSEIF "$(CFG)" == "wxWindows - Win32 Debug Unicode DLL"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "../lib"
# PROP BASE Intermediate_Dir "../DebugUnicodeDll"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../lib"
# PROP Intermediate_Dir "../DebugUnicodeDll"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
CPP=cl.exe
# ADD BASE CPP /nologo /MDd /W4 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WXWINDLL_EXPORTS" /YX /FD /GZ /c
# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../lib/mswdllud" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /I "./expat/lib" /D "_USRDLL" /D "_DEBUG" /D "WXMAKINGDLL" /D "_UNICODE" /D "UNICODE" /D "WIN32" /D WINVER=0x0400 /D "STRICT" /D wxUSE_BASE=1 /Yu"wx/wxprec.h" /FD /c
MTL=midl.exe
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
RSC=rc.exe
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /i "../include" /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib winmm.lib ..\lib\jpegd.lib ..\lib\tiffd.lib ..\lib\expatd.lib ..\lib\pngd.lib ..\lib\regexd.lib ..\lib\zlibd.lib /dll /debug /machine:I386 /out:"../lib/wxmsw250ud.dll" /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib gdi32.lib advapi32.lib comdlg32.lib shell32.lib ole32.lib oleaut32.lib odbc32.lib uuid.lib rpcrt4.lib comctl32.lib wsock32.lib winmm.lib ..\lib\jpegd.lib ..\lib\tiffd.lib ..\lib\expatd.lib ..\lib\pngd.lib ..\lib\regexd.lib ..\lib\zlibd.lib /nologo /version:2.5 /dll /machine:I386 /out:"../lib/wxmsw250ud.dll"
!ELSEIF "$(CFG)" == "wxWindows - Win32 Release Unicode"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "../lib"
# PROP BASE Intermediate_Dir "../ReleaseUnicode"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../lib"
# PROP Intermediate_Dir "../ReleaseUnicode"
# PROP Target_Dir ""
CPP=cl.exe
# ADD BASE CPP /nologo /MD /W4 /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MD /W4 /O2 /I "../lib/mswu" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /I "./expat/lib" /D "NDEBUG" /D "_UNICODE" /D "UNICODE" /D "WIN32" /D WINVER=0x0400 /D "STRICT" /D wxUSE_BASE=1 /Yu"wx/wxprec.h" /FD /c
RSC=rc.exe
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo /out:"..\lib\wxmswu.lib"
!ELSEIF "$(CFG)" == "wxWindows - Win32 Debug Unicode"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "../lib"
# PROP BASE Intermediate_Dir "../DebugUnicode"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../lib"
# PROP Intermediate_Dir "../DebugUnicode"
# PROP Target_Dir ""
CPP=cl.exe
# ADD BASE CPP /nologo /MDd /W4 /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../lib/mswud" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /I "./expat/lib" /D "_DEBUG" /D "__WXDEBUG__" /D "_UNICODE" /D "UNICODE" /D "WIN32" /D WINVER=0x0400 /D "STRICT" /D wxUSE_BASE=1 /Yu"wx/wxprec.h" /FD /c
RSC=rc.exe
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo /out:"..\lib\wxmswud.lib"
!ELSEIF "$(CFG)" == "wxWindows - Win32 Release DLL"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "../lib"
# PROP BASE Intermediate_Dir "../ReleaseDll"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../lib"
# PROP Intermediate_Dir "../ReleaseDll"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
CPP=cl.exe
# ADD BASE CPP /nologo /MD /W4 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WXWINDLL_EXPORTS" /YX /FD /c
# ADD CPP /nologo /MD /W4 /O2 /I "../lib/mswdll" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /I "./expat/lib" /D "_USRDLL" /D "NDEBUG" /D "WXMAKINGDLL" /D "WIN32" /D WINVER=0x0400 /D "STRICT" /D wxUSE_BASE=1 /Yu"wx/wxprec.h" /FD /c
MTL=midl.exe
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
RSC=rc.exe
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /i "../include" /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib winmm.lib ..\lib\jpeg.lib ..\lib\tiff.lib ..\lib\expat.lib ..\lib\png.lib ..\lib\regex.lib ..\lib\zlib.lib /nologo /dll /machine:I386 /out:"../lib/wxmsw250.dll"
# ADD LINK32 kernel32.lib user32.lib gdi32.lib advapi32.lib comdlg32.lib shell32.lib ole32.lib oleaut32.lib odbc32.lib uuid.lib rpcrt4.lib comctl32.lib wsock32.lib winmm.lib ..\lib\jpeg.lib ..\lib\tiff.lib ..\lib\expat.lib ..\lib\png.lib ..\lib\regex.lib ..\lib\zlib.lib /nologo /version:2.5 /dll /machine:I386 /out:"../lib/wxmsw250.dll"
!ELSEIF "$(CFG)" == "wxWindows - Win32 Debug DLL"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "../lib"
# PROP BASE Intermediate_Dir "../DebugDll"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../lib"
# PROP Intermediate_Dir "../DebugDll"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
CPP=cl.exe
# ADD BASE CPP /nologo /MDd /W4 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WXWINDLL_EXPORTS" /YX /FD /GZ /c
# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../lib/mswdlld" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /I "./expat/lib" /D "_USRDLL" /D "_DEBUG" /D "WXMAKINGDLL" /D "WIN32" /D WINVER=0x0400 /D "STRICT" /D wxUSE_BASE=1 /Yu"wx/wxprec.h" /FD /c
MTL=midl.exe
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
RSC=rc.exe
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /i "../include" /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib winmm.lib ..\lib\jpegd.lib ..\lib\tiffd.lib ..\lib\expatd.lib ..\lib\pngd.lib ..\lib\regexd.lib ..\lib\zlibd.lib /dll /debug /machine:I386 /out:"../lib/wxmsw250d.dll" /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib gdi32.lib advapi32.lib comdlg32.lib shell32.lib ole32.lib oleaut32.lib odbc32.lib uuid.lib rpcrt4.lib comctl32.lib wsock32.lib winmm.lib ..\lib\jpegd.lib ..\lib\tiffd.lib ..\lib\expatd.lib ..\lib\pngd.lib ..\lib\regexd.lib ..\lib\zlibd.lib /nologo /version:2.5 /dll /machine:I386 /out:"../lib/wxmsw250d.dll"
!ELSEIF "$(CFG)" == "wxWindows - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "../lib"
# PROP BASE Intermediate_Dir "../Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../lib"
# PROP Intermediate_Dir "../Release"
# PROP Target_Dir ""
CPP=cl.exe
# ADD BASE CPP /nologo /MD /W4 /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MD /W4 /O2 /I "../lib/msw" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /I "./expat/lib" /D "NDEBUG" /D "WIN32" /D WINVER=0x0400 /D "STRICT" /D wxUSE_BASE=1 /Yu"wx/wxprec.h" /FD /c
RSC=rc.exe
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo /out:"..\lib\wxmsw.lib"
!ELSEIF "$(CFG)" == "wxWindows - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "../lib"
# PROP BASE Intermediate_Dir "../Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../lib"
# PROP Intermediate_Dir "../Debug"
# PROP Target_Dir ""
CPP=cl.exe
# ADD BASE CPP /nologo /MDd /W4 /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../lib/mswd" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /I "./expat/lib" /D "_DEBUG" /D "__WXDEBUG__" /D "WIN32" /D WINVER=0x0400 /D "STRICT" /D wxUSE_BASE=1 /Yu"wx/wxprec.h" /FD /c
RSC=rc.exe
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo /out:"..\lib\wxmswd.lib"
!ELSEIF "$(CFG)" == "wxWindows - Win32 Release With Debug Info"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "wxWindows___Win32_Release_With_Debug_Info"
# PROP BASE Intermediate_Dir "wxWindows___Win32_Release_With_Debug_Info"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "ReleaseDebug"
# PROP Intermediate_Dir "ReleaseDebug"
# PROP Target_Dir ""
CPP=cl.exe
# ADD BASE CPP /nologo /MD /W4 /O2 /I "../lib/msw" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /I "./expat/lib" /D "NDEBUG" /D "WIN32" /D WINVER=0x0400 /D "STRICT" /D wxUSE_BASE=1 /Yu"wx/wxprec.h" /FD /c
# ADD CPP /nologo /MD /W4 /Zi /O2 /I "../lib/msw" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /I "./expat/lib" /D "NDEBUG" /D "WIN32" /D WINVER=0x0400 /D "STRICT" /D wxUSE_BASE=1 /Yu"wx/wxprec.h" /FD /c
RSC=rc.exe
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"..\lib\wxmsw.lib"
# ADD LIB32 /nologo /out:"..\lib\wxmsw.lib"
!ENDIF
# Begin Target
# Name "wxWindows - Win32 Release Unicode DLL"
# Name "wxWindows - Win32 Debug Unicode DLL"
# Name "wxWindows - Win32 Release Unicode"
# Name "wxWindows - Win32 Debug Unicode"
# Name "wxWindows - Win32 Release DLL"
# Name "wxWindows - Win32 Debug DLL"
# Name "wxWindows - Win32 Release"
# Name "wxWindows - Win32 Debug"
# Name "wxWindows - Win32 Release With Debug Info"
# Begin Source File
SOURCE="This project is deprecated, please see install.txt"
# End Source File
@[for group in SOURCES]@
# Begin Group "@group[0]"
# PROP Default_Filter ""
@[for src in group[1]]@
# Begin Source File
SOURCE=.\@src[4:].replace('/','\\')
@[if src=='src/msw/dummy.cpp']@
# ADD CPP /Yc"wx/wxprec.h"
@[end if]@
@[if src.endswith('.c')]@
# SUBTRACT CPP /YX /Yc /Yu
@[end if]@
# End Source File
@[end for]@
# End Group
@[end for]@
# Begin Group "Headers"
# PROP Default_Filter ""
# Begin Group "Setup"
# PROP Default_Filter ""
# Begin Source File
SOURCE=..\include\wx\msw\setup.h
!IF "$(CFG)" == "wxWindows - Win32 Release Unicode DLL"
# Begin Custom Build - Creating ..\lib\mswdllu\wx\setup.h from $(InputPath)
InputPath=..\include\wx\msw\setup.h
"../lib/mswdllu/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\lib\mswdllu\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "wxWindows - Win32 Debug Unicode DLL"
# Begin Custom Build - Creating ..\lib\mswdllud\wx\setup.h from $(InputPath)
InputPath=..\include\wx\msw\setup.h
"../lib/mswdllud/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\lib\mswdllud\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "wxWindows - Win32 Release Unicode"
# Begin Custom Build - Creating ..\lib\mswu\wx\setup.h from $(InputPath)
InputPath=..\include\wx\msw\setup.h
"../lib/mswu/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\lib\mswu\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "wxWindows - Win32 Debug Unicode"
# Begin Custom Build - Creating ..\lib\mswud\wx\setup.h from $(InputPath)
InputPath=..\include\wx\msw\setup.h
"../lib/mswud/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\lib\mswud\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "wxWindows - Win32 Release DLL"
# Begin Custom Build - Creating ..\lib\mswdll\wx\setup.h from $(InputPath)
InputPath=..\include\wx\msw\setup.h
"../lib/mswdll/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\lib\mswdll\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "wxWindows - Win32 Debug DLL"
# Begin Custom Build - Creating ..\lib\mswdlld\wx\setup.h from $(InputPath)
InputPath=..\include\wx\msw\setup.h
"../lib/mswdlld/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\lib\mswdlld\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "wxWindows - Win32 Release"
# Begin Custom Build - Creating ..\lib\msw\wx\setup.h from $(InputPath)
InputPath=..\include\wx\msw\setup.h
"../lib/msw/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\lib\msw\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "wxWindows - Win32 Debug"
# Begin Custom Build - Creating ..\lib\mswd\wx\setup.h from $(InputPath)
InputPath=..\include\wx\msw\setup.h
"../lib/mswd/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\lib\mswd\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "wxWindows - Win32 Release With Debug Info"
# Begin Custom Build - Creating ..\lib\msw\wx\setup.h from $(InputPath)
InputPath=..\include\wx\msw\setup.h
"../lib/msw/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\lib\msw\wx\setup.h
# End Custom Build
!ENDIF
# End Source File
# End Group
@[for group in HEADERS]@
# Begin Group "@group[0]"
# PROP Default_Filter ""
@[for hdr in group[1]]@
# Begin Source File
SOURCE=..\include\@hdr.replace('/','\\')
# End Source File
@[end for]@
# End Group
@[end for]@
# End Group
# End Target
# End Project

View File

@@ -31,8 +31,9 @@
<if cond="TOOLKIT=='MAC'">$(BUNDLE)/PkgInfo</if>
<if cond="TOOLKIT=='COCOA'">$(BUNDLE)/PkgInfo</if>
</set>
<add-target target="$(BUNDLE_TGT)" type="action"/>
<add-target target="$(BUNDLE_TGT)" type="action"
cond="target and PLATFORM_MACOSX=='1'"/>
<modify-target target="$(BUNDLE_TGT)">
<!-- required data: -->
<depends>$(id)</depends>
@@ -64,7 +65,7 @@
<!-- add pseudo target id_bundle: -->
<add-target target="$(id)_bundle" type="phony"
cond="PLATFORM_MACOSX=='1'"/>
cond="target and PLATFORM_MACOSX=='1'"/>
<modify-target target="$(id)_bundle">
<dependency-of>all</dependency-of>
<depends>$(BUNDLE_TGT_REF)</depends>

View File

@@ -14,6 +14,7 @@ GENDIR = $(WXDIR)/src/generic
COMMDIR = $(WXDIR)/src/common
HTMLDIR = $(WXDIR)/src/html
RICHTEXTDIR = $(WXDIR)/src/richtext
AUIDIR = $(WXDIR)/src/aui
UNIXDIR = $(WXDIR)/src/unix
PNGDIR = $(WXDIR)/src/png
JPEGDIR = $(WXDIR)/src/jpeg
@@ -61,6 +62,7 @@ WXDEMOS_BZIP=wx$(TOOLKIT)-demos-$(WX_VERSION).tar.bz2
DISTDIRNAME=@DISTDIR@-$(WX_VERSION)
DISTDIR=./_dist_dir/$(DISTDIRNAME)
BASEDISTDIR=./_dist_dir/wxBase-$(WX_VERSION)
########################## Tools ###############################
@@ -129,7 +131,9 @@ ALL_DIST: distrib_clean
# copy some files from include/ that are not installed:
mkdir $(DISTDIR)/include
mkdir $(DISTDIR)/include/wx
mkdir $(DISTDIR)/include/wx/private
$(CP_P) $(INCDIR)/wx/fmappriv.h $(DISTDIR)/include/wx
$(CP_P) $(INCDIR)/wx/private/*.h $(DISTDIR)/include/wx/private
# copy wxpresets
mkdir $(DISTDIR)/build
mkdir $(DISTDIR)/build/bakefiles
@@ -154,9 +158,14 @@ ALL_GUI_DIST: ALL_DIST
if test -f $(DOCDIR)/$(TOOLKITDIR)/todo.txt ; then \
$(CP_P) $(DOCDIR)/$(TOOLKITDIR)/todo.txt $(DISTDIR)/TODO.txt ; fi
mkdir $(DISTDIR)/include/wx/$(TOOLKITDIR)
if test -d $(INCDIR)/wx/$(TOOLKITDIR)/private; then \
mkdir $(DISTDIR)/include/wx/$(TOOLKITDIR)/private && \
$(CP_P) $(INCDIR)/wx/$(TOOLKITDIR)/private/*.h $(DISTDIR)/include/wx/$(TOOLKITDIR)/private; \
fi
mkdir $(DISTDIR)/include/wx/generic
mkdir $(DISTDIR)/include/wx/html
mkdir $(DISTDIR)/include/wx/richtext
mkdir $(DISTDIR)/include/wx/aui
mkdir $(DISTDIR)/include/wx/protocol
mkdir $(DISTDIR)/include/wx/unix
mkdir $(DISTDIR)/include/wx/xml
@@ -166,6 +175,7 @@ ALL_GUI_DIST: ALL_DIST
$(CP_P) $(INCDIR)/wx/generic/*.h $(DISTDIR)/include/wx/generic
$(CP_P) $(INCDIR)/wx/html/*.h $(DISTDIR)/include/wx/html
$(CP_P) $(INCDIR)/wx/richtext/*.h $(DISTDIR)/include/wx/richtext
$(CP_P) $(INCDIR)/wx/aui/*.h $(DISTDIR)/include/wx/aui
$(CP_P) $(INCDIR)/wx/unix/*.h $(DISTDIR)/include/wx/unix
$(CP_P) $(INCDIR)/wx/xml/*.h $(DISTDIR)/include/wx/xml
$(CP_P) $(INCDIR)/wx/xrc/*.h $(DISTDIR)/include/wx/xrc
@@ -179,6 +189,7 @@ ALL_GUI_DIST: ALL_DIST
mkdir $(DISTDIR)/src/generic
mkdir $(DISTDIR)/src/html
mkdir $(DISTDIR)/src/richtext
mkdir $(DISTDIR)/src/aui
mkdir $(DISTDIR)/src/$(TOOLKITDIR)
mkdir $(DISTDIR)/src/png
mkdir $(DISTDIR)/src/jpeg
@@ -196,6 +207,7 @@ ALL_GUI_DIST: ALL_DIST
$(CP_P) $(GENDIR)/*.mms $(DISTDIR)/src/generic
$(CP_P) $(HTMLDIR)/*.cpp $(DISTDIR)/src/html
$(CP_P) $(RICHTEXTDIR)/*.cpp $(DISTDIR)/src/richtext
$(CP_P) $(AUIDIR)/*.cpp $(DISTDIR)/src/aui
$(CP_P) $(PNGDIR)/*.h $(DISTDIR)/src/png
$(CP_P) $(PNGDIR)/*.c $(DISTDIR)/src/png
$(CP_P) $(PNGDIR)/README $(DISTDIR)/src/png
@@ -206,7 +218,7 @@ ALL_GUI_DIST: ALL_DIST
$(CP_P) $(TIFFDIR)/*.c $(DISTDIR)/src/tiff
$(CP_P) $(TIFFDIR)/README $(DISTDIR)/src/tiff
BASE_DIST: ALL_DIST
BASE_DIST: ALL_DIST INTL_DIST
# make --disable-gui the default
rm $(DISTDIR)/configure.in
sed 's/DEFAULT_wxUSE_GUI=yes/DEFAULT_wxUSE_GUI=no/' \
@@ -222,6 +234,7 @@ BASE_DIST: ALL_DIST
mkdir $(DISTDIR)/include/wx/msw
mkdir $(DISTDIR)/include/wx/html
mkdir $(DISTDIR)/include/wx/richtext
mkdir $(DISTDIR)/include/wx/aui
mkdir $(DISTDIR)/include/wx/mac
mkdir $(DISTDIR)/include/wx/mac/carbon
mkdir $(DISTDIR)/include/wx/mac/corefoundation
@@ -275,6 +288,8 @@ BASE_DIST: ALL_DIST
$(CP_P) $(UTILSDIR)/tex2rtf/src/tex2rtf.rc $(DISTDIR)/utils/tex2rtf/src
$(CP_P) $(UTILSDIR)/tex2rtf/src/tex2rtf.xpm $(DISTDIR)/utils/tex2rtf/src
mv $(DISTDIR) $(BASEDISTDIR)
GTK_DIST: UNIV_DIST
$(CP_P) $(WXDIR)/wxGTK.spec $(DISTDIR)
$(CP_P) $(INCDIR)/wx/gtk/*.h $(DISTDIR)/include/wx/gtk
@@ -309,6 +324,8 @@ GTK_DIST: UNIV_DIST
X11_DIST: UNIV_DIST
$(CP_P) $(WXDIR)/wxX11.spec $(DISTDIR)
$(CP_P) $(INCDIR)/wx/x11/*.h $(DISTDIR)/include/wx/x11
mkdir $(DISTDIR)/include/wx/gtk/private
$(CP_P) $(INCDIR)/wx/gtk/private/string.h $(DISTDIR)/include/wx/gtk/private
$(CP_P) $(X11DIR)/*.cpp $(DISTDIR)/src/x11
$(CP_P) $(X11DIR)/*.c $(DISTDIR)/src/x11
$(CP_P) $(X11DIR)/*.xbm $(DISTDIR)/src/x11
@@ -386,7 +403,6 @@ COCOA_DIST: ALL_GUI_DIST
$(CP_PR) $(WXDIR)/contrib $(DISTDIR)/contrib
MSW_DIST: UNIV_DIST
$(CP_P) $(WXDIR)/wxWINE.spec $(DISTDIR)
mkdir $(DISTDIR)/include/wx/msw/ole
mkdir $(DISTDIR)/include/wx/msw/wince
$(CP_P) $(INCDIR)/wx/msw/*.h $(DISTDIR)/include/wx/msw
@@ -406,7 +422,6 @@ MSW_DIST: UNIV_DIST
$(CP_PR) $(WXDIR)/contrib $(DISTDIR)/contrib
MSW_ZIP_TEXT_DIST: ALL_GUI_DIST
$(CP_P) $(WXDIR)/wxWINE.spec $(DISTDIR)
mkdir $(DISTDIR)/include/wx/msw
mkdir $(DISTDIR)/include/wx/msw/ole
mkdir $(DISTDIR)/include/wx/msw/wince
@@ -468,9 +483,7 @@ DEMOS_DIST: ALL_GUI_DIST
$(CP_P) $(DEMODIR)/forty/*.h $(DISTDIR)/demos/forty
$(CP_P) $(DEMODIR)/forty/*.cpp $(DISTDIR)/demos/forty
$(CP_P) $(DEMODIR)/forty/*.xpm $(DISTDIR)/demos/forty
$(CP_P) $(DEMODIR)/forty/*.xbm $(DISTDIR)/demos/forty
$(CP_P) $(DEMODIR)/forty/*.htm $(DISTDIR)/demos/forty
$(CP_P) $(DEMODIR)/forty/*.bmp $(DISTDIR)/demos/forty
$(CP_P) $(DEMODIR)/forty/*.ico $(DISTDIR)/demos/forty
$(CP_P) $(DEMODIR)/forty/*.rc $(DISTDIR)/demos/forty
$(CP_P) $(DEMODIR)/forty/readme.txt $(DISTDIR)/demos/forty
@@ -512,163 +525,37 @@ SAMPLES_DIST: ALL_GUI_DIST
$(CP_P) $(SAMPDIR)/Makefile.in $(DISTDIR)/samples
$(CP_P) $(SAMPDIR)/sample.* $(DISTDIR)/samples
mkdir $(DISTDIR)/samples/artprov
$(CP_P) $(SAMPDIR)/artprov/Makefile.in $(DISTDIR)/samples/artprov
$(CP_P) $(SAMPDIR)/artprov/makefile.unx $(DISTDIR)/samples/artprov
$(CP_P) $(SAMPDIR)/artprov/*.cpp $(DISTDIR)/samples/artprov
$(CP_P) $(SAMPDIR)/artprov/*.h $(DISTDIR)/samples/artprov
$(CP_P) $(SAMPDIR)/artprov/*.xpm $(DISTDIR)/samples/artprov
# copy files common to all samples in a general way
for s in `find $(SAMPDIR) $(SAMPDIR)/html $(SAMPDIR)/mobile $(SAMPDIR)/opengl \
-mindepth 1 -maxdepth 1 -type d -not -name CVS`; do \
t="$(DISTDIR)/samples/`echo $$s | sed 's@$(SAMPDIR)/@@'`"; \
mkdir -p $$t; \
$(CP_P) $$s/Makefile.in \
`find $$s -maxdepth 1 -name 'makefile.*' -o -name descrip.mms -o \
-name '*.cpp' -o -name '*.h' -o \
-name '*.bmp' -o -name '*.ico' -o -name '*.png' -o \
-name '*.rc' -o -name '*.xpm'` $$t; \
i=""; \
if [ -d $$s/bitmaps ]; then i="bitmaps"; fi; \
if [ -d $$s/icons ]; then i="icons"; fi; \
if [ -n "$$i" ]; then \
mkdir $$t/$$i; \
cp `find $$s/$$i -name '*.bmp' -o -name '*.xpm'` $$t/$$i; \
fi; \
done
mkdir $(DISTDIR)/samples/calendar
$(CP_P) $(SAMPDIR)/calendar/Makefile.in $(DISTDIR)/samples/calendar
$(CP_P) $(SAMPDIR)/calendar/makefile.unx $(DISTDIR)/samples/calendar
$(CP_P) $(SAMPDIR)/calendar/*.cpp $(DISTDIR)/samples/calendar
# copy the rest, not covered by the above loop
$(CP_P) $(SAMPDIR)/animate/hourglass.ani $(DISTDIR)/samples/hourglass.ani
$(CP_P) $(SAMPDIR)/animate/throbber.gif $(DISTDIR)/samples/animate
mkdir $(DISTDIR)/samples/caret
$(CP_P) $(SAMPDIR)/caret/Makefile.in $(DISTDIR)/samples/caret
$(CP_P) $(SAMPDIR)/caret/makefile.unx $(DISTDIR)/samples/caret
$(CP_P) $(SAMPDIR)/caret/*.cpp $(DISTDIR)/samples/caret
$(CP_P) $(SAMPDIR)/caret/*.xpm $(DISTDIR)/samples/caret
mkdir $(DISTDIR)/samples/checklst
$(CP_P) $(SAMPDIR)/checklst/Makefile.in $(DISTDIR)/samples/checklst
$(CP_P) $(SAMPDIR)/checklst/makefile.unx $(DISTDIR)/samples/checklst
$(CP_P) $(SAMPDIR)/checklst/*.cpp $(DISTDIR)/samples/checklst
$(CP_P) $(SAMPDIR)/checklst/*.xpm $(DISTDIR)/samples/checklst
$(CP_P) $(SAMPDIR)/checklst/*.mms $(DISTDIR)/samples/checklst
mkdir $(DISTDIR)/samples/config
$(CP_P) $(SAMPDIR)/config/Makefile.in $(DISTDIR)/samples/config
$(CP_P) $(SAMPDIR)/config/makefile.unx $(DISTDIR)/samples/config
$(CP_P) $(SAMPDIR)/config/*.cpp $(DISTDIR)/samples/config
mkdir $(DISTDIR)/samples/console
$(CP_P) $(SAMPDIR)/console/Makefile.in $(DISTDIR)/samples/console
$(CP_P) $(SAMPDIR)/console/makefile.unx $(DISTDIR)/samples/console
$(CP_P) $(SAMPDIR)/console/*.cpp $(DISTDIR)/samples/console
$(CP_P) $(SAMPDIR)/console/testdata.fc $(DISTDIR)/samples/console
mkdir $(DISTDIR)/samples/controls
mkdir $(DISTDIR)/samples/controls/icons
$(CP_P) $(SAMPDIR)/controls/Makefile.in $(DISTDIR)/samples/controls
$(CP_P) $(SAMPDIR)/controls/makefile.unx $(DISTDIR)/samples/controls
$(CP_P) $(SAMPDIR)/controls/*.cpp $(DISTDIR)/samples/controls
$(CP_P) $(SAMPDIR)/controls/*.xpm $(DISTDIR)/samples/controls
$(CP_P) $(SAMPDIR)/controls/*.bmp $(DISTDIR)/samples/controls
$(CP_P) $(SAMPDIR)/controls/*.ico $(DISTDIR)/samples/controls
$(CP_P) $(SAMPDIR)/controls/*.rc $(DISTDIR)/samples/controls
$(CP_P) $(SAMPDIR)/controls/*.mms $(DISTDIR)/samples/controls
$(CP_P) $(SAMPDIR)/controls/icons/*.??? $(DISTDIR)/samples/controls/icons
$(CP_P) $(SAMPDIR)/dialogs/tips.txt $(DISTDIR)/samples/dialogs
mkdir $(DISTDIR)/samples/db
$(CP_P) $(SAMPDIR)/db/Makefile.in $(DISTDIR)/samples/db
$(CP_P) $(SAMPDIR)/db/makefile.unx $(DISTDIR)/samples/db
$(CP_P) $(SAMPDIR)/db/*.cpp $(DISTDIR)/samples/db
$(CP_P) $(SAMPDIR)/db/*.h $(DISTDIR)/samples/db
$(CP_P) $(SAMPDIR)/db/*.xpm $(DISTDIR)/samples/db
$(CP_P) $(SAMPDIR)/dnd/d_and_d.txt $(DISTDIR)/samples/dnd
mkdir $(DISTDIR)/samples/debugrpt
$(CP_P) $(SAMPDIR)/debugrpt/Makefile.in $(DISTDIR)/samples/debugrpt
$(CP_P) $(SAMPDIR)/debugrpt/*.cpp $(DISTDIR)/samples/debugrpt
mkdir $(DISTDIR)/samples/dialogs
$(CP_P) $(SAMPDIR)/dialogs/Makefile.in $(DISTDIR)/samples/dialogs
$(CP_P) $(SAMPDIR)/dialogs/makefile.unx $(DISTDIR)/samples/dialogs
$(CP_P) $(SAMPDIR)/dialogs/*.cpp $(DISTDIR)/samples/dialogs
$(CP_P) $(SAMPDIR)/dialogs/*.h $(DISTDIR)/samples/dialogs
$(CP_P) $(SAMPDIR)/dialogs/*.txt $(DISTDIR)/samples/dialogs
$(CP_P) $(SAMPDIR)/dialogs/*.mms $(DISTDIR)/samples/dialogs
mkdir $(DISTDIR)/samples/dialup
$(CP_P) $(SAMPDIR)/dialup/Makefile.in $(DISTDIR)/samples/dialup
$(CP_P) $(SAMPDIR)/dialup/makefile.unx $(DISTDIR)/samples/dialup
$(CP_P) $(SAMPDIR)/dialup/*.cpp $(DISTDIR)/samples/dialup
mkdir $(DISTDIR)/samples/display
$(CP_P) $(SAMPDIR)/display/Makefile.in $(DISTDIR)/samples/display
$(CP_P) $(SAMPDIR)/display/*.cpp $(DISTDIR)/samples/display
mkdir $(DISTDIR)/samples/dnd
$(CP_P) $(SAMPDIR)/dnd/Makefile.in $(DISTDIR)/samples/dnd
$(CP_P) $(SAMPDIR)/dnd/makefile.unx $(DISTDIR)/samples/dnd
$(CP_P) $(SAMPDIR)/dnd/*.cpp $(DISTDIR)/samples/dnd
$(CP_P) $(SAMPDIR)/dnd/*.xpm $(DISTDIR)/samples/dnd
$(CP_P) $(SAMPDIR)/dnd/*.txt $(DISTDIR)/samples/dnd
$(CP_P) $(SAMPDIR)/dnd/*.png $(DISTDIR)/samples/dnd
mkdir $(DISTDIR)/samples/docview
$(CP_P) $(SAMPDIR)/docview/Makefile.in $(DISTDIR)/samples/docview
$(CP_P) $(SAMPDIR)/docview/makefile.unx $(DISTDIR)/samples/docview
$(CP_P) $(SAMPDIR)/docview/*.cpp $(DISTDIR)/samples/docview
$(CP_P) $(SAMPDIR)/docview/*.h $(DISTDIR)/samples/docview
$(CP_P) $(SAMPDIR)/docview/*.xpm $(DISTDIR)/samples/docview
mkdir $(DISTDIR)/samples/docvwmdi
$(CP_P) $(SAMPDIR)/docvwmdi/Makefile.in $(DISTDIR)/samples/docvwmdi
$(CP_P) $(SAMPDIR)/docvwmdi/makefile.unx $(DISTDIR)/samples/docvwmdi
$(CP_P) $(SAMPDIR)/docvwmdi/*.cpp $(DISTDIR)/samples/docvwmdi
$(CP_P) $(SAMPDIR)/docvwmdi/*.h $(DISTDIR)/samples/docvwmdi
mkdir $(DISTDIR)/samples/dragimag
$(CP_P) $(SAMPDIR)/dragimag/Makefile.in $(DISTDIR)/samples/dragimag
$(CP_P) $(SAMPDIR)/dragimag/makefile.unx $(DISTDIR)/samples/dragimag
$(CP_P) $(SAMPDIR)/dragimag/*.cpp $(DISTDIR)/samples/dragimag
$(CP_P) $(SAMPDIR)/dragimag/*.h $(DISTDIR)/samples/dragimag
$(CP_P) $(SAMPDIR)/dragimag/*.xpm $(DISTDIR)/samples/dragimag
$(CP_P) $(SAMPDIR)/dragimag/*.png $(DISTDIR)/samples/dragimag
mkdir $(DISTDIR)/samples/drawing
$(CP_P) $(SAMPDIR)/drawing/Makefile.in $(DISTDIR)/samples/drawing
$(CP_P) $(SAMPDIR)/drawing/makefile.unx $(DISTDIR)/samples/drawing
$(CP_P) $(SAMPDIR)/drawing/*.cpp $(DISTDIR)/samples/drawing
$(CP_P) $(SAMPDIR)/drawing/*.xpm $(DISTDIR)/samples/drawing
$(CP_P) $(SAMPDIR)/drawing/*.bmp $(DISTDIR)/samples/drawing
mkdir $(DISTDIR)/samples/dynamic
$(CP_P) $(SAMPDIR)/dynamic/Makefile.in $(DISTDIR)/samples/dynamic
$(CP_P) $(SAMPDIR)/dynamic/makefile.unx $(DISTDIR)/samples/dynamic
$(CP_P) $(SAMPDIR)/dynamic/*.cpp $(DISTDIR)/samples/dynamic
$(CP_P) $(SAMPDIR)/dynamic/*.xpm $(DISTDIR)/samples/dynamic
mkdir $(DISTDIR)/samples/erase
$(CP_P) $(SAMPDIR)/erase/Makefile.in $(DISTDIR)/samples/erase
$(CP_P) $(SAMPDIR)/erase/makefile.unx $(DISTDIR)/samples/erase
$(CP_P) $(SAMPDIR)/erase/*.cpp $(DISTDIR)/samples/erase
$(CP_P) $(SAMPDIR)/erase/*.xml $(DISTDIR)/samples/erase
$(CP_P) $(SAMPDIR)/erase/*.xpm $(DISTDIR)/samples/erase
mkdir $(DISTDIR)/samples/event
$(CP_P) $(SAMPDIR)/event/Makefile.in $(DISTDIR)/samples/event
$(CP_P) $(SAMPDIR)/event/makefile.unx $(DISTDIR)/samples/event
$(CP_P) $(SAMPDIR)/event/*.cpp $(DISTDIR)/samples/event
mkdir $(DISTDIR)/samples/except
$(CP_P) $(SAMPDIR)/except/Makefile.in $(DISTDIR)/samples/except
$(CP_P) $(SAMPDIR)/except/*.cpp $(DISTDIR)/samples/except
mkdir $(DISTDIR)/samples/exec
$(CP_P) $(SAMPDIR)/exec/Makefile.in $(DISTDIR)/samples/exec
$(CP_P) $(SAMPDIR)/exec/makefile.unx $(DISTDIR)/samples/exec
$(CP_P) $(SAMPDIR)/exec/*.cpp $(DISTDIR)/samples/exec
mkdir $(DISTDIR)/samples/font
$(CP_P) $(SAMPDIR)/font/Makefile.in $(DISTDIR)/samples/font
$(CP_P) $(SAMPDIR)/font/makefile.unx $(DISTDIR)/samples/font
$(CP_P) $(SAMPDIR)/font/*.cpp $(DISTDIR)/samples/font
mkdir $(DISTDIR)/samples/grid
$(CP_P) $(SAMPDIR)/grid/Makefile.in $(DISTDIR)/samples/grid
$(CP_P) $(SAMPDIR)/grid/makefile.unx $(DISTDIR)/samples/grid
$(CP_P) $(SAMPDIR)/grid/*.cpp $(SAMPDIR)/grid/*.h $(DISTDIR)/samples/grid
mkdir $(DISTDIR)/samples/help
mkdir $(DISTDIR)/samples/help/doc
$(CP_P) $(SAMPDIR)/help/Makefile.in $(DISTDIR)/samples/help
$(CP_P) $(SAMPDIR)/help/makefile.unx $(DISTDIR)/samples/help
$(CP_P) $(SAMPDIR)/help/*.cpp $(DISTDIR)/samples/help
$(CP_P) $(SAMPDIR)/help/*.h* $(DISTDIR)/samples/help
$(CP_P) $(SAMPDIR)/help/*.xpm $(DISTDIR)/samples/help
$(CP_P) $(SAMPDIR)/help/*.bmp $(DISTDIR)/samples/help
$(CP_P) $(SAMPDIR)/help/*.h?? $(DISTDIR)/samples/help
$(CP_P) $(SAMPDIR)/help/*.gif $(DISTDIR)/samples/help
$(CP_P) $(SAMPDIR)/help/cshelp.txt $(DISTDIR)/samples/help
$(CP_P) $(SAMPDIR)/help/*.chm $(DISTDIR)/samples/help
@@ -676,364 +563,47 @@ SAMPLES_DIST: ALL_GUI_DIST
$(CP_P) $(SAMPDIR)/help/doc.zip $(DISTDIR)/samples/help
$(CP_P) $(SAMPDIR)/help/doc/*.* $(DISTDIR)/samples/help/doc
mkdir $(DISTDIR)/samples/htlbox
$(CP_P) $(SAMPDIR)/htlbox/Makefile.in $(DISTDIR)/samples/htlbox
$(CP_P) $(SAMPDIR)/htlbox/makefile.unx $(DISTDIR)/samples/htlbox
$(CP_P) $(SAMPDIR)/htlbox/*.cpp $(DISTDIR)/samples/htlbox
$(CP_P) $(SAMPDIR)/htlbox/*.xpm $(DISTDIR)/samples/htlbox
mkdir $(DISTDIR)/samples/html
$(CP_P) $(SAMPDIR)/html/Makefile.in $(DISTDIR)/samples/html
mkdir $(DISTDIR)/samples/html/about
$(CP_P) $(SAMPDIR)/html/about/Makefile.in $(DISTDIR)/samples/html/about
$(CP_P) $(SAMPDIR)/html/about/*.cpp $(DISTDIR)/samples/html/about
mkdir $(DISTDIR)/samples/html/about/data
$(CP_P) $(SAMPDIR)/html/about/data/*.htm $(DISTDIR)/samples/html/about/data
$(CP_P) $(SAMPDIR)/html/about/data/*.png $(DISTDIR)/samples/html/about/data
mkdir $(DISTDIR)/samples/html/help
$(CP_P) $(SAMPDIR)/html/help/Makefile.in $(DISTDIR)/samples/html/help
$(CP_P) $(SAMPDIR)/html/help/*.cpp $(DISTDIR)/samples/html/help
mkdir $(DISTDIR)/samples/html/help/helpfiles
$(CP_P) $(SAMPDIR)/html/help/helpfiles/*.??? $(DISTDIR)/samples/html/help/helpfiles
mkdir $(DISTDIR)/samples/html/helpview
$(CP_P) $(SAMPDIR)/html/helpview/Makefile.in $(DISTDIR)/samples/html/helpview
$(CP_P) $(SAMPDIR)/html/helpview/*.cpp $(DISTDIR)/samples/html/helpview
$(CP_P) $(SAMPDIR)/html/helpview/*.zip $(DISTDIR)/samples/html/helpview
mkdir $(DISTDIR)/samples/html/printing
$(CP_P) $(SAMPDIR)/html/printing/Makefile.in $(DISTDIR)/samples/html/printing
$(CP_P) $(SAMPDIR)/html/printing/*.cpp $(DISTDIR)/samples/html/printing
$(CP_P) $(SAMPDIR)/html/printing/*.htm $(DISTDIR)/samples/html/printing
$(CP_P) $(SAMPDIR)/html/printing/*.gif $(DISTDIR)/samples/html/printing
$(CP_P) $(SAMPDIR)/html/printing/*.ico $(DISTDIR)/samples/html/printing
mkdir $(DISTDIR)/samples/html/test
$(CP_P) $(SAMPDIR)/html/test/Makefile.in $(DISTDIR)/samples/html/test
$(CP_P) $(SAMPDIR)/html/test/*.cpp $(DISTDIR)/samples/html/test
$(CP_P) $(SAMPDIR)/html/test/*.bmp $(DISTDIR)/samples/html/test
$(CP_P) $(SAMPDIR)/html/test/*.png $(DISTDIR)/samples/html/test
$(CP_P) $(SAMPDIR)/html/test/*.gif $(DISTDIR)/samples/html/test
$(CP_P) $(SAMPDIR)/html/test/*.htm $(DISTDIR)/samples/html/test
$(CP_P) $(SAMPDIR)/html/test/*.html $(DISTDIR)/samples/html/test
mkdir $(DISTDIR)/samples/html/virtual
$(CP_P) $(SAMPDIR)/html/virtual/Makefile.in $(DISTDIR)/samples/html/virtual
$(CP_P) $(SAMPDIR)/html/virtual/*.cpp $(DISTDIR)/samples/html/virtual
$(CP_P) $(SAMPDIR)/html/virtual/*.htm $(DISTDIR)/samples/html/virtual
mkdir $(DISTDIR)/samples/html/widget
$(CP_P) $(SAMPDIR)/html/widget/Makefile.in $(DISTDIR)/samples/html/widget
$(CP_P) $(SAMPDIR)/html/widget/*.cpp $(DISTDIR)/samples/html/widget
$(CP_P) $(SAMPDIR)/html/widget/*.htm $(DISTDIR)/samples/html/widget
mkdir $(DISTDIR)/samples/html/zip
$(CP_P) $(SAMPDIR)/html/zip/Makefile.in $(DISTDIR)/samples/html/zip
$(CP_P) $(SAMPDIR)/html/zip/*.cpp $(DISTDIR)/samples/html/zip
$(CP_P) $(SAMPDIR)/html/zip/*.htm $(DISTDIR)/samples/html/zip
$(CP_P) $(SAMPDIR)/html/zip/*.zip $(DISTDIR)/samples/html/zip
mkdir $(DISTDIR)/samples/image
$(CP_P) $(SAMPDIR)/image/Makefile.in $(DISTDIR)/samples/image
$(CP_P) $(SAMPDIR)/image/makefile.unx $(DISTDIR)/samples/image
$(CP_P) $(SAMPDIR)/image/*.cpp $(DISTDIR)/samples/image
$(CP_P) $(SAMPDIR)/image/*.mms $(DISTDIR)/samples/image
$(CP_P) $(SAMPDIR)/image/horse*.* $(DISTDIR)/samples/image
$(CP_P) $(SAMPDIR)/image/smile.xbm $(DISTDIR)/samples/image
$(CP_P) $(SAMPDIR)/image/smile.xpm $(DISTDIR)/samples/image
mkdir $(DISTDIR)/samples/internat
$(CP_P) $(SAMPDIR)/internat/Makefile.in $(DISTDIR)/samples/internat
$(CP_P) $(SAMPDIR)/internat/makefile.unx $(DISTDIR)/samples/internat
$(CP_P) $(SAMPDIR)/internat/*.cpp $(DISTDIR)/samples/internat
$(CP_P) $(SAMPDIR)/internat/*.xpm $(DISTDIR)/samples/internat
$(CP_P) $(SAMPDIR)/internat/*.txt $(DISTDIR)/samples/internat
$(CP_P) $(SAMPDIR)/internat/readme.txt $(DISTDIR)/samples/internat
for f in `(cd $(SAMPDIR); find internat -name '*.[mp]o' -print)`; do \
mkdir -p $(DISTDIR)/samples/`dirname $$f`; \
$(CP_P) $(SAMPDIR)/$$f $(DISTDIR)/samples/$$f; \
done
mkdir $(DISTDIR)/samples/ipc
$(CP_P) $(SAMPDIR)/ipc/Makefile.in $(DISTDIR)/samples/ipc
$(CP_P) $(SAMPDIR)/ipc/makefile.unx $(DISTDIR)/samples/ipc
$(CP_P) $(SAMPDIR)/ipc/*.cpp $(DISTDIR)/samples/ipc
$(CP_P) $(SAMPDIR)/ipc/*.h $(DISTDIR)/samples/ipc
$(CP_P) $(SAMPDIR)/ipc/*.xpm $(DISTDIR)/samples/ipc
mkdir $(DISTDIR)/samples/joytest
$(CP_P) $(SAMPDIR)/joytest/Makefile.in $(DISTDIR)/samples/joytest
$(CP_P) $(SAMPDIR)/joytest/makefile.unx $(DISTDIR)/samples/joytest
$(CP_P) $(SAMPDIR)/joytest/*.cpp $(DISTDIR)/samples/joytest
$(CP_P) $(SAMPDIR)/joytest/*.h $(DISTDIR)/samples/joytest
$(CP_P) $(SAMPDIR)/joytest/*.wav $(DISTDIR)/samples/joytest
mkdir $(DISTDIR)/samples/keyboard
$(CP_P) $(SAMPDIR)/keyboard/Makefile.in $(DISTDIR)/samples/keyboard
$(CP_P) $(SAMPDIR)/keyboard/*.cpp $(DISTDIR)/samples/keyboard
mkdir $(DISTDIR)/samples/layout
$(CP_P) $(SAMPDIR)/layout/Makefile.in $(DISTDIR)/samples/layout
$(CP_P) $(SAMPDIR)/layout/makefile.unx $(DISTDIR)/samples/layout
$(CP_P) $(SAMPDIR)/layout/*.cpp $(DISTDIR)/samples/layout
$(CP_P) $(SAMPDIR)/layout/*.h $(DISTDIR)/samples/layout
mkdir $(DISTDIR)/samples/listbox
$(CP_P) $(SAMPDIR)/listbox/Makefile.in $(DISTDIR)/samples/listbox
$(CP_P) $(SAMPDIR)/listbox/*.cpp $(DISTDIR)/samples/listbox
mkdir $(DISTDIR)/samples/listctrl
mkdir $(DISTDIR)/samples/listctrl/bitmaps
$(CP_P) $(SAMPDIR)/listctrl/Makefile.in $(DISTDIR)/samples/listctrl
$(CP_P) $(SAMPDIR)/listctrl/makefile.unx $(DISTDIR)/samples/listctrl
$(CP_P) $(SAMPDIR)/listctrl/*.cpp $(DISTDIR)/samples/listctrl
$(CP_P) $(SAMPDIR)/listctrl/*.h $(DISTDIR)/samples/listctrl
$(CP_P) $(SAMPDIR)/listctrl/*.xpm $(DISTDIR)/samples/listctrl
$(CP_P) $(SAMPDIR)/listctrl/bitmaps/*.xpm $(DISTDIR)/samples/listctrl/bitmaps
mkdir $(DISTDIR)/samples/mediaplayer
$(CP_P) $(SAMPDIR)/mediaplayer/Makefile.in $(DISTDIR)/samples/mediaplayer
$(CP_P) $(SAMPDIR)/mediaplayer/*.cpp $(DISTDIR)/samples/mediaplayer
mkdir $(DISTDIR)/samples/mdi
mkdir $(DISTDIR)/samples/mdi/bitmaps
$(CP_P) $(SAMPDIR)/mdi/Makefile.in $(DISTDIR)/samples/mdi
$(CP_P) $(SAMPDIR)/mdi/makefile.unx $(DISTDIR)/samples/mdi
$(CP_P) $(SAMPDIR)/mdi/*.cpp $(DISTDIR)/samples/mdi
$(CP_P) $(SAMPDIR)/mdi/*.h $(DISTDIR)/samples/mdi
$(CP_P) $(SAMPDIR)/mdi/*.xpm $(DISTDIR)/samples/mdi
$(CP_P) $(SAMPDIR)/mdi/bitmaps/*.xpm $(DISTDIR)/samples/mdi/bitmaps
mkdir $(DISTDIR)/samples/memcheck
$(CP_P) $(SAMPDIR)/memcheck/Makefile.in $(DISTDIR)/samples/memcheck
$(CP_P) $(SAMPDIR)/memcheck/makefile.unx $(DISTDIR)/samples/memcheck
$(CP_P) $(SAMPDIR)/memcheck/*.cpp $(DISTDIR)/samples/memcheck
$(CP_P) $(SAMPDIR)/memcheck/*.xpm $(DISTDIR)/samples/memcheck
mkdir $(DISTDIR)/samples/menu
$(CP_P) $(SAMPDIR)/menu/Makefile.in $(DISTDIR)/samples/menu
$(CP_P) $(SAMPDIR)/menu/makefile.unx $(DISTDIR)/samples/menu
$(CP_P) $(SAMPDIR)/menu/*.cpp $(DISTDIR)/samples/menu
$(CP_P) $(SAMPDIR)/menu/*.xpm $(DISTDIR)/samples/menu
mkdir $(DISTDIR)/samples/minifram
mkdir $(DISTDIR)/samples/minifram/bitmaps
$(CP_P) $(SAMPDIR)/minifram/Makefile.in $(DISTDIR)/samples/minifram
$(CP_P) $(SAMPDIR)/minifram/makefile.unx $(DISTDIR)/samples/minifram
$(CP_P) $(SAMPDIR)/minifram/*.cpp $(DISTDIR)/samples/minifram
$(CP_P) $(SAMPDIR)/minifram/*.h $(DISTDIR)/samples/minifram
$(CP_P) $(SAMPDIR)/minifram/*.xpm $(DISTDIR)/samples/minifram
$(CP_P) $(SAMPDIR)/minifram/bitmaps/*.xpm $(DISTDIR)/samples/minifram/bitmaps
mkdir $(DISTDIR)/samples/minimal
$(CP_P) $(SAMPDIR)/minimal/Makefile.in $(DISTDIR)/samples/minimal
$(CP_P) $(SAMPDIR)/minimal/makefile.unx $(DISTDIR)/samples/minimal
$(CP_P) $(SAMPDIR)/minimal/*.cpp $(DISTDIR)/samples/minimal
$(CP_P) $(SAMPDIR)/minimal/*.mms $(DISTDIR)/samples/minimal
mkdir $(DISTDIR)/samples/mobile
$(CP_P) $(SAMPDIR)/mobile/Makefile.in $(DISTDIR)/samples/mobile
mkdir $(DISTDIR)/samples/mobile/wxedit
$(CP_P) $(SAMPDIR)/mobile/wxedit/Makefile.in $(DISTDIR)/samples/mobile/wxedit
$(CP_P) $(SAMPDIR)/mobile/wxedit/*.cpp $(DISTDIR)/samples/mobile/wxedit
$(CP_P) $(SAMPDIR)/mobile/wxedit/*.h $(DISTDIR)/samples/mobile/wxedit
mkdir $(DISTDIR)/samples/mobile/styles
$(CP_P) $(SAMPDIR)/mobile/styles/Makefile.in $(DISTDIR)/samples/mobile/styles
$(CP_P) $(SAMPDIR)/mobile/styles/*.cpp $(DISTDIR)/samples/mobile/styles
$(CP_P) $(SAMPDIR)/mobile/styles/*.h $(DISTDIR)/samples/mobile/styles
$(CP_P) $(SAMPDIR)/mobile/styles/*.jpg $(DISTDIR)/samples/mobile/styles
mkdir $(DISTDIR)/samples/multimon
$(CP_P) $(SAMPDIR)/multimon/Makefile.in $(DISTDIR)/samples/multimon
$(CP_P) $(SAMPDIR)/multimon/makefile.unx $(DISTDIR)/samples/multimon
$(CP_P) $(SAMPDIR)/multimon/*.cpp $(DISTDIR)/samples/multimon
mkdir $(DISTDIR)/samples/notebook
$(CP_P) $(SAMPDIR)/notebook/Makefile.in $(DISTDIR)/samples/notebook
$(CP_P) $(SAMPDIR)/notebook/makefile.unx $(DISTDIR)/samples/notebook
$(CP_P) $(SAMPDIR)/notebook/*.cpp $(DISTDIR)/samples/notebook
$(CP_P) $(SAMPDIR)/notebook/*.h $(DISTDIR)/samples/notebook
mkdir $(DISTDIR)/samples/opengl
$(CP_P) $(SAMPDIR)/opengl/Makefile.in $(DISTDIR)/samples/opengl
mkdir $(DISTDIR)/samples/opengl/penguin
$(CP_P) $(SAMPDIR)/opengl/penguin/Makefile.in $(DISTDIR)/samples/opengl/penguin
$(CP_P) $(SAMPDIR)/opengl/penguin/makefile.unx $(DISTDIR)/samples/opengl/penguin
$(CP_P) $(SAMPDIR)/opengl/penguin/*.cpp $(DISTDIR)/samples/opengl/penguin
$(CP_P) $(SAMPDIR)/opengl/penguin/*.c $(DISTDIR)/samples/opengl/penguin
$(CP_P) $(SAMPDIR)/opengl/penguin/*.h $(DISTDIR)/samples/opengl/penguin
$(CP_P) $(SAMPDIR)/opengl/penguin/trackball.c $(DISTDIR)/samples/opengl/penguin
$(CP_P) $(SAMPDIR)/opengl/penguin/*.dxf.gz $(DISTDIR)/samples/opengl/penguin
mkdir $(DISTDIR)/samples/opengl/cube
$(CP_P) $(SAMPDIR)/opengl/cube/Makefile.in $(DISTDIR)/samples/opengl/cube
$(CP_P) $(SAMPDIR)/opengl/cube/makefile.unx $(DISTDIR)/samples/opengl/cube
$(CP_P) $(SAMPDIR)/opengl/cube/*.cpp $(DISTDIR)/samples/opengl/cube
$(CP_P) $(SAMPDIR)/opengl/cube/*.h $(DISTDIR)/samples/opengl/cube
mkdir $(DISTDIR)/samples/opengl/isosurf
$(CP_P) $(SAMPDIR)/opengl/isosurf/Makefile.in $(DISTDIR)/samples/opengl/isosurf
$(CP_P) $(SAMPDIR)/opengl/isosurf/makefile.unx $(DISTDIR)/samples/opengl/isosurf
$(CP_P) $(SAMPDIR)/opengl/isosurf/*.cpp $(DISTDIR)/samples/opengl/isosurf
$(CP_P) $(SAMPDIR)/opengl/isosurf/*.h $(DISTDIR)/samples/opengl/isosurf
$(CP_P) $(SAMPDIR)/opengl/isosurf/*.gz $(DISTDIR)/samples/opengl/isosurf
mkdir $(DISTDIR)/samples/png
$(CP_P) $(SAMPDIR)/png/Makefile.in $(DISTDIR)/samples/png
$(CP_P) $(SAMPDIR)/png/makefile.unx $(DISTDIR)/samples/png
$(CP_P) $(SAMPDIR)/png/*.cpp $(DISTDIR)/samples/png
$(CP_P) $(SAMPDIR)/png/*.h $(DISTDIR)/samples/png
$(CP_P) $(SAMPDIR)/png/*.png $(DISTDIR)/samples/png
mkdir $(DISTDIR)/samples/popup
$(CP_P) $(SAMPDIR)/popup/Makefile.in $(DISTDIR)/samples/popup
$(CP_P) $(SAMPDIR)/popup/makefile.unx $(DISTDIR)/samples/popup
$(CP_P) $(SAMPDIR)/popup/*.cpp $(DISTDIR)/samples/popup
mkdir $(DISTDIR)/samples/printing
$(CP_P) $(SAMPDIR)/printing/Makefile.in $(DISTDIR)/samples/printing
$(CP_P) $(SAMPDIR)/printing/makefile.unx $(DISTDIR)/samples/printing
$(CP_P) $(SAMPDIR)/printing/*.cpp $(DISTDIR)/samples/printing
$(CP_P) $(SAMPDIR)/printing/*.h $(DISTDIR)/samples/printing
$(CP_P) $(SAMPDIR)/printing/*.xpm $(DISTDIR)/samples/printing
$(CP_P) $(SAMPDIR)/printing/*.rc $(DISTDIR)/samples/printing
mkdir $(DISTDIR)/samples/render
$(CP_P) $(SAMPDIR)/render/Makefile.in $(DISTDIR)/samples/render
$(CP_P) $(SAMPDIR)/render/makefile.unx $(DISTDIR)/samples/render
$(CP_P) $(SAMPDIR)/render/*.cpp $(DISTDIR)/samples/render
mkdir $(DISTDIR)/samples/rotate
$(CP_P) $(SAMPDIR)/rotate/Makefile.in $(DISTDIR)/samples/rotate
$(CP_P) $(SAMPDIR)/rotate/makefile.unx $(DISTDIR)/samples/rotate
$(CP_P) $(SAMPDIR)/rotate/*.cpp $(DISTDIR)/samples/rotate
$(CP_P) $(SAMPDIR)/rotate/*.png $(DISTDIR)/samples/rotate
mkdir $(DISTDIR)/samples/richtext
mkdir $(DISTDIR)/samples/richtext/bitmaps
$(CP_P) $(SAMPDIR)/richtext/Makefile.in $(DISTDIR)/samples/richtext
$(CP_P) $(SAMPDIR)/richtext/*.cpp $(DISTDIR)/samples/richtext
$(CP_P) $(SAMPDIR)/richtext/bitmaps/*.xpm $(DISTDIR)/samples/richtext/bitmaps
$(CP_P) $(SAMPDIR)/richtext/readme.txt $(DISTDIR)/samples/richtext
$(CP_P) $(SAMPDIR)/richtext/todo.txt $(DISTDIR)/samples/richtext
mkdir $(DISTDIR)/samples/propsize
$(CP_P) $(SAMPDIR)/propsize/Makefile.in $(DISTDIR)/samples/propsize
$(CP_P) $(SAMPDIR)/propsize/makefile.unx $(DISTDIR)/samples/propsize
$(CP_P) $(SAMPDIR)/propsize/*.cpp $(DISTDIR)/samples/propsize
$(CP_P) $(SAMPDIR)/propsize/*.xpm $(DISTDIR)/samples/propsize
mkdir $(DISTDIR)/samples/sashtest
$(CP_P) $(SAMPDIR)/sashtest/Makefile.in $(DISTDIR)/samples/sashtest
$(CP_P) $(SAMPDIR)/sashtest/makefile.unx $(DISTDIR)/samples/sashtest
$(CP_P) $(SAMPDIR)/sashtest/*.cpp $(DISTDIR)/samples/sashtest
$(CP_P) $(SAMPDIR)/sashtest/*.h $(DISTDIR)/samples/sashtest
mkdir $(DISTDIR)/samples/scroll
$(CP_P) $(SAMPDIR)/scroll/Makefile.in $(DISTDIR)/samples/scroll
$(CP_P) $(SAMPDIR)/scroll/makefile.unx $(DISTDIR)/samples/scroll
$(CP_P) $(SAMPDIR)/scroll/*.cpp $(DISTDIR)/samples/scroll
mkdir $(DISTDIR)/samples/scrollsub
$(CP_P) $(SAMPDIR)/scrollsub/Makefile.in $(DISTDIR)/samples/scrollsub
$(CP_P) $(SAMPDIR)/scrollsub/makefile.unx $(DISTDIR)/samples/scrollsub
$(CP_P) $(SAMPDIR)/scrollsub/*.cpp $(DISTDIR)/samples/scrollsub
mkdir $(DISTDIR)/samples/shaped
$(CP_P) $(SAMPDIR)/shaped/Makefile.in $(DISTDIR)/samples/shaped
$(CP_P) $(SAMPDIR)/shaped/makefile.unx $(DISTDIR)/samples/shaped
$(CP_P) $(SAMPDIR)/shaped/*.cpp $(DISTDIR)/samples/shaped
$(CP_P) $(SAMPDIR)/shaped/*.png $(DISTDIR)/samples/shaped
mkdir $(DISTDIR)/samples/sockets
$(CP_P) $(SAMPDIR)/sockets/Makefile.in $(DISTDIR)/samples/sockets
$(CP_P) $(SAMPDIR)/sockets/makefile.unx $(DISTDIR)/samples/sockets
$(CP_P) $(SAMPDIR)/sockets/*.cpp $(DISTDIR)/samples/sockets
$(CP_P) $(SAMPDIR)/sockets/*.xpm $(DISTDIR)/samples/sockets
mkdir $(DISTDIR)/samples/sound
$(CP_P) $(SAMPDIR)/sound/Makefile.in $(DISTDIR)/samples/sound
$(CP_P) $(SAMPDIR)/sound/*.cpp $(DISTDIR)/samples/sound
$(CP_P) $(SAMPDIR)/sound/*.wav $(DISTDIR)/samples/sound
mkdir $(DISTDIR)/samples/splash
$(CP_P) $(SAMPDIR)/splash/Makefile.in $(DISTDIR)/samples/splash
$(CP_P) $(SAMPDIR)/splash/*.cpp $(DISTDIR)/samples/splash
$(CP_P) $(SAMPDIR)/splash/*.png $(DISTDIR)/samples/splash
$(CP_P) $(SAMPDIR)/splash/*.mpg $(DISTDIR)/samples/splash
$(CP_P) $(SAMPDIR)/splash/*.xpm $(DISTDIR)/samples/splash
mkdir $(DISTDIR)/samples/splitter
$(CP_P) $(SAMPDIR)/splitter/Makefile.in $(DISTDIR)/samples/splitter
$(CP_P) $(SAMPDIR)/splitter/makefile.unx $(DISTDIR)/samples/splitter
$(CP_P) $(SAMPDIR)/splitter/*.cpp $(DISTDIR)/samples/splitter
mkdir $(DISTDIR)/samples/statbar
$(CP_P) $(SAMPDIR)/statbar/Makefile.in $(DISTDIR)/samples/statbar
$(CP_P) $(SAMPDIR)/statbar/makefile.unx $(DISTDIR)/samples/statbar
$(CP_P) $(SAMPDIR)/statbar/*.cpp $(DISTDIR)/samples/statbar
$(CP_P) $(SAMPDIR)/statbar/*.xpm $(DISTDIR)/samples/statbar
mkdir $(DISTDIR)/samples/taskbar
$(CP_P) $(SAMPDIR)/taskbar/Makefile.in $(DISTDIR)/samples/taskbar
$(CP_P) $(SAMPDIR)/taskbar/*.cpp $(DISTDIR)/samples/taskbar
$(CP_P) $(SAMPDIR)/taskbar/*.h $(DISTDIR)/samples/taskbar
$(CP_P) $(SAMPDIR)/taskbar/*.xpm $(DISTDIR)/samples/taskbar
mkdir $(DISTDIR)/samples/text
$(CP_P) $(SAMPDIR)/text/Makefile.in $(DISTDIR)/samples/text
$(CP_P) $(SAMPDIR)/text/makefile.unx $(DISTDIR)/samples/text
$(CP_P) $(SAMPDIR)/text/*.cpp $(DISTDIR)/samples/text
$(CP_P) $(SAMPDIR)/text/*.xpm $(DISTDIR)/samples/text
mkdir $(DISTDIR)/samples/thread
$(CP_P) $(SAMPDIR)/thread/Makefile.in $(DISTDIR)/samples/thread
$(CP_P) $(SAMPDIR)/thread/makefile.unx $(DISTDIR)/samples/thread
$(CP_P) $(SAMPDIR)/thread/*.cpp $(DISTDIR)/samples/thread
mkdir $(DISTDIR)/samples/toolbar
$(CP_P) $(SAMPDIR)/toolbar/Makefile.in $(DISTDIR)/samples/toolbar
$(CP_P) $(SAMPDIR)/toolbar/makefile.unx $(DISTDIR)/samples/toolbar
$(CP_P) $(SAMPDIR)/toolbar/*.cpp $(DISTDIR)/samples/toolbar
$(CP_P) $(SAMPDIR)/toolbar/*.xpm $(DISTDIR)/samples/toolbar
mkdir $(DISTDIR)/samples/toolbar/bitmaps
$(CP_P) $(SAMPDIR)/toolbar/bitmaps/*.xpm $(DISTDIR)/samples/toolbar/bitmaps
mkdir $(DISTDIR)/samples/treectrl
$(CP_P) $(SAMPDIR)/treectrl/Makefile.in $(DISTDIR)/samples/treectrl
$(CP_P) $(SAMPDIR)/treectrl/makefile.unx $(DISTDIR)/samples/treectrl
$(CP_P) $(SAMPDIR)/treectrl/*.cpp $(DISTDIR)/samples/treectrl
$(CP_P) $(SAMPDIR)/treectrl/*.h $(DISTDIR)/samples/treectrl
$(CP_P) $(SAMPDIR)/treectrl/*.xpm $(DISTDIR)/samples/treectrl
mkdir $(DISTDIR)/samples/typetest
$(CP_P) $(SAMPDIR)/typetest/Makefile.in $(DISTDIR)/samples/typetest
$(CP_P) $(SAMPDIR)/typetest/makefile.unx $(DISTDIR)/samples/typetest
$(CP_P) $(SAMPDIR)/typetest/*.cpp $(DISTDIR)/samples/typetest
$(CP_P) $(SAMPDIR)/typetest/*.h $(DISTDIR)/samples/typetest
$(CP_P) $(SAMPDIR)/typetest/*.xpm $(DISTDIR)/samples/typetest
mkdir $(DISTDIR)/samples/validate
$(CP_P) $(SAMPDIR)/validate/Makefile.in $(DISTDIR)/samples/validate
$(CP_P) $(SAMPDIR)/validate/makefile.unx $(DISTDIR)/samples/validate
$(CP_P) $(SAMPDIR)/validate/*.cpp $(DISTDIR)/samples/validate
$(CP_P) $(SAMPDIR)/validate/*.h $(DISTDIR)/samples/validate
$(CP_P) $(SAMPDIR)/validate/*.xpm $(DISTDIR)/samples/validate
mkdir $(DISTDIR)/samples/vscroll
$(CP_P) $(SAMPDIR)/vscroll/Makefile.in $(DISTDIR)/samples/vscroll
$(CP_P) $(SAMPDIR)/vscroll/*.cpp $(DISTDIR)/samples/vscroll
mkdir $(DISTDIR)/samples/wizard
$(CP_P) $(SAMPDIR)/wizard/Makefile.in $(DISTDIR)/samples/wizard
$(CP_P) $(SAMPDIR)/wizard/makefile.unx $(DISTDIR)/samples/wizard
$(CP_P) $(SAMPDIR)/wizard/*.cpp $(DISTDIR)/samples/wizard
$(CP_P) $(SAMPDIR)/wizard/*.xpm $(DISTDIR)/samples/wizard
mkdir $(DISTDIR)/samples/widgets
mkdir $(DISTDIR)/samples/widgets/icons
$(CP_P) $(SAMPDIR)/widgets/Makefile.in $(DISTDIR)/samples/widgets
$(CP_P) $(SAMPDIR)/widgets/*.cpp $(DISTDIR)/samples/widgets
$(CP_P) $(SAMPDIR)/widgets/*.h $(DISTDIR)/samples/widgets
$(CP_P) $(SAMPDIR)/widgets/*.rc $(DISTDIR)/samples/widgets
$(CP_P) $(SAMPDIR)/widgets/icons/*.xpm $(DISTDIR)/samples/widgets/icons
mkdir $(DISTDIR)/samples/xrc
mkdir $(DISTDIR)/samples/xrc/rc
$(CP_P) $(SAMPDIR)/xrc/Makefile.in $(DISTDIR)/samples/xrc
$(CP_P) $(SAMPDIR)/xrc/*.cpp $(DISTDIR)/samples/xrc
$(CP_P) $(SAMPDIR)/xrc/*.h $(DISTDIR)/samples/xrc
$(CP_P) $(SAMPDIR)/xrc/*.rc $(DISTDIR)/samples/xrc
$(CP_P) $(SAMPDIR)/xrc/rc/*.xpm $(DISTDIR)/samples/xrc/rc
$(CP_P) $(SAMPDIR)/xrc/rc/*.xrc $(DISTDIR)/samples/xrc/rc
$(CP_P) $(SAMPDIR)/xrc/rc/*.gif $(DISTDIR)/samples/xrc/rc
@@ -1051,21 +621,6 @@ UTILS_DIST: ALL_GUI_DIST
$(CP_P) $(UTILSDIR)/tex2rtf/src/*.cpp $(DISTDIR)/utils/tex2rtf/src
-$(CP_P) $(UTILSDIR)/tex2rtf/src/tex2rtf.* $(DISTDIR)/utils/tex2rtf/src
mkdir $(DISTDIR)/utils/configtool
mkdir $(DISTDIR)/utils/configtool/configs
mkdir $(DISTDIR)/utils/configtool/docs
mkdir $(DISTDIR)/utils/configtool/src
mkdir $(DISTDIR)/utils/configtool/src/bitmaps
mkdir $(DISTDIR)/utils/configtool/scripts
$(CP_P) $(UTILSDIR)/configtool/*.in $(DISTDIR)/utils/configtool
$(CP_P) $(UTILSDIR)/configtool/configs/*.wxs $(DISTDIR)/utils/configtool/configs
$(CP_P) $(UTILSDIR)/configtool/docs/*.txt $(DISTDIR)/utils/configtool/docs
$(CP_P) $(UTILSDIR)/configtool/src/*.h $(DISTDIR)/utils/configtool/src
$(CP_P) $(UTILSDIR)/configtool/src/*.in $(DISTDIR)/utils/configtool/src
$(CP_P) $(UTILSDIR)/configtool/src/*.cpp $(DISTDIR)/utils/configtool/src
$(CP_P) $(UTILSDIR)/configtool/src/bitmaps/*.xpm $(DISTDIR)/utils/configtool/src/bitmaps
$(CP_P) $(UTILSDIR)/configtool/scripts/????* $(DISTDIR)/utils/configtool/scripts
mkdir $(DISTDIR)/utils/emulator
mkdir $(DISTDIR)/utils/emulator/src
mkdir $(DISTDIR)/utils/emulator/docs
@@ -1253,8 +808,8 @@ debian-dist: debian-native-dist debian-msw-dirs MSW_DIST
find $(DISTDIR) \( -name "CVS" -o -name ".cvsignore" -o -name "*.dsp" \
-o -name "*.dsw" -o -name "*.hh*" -o -name "*.mms" \
-o -name "*.mcp" -o -name "*M*.xml" -o -name "*.r" \
-o -name "*.bkl" -o -name "*.pro" \
-o -name "*.vpj" -o -name "*.sc" \
-o -name "*.pro" \
-o -name "*.vpj" \
-o \( -name "makefile.*" -a ! -name "makefile.unx" \) \
\) -print0 | xargs -0 rm -rf

View File

@@ -5,7 +5,7 @@
<set var="MONOLIB_GUI_SRC">
<if cond="USE_GUI=='1'">
$(CORE_SRC) $(ADVANCED_SRC) $(MEDIA_SRC) $(HTML_SRC) $(ODBC_SRC) $(QA_SRC)
$(DBGRID_SRC) $(XRC_SRC)
$(DBGRID_SRC) $(XRC_SRC) $(AUI_SRC) $(RICHTEXT_SRC)
</if>
</set>
<set var="MONOLIB_SRC">
@@ -19,6 +19,7 @@
<sources>$(MONOLIB_SRC) $(PLUGIN_MONOLIB_SRC)</sources>
<ldlibs>$(EXTRALIBS_XML)</ldlibs>
<ldlibs>$(EXTRALIBS_HTML)</ldlibs>
<ldlibs>$(EXTRALIBS_MEDIA)</ldlibs>
<ldlibs>$(EXTRALIBS_ODBC)</ldlibs>
<ldlibs>$(PLUGIN_MONOLIB_EXTRALIBS)</ldlibs>
<msvc-headers>$(ALL_HEADERS)</msvc-headers>
@@ -29,6 +30,9 @@
<define>wxUSE_BASE=1</define>
<sources>$(MONOLIB_SRC) $(PLUGIN_MONOLIB_SRC)</sources>
<msvc-headers>$(ALL_HEADERS)</msvc-headers>
<if cond="FORMAT=='watcom'">
<set var="LIB_PAGESIZE" overwrite="1">8192</set>
</if>
</lib>

View File

@@ -81,8 +81,6 @@
<define>WXMAKINGDLL_ADV</define>
<sources>$(ADVANCED_SRC) $(PLUGIN_ADV_SRC)</sources>
<msvc-headers>$(ADVANCED_HDR)</msvc-headers>
<library>htmldll</library>
<library>xmldll</library>
<library>coredll</library>
<library>basedll</library>
<ldlibs>$(PLUGIN_ADV_EXTRALIBS)</ldlibs>
@@ -102,17 +100,18 @@
<!-- ================================================================= -->
<dll id="mediadll" template="wx_dll"
cond="SHARED=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
cond="SHARED=='1' and USE_MEDIA=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
<define>WXUSINGDLL</define>
<define>WXMAKINGDLL_MEDIA</define>
<sources>$(MEDIA_SRC)</sources>
<msvc-headers>$(MEDIA_HDR)</msvc-headers>
<library>coredll</library>
<library>basedll</library>
<ldlibs>$(EXTRALIBS_MEDIA)</ldlibs>
</dll>
<lib id="medialib" template="wx_lib"
cond="SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'">
cond="SHARED=='0' and USE_MEDIA=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
<sources>$(MEDIA_SRC)</sources>
<msvc-headers>$(MEDIA_HDR)</msvc-headers>
</lib>
@@ -265,4 +264,52 @@
<set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">xrc=xrclib+xrcdll</set>
<!-- ================================================================ -->
<!-- AUI -->
<!-- ================================================================ -->
<dll id="auidll" template="wx_dll"
cond="SHARED=='1' and USE_AUI=='1' and MONOLITHIC=='0'">
<define>WXUSINGDLL</define>
<define>WXMAKINGDLL_AUI</define>
<sources>$(AUI_SRC)</sources>
<library>advdll</library>
<library>coredll</library>
<library>basedll</library>
<msvc-headers>$(AUI_HDR)</msvc-headers>
</dll>
<lib id="auilib" template="wx_lib"
cond="SHARED=='0' and USE_AUI=='1' and MONOLITHIC=='0'">
<sources>$(AUI_SRC)</sources>
<msvc-headers>$(AUI_HDR)</msvc-headers>
</lib>
<set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">aui=auilib+auidll</set>
<!-- ================================================================ -->
<!-- RICHTEXT -->
<!-- ================================================================ -->
<dll id="richtextdll" template="wx_dll"
cond="SHARED=='1' and USE_RICHTEXT=='1' and MONOLITHIC=='0'">
<define>WXUSINGDLL</define>
<define>WXMAKINGDLL_RICHTEXT</define>
<sources>$(RICHTEXT_SRC)</sources>
<library>advdll</library>
<library>htmldll</library>
<library>xmldll</library>
<library>coredll</library>
<library>basedll</library>
<msvc-headers>$(RICHTEXT_HDR)</msvc-headers>
</dll>
<lib id="richtextlib" template="wx_lib"
cond="SHARED=='0' and USE_RICHTEXT=='1' and MONOLITHIC=='0'">
<sources>$(RICHTEXT_SRC)</sources>
<msvc-headers>$(RICHTEXT_HDR)</msvc-headers>
</lib>
<set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">richtext=richtextlib+richtextdll</set>
</makefile>

View File

@@ -2,7 +2,7 @@
<!-- $Id$ -->
<makefile>
<if cond="FORMAT=='autoconf'">
<option name="wxUSE_REGEX"/>
<set var="LIB_REGEX">
@@ -38,6 +38,7 @@
<include cond="FORMAT!='autoconf'">$(TOP_SRCDIR)include</include>
<include cond="FORMAT!='autoconf'">$(SETUPHDIR)</include>
<define>__WX$(TOOLKIT)__</define>
<define>$(WXUNIV_DEFINE)</define>
<define>$(UNICODE_DEFINE)</define>
<dirname>$(LIBDIRNAME)</dirname>
<cflags-borland>-w-8008 -w-8012 -w-8057 -w-8064 -w-8066 -w-8070</cflags-borland>

View File

@@ -23,9 +23,9 @@
3. Else, i.e. if there were no changes at all to API but only internal
changes, change C:R:A to C:R+1:A
-->
<set var="WX_CURRENT">0</set>
<set var="WX_CURRENT">6</set>
<set var="WX_REVISION">0</set>
<set var="WX_AGE">0</set>
<set var="WX_AGE">6</set>
<!-- ================================================================== -->

View File

@@ -24,7 +24,7 @@
<!-- ...and when there are multiple libraries: -->
<include file="multilib.bkl"/>
<if cond="FORMAT in ['msvc6prj','msevc4prj']">
<if cond="FORMAT in ['msvc6prj','msevc4prj','msvs2005prj']">
<set var="MSVC6PRJ_MERGED_TARGETS">
<if cond="MONOLITHIC=='0'">$(MSVC6PRJ_MERGED_TARGETS_MULTILIB)</if>
<if cond="MONOLITHIC=='1'">$(MSVC6PRJ_MERGED_TARGETS_MONOLIB)</if>
@@ -61,20 +61,20 @@
<depends>xmllib</depends>
<command>
(test -d utils/wxrc &amp;&amp; cd utils/wxrc &amp;&amp; $(DOLLAR)(MAKE) all) || true
(if test -d utils/wxrc ; then cd utils/wxrc &amp;&amp; $(DOLLAR)(MAKE) all ; fi)
</command>
</action>
<action id="clean-wxrc" cond="USE_XRC=='1'">
<dependency-of>clean</dependency-of>
<command>
(test -d utils/wxrc &amp;&amp; cd utils/wxrc &amp;&amp; $(DOLLAR)(MAKE) clean) || true
(if test -d utils/wxrc ; then cd utils/wxrc &amp;&amp; $(DOLLAR)(MAKE) clean ; fi)
</command>
</action>
<action id="install-wxrc" cond="USE_XRC=='1'">
<dependency-of>install</dependency-of>
<depends>wxrc</depends>
<command>
(test -d utils/wxrc &amp;&amp; cd utils/wxrc &amp;&amp; $(DOLLAR)(MAKE) install) || true
(if test -d utils/wxrc ; then cd utils/wxrc &amp;&amp; $(DOLLAR)(MAKE) install ; fi)
</command>
</action>
@@ -97,7 +97,7 @@
$(INSTALL_DIR) $(DESTDIR)$(BINDIR)
$(INSTALL_DIR) $(DESTDIR)$(LIBDIR)/wx/config
$(INSTALL_PROGRAM) lib/wx/config/$(TOOLCHAIN_FULLNAME) $(DESTDIR)$(LIBDIR)/wx/config
(cd $(DESTDIR)$(BINDIR) &amp;&amp; rm -f wx-config &amp;&amp; $(LN_S) $(DESTDIR)$(LIBDIR)/wx/config/$(TOOLCHAIN_FULLNAME) wx-config)
(cd $(DESTDIR)$(BINDIR) &amp;&amp; rm -f wx-config &amp;&amp; $(LN_S) $(LIBDIR)/wx/config/$(TOOLCHAIN_FULLNAME) wx-config)
</command>
</action>
@@ -221,7 +221,7 @@
<depends-on-file>$(SRCDIR)/include/wx/msw/genrcdefs.h</depends-on-file>
<command>
$(DOLLAR)(CPP) "$(SRCDIR)\include\wx\msw\genrcdefs.h" > "$(SETUPHDIR)\wx\msw\rcdefs.h"
$(DOLLAR)(CPP) "$(nativePaths(SRCDIR))\include\wx\msw\genrcdefs.h" > "$(SETUPHDIR)\wx\msw\rcdefs.h"
</command>
</action>

View File

@@ -235,6 +235,8 @@ options are:
Option Values Description
------ ------ -------------
WX_MONOLITHIC 0(default),1 Set this to 1 if you built wx
as a monolithic library
WX_SHARED 0(default),1 Specify static or dynamic wx libs
WX_UNICODE 0(defualt),1 Use ANSI or UNICODE wx libs
WX_DEBUG 0,1(default) Use release or debug wx libs

View File

@@ -2,14 +2,50 @@
<!-- $Id$ -->
<!--
Presents for building wxWidgets applications.
Presets for building wxWidgets applications.
FIXME: docs
FIXME: docs
-->
<makefile>
<!-- this variable identifies the version of the wx presets.
this is changed only when major changes to wxpresets take place. -->
<set var="WX_PRESETS_VERSION">3</set>
<!-- list of known libraries used by wx-lib tag defined in wx_unix.bkl and wx_win32.bkl -->
<set var="LIB_LIST">
base core net xml odbc xrc html adv media gl dbgrid qa aui richtext
</set>
<!-- NOTE: refer to the NET contrib using NETUTILS instead of NET
(which is already in LIB_LIST) -->
<set var="CONTRIBLIB_LIST">animate applet deprecated fl foldbar gizmos mmedia netutils ogl plot stc svg</set>
<set var="ALLLIB_LIST">$(LIB_LIST) $(CONTRIBLIB_LIST)</set>
<!-- this is a temporary variable until there is non general -->
<!-- function in bakefiles for returning native markup for -->
<!-- reading envrionment variables -->
<set var="ENV_VAR">
<if cond="FORMAT=='watcom'">%</if>
<if cond="FORMAT!='watcom'"></if>
</set>
<!-- The directory where wxWidgets is installed: -->
<if cond="not isdefined('WX_DIR')">
<set var="WX_DIR_DEFAULT" overwrite="0">$(DOLLAR)($(ENV_VAR)WXWIN)</set>
<option name="WX_DIR" category="path">
<default-value>$(WX_DIR_DEFAULT)</default-value>
<description>
The directory where wxWidgets library is installed
</description>
</option>
</if>
<!-- this is just a wrapper that includes the real implementation: -->
<set var="__wx_included_impl">0</set>

View File

@@ -30,6 +30,7 @@ Format-specific notes:
<option name="WX_CXXFLAGS"/>
<option name="WX_CPPFLAGS"/>
<option name="WX_LIBS"/>
<option name="WX_RESCOMP"/>
</if>
<!-- ============================================================== -->
@@ -37,8 +38,9 @@ Format-specific notes:
<!-- ============================================================== -->
<if cond="FORMAT=='gnu'">
<set var="WX_CONFIG_DEFAULT" overwrite="0">wx-config</set>
<option name="WX_CONFIG">
<default-value>wx-config</default-value>
<default-value>$(WX_CONFIG_DEFAULT)</default-value>
<description>Location and arguments of wx-config script</description>
</option>
<option name="WX_CFLAGS">
@@ -53,9 +55,9 @@ Format-specific notes:
<default-value>`$(DOLLAR)(WX_CONFIG) --cppflags`</default-value>
<description>C preprocessor flags to use with wxWidgets code</description>
</option>
<option name="WX_LIBS">
<default-value>`$(DOLLAR)(WX_CONFIG) --libs`</default-value>
<description>wxWidgets libraries to link against</description>
<option name="WX_RESCOMP">
<default-value>`$(DOLLAR)(WX_CONFIG) --rescomp`</default-value>
<description>wxWidgets resource compiler and flags</description>
</option>
<!-- we need this but the trick used in default-values above
@@ -73,6 +75,25 @@ Format-specific notes:
</error>
</if>
<!--
We need to re-define the WINDRES resource compiler name to the resource compiler
returned by 'wx-config - -rescomp' since this option returns both the name of the
resource compiler to use (windres) and the flags required for that compiler.
This line typically does something *only* when the Makefile.in generated
using this bakefile, is used on Windows with MSYS (when using Cygwin, resources
are not compiled at all).
Without this line, in fact, when compiling with MSYS on Windows, the - -include-dir
option which tells windres to look in wxWidgets\include folder would be missing and
then windres would fail to find the wxMSW resources.
NOTE: overwriting the WINDRES variable we add wxWidgets resource flags to
all targets which include this bakefile; this could be useless to those
targets which are not wx-based eventually present in that bakefile but
in any case it shouldn't do any harm.
-->
<set var="WINDRES">$(WX_RESCOMP)</set>
<template id="wx-lib">
<cxxflags>$(WX_CXXFLAGS)</cxxflags>
<cflags>$(WX_CFLAGS)</cflags>
@@ -89,10 +110,26 @@ Format-specific notes:
-->
</template>
<!-- not used together with wx-config: -->
<!-- VERY IMPORTANT: <wx-lib>base</wx-lib> must be the last wx-lib tag
in all your bakefiles !!
-->
<define-tag name="wx-lib" rules="exe,dll,module">
<if cond="value=='base'">
<ldlibs>$(WX_LIBS)</ldlibs>
<if cond="FORMAT=='autoconf' and value=='base'">
<!-- all wx-dependent libraries should have been already listed
thus we can now add WX_LIBS to the linker line -->
<ldflags>$(WX_LIBS)</ldflags>
</if>
<if cond="FORMAT=='gnu' and value=='base'">
<!-- all wx libraries should have been already specified, thus
$(__liblist) should contain the full list... -->
<set var="__liblist" append="1">base</set>
<ldflags>`$(WX_CONFIG) --libs $(','.join(__liblist.split()))`</ldflags>
</if>
<if cond="FORMAT=='gnu' and value!='base'">
<set var="__liblist" append="1">$(value)</set>
</if>
<if cond="value not in ALLLIB_LIST.split()">
<error>Unknown wxWidgets library given in the wx-lib tag</error>
</if>
</define-tag>

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" ?>
<?xml version="1.0" ?>
<!-- $Id$ -->
<!-- Original source: http://wiki.wxwidgets.org/wiki.pl?Bakefile -->
@@ -42,34 +42,15 @@ FIXME: this template has (at least) the following bugs:
<!-- is not constant, i.e. if it cannot be determined -->
<!-- by bakefile itself. -->
<!-- this is a temporary variable until there is non general -->
<!-- function in bakefiles for returning native markup for -->
<!-- reading envrionment variables -->
<set var="ENV_VAR">
<if cond="FORMAT=='watcom'">%</if>
<if cond="FORMAT!='watcom'"></if>
</set>
<!-- Presets for limited dmars make.exe format: -->
<if cond="FORMAT=='dmars'">
<set var="WX_UNICODE">0</set>
<set var="WX_DEBUG">1</set>
<set var="WX_SHARED">0</set>
<set var="WX_PYTHON">0</set>
</if>
<!-- The directory where wxWidgets is installed: -->
<if cond="not isdefined('WX_DIR')">
<set var="WX_DIR_DEFAULT" overwrite="0">$(DOLLAR)($(ENV_VAR)WXWIN)</set>
<option name="WX_DIR" category="path">
<default-value>$(WX_DIR_DEFAULT)</default-value>
<description>
The directory where wxWidgets library is installed
</description>
</option>
</if>
<!-- This is a standard option that determines -->
<!-- whether the user wants to build this library as -->
<!-- a dll or as a static library. -->
@@ -112,7 +93,7 @@ FIXME: this template has (at least) the following bugs:
</if>
<if cond="not isdefined('WX_VERSION')">
<set var="WX_VERSION_DEFAULT" overwrite="0">27</set>
<set var="WX_VERSION_DEFAULT" overwrite="0">28</set>
<option name="WX_VERSION">
<default-value>$(WX_VERSION_DEFAULT)</default-value>
<description>
@@ -121,6 +102,29 @@ FIXME: this template has (at least) the following bugs:
</option>
</if>
<if cond="not isdefined('WX_MONOLITHIC')">
<set var="WX_MONOLITHIC_DEFAULT" overwrite="0">0</set>
<option name="WX_MONOLITHIC">
<values>0,1</values>
<values-description>Multilib,Monolithic</values-description>
<default-value>$(WX_MONOLITHIC_DEFAULT)</default-value>
<description>
Use monolithic build of wxWidgets?
</description>
</option>
</if>
<!-- set this to 1 to use specific settings for wxPython -->
<if cond="not isdefined('WX_PYTHON')">
<option name="WX_PYTHON" category="path">
<values>0,1</values>
<default-value>0</default-value>
<description>
Whether or not we're building against wxPython libraries.
</description>
</option>
</if>
<!-- HELPER VARIABLES -->
<!-- -->
@@ -136,19 +140,23 @@ FIXME: this template has (at least) the following bugs:
<!-- The debug define we need with win32 compilers -->
<!-- (on Linux, the wx-config program is used). -->
<set var="WXDEBUG_DEFINE">
<if cond="WX_DEBUG=='1'">__WXDEBUG__</if>
<if cond="WX_PYTHON=='1'">__WXDEBUG__</if>
<if cond="WX_PYTHON=='0' and WX_DEBUG=='1'">__WXDEBUG__</if>
</set>
<!-- These are handy ways of dealing with the -->
<!-- extensions in the library names of the -->
<!-- wxWindows library. -->
<set var="WXLIBPOSTFIX">
<if cond="WX_DEBUG=='1' and WX_UNICODE=='1'">ud</if>
<if cond="WX_DEBUG=='1' and WX_UNICODE=='0'">d</if>
<if cond="WX_DEBUG=='0' and WX_UNICODE=='1'">u</if>
<if cond="WX_PYTHON=='1' and WX_UNICODE=='1'">uh</if>
<if cond="WX_PYTHON=='1' and WX_UNICODE=='0'">h</if>
<if cond="WX_PYTHON=='0' and WX_DEBUG=='1' and WX_UNICODE=='1'">ud</if>
<if cond="WX_PYTHON=='0' and WX_DEBUG=='1' and WX_UNICODE=='0'">d</if>
<if cond="WX_PYTHON=='0' and WX_DEBUG=='0' and WX_UNICODE=='1'">u</if>
</set>
<set var="WX3RDPARTYLIBPOSTFIX">
<if cond="WX_DEBUG=='1'">d</if>
<if cond="WX_PYTHON==0 and WX_DEBUG=='1'">d</if>
<if cond="WX_PYTHON==1">h</if>
</set>
<set var="WXCPU">
@@ -167,6 +175,67 @@ FIXME: this template has (at least) the following bugs:
<set var="WXLIBINCLUDE">$(WXLIBPATH)$(DIRSEP)$(WXPORT)$(WXLIBPOSTFIX)</set>
<!-- All the possible mixes for the wx library names -->
<set var="WXLIB_BASE_NAME">
<if cond="WX_MONOLITHIC=='0'">wxbase$(WX_VERSION)$(WXLIBPOSTFIX)</if>
<!--
the trick used to support monolithic builds is here: when the
<wx-lib>base</wx-lib> tag is found, and user selected
WX_MONOLITHIC=1, then the base library is translated to the
monolithic library
-->
<if cond="WX_MONOLITHIC=='1'">wx$(WXPORT)$(WX_VERSION)$(WXLIBPOSTFIX)</if>
</set>
<!-- Libraries whose name is prefixed with 'wxbase' -->
<set var="WXLIB_NET_NAME">
<if cond="WX_MONOLITHIC=='0'">wxbase$(WX_VERSION)$(WXLIBPOSTFIX)_net</if>
</set>
<set var="WXLIB_XML_NAME">
<if cond="WX_MONOLITHIC=='0'">wxbase$(WX_VERSION)$(WXLIBPOSTFIX)_xml</if>
</set>
<set var="WXLIB_ODBC_NAME">
<if cond="WX_MONOLITHIC=='0'">wxbase$(WX_VERSION)$(WXLIBPOSTFIX)_odbc</if>
</set>
<!-- Libraries whose name is prefixed with 'wx' only -->
<set var="WXLIB_CORE_NAME">
<if cond="WX_MONOLITHIC=='0'">wx$(WXPORT)$(WX_VERSION)$(WXLIBPOSTFIX)_core</if>
</set>
<set var="WXLIB_MEDIA_NAME">
<if cond="WX_MONOLITHIC=='0'">wx$(WXPORT)$(WX_VERSION)$(WXLIBPOSTFIX)_media</if>
</set>
<set var="WXLIB_XRC_NAME">
<if cond="WX_MONOLITHIC=='0'">wx$(WXPORT)$(WX_VERSION)$(WXLIBPOSTFIX)_xrc</if>
</set>
<set var="WXLIB_HTML_NAME">
<if cond="WX_MONOLITHIC=='0'">wx$(WXPORT)$(WX_VERSION)$(WXLIBPOSTFIX)_html</if>
</set>
<set var="WXLIB_ADV_NAME">
<if cond="WX_MONOLITHIC=='0'">wx$(WXPORT)$(WX_VERSION)$(WXLIBPOSTFIX)_adv</if>
</set>
<set var="WXLIB_QA_NAME">
<if cond="WX_MONOLITHIC=='0'">wx$(WXPORT)$(WX_VERSION)$(WXLIBPOSTFIX)_qa</if>
</set>
<set var="WXLIB_DBGRID_NAME">
<if cond="WX_MONOLITHIC=='0'">wx$(WXPORT)$(WX_VERSION)$(WXLIBPOSTFIX)_dbgrid</if>
</set>
<set var="WXLIB_GL_NAME">
<if cond="WX_MONOLITHIC=='0'">wx$(WXPORT)$(WX_VERSION)$(WXLIBPOSTFIX)_gl</if>
</set>
<set var="WXLIB_AUI_NAME">
<if cond="WX_MONOLITHIC=='0'">wx$(WXPORT)$(WX_VERSION)$(WXLIBPOSTFIX)_aui</if>
</set>
<set var="WXLIB_RICHTEXT_NAME">
<if cond="WX_MONOLITHIC=='0'">wx$(WXPORT)$(WX_VERSION)($WXLIBPOSTFIX)_richtext</if>
</set>
<!-- WX TEMPLATE -->
<!-- -->
<!-- -->
@@ -185,19 +254,34 @@ FIXME: this template has (at least) the following bugs:
<!-- libraries required by the platform, the libraries -->
<!-- we want for our stuff, and the wxWindows libs. -->
<!-- this tag is used to include wx libraries: -->
<define-tag name="wx-lib" rules="exe,dll,module">
<if cond="value=='base'">
<sys-lib>wxbase$(WX_VERSION)$(WXLIBPOSTFIX)</sys-lib>
</if>
<if cond="value in ['net','xml', 'odbc']">
<sys-lib>wxbase$(WX_VERSION)$(WXLIBPOSTFIX)_$(value)</sys-lib>
</if>
<if cond="value not in ['base','net', 'odbc', 'xml']">
<if cond="value=='base'"><sys-lib>$(WXLIB_BASE_NAME)</sys-lib></if>
<if cond="value=='core'"><sys-lib>$(WXLIB_CORE_NAME)</sys-lib></if>
<if cond="value=='net'"><sys-lib>$(WXLIB_NET_NAME)</sys-lib></if>
<if cond="value=='xml'"><sys-lib>$(WXLIB_XML_NAME)</sys-lib></if>
<if cond="value=='odbc'"><sys-lib>$(WXLIB_ODBC_NAME)</sys-lib></if>
<if cond="value=='media'"><sys-lib>$(WXLIB_MEDIA_NAME)</sys-lib></if>
<if cond="value=='xrc'"><sys-lib>$(WXLIB_XRC_NAME)</sys-lib></if>
<if cond="value=='html'"><sys-lib>$(WXLIB_HTML_NAME)</sys-lib></if>
<if cond="value=='adv'"><sys-lib>$(WXLIB_ADV_NAME)</sys-lib></if>
<if cond="value=='gl'"><sys-lib>$(WXLIB_GL_NAME)</sys-lib></if>
<if cond="value=='dbgrid'"><sys-lib>$(WXLIB_DBGRID_NAME)</sys-lib></if>
<if cond="value=='qa'"><sys-lib>$(WXLIB_QA_NAME)</sys-lib></if>
<if cond="value=='aui'"><sys-lib>$(WXLIB_AUI_NAME)</sys-lib></if>
<if cond="value=='richtext'"><sys-lib>$(WXLIB_RICHTEXT_NAME)</sys-lib></if>
<!-- wx-lib can be used also to link against contrib libraries
(which always have the same name, regardless of WX_MONOLITHIC value) -->
<if cond="value in CONTRIBLIB_LIST.split()">
<sys-lib>wx$(WXPORT)$(WX_VERSION)$(WXLIBPOSTFIX)_$(value)</sys-lib>
</if>
<if cond="value not in ALLLIB_LIST.split()">
<error>Unknown wxWidgets library given in the wx-lib tag</error>
</if>
</define-tag>
<!-- just a placeholder to mark the place where <wx-lib> will be placed,

View File

@@ -40,10 +40,10 @@ def mk_wxid(id):
# All libs that are part of the main library (i.e. non-contrib):
MAIN_LIBS = ['mono', 'base', 'core', 'adv', 'html', 'xml', 'net',
'media', 'odbc', 'qa', 'dbgrid', 'xrc']
'media', 'odbc', 'qa', 'dbgrid', 'xrc', 'aui', 'richtext']
# List of library names/ids for categories with different names:
LIBS_NOGUI = ['xml', 'net', 'odbc']
LIBS_GUI = ['core', 'adv', 'html', 'gl', 'qa', 'dbgrid', 'xrc', 'media']
LIBS_GUI = ['core', 'adv', 'html', 'gl', 'qa', 'dbgrid', 'xrc', 'media', 'aui', 'richtext']
# Additional libraries that must be linked in:
EXTRALIBS = {
'gl' : '$(EXTRALIBS_OPENGL)',
@@ -51,6 +51,7 @@ EXTRALIBS = {
'html' : '$(EXTRALIBS_HTML)',
'odbc' : '$(EXTRALIBS_ODBC)',
'adv' : '$(PLUGIN_ADV_EXTRALIBS)',
'media' : '$(EXTRALIBS_MEDIA)',
}
def mkLibName(wxid):

View File

@@ -1,6 +1,6 @@
# =========================================================================
# This configuration file was generated by
# Bakefile 0.1.9 (http://bakefile.sourceforge.net)
# Bakefile 0.2.1 (http://bakefile.sourceforge.net)
# Beware that all changes made to this file will be overwritten next
# time you run Bakefile!
# =========================================================================
@@ -73,9 +73,18 @@ USE_GUI = 1
# Build wxHTML library (USE_GUI must be 1)? [0,1]
USE_HTML = 1
# Build multimedia library (USE_GUI must be 1)? [0,1]
USE_MEDIA = 1
# Build wxXRC library (USE_GUI must be 1)? [0,1]
USE_XRC = 1
# Build wxAUI library (USE_GUI must be 1)? [0,1]
USE_AUI = 1
# Build wxRichTextCtrl library (USE_GUI must be 1)? [0,1]
USE_RICHTEXT = 1
# Build OpenGL canvas library (USE_GUI must be 1)? [0,1]
USE_OPENGL = 0
@@ -91,6 +100,9 @@ USE_EXCEPTIONS = 1
# Enable run-time type information (RTTI) in compiled code. [0,1]
USE_RTTI = 1
# Link with gdiplus.lib? (Needed for wxGraphicsContext, will also set wxUSE_GRAPHICS_CONTEXT) [0,1]
USE_GDIPLUS = 0
# Is this official build by wxWidgets developers? [0,1]
OFFICIAL_BUILD = 0

File diff suppressed because it is too large Load Diff

View File

@@ -1,2 +1,5 @@
.m*
config.dmc
makefile.dmc
vc_mswhdll
vc_mswuhdll

Some files were not shown because too many files have changed in this diff Show More