Compare commits

..

1121 Commits

Author SHA1 Message Date
Chris Elliott
5c19bfe48e 2.8.6 release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/tags/WX_2_8_6@48948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 08:20:54 +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
9823 changed files with 3097134 additions and 1903095 deletions

12
.cvsignore Normal file
View File

@@ -0,0 +1,12 @@
.gdb_history
config.cache
configarg.cache
config.status
wx-config
config.log
stamp-h.in
Makefile
setup.h
*tags
.DS_Store
autom4te.cache

262
BuildCVS.txt Normal file
View File

@@ -0,0 +1,262 @@
------------------------------------------------------------------------
How to build the sources from CVS
------------------------------------------------------------------------
Please use the install.txt files in docs/gtk, docs/msw, docs/motif, docs/mac
etc. alongside these instructions.
I) Windows using plain makefiles
----------------------------------------
a) If using Microsoft Visual C++ 5.0 or 6.0
Ensure that the command-line compiler and tools (including
nmake) are installed and ready to run. Depending on your
installation there may be a batch file (commonly named VCVARS32.BAT)
that needs to be run to set correct environment variables and PATH entries.
Continue with item c) below.
b) If using the MinGW or Cygwin compilers
You can get MinGW from http://www.mingw.org/
Cygwin is available at http://www.cygwin.com/
If you are using Cygwin or MinGW together with the MSYS environment, you
can build the library using configure (see "Unix ports" and
"Windows using configure" below). You can also
build wxWidgets without configure using native makefile, but only with
MinGW. Using Cygwin together with Windows makefile is no longer supported.
If building with MinGW without configure:
-> Set your path so that it includes the directory
where your compiler and tools reside
-> Make sure you have GNU Make installed. It must be Windows native version.
Download it from http://www.mingw.org, the executable will be called
mingw32-make.exe.
-> Modern version of MinGW is required; preferably MinGW 2.0 (with gcc3),
but MinGW with gcc-2.95.3 will suffice. If you are using 2.95, you will
have to change variable GCC_VERSION in config.gcc (see msw/install.txt
for details).
If using configure, Unix instructions apply.
c) Build instructions
Assumming that you installed the wxWidgets sources
into c:\wxWidgets:
-> Copy c:\wxWidgets\include\wx\msw\setup0.h
to c:\wxWidgets\include\wx\msw\setup.h
-> Edit c:\wxWidgets\include\wx\msw\setup.h to choose
the features you would like to compile wxWidgets with[out].
and std iostreams are disabled with
#define wxUSE_STD_IOSTREAM 0
-> type: cd c:\wxWidgets\build\msw
-> type: make -f makefile.gcc (if using GNU tools)
or type: nmake -f makefile.vc (if using MS VC++)
etc.
See also docs/msw/install.txt for additional compilation options.
d) Borland (including free command line tools)
Download tools from http://www.borland.com/downloads/
See docs/msw/install.txt for details; in brief:
-> type cd c:\wxWidgets\build\msw
-> type make -f makefile.bcc
You can customize many things in the build process, detailed description is
in docs/msw/install.txt.
II) Unix ports
--------------
Building wxGTK or wxMotif completely without configure
won't ever work, but there is now a new makefile system
that works without libtool and automake, using only
configure to create what is needed.
In order to create configure, you need to have the
GNU autoconf package (version > 2.54) installed
on your system and type run "autoconf" in the base
directory (or run the autogen.sh script in the same
directory, which just calls autoconf). Note that you usually don't
need to do this because configure is included in CVS.
Set WXWIN environment variable to the base directory such
as ~/wxWidgets (this is actually not really needed).
-> type: export WXWIN=~/wxWidgets
-> type: md mybuild
-> type: cd mybuild
-> type: ../configure --with-motif
or type: ../configure --with-gtk
-> type: make
-> type: su <type root password>
-> type: make install
-> type: ldconfig
-> type: exit
Call configure with --disable-shared to create a static
library. Calling "make uninstall" will remove the installed
library and "make dist" will create a distribution (not
yet complete).
III) Windows using configure
----------------------------------------
wxWidgets can be built on Windows using MSYS (see
http://www.mingw.org/), which is a POSIX build environment
for Windows. With MSYS you can just ./configure && make (see also VII,
Unix->Windows cross-compiling using configure).
Of course, you can also build the library using plain makefiles (see
section I).
IV) Classic MacOS using CodeWarrior (eg MacOS 8.x/9.x)
----------------------------------------
Refer to the readme.txt and install.txt files in docs/mac to build
wxWidgets under Classic Mac OS using CodeWarrior.
If you are checking out the CVS sources using cvs under Mac OS X and
compiling under Classic Mac OS:
- make sure that all text files have a Mac OS type of 'TEXT' otherwise
CodeWarrior may ignore them. Checking out the CVS sources using cvs
under Mac OS X creates untyped files which can lead to compilation
errors under CodeWarrior which are hard to track down.
- convert the xml files to CodeWarrior binary projects using the supplied
AppleScript in docs/mac (M5xml2mcp.applescript for CodeWarrior 5.3)
V) MacOS X using configure and the Developer Tools
----------------------------------------
You need to have the Developer Tools installed. If this is not the case,
you will need to register at the Apple Developer web site (this is a free
registration) in order to download the Developer Tools installer.
In order to create configure, you need to have the
GNU autoconf package (version >= 2.54) installed
on your system and type run "autoconf" in the base
directory (or run the autogen.sh script in the same
directory, which just calls autoconf).
-> type: mkdir macbuild
-> type: cd macbuild
-> type: ../configure --with-mac
or type: ../configure
-> type: make
VI) OS/2
----------------------------------------
No notes.
VII) Unix->Windows cross-compiling using configure
--------------------------------------------------
First you'll need a cross-compiler; linux glibc binaries of MinGW and
Cygwin (both based on egcs) can be found at
ftp://ftp.objsw.com/pub/crossgcc/linux-x-win32. Alternative binaries,
based on the latest MinGW release can be found at
http://members.telering.at/jessich/mingw/mingwcross/mingw_cross.html
Otherwise you can compile one yourself.
[ A Note about Cygwin and MinGW: the main difference is that Cygwin
binaries are always linked against cygwin.dll. This dll encapsulates most
standard Unix C extensions, which is very handy if you're porting unix
software to windows. However, wxMSW doesn't need this, so MinGW is
preferable if you write portable C(++). ]
You might want to build both Unix and Windows binaries in the same source
tree; to do this make subdirs for each e.g. unix and win32. If you've
already build wxWidgets in the main dir, do a 'make distclean' there,
otherwise configure will get confused. (In any case, read the section 'Unix
using configure' and make sure you're able to build a native wxWidgets
library; cross-compiling errors can be pretty obscure and you'll want to be
sure that your configure setup is basically sound.)
To cross compile the windows library, do
-> cd win32
(or whatever you called it)
Now run configure. There are two ways to do this
-> ../configure --host=i586-mingw32 --build=i586-linux --with-mingw
where --build= should read whatever platform you're building on. Configure
will notice that build and host platforms differ, and automatically prepend
i586-mingw32- to gcc, ar, ld, etc (make sure they're in the PATH!).
The other way to run configure is by specifying the names of the binaries
yourself:
-> CC=i586-mingw32-gcc CXX=i586-mingw32-g++ RANLIB=i586-mingw32-ranlib \
DLLTOOL=i586-mingw32-dlltool LD=i586-mingw32-ld NM=i586-mingw32-nm \
../configure --host=i586-mingw32 --with-mingw
(all assuming you're using MinGW)
By default this will compile a DLL, if you want a static library,
specify --disable-shared.
Type
-> make
and wait, wait, wait. Don't leave the room, because the minute you do there
will be a compile error :-)
NB: if you are using a very old compiler you risk to get quite a few warnings
about "ANSI C++ forbids implicit conversion from 'void *'" in all places
where va_arg macro is used. This is due to a bug in (some versions of)
MinGW headers which may be corrected by upgrading your compier,
otherwise you might edit the file
${install_prefix}/lib/gcc-lib/i586-mingw32/egcs-2.91.57/include/stdarg.h
(instead of egcs-2.91.57 you may have something different), searching for
the lines
/* Define __gnuc_va_list. */
#ifndef __GNUC_VA_LIST
#define __GNUC_VA_LIST
#if defined(__svr4__) || defined(_AIX) || defined(_M_UNIX) || defined(__NetBSD__)
typedef char *__gnuc_va_list;
#else
typedef void *__gnuc_va_list;
#endif
#endif
and adding "|| defined(_WIN32)" to the list of platforms on which
__gnuc_va_list is char *.
If this is successful, you end up with a wx23_2.dll/libwx23_2.a in win32/lib
(or just libwx_msw.a if you opted for a static build).
Now try building the minimal sample:
-> cd samples/minimal
-> make
and run it with wine, for example (or copy to a Windows box)
-> wine minimal.exe
If all is well, do an install; from win32
-> make install
Native and cross-compiled installations can co-exist peacefully
(as long as their widget sets differ), except for wx-config. You might
want to rename the cross-compiled one to i586-mingw32-wx-config, or something.
Cross-compiling TODO:
---------------------
- resource compiling must be done manually for now (should/can we link the
default wx resources into libwx_msw.a?) [ No we can't; the linker won't
link it in... you have to supply an object file ]
- static executables are HUGE -- there must be room for improvement.

30084
Makefile.in Normal file

File diff suppressed because it is too large Load Diff

839
acinclude.m4 Normal file
View File

@@ -0,0 +1,839 @@
dnl ---------------------------------------------------------------------------
dnl
dnl Macros for configure.in for wxWindows by Robert Roebling, Phil Blecker,
dnl Vadim Zeitlin and Ron Lee
dnl
dnl This script is under the wxWindows licence.
dnl
dnl Version: $Id$
dnl ---------------------------------------------------------------------------
dnl ===========================================================================
dnl Objective-C(++) related macros
dnl ===========================================================================
m4_define([AC_WX_LANG_OBJECTIVEC],
[AC_LANG(C)
ac_ext=m
])
m4_define([AC_WX_LANG_OBJECTIVECPLUSPLUS],
[AC_LANG(C++)
ac_ext=mm
])
dnl ===========================================================================
dnl macros to find the a file in the list of include/lib paths
dnl ===========================================================================
dnl ---------------------------------------------------------------------------
dnl call WX_PATH_FIND_INCLUDES(search path, header name), sets ac_find_includes
dnl to the full name of the file that was found or leaves it empty if not found
dnl ---------------------------------------------------------------------------
AC_DEFUN([WX_PATH_FIND_INCLUDES],
[
ac_find_includes=
for ac_dir in $1 /usr/include;
do
if test -f "$ac_dir/$2"; then
ac_find_includes=$ac_dir
break
fi
done
])
dnl ---------------------------------------------------------------------------
dnl call WX_PATH_FIND_LIBRARIES(search path, lib name), sets ac_find_libraries
dnl to the full name of the file that was found or leaves it empty if not found
dnl ---------------------------------------------------------------------------
AC_DEFUN([WX_PATH_FIND_LIBRARIES],
[
ac_find_libraries=
for ac_dir in $1;
do
for ac_extension in a so sl dylib dll.a; do
if test -f "$ac_dir/lib$2.$ac_extension"; then
ac_find_libraries=$ac_dir
break 2
fi
done
done
])
dnl ---------------------------------------------------------------------------
dnl return list of standard library paths
dnl ---------------------------------------------------------------------------
dnl return all default locations:
dnl - /usr/lib: standard
dnl - /usr/lib32: n32 ABI on IRIX
dnl - /usr/lib64: n64 ABI on IRIX
dnl - /usr/lib/64: 64 bit ABI on Solaris and Linux x86-64
dnl
dnl NB: if any of directories in the list is not a subdir of /usr, code setting
dnl wx_cv_std_libpath needs to be updated
AC_DEFUN([WX_STD_LIBPATH], [/usr/lib /usr/lib32 /usr/lib/64 /usr/lib64])
dnl ---------------------------------------------------------------------------
dnl Path to include, already defined
dnl ---------------------------------------------------------------------------
AC_DEFUN([WX_INCLUDE_PATH_EXIST],
[
dnl never add -I/usr/include to the CPPFLAGS
if test "x$1" = "x/usr/include"; then
ac_path_to_include=""
else
echo "$2" | grep "\-I$1" > /dev/null
result=$?
if test $result = 0; then
ac_path_to_include=""
else
ac_path_to_include=" -I$1"
fi
fi
])
dnl ---------------------------------------------------------------------------
dnl Usage: WX_LINK_PATH_EXIST(path, libpath)
dnl
dnl Set ac_path_to_link to nothing if path is already in libpath of to -Lpath
dnl if it is not, so that libpath can be set to "$libpath$ac_path_to_link"
dnl after calling this function
dnl ---------------------------------------------------------------------------
AC_DEFUN([WX_LINK_PATH_EXIST],
[
dnl never add -L/usr/libXXX explicitely to libpath
if test "$1" = "default location"; then
ac_path_to_link=""
else
echo "$2" | grep "\-L$1" > /dev/null
result=$?
if test $result = 0; then
ac_path_to_link=""
else
ac_path_to_link=" -L$1"
fi
fi
])
dnl ===========================================================================
dnl C++ features test
dnl ===========================================================================
dnl ---------------------------------------------------------------------------
dnl WX_CPP_NEW_HEADERS checks whether the compiler has "new" <iostream> header
dnl or only the old <iostream.h> one - it may be generally assumed that if
dnl <iostream> exists, the other "new" headers (without .h) exist too.
dnl
dnl call WX_CPP_NEW_HEADERS(actiof-if-true, action-if-false)
dnl ---------------------------------------------------------------------------
AC_DEFUN([WX_CPP_NEW_HEADERS],
[
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_CHECK_HEADERS(iostream,,, [ ])
if test "$ac_cv_header_iostream" = "yes" ; then
ifelse([$1], , :, [$1])
else
ifelse([$2], , :, [$2])
fi
AC_LANG_RESTORE
])
dnl ---------------------------------------------------------------------------
dnl WX_CPP_BOOL checks whether the C++ compiler has a built in bool type
dnl
dnl call WX_CPP_BOOL - will define HAVE_BOOL if the compiler supports bool
dnl ---------------------------------------------------------------------------
AC_DEFUN([WX_CPP_BOOL],
[
AC_CACHE_CHECK([if C++ compiler supports bool], wx_cv_cpp_bool,
[
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_TRY_COMPILE(
[
],
[
bool b = true;
return 0;
],
[
wx_cv_cpp_bool=yes
],
[
wx_cv_cpp_bool=no
]
)
AC_LANG_RESTORE
])
if test "$wx_cv_cpp_bool" = "yes"; then
AC_DEFINE(HAVE_BOOL)
fi
])
dnl ---------------------------------------------------------------------------
dnl WX_CPP_EXPLICIT checks whether the C++ compiler support the explicit
dnl keyword and defines HAVE_EXPLICIT if this is the case
dnl ---------------------------------------------------------------------------
AC_DEFUN([WX_CPP_EXPLICIT],
[
AC_CACHE_CHECK([if C++ compiler supports the explicit keyword],
wx_cv_explicit,
[
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
dnl do the test in 2 steps: first check that the compiler knows about the
dnl explicit keyword at all and then verify that it really honours it
AC_TRY_COMPILE(
[
class Foo { public: explicit Foo(int) {} };
],
[
return 0;
],
[
AC_TRY_COMPILE(
[
class Foo { public: explicit Foo(int) {} };
static void TakeFoo(const Foo& foo) { }
],
[
TakeFoo(17);
return 0;
],
wx_cv_explicit=no,
wx_cv_explicit=yes
)
],
wx_cv_explicit=no
)
AC_LANG_RESTORE
])
if test "$wx_cv_explicit" = "yes"; then
AC_DEFINE(HAVE_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 ---------------------------------------------------------------------------
AC_DEFUN([WX_C_BIGENDIAN],
[AC_CACHE_CHECK([whether byte ordering is bigendian], ac_cv_c_bigendian,
[ac_cv_c_bigendian=unknown
# See if sys/param.h defines the BYTE_ORDER macro.
AC_TRY_COMPILE([#include <sys/types.h>
#include <sys/param.h>], [
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
bogus endian macros
#endif], [# It does; now see whether it defined to BIG_ENDIAN or not.
AC_TRY_COMPILE([#include <sys/types.h>
#include <sys/param.h>], [
#if BYTE_ORDER != BIG_ENDIAN
not big endian
#endif], ac_cv_c_bigendian=yes, ac_cv_c_bigendian=no)])
if test $ac_cv_c_bigendian = unknown; then
AC_TRY_RUN([main () {
/* Are we little or big endian? From Harbison&Steele. */
union
{
long l;
char c[sizeof (long)];
} u;
u.l = 1;
exit (u.c[sizeof (long) - 1] == 1);
}], [ac_cv_c_bigendian=no], [ac_cv_c_bigendian=yes], [ac_cv_c_bigendian=unknown])
fi])
if test $ac_cv_c_bigendian = unknown; then
AC_MSG_WARN([Assuming little-endian target machine - this may be overriden by adding the line "ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}" to config.cache file])
fi
if test $ac_cv_c_bigendian = yes; then
AC_DEFINE(WORDS_BIGENDIAN)
fi
])
dnl ---------------------------------------------------------------------------
dnl override AC_ARG_ENABLE/WITH to cache the results in .cache file
dnl ---------------------------------------------------------------------------
AC_DEFUN([WX_ARG_CACHE_INIT],
[
wx_arg_cache_file="configarg.cache"
echo "loading argument cache $wx_arg_cache_file"
rm -f ${wx_arg_cache_file}.tmp
touch ${wx_arg_cache_file}.tmp
touch ${wx_arg_cache_file}
])
AC_DEFUN([WX_ARG_CACHE_FLUSH],
[
echo "saving argument cache $wx_arg_cache_file"
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)
AC_DEFUN([WX_ARG_SYS_WITH],
[
AC_MSG_CHECKING([for --with-$1])
no_cache=0
AC_ARG_WITH($1, [$2],
[
if test "$withval" = yes; then
AS_TR_SH(wx_cv_use_$1)='$3=yes'
elif test "$withval" = no; then
AS_TR_SH(wx_cv_use_$1)='$3=no'
elif test "$withval" = sys; then
AS_TR_SH(wx_cv_use_$1)='$3=sys'
elif test "$withval" = builtin; then
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
],
[
LINE=`grep "$3" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
no_cache=1
fi
AS_TR_SH(wx_cv_use_$1)='$3='$DEFAULT_$3
])
eval "$AS_TR_SH(wx_cv_use_$1)"
if test "$no_cache" != 1; then
echo $AS_TR_SH(wx_cv_use_$1) >> ${wx_arg_cache_file}.tmp
fi
if test "$$3" = yes; then
AC_MSG_RESULT(yes)
elif test "$$3" = no; then
AC_MSG_RESULT(no)
elif test "$$3" = sys; then
AC_MSG_RESULT([system version])
elif test "$$3" = builtin; then
AC_MSG_RESULT([builtin version])
else
AC_MSG_ERROR([Invalid value for --with-$1: should be yes, no, sys, or builtin])
fi
])
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
AC_MSG_CHECKING([for --${withstring:-with}-$1])
no_cache=0
AC_ARG_WITH($1, [$2],
[
if test "$withval" = yes; then
AS_TR_SH(wx_cv_use_$1)='$3=yes'
else
AS_TR_SH(wx_cv_use_$1)='$3=no'
fi
],
[
LINE=`grep "$3" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
no_cache=1
fi
AS_TR_SH(wx_cv_use_$1)='$3='$DEFAULT_$3
])
eval "$AS_TR_SH(wx_cv_use_$1)"
if test "$no_cache" != 1; then
echo $AS_TR_SH(wx_cv_use_$1) >> ${wx_arg_cache_file}.tmp
fi
if test "$$3" = yes; then
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
])
dnl like WX_ARG_WITH but uses AC_ARG_ENABLE instead of AC_ARG_WITH
dnl usage: WX_ARG_ENABLE(option, helpmessage, variable-name, enablestring)
dnl
dnl enablestring is a hack and allows to show "checking for --disable-foo"
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
AC_MSG_CHECKING([for --${enablestring:-enable}-$1])
no_cache=0
AC_ARG_ENABLE($1, [$2],
[
if test "$enableval" = yes; then
AS_TR_SH(wx_cv_use_$1)='$3=yes'
else
AS_TR_SH(wx_cv_use_$1)='$3=no'
fi
],
[
LINE=`grep "$3" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
no_cache=1
fi
AS_TR_SH(wx_cv_use_$1)='$3='$DEFAULT_$3
])
eval "$AS_TR_SH(wx_cv_use_$1)"
if test "$no_cache" != 1; then
echo $AS_TR_SH(wx_cv_use_$1) >> ${wx_arg_cache_file}.tmp
fi
if test "$$3" = yes; then
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
])
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 ===========================================================================
dnl ---------------------------------------------------------------------------
dnl WX_VERSIONED_SYMBOLS checks whether the linker can create versioned
dnl symbols. If it can, sets LDFLAGS_VERSIONING to $CXX flags needed to use
dnl version script file named versionfile
dnl
dnl call WX_VERSIONED_SYMBOLS(versionfile)
dnl ---------------------------------------------------------------------------
AC_DEFUN([WX_VERSIONED_SYMBOLS],
[
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
;;
*)
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
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
;;
esac
])
dnl ===========================================================================
dnl "3rd party" macros included here because they are not widely available
dnl ===========================================================================
dnl ---------------------------------------------------------------------------
dnl test for availability of iconv()
dnl ---------------------------------------------------------------------------
dnl From Bruno Haible.
AC_DEFUN([AM_ICONV],
[
dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
dnl those with the standalone portable GNU libiconv installed).
AC_ARG_WITH([libiconv-prefix],
[ --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib], [
for dir in `echo "$withval" | tr : ' '`; do
if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
done
])
AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [
am_cv_func_iconv="no, consider installing GNU libiconv"
am_cv_lib_iconv=no
AC_TRY_LINK([#include <stdlib.h>
#include <iconv.h>],
[iconv_t cd = iconv_open("","");
iconv(cd,NULL,NULL,NULL,NULL);
iconv_close(cd);],
am_cv_func_iconv=yes)
if test "$am_cv_func_iconv" != yes; then
am_save_LIBS="$LIBS"
LIBS="$LIBS -liconv"
AC_TRY_LINK([#include <stdlib.h>
#include <iconv.h>],
[iconv_t cd = iconv_open("","");
iconv(cd,NULL,NULL,NULL,NULL);
iconv_close(cd);],
am_cv_lib_iconv=yes
am_cv_func_iconv=yes)
LIBS="$am_save_LIBS"
fi
])
if test "$am_cv_func_iconv" = yes; then
AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
AC_CACHE_CHECK([if iconv needs const], wx_cv_func_iconv_const,
AC_TRY_COMPILE([
#include <stdlib.h>
#include <iconv.h>
extern
#ifdef __cplusplus
"C"
#endif
#if defined(__STDC__) || defined(__cplusplus)
size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
#else
size_t iconv();
#endif
],
[],
wx_cv_func_iconv_const="no",
wx_cv_func_iconv_const="yes"
)
)
iconv_const=
if test "x$wx_cv_func_iconv_const" = "xyes"; then
iconv_const="const"
fi
AC_DEFINE_UNQUOTED(ICONV_CONST, $iconv_const,
[Define as const if the declaration of iconv() needs const.])
fi
LIBICONV=
if test "$am_cv_lib_iconv" = yes; then
LIBICONV="-liconv"
fi
AC_SUBST(LIBICONV)
])
dnl ---------------------------------------------------------------------------
dnl AC_SYS_LARGEFILE (partly based on the code from autoconf 2.5x)
dnl ---------------------------------------------------------------------------
dnl WX_SYS_LARGEFILE_TEST
dnl
dnl NB: original autoconf test was checking if compiler supported 6 bit off_t
dnl arithmetic properly but this failed miserably with gcc under Linux
dnl whereas the system still supports 64 bit files, so now simply check
dnl that off_t is big enough
define(WX_SYS_LARGEFILE_TEST,
[typedef struct {
unsigned int field: sizeof(off_t) == 8;
} wxlf;
])
dnl WX_SYS_LARGEFILE_MACRO_VALUE(C-MACRO, VALUE, CACHE-VAR)
define(WX_SYS_LARGEFILE_MACRO_VALUE,
[
AC_CACHE_CHECK([for $1 value needed for large files], [$3],
[
AC_TRY_COMPILE([#define $1 $2
#include <sys/types.h>],
WX_SYS_LARGEFILE_TEST,
[$3=$2],
[$3=no])
]
)
if test "$$3" != no; then
wx_largefile=yes
AC_DEFINE_UNQUOTED([$1], [$$3])
fi
])
dnl AC_SYS_LARGEFILE
dnl ----------------
dnl By default, many hosts won't let programs access large files;
dnl one must use special compiler options to get large-file access to work.
dnl For more details about this brain damage please see:
dnl http://www.sas.com/standards/large.file/x_open.20Mar96.html
AC_DEFUN([AC_SYS_LARGEFILE],
[AC_ARG_ENABLE(largefile,
[ --disable-largefile omit support for large files])
if test "$enable_largefile" != no; then
dnl _FILE_OFFSET_BITS==64 is needed for Linux, Solaris, ...
dnl _LARGE_FILES -- for AIX
wx_largefile=no
WX_SYS_LARGEFILE_MACRO_VALUE(_FILE_OFFSET_BITS, 64, ac_cv_sys_file_offset_bits)
if test "x$wx_largefile" != "xyes"; then
WX_SYS_LARGEFILE_MACRO_VALUE(_LARGE_FILES, 1, ac_cv_sys_large_files)
fi
AC_MSG_CHECKING(if large file support is available)
if test "x$wx_largefile" = "xyes"; then
AC_DEFINE(HAVE_LARGEFILE_SUPPORT)
fi
AC_MSG_RESULT($wx_largefile)
fi
])
dnl Available from the GNU Autoconf Macro Archive at:
dnl http://www.gnu.org/software/ac-archive/htmldoc/ac_cxx_const_cast.html
dnl
AC_DEFUN([AC_CXX_CONST_CAST],
[AC_CACHE_CHECK(whether the compiler supports const_cast<>,
ac_cv_cxx_const_cast,
[AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_TRY_COMPILE(,[int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;],
ac_cv_cxx_const_cast=yes, ac_cv_cxx_const_cast=no)
AC_LANG_RESTORE
])
if test "$ac_cv_cxx_const_cast" = yes; then
AC_DEFINE(HAVE_CONST_CAST,,[define if the compiler supports const_cast<>])
fi
])
dnl http://www.gnu.org/software/ac-archive/htmldoc/ac_cxx_reinterpret_cast.html
AC_DEFUN([AC_CXX_REINTERPRET_CAST],
[AC_CACHE_CHECK(whether the compiler supports reinterpret_cast<>,
ac_cv_cxx_reinterpret_cast,
[AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_TRY_COMPILE([#include <typeinfo>
class Base { public : Base () {} virtual void f () = 0;};
class Derived : public Base { public : Derived () {} virtual void f () {} };
class Unrelated { public : Unrelated () {} };
int g (Unrelated&) { return 0; }],[
Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);],
ac_cv_cxx_reinterpret_cast=yes, ac_cv_cxx_reinterpret_cast=no)
AC_LANG_RESTORE
])
if test "$ac_cv_cxx_reinterpret_cast" = yes; then
AC_DEFINE(HAVE_REINTERPRET_CAST,,
[define if the compiler supports reinterpret_cast<>])
fi
])
dnl and http://www.gnu.org/software/ac-archive/htmldoc/ac_cxx_static_cast.html
AC_DEFUN([AC_CXX_STATIC_CAST],
[AC_CACHE_CHECK(whether the compiler supports static_cast<>,
ac_cv_cxx_static_cast,
[AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_TRY_COMPILE([#include <typeinfo>
class Base { public : Base () {} virtual void f () = 0; };
class Derived : public Base { public : Derived () {} virtual void f () {} };
int g (Derived&) { return 0; }],[
Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);],
ac_cv_cxx_static_cast=yes, ac_cv_cxx_static_cast=no)
AC_LANG_RESTORE
])
if test "$ac_cv_cxx_static_cast" = yes; then
AC_DEFINE(HAVE_STATIC_CAST,, [define if the compiler supports static_cast<>])
fi
])
dnl http://autoconf-archive.cryp.to/ac_cxx_dynamic_cast.html
AC_DEFUN([AC_CXX_DYNAMIC_CAST],
[AC_CACHE_CHECK(whether the compiler supports dynamic_cast<>,
ac_cv_cxx_dynamic_cast,
[AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_TRY_COMPILE([#include <typeinfo>
class Base { public : Base () {} virtual void f () = 0;};
class Derived : public Base { public : Derived () {} virtual void f () {} };],[
Derived d; Base& b=d; return dynamic_cast<Derived*>(&b) ? 0 : 1;],
ac_cv_cxx_dynamic_cast=yes, ac_cv_cxx_dynamic_cast=no)
AC_LANG_RESTORE
])
if test "$ac_cv_cxx_dynamic_cast" = yes; then
AC_DEFINE(HAVE_DYNAMIC_CAST,,[define if the compiler supports dynamic_cast<>])
fi
])

24
aclocal.m4 vendored Normal file
View File

@@ -0,0 +1,24 @@
# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
# 2005 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.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# 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])
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([acinclude.m4])

24
art/addbookm.xpm Normal file
View File

@@ -0,0 +1,24 @@
/* XPM */
static char *addbookm_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 3 1",
". c Black",
"X c #00C000",
" c None",
/* pixels */
" ....... ",
" .XXXXX. ",
" .. .XXXXX. ",
" .. .XXXXX. ",
" ...... .XXXXX. ",
" ...... .XXXXX. ",
" .. .XXXXX. ",
" .. .XXXXX. ",
" .XXXXX. ",
" .XXXXX. ",
" .XXXXX. ",
" .XXXXX. ",
" .XX.XX. ",
" .X. .X. ",
" .. .. "
};

21
art/back.xpm Normal file
View File

@@ -0,0 +1,21 @@
/* XPM */
static char * back_xpm[] = {
"16 15 3 1",
" c None",
". c Black",
"X c Gray100",
" ",
" ",
" . ",
" .. ",
" .X. ",
" .XX........ ",
" .XXXXXXXXXX. ",
" .XXXXXXXXXXX. ",
" .XXXXXXXXXXX. ",
" .XXXXXXXXXX. ",
" .XX........ ",
" .X. ",
" .. ",
" . ",
" "};

57
art/cdrom.xpm Normal file
View File

@@ -0,0 +1,57 @@
/* XPM */
static char *cdrom_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 36 1",
"= c #9BACC2",
"y c #547B99",
"$ c #FFFFFF",
"@ c #839CB5",
"o c #547897",
"4 c #4D7492",
"% c #F1F4F7",
"X c #5A809C",
"< c #8497A5",
"0 c #7898AD",
"+ c #CAD2DC",
"r c #ACAEB2",
"2 c #BECAD9",
"* c #65839D",
"e c #DCE2EA",
"- c #ADBED2",
"t c #597B9A",
" c None",
"1 c #467291",
"9 c #D6DFE7",
"O c #7393AB",
"u c #49708B",
"5 c #A0BACB",
"& c #AABFCD",
"8 c #B9CBD5",
"; c #B4C4D3",
": c #6F90A6",
"3 c #A8B6CA",
"# c #ADBACE",
"w c #E4E9ED",
". c #8EA9BC",
"> c #B3BFD1",
", c #C2CBDB",
"6 c #C0D1DC",
"7 c #A2B3C5",
"q c #5D7C93",
/* pixels */
" .XooOo+ ",
" X@#$$$%o& ",
" *=-;$$$$$o+ ",
" +O#;-$$$$$$: ",
" o=>,-<1<$2-o ",
" o3>--1$122-* ",
" o=--$<4<22-X ",
" o5$$$$$26;7* ",
" X%$$$$2;-X8 ",
" 90*9$$$-7Xqo ",
" wXwe@O44X4<r<o ",
" X8628>22222<<*4",
" ttyyyoo4441uuuo",
" t>$$$$$$$$$$$>o",
" XXXtyyyoo44411u"
};

17
art/cross.xpm Normal file
View File

@@ -0,0 +1,17 @@
/* XPM */
static char *cross_xpm[] = {
/* columns rows colors chars-per-pixel */
"10 10 2 1",
" c Gray0",
"# c None",
/* pixels */
" ######## ",
" #### ",
"# ## #",
"## ##",
"### ###",
"### ###",
"## ##",
"# ## #",
" #### ",
" ###### "};

54
art/deffile.xpm Normal file
View File

@@ -0,0 +1,54 @@
/* XPM */
static char *deffile_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 16 32 1",
"= c #97C4E7",
": c #72A8D2",
"1 c #FFFFFF",
"w c #839CB5",
"X c #6B98B8",
". c #5A89A6",
"@ c #3A749C",
", c #D1E5F5",
"< c #67A1CF",
"> c #F1F4F7",
"e c #85A7BC",
"% c #C3DDF1",
"0 c #749BB4",
"2 c #7EA6C0",
"; c #5F9BC8",
" c None",
"O c #538DB3",
"- c #85BBE2",
"$ c #D6DFE7",
"9 c #EFF6FC",
"o c #6591AE",
"4 c #F7FBFD",
"8 c #FAFCFE",
"6 c #DAEAF7",
"7 c #E9F3FA",
"q c #FDFDFE",
"3 c #E2EFF8",
"# c #8EA9BC",
"& c #B6D5EE",
"* c #A5CCEA",
"5 c #F4F9FD",
"+ c #4581AA",
/* pixels */
" ..XooO+@#$ ",
" .%%&*=-;:;> ",
" .,,%&*=<1=X> ",
" #%%%%&*211=X ",
" #3-----<oXoO ",
" #3456,%&*=-O ",
" #3--------=O ",
" #355736,%&*o ",
" #3--------&o ",
" #38459736,%X ",
" #3--------,0 ",
" #31q84597360 ",
" #3--------3w ",
" #3111q84597e ",
" ##########e# ",
" "
};

24
art/delbookm.xpm Normal file
View File

@@ -0,0 +1,24 @@
/* XPM */
static char *delbookm_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 3 1",
". c Black",
" c None",
"X c #FF4040",
/* pixels */
" ....... ",
" .XXXXX. ",
" . . .XXXXX. ",
" .. .. .XXXXX. ",
" ... .XXXXX. ",
" . .XXXXX. ",
" ... .XXXXX. ",
" .. .. .XXXXX. ",
" . . .XXXXX. ",
" .XXXXX. ",
" .XXXXX. ",
" .XXXXX. ",
" .XX.XX. ",
" .X. .X. ",
" .. .. "
};

42
art/delete.xpm Normal file
View File

@@ -0,0 +1,42 @@
/* XPM */
static char *delete_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 21 1",
"2 c #A5AEBD",
"* c #5478B4",
"< c #95A3BB",
"O c #9AA7BC",
"; c #758EB7",
"$ c #6986B6",
"# c #4971B2",
"& c #8A9CBA",
"X c #8598B9",
" c None",
"o c #ABB2BE",
"- c #7F95B9",
"= c #4E74B3",
"1 c #A0ABBC",
"+ c #6F8AB7",
". c #B5B9BF",
"@ c #3E69B1",
", c #90A0BA",
": c #6483B5",
"> c #5A7BB4",
"% c #5F7FB5",
/* pixels */
" ",
" .Xo OO ",
" +@#. $@% ",
" &@@X .*@*o ",
" =@= .*@*. ",
" -@@X*@*. ",
" .#@@@$. ",
" ;@@: ",
" ;@@@+ ",
" .>@#%@@. ",
" o*@*oO@@, ",
" <#@*. .@@= ",
"&@@$ :@@1 ",
";#& 2#>. ",
" "
};

52
art/dir_up.xpm Normal file
View File

@@ -0,0 +1,52 @@
/* XPM */
static char *dir_up_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 31 1",
"6 c #9BACC2",
"o c #9AEA53",
"7 c #94A5BD",
"8 c #547897",
"5 c #839CB5",
"@ c #376485",
"$ c #5A809C",
"# c #7F99B4",
": c #D1D9E5",
"< c #EAEDF3",
"& c #446A8C",
"q c #65839D",
"> c #DCE2EA",
", c #E1E6EE",
"2 c #F5F6F7",
"O c #8DA0B9",
" c None",
"% c #467291",
". c #305F81",
"X c #7393AB",
"+ c #6A89A2",
"4 c #A8B6CA",
"1 c #EEF1F3",
"3 c #F8F9FA",
"0 c #215579",
"9 c #7F97B0",
"* c #B3BFD1",
"w c #7A90AC",
"- c #C2CBDB",
"; c #CAD6E1",
"= c #BBC4D6",
/* pixels */
" .. ",
" X.o. ",
".... X.ooo. ",
".OO+....ooooo. ",
".OOOOOO@@ooo.. ",
".OOOO#OO@ooo.$ ",
".OOOOOOO@ooo.$ ",
".O%............&",
".O&*=-;:>,<1231.",
".+.4*=-;:>,<12$.",
"..564*=-;:>,<1. ",
".@O764*=-;:>,<. ",
".89O764*=-;:>$$ ",
"0qw9O764*=-;:. ",
"0............. "
};

21
art/down.xpm Normal file
View File

@@ -0,0 +1,21 @@
/* XPM */
static char * down_xpm[] = {
"16 15 3 1",
" c None",
". c Black",
"X c Gray100",
" ",
" ...... ",
" .XXXX. ",
" .XXXX. ",
" .XXXX. ",
" .XXXX. ",
" .XXXX. ",
" .XXXX. ",
" ....XXXX.... ",
" .XXXXXXXX. ",
" .XXXXXX. ",
" .XXXX. ",
" .XX. ",
" .. ",
" "};

73
art/exefile.xpm Normal file
View File

@@ -0,0 +1,73 @@
/* XPM */
static char *exefile_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 16 51 1",
"% c #E8E8EC",
"= c #E8E8ED",
"z c #CACAD4",
"8 c #D9D9E1",
"p c #D2D2DA",
"u c #E1E1E7",
"a c #D2D2DB",
"< c #E9E9ED",
"q c #DADAE1",
"+ c #F1F1F4",
"g c #D3D3DB",
"1 c #E2E2E8",
"x c #D3D3DC",
"5 c #00A5FF",
"$ c #EAEAEE",
"4 c #DBDBE2",
"h c #CCCCD6",
"y c #D4D4DC",
"r c #E3E3E9",
"d c #D4D4DD",
"7 c #DCDCE2",
": c #EBEBEF",
"0 c #DCDCE3",
" c None",
"O c #F3F3F5",
"> c #E4E4E9",
"& c #F3F3F6",
"j c #D5D5DD",
"6 c #E4E4EA",
". c #C6C6D5",
"# c #ECECF0",
"f c #CECED7",
"l c #CECED8",
"e c #D6D6DE",
"; c #EDEDF0",
"3 c #DEDEE4",
", c #EDEDF1",
"c c #CFCFD8",
"o c #F5F5F7",
"- c #E6E6EB",
"w c #D7D7DF",
"v c #C8C8D3",
"i c #DFDFE5",
"@ c #EEEEF2",
"s c #D0D0D9",
"X c #9494AD",
"9 c #D8D8DF",
"t c #D8D8E0",
"* c #EFEFF2",
"2 c #E0E0E6",
"k c #D1D1DA",
/* pixels */
" ........X ",
" .oO+@#$%XX ",
" .&+*#$=-XXX ",
" .+*;:=->XXXX ",
" .*,:<->1234X ",
" .,5:5612378X ",
" 5,5559530qwX ",
" 55555550q9eX ",
" 5555r5555teyX ",
" 55rui559eypX ",
" 5555i5555yasX ",
" 5555555dasfX ",
" 5355595gsfhX ",
" .3595jgklhzX ",
" .0qwjxkchzvX ",
" XXXXXXXXXXXX "
};

57
art/fileopen.xpm Normal file
View File

@@ -0,0 +1,57 @@
/* XPM */
static char *fileopen_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 36 1",
"6 c #9BACC2",
"< c #9AEA53",
"9 c #94A5BD",
"5 c #839CB5",
"; c #4D7492",
". c #376485",
"$ c #7F99B4",
"r c #D1D9E5",
"7 c #EAEDF3",
"@ c #CAD2DC",
"% c #718BA7",
"t c #BECAD9",
"& c #65839D",
"0 c #DCE2EA",
"4 c #F5F6F7",
"w c #597B9A",
"O c #8DA0B9",
" c None",
"+ c #467291",
"u c #305F81",
"= c #B4C4D3",
"# c #CAE2AA",
"1 c #FAFCFE",
"3 c #A8B6CA",
"q c #E4E9ED",
"8 c #EEF1F3",
"X c #215579",
"2 c #7F97B0",
": c #B3BFD1",
"y c #7A90AC",
", c #C2CBDB",
"- c #ADD668",
"* c #B6D791",
"e c #CAD6E1",
"o c #DFF0D0",
"> c #BBC4D6",
/* pixels */
" ",
" .... ",
"XXXXX .oo. ",
"XOOOO+@.#o. ",
"XOOOO$%&.*oXXX ",
"XOOOOOOO.*oX=X ",
"XOXXXX...-oXXXX;",
"XOX:>,.<<<<<oX1;",
"X2X3:>,.<<<oX4=;",
"XX563:>>.<oX78; ",
"XXO963:>>.X0q7; ",
"Xw2O963:>>er0t; ",
"X&y2O963:>,er; ",
"uXXXXXXXXXXXX; ",
" "
};

42
art/filesave.xpm Normal file
View File

@@ -0,0 +1,42 @@
/* XPM */
static char *filesave_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 21 1",
"O c #FFFFFF",
"> c #D5D6D8",
"; c #446A8C",
"1 c #CAD2DC",
": c #C0C7D1",
" c #5F666D",
"% c #A5B0BA",
"o c #65839D",
", c #DCE2EA",
"< c #C3C5C8",
"- c #E1E6EE",
"* c #C6CCD3",
". c None",
"$ c #305F81",
"2 c #D6DFE7",
"= c #D2D9E0",
"& c #B7BFC7",
"X c #1B4467",
"# c #BCBDBE",
"@ c #7A90AC",
"+ c #5D7C93",
/* pixels */
" .",
" XoOOOOOOOOO+X .",
" @oO#######O+@ .",
" @oOOOOOOOOO+@ .",
" @oO#######O+@ .",
" @oOOOOOOOOO+@ .",
" @@+++++++++@@ .",
" @@@@@@@@@@@@@ .",
" @@@$$$$$$$$@@ .",
" @@$%%%&*=-O$@ .",
" @@$%X;;*=-O$@ .",
" @@$%X;;:>,O$@ .",
" @@$%X;;<12O$@ .",
" @@$<<2OOOOO$@ .",
". .."
};

44
art/filesaveas.xpm Normal file
View File

@@ -0,0 +1,44 @@
/* XPM */
static char *filesaveas_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 23 1",
"X c Black",
"+ c #FFFFFF",
"< c #D5D6D8",
"> c #446A8C",
"3 c #CAD2DC",
", c #C0C7D1",
" c #5F666D",
"* c #A5B0BA",
"O c #65839D",
"1 c #DCE2EA",
"2 c #C3C5C8",
": c #E1E6EE",
". c #FFFF00",
"- c #C6CCD3",
"@ c None",
"& c #305F81",
"4 c #D6DFE7",
"; c #D2D9E0",
"= c #B7BFC7",
"o c #1B4467",
"$ c #BCBDBE",
"# c #7A90AC",
"% c #5D7C93",
/* pixels */
" .X .XX.",
" oO+++++++.X.X.@",
" #O+$$$$$XX...XX",
" #O++++++.......",
" #O+$$$$$XX...XX",
" #O+++++++.X.X.@",
" ##%%%%%%.X%.X .",
" ############# @",
" ###&&&&&&&&## @",
" ##&***=-;:+&# @",
" ##&*o>>-;:+&# @",
" ##&*o>>,<1+&# @",
" ##&*o>>234+&# @",
" ##&224+++++&# @",
"@ @@"
};

62
art/find.xpm Normal file
View File

@@ -0,0 +1,62 @@
/* XPM */
static char *find_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 41 1",
"y c #A06959",
"9 c #A7DAF2",
"$ c #B5CAD7",
"> c #35B4E1",
"t c #6B98B8",
"w c #B6E0F4",
"q c #AEC9D7",
"1 c #5A89A6",
"+ c #98B3C6",
"4 c #EAF6FC",
"3 c #DEF1FA",
"= c #4CBCE3",
"d c #DB916B",
"X c #85A7BC",
"s c #D8BCA4",
"o c #749BB4",
"e c #BCD9EF",
"* c #62B4DD",
"< c #91D2EF",
"a c #E6DED2",
"0 c #E9F4FB",
" c None",
"@ c #A0BACB",
"O c #AABFCD",
"i c #6591AE",
": c #B9CBD5",
"- c #71C5E7",
"5 c #D3ECF8",
"% c #81A3B9",
"6 c #8AD0EE",
"8 c #FDFDFE",
"p c #8EA9BC",
"r c #B6D5EE",
", c #81CCEB",
". c #ACC4D3",
"; c #AFD1DE",
"7 c #EFF8FC",
"u c #C2CBDB",
"# c #C0D1DC",
"2 c #CAD6E1",
"& c #8FB0C3",
/* pixels */
" .XooXO ",
" +@###$+% ",
" .&#*==-;@@ ",
" o:*>,<--:X ",
" 12>-345-#% ",
" 12>678392% ",
" %$*,3059q& ",
" @Oq,wwer@@ ",
" t@q22q&+ ",
" yyui+%o%p ",
" yasy ",
" yasdy ",
" yasdy ",
" ysdy ",
" yy "
};

63
art/findrepl.xpm Normal file
View File

@@ -0,0 +1,63 @@
/* XPM */
static char *findrepl_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 42 1",
"y c #A06959",
"9 c #A7DAF2",
"$ c #B5CAD7",
"> c #35B4E1",
"t c #6B98B8",
"w c #B6E0F4",
"q c #AEC9D7",
"1 c #5A89A6",
"+ c #98B3C6",
"4 c #EAF6FC",
"d c #008000",
"3 c #DEF1FA",
"= c #4CBCE3",
"f c #DB916B",
"X c #85A7BC",
"s c #D8BCA4",
"o c #749BB4",
"e c #BCD9EF",
"* c #62B4DD",
"< c #91D2EF",
"a c #E6DED2",
"0 c #E9F4FB",
" c None",
"@ c #A0BACB",
"O c #AABFCD",
"i c #6591AE",
": c #B9CBD5",
"- c #71C5E7",
"5 c #D3ECF8",
"% c #81A3B9",
"6 c #8AD0EE",
"8 c #FDFDFE",
"p c #8EA9BC",
"r c #B6D5EE",
", c #81CCEB",
". c #ACC4D3",
"; c #AFD1DE",
"7 c #EFF8FC",
"u c #C2CBDB",
"# c #C0D1DC",
"2 c #CAD6E1",
"& c #8FB0C3",
/* pixels */
" .XooXO ",
" +@###$+% ",
" .&#*==-;@@ ",
" o:*>,<--:X ",
" 12>-345-#% ",
" 12>678392% ",
" %$*,3059q& ",
" @Oq,wwer@@ ",
" t@q22q&+ ",
" yyui+%o%p ",
" yasy d d ",
" yasfy dd dd ",
"yasfy ddddddddd",
"ysfy dd dd ",
" yy d d "
};

39
art/floppy.xpm Normal file
View File

@@ -0,0 +1,39 @@
/* XPM */
static char *floppy_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 18 1",
"& c #E3E4E6",
"+ c #FFFFFF",
". c #446A8C",
"o c #697787",
"> c #5F666D",
"* c #B2B3B3",
" c None",
", c #4B4C4D",
"= c #DCDBDA",
"$ c #1B4467",
": c #E4E9ED",
"@ c #979BA0",
"X c #203646",
"O c #215579",
"- c #545B63",
"; c #636465",
"# c #CAD6E1",
"% c #7F8286",
/* pixels */
" .XoooooooXO ",
" .o+++++++.O ",
" .o+OOOOO+.O ",
" .o+++++++.O ",
" .o@@@@@@@.O ",
" ..........O ",
" ..#+++++#.O ",
" ..+$O+++#.O ",
" ..+$O+++#.O ",
" %&.........*% ",
"%=+++++++++++&% ",
"--------------; ",
"-:::::::::::::- ",
"-:X:XXXXXXXXX:> ",
"-*************, "
};

43
art/folder.xpm Normal file
View File

@@ -0,0 +1,43 @@
/* XPM */
static char *folder_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 22 1",
"> c #9BACC2",
". c #547897",
"1 c #7F99B4",
"X c #D1D9E5",
"< c #EAEDF3",
"+ c #CAD2DC",
"3 c #718BA7",
"O c #BECAD9",
"$ c #E1E6EE",
"* c #F5F6F7",
", c #8DA0B9",
" c None",
"# c #D6DFE7",
"@ c #D2D9E0",
"- c #FAFCFE",
"; c #ADBACE",
"& c #EEF1F3",
"= c #F8F9FA",
"o c #B3BFD1",
"2 c #7A90AC",
": c #A2B3C5",
"% c #E5EAF1",
/* pixels */
" ",
" ..... ",
" .XXXX. ",
" ............. ",
" .oO+@#$%&*=-. ",
" .oO+@#$%&*=-. ",
" .;oO+X#$%&*=. ",
" .:;oO+X#$%&*. ",
" .>:;oO+X#$%&. ",
" .,>:;oO+X#$<. ",
" .1,>:;oO+X#$. ",
" .21,>:;oO+X#. ",
" .321,>:;oO+X. ",
" ............. ",
" "
};

52
art/folder_open.xpm Normal file
View File

@@ -0,0 +1,52 @@
/* XPM */
static char *folder_open_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 31 1",
"6 c #9BACC2",
"w c #547B99",
"5 c #94A5BD",
". c #376485",
"; c #F1F4F7",
"o c #7F99B4",
"2 c #D1D9E5",
"- c #EAEDF3",
"O c #718BA7",
"0 c #65839D",
"* c #DCE2EA",
": c #F5F6F7",
"7 c #597B9A",
"X c #8DA0B9",
" c None",
"+ c #467291",
"q c #305F81",
"& c #D6DFE7",
"3 c #6A89A2",
"1 c #A8B6CA",
"= c #E4E9ED",
"> c #F8F9FA",
", c #FDFDFE",
"9 c #215579",
"8 c #7F97B0",
"@ c #B3BFD1",
"< c #7A90AC",
"$ c #C2CBDB",
"4 c #A2B3C5",
"% c #CAD6E1",
"# c #BBC4D6",
/* pixels */
" ",
"..... ",
".XXXo. ",
".XXXXO........ ",
".XXXXXXXXXXXX. ",
".XXXXXXXXXXXX. ",
".X++++++++++++++",
".X+@#$%&*=-;:>,+",
".<.1@#$%2*=-;:23",
"..X41@#$%2*=-;3 ",
"..X561@#$%2*=-3 ",
".78X561@#$%2*%3 ",
"90<8X561@#$%23 ",
"q++++++++++++w ",
" "
};

21
art/forward.xpm Normal file
View File

@@ -0,0 +1,21 @@
/* XPM */
static char * forward_xpm[] = {
"16 15 3 1",
" c None",
". c Black",
"X c Gray100",
" ",
" ",
" . ",
" .. ",
" .X. ",
" ........XX. ",
" .XXXXXXXXXX. ",
" .XXXXXXXXXXX. ",
" .XXXXXXXXXXX. ",
" .XXXXXXXXXX. ",
" ........XX. ",
" .X. ",
" .. ",
" . ",
" "};

58
art/gtk/error.xpm Normal file
View File

@@ -0,0 +1,58 @@
/* XPM */
static char *error_xpm[] = {
/* columns rows colors chars-per-pixel */
"48 48 4 1",
" c None",
"X c #242424",
"o c #DCDF00",
". c #C00000",
/* pixels */
" ",
" ",
" ",
" ",
" ",
" ..... ",
" ............. ",
" ................. ",
" ................... ",
" ....................... ",
" ......................... ",
" ........................... ",
" ...........................X ",
" .............................X ",
" ............................... ",
" ...............................X ",
" .................................X ",
" .................................X ",
" .................................XX ",
" ...ooooooooooooooooooooooooooo...XX ",
" ....ooooooooooooooooooooooooooo....X ",
" ....ooooooooooooooooooooooooooo....X ",
" ....ooooooooooooooooooooooooooo....XX ",
" ....ooooooooooooooooooooooooooo....XX ",
" ....ooooooooooooooooooooooooooo....XX ",
" ...ooooooooooooooooooooooooooo...XXX ",
" ...ooooooooooooooooooooooooooo...XXX ",
" .................................XX ",
" .................................XX ",
" ...............................XXX ",
" ...............................XXX ",
" .............................XXX ",
" ...........................XXXX ",
" ...........................XXX ",
" .........................XXX ",
" .......................XXXX ",
" X...................XXXXX ",
" X.................XXXXX ",
" X.............XXXXX ",
" XXXX.....XXXXXXXX ",
" XXXXXXXXXXXXX ",
" XXXXX ",
" ",
" ",
" ",
" ",
" ",
" "
};

63
art/gtk/info.xpm Normal file
View File

@@ -0,0 +1,63 @@
/* XPM */
static char *info_xpm[] = {
/* columns rows colors chars-per-pixel */
"48 48 9 1",
"$ c Black",
"O c #FFFFFF",
"@ c #808080",
"+ c #000080",
"o c #E8EB01",
" c None",
"X c #FFFF40",
"# c #C0C0C0",
". c #ABAD01",
/* pixels */
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ..... ",
" ..XXXXX.. ",
" ..XXXXXXXXo.. ",
" .XXXOXXXXXXXoo. ",
" .XOOXXX+XXXXXo. ",
" .XOOOXX+++XXXXoo. ",
" .XOOXXX+++XXXXXo. ",
" .XOOOXXX+++XXXXXXo. ",
" .XOOXXXX+++XXXXXXo. ",
" .XXXXXXX+++XXXXXXX. ",
" .XXXXXXX+++XXXXXXo. ",
" .XXXXXXX+++XXXXXoo. ",
" .XXXXXX+++XXXXXo. ",
" .XXXXXXX+XXXXXXo. ",
" .XXXXXXXXXXXXo. ",
" .XXXXX+++XXXoo. ",
" .XXXX+++XXoo. ",
" .XXXXXXXXo. ",
" ..XXXXXXo.. ",
" .XXXXXo.. ",
" @#######@ ",
" @@@@@@@@@ ",
" @#######@ ",
" @@@@@@@@@ ",
" @#######@ ",
" @@@@@@@ ",
" ### ",
" $$$ ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "
};

75
art/gtk/question.xpm Normal file
View File

@@ -0,0 +1,75 @@
/* XPM */
static char *question_xpm[] = {
/* columns rows colors chars-per-pixel */
"48 48 21 1",
". c Black",
"> c #696969",
"O c #1F1F00",
"+ c #181818",
"o c #F6F900",
"; c #3F3F00",
"$ c #111111",
" c None",
"& c #202020",
"X c #AAAA00",
"@ c #949400",
": c #303030",
"1 c #383838",
"% c #2A2A00",
", c #404040",
"= c #B4B400",
"- c #484848",
"# c #151500",
"< c #9F9F00",
"2 c #6A6A00",
"* c #353500",
/* pixels */
" ",
" ",
" ",
" ",
" ......... ",
" ...XXXXXXX.. ",
" ..XXXXoooooXXXO+ ",
" ..XXooooooooooooX@.. ",
" ..XoooooooooooooooXX#. ",
" $%XoooooooooooooooooXX#. ",
" &.XoooooooXXXXXXooooooXX.. ",
" .XooooooXX.$...$XXoooooX*. ",
" $.XoooooX%.$ .*oooooo=.. ",
" .XooooooX.. -.XoooooX.. ",
" .XoooooX..+ .XoooooX;. ",
" ...XXXX..: .XoooooX;. ",
" ........ >.XoooooX;. ",
" +.XoooooX.. ",
" ,.Xoooooo<.. ",
" 1#XooooooXO.. ",
" &#XooooooX2.. ",
" $%XooooooXX.. ",
" $%XooooooXX.. ",
" $%XooooooXX.. ",
" &.XooooooXX.. ",
" .XooooooXX.. ",
" &.XoooooXX.. ",
" ..XooooXX.. ",
" ..XooooX... ",
" ..XXooXX..& ",
" ...XXXXX.. ",
" ........ ",
" ",
" ",
" ....... ",
" ..XXXXX.. ",
" ..XXoooXX.. ",
" ..XoooooX.. ",
" ..XoooooX.. ",
" ..XXoooXX.. ",
" ..XXXXX.. ",
" ....... ",
" ",
" ",
" ",
" ",
" ",
" "
};

63
art/gtk/warning.xpm Normal file
View File

@@ -0,0 +1,63 @@
/* XPM */
static char *warning_xpm[] = {
/* columns rows colors chars-per-pixel */
"48 48 9 1",
"@ c Black",
"o c #A6A800",
"+ c #8A8C00",
"$ c #B8BA00",
" c None",
"O c #6E7000",
"X c #DCDF00",
". c #C00000",
"# c #373800",
/* pixels */
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" . ",
" ... ",
" ... ",
" ..... ",
" ...X.. ",
" ..XXX.. ",
" ...XXX... ",
" ..XXXXX.. ",
" ..XXXXXX... ",
" ...XXoO+XX.. ",
" ..XXXO@#XXX.. ",
" ..XXXXO@#XXX... ",
" ...XXXXO@#XXXX.. ",
" ..XXXXXO@#XXXX... ",
" ...XXXXXo@OXXXXX.. ",
" ...XXXXXXo@OXXXXXX.. ",
" ..XXXXXXX$@OXXXXXX... ",
" ...XXXXXXXX@XXXXXXXX.. ",
" ...XXXXXXXXXXXXXXXXXX... ",
" ..XXXXXXXXXXOXXXXXXXXX.. ",
" ...XXXXXXXXXO@#XXXXXXXXX.. ",
" ..XXXXXXXXXXX#XXXXXXXXXX... ",
" ...XXXXXXXXXXXXXXXXXXXXXXX.. ",
" ...XXXXXXXXXXXXXXXXXXXXXXXX... ",
" .............................. ",
" .............................. ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "
};

60
art/harddisk.xpm Normal file
View File

@@ -0,0 +1,60 @@
/* XPM */
static char *harddisk_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 39 1",
"7 c #E3E4E6",
"4 c #FFFFFF",
"5 c #839CB5",
". c #547897",
"1 c #4D7492",
"@ c #376485",
"o c #7A92A3",
"u c #D1D9E5",
"y c #446A8C",
"i c #51B03D",
"> c #CAD2DC",
"O c #718BA7",
"2 c #65839D",
"6 c #DCE2EA",
"0 c #C3C5C8",
"9 c #F5F6F7",
": c #EBEBEC",
"< c #597B9A",
"t c #C6CCD3",
" c None",
"* c #DFE0E2",
"e c #467291",
"a c #526E8B",
", c #7393AB",
"p c #130A0B",
"# c #AABFCD",
"r c #B4C4D3",
"; c #CFCFD0",
"X c #6F90A6",
"+ c #6A89A2",
"- c #D2D3D4",
"= c #DCDBDA",
"w c #E4E9ED",
"q c #C6C8CA",
"% c #215579",
"$ c #E7E7E7",
"3 c #7F97B0",
"8 c #C0D1DC",
"& c #5D7C93",
/* pixels */
" ",
" .XoooXO+@ ",
" #$$%%%%$$$X ",
" &$*==-;$$$& ",
" &:>+,<1234o5 ",
" ###+67;;78242 ",
" &4,49*0q*9we4. ",
" &4+49*,,*9wo4. ",
"&4%r,67;;782t%4.",
"&44468rrrr84444,",
"y11111111111111e",
"1uu1:::::::::::1",
"1uu1::::::::ip:1",
"auu&:::::::::::1",
"1111111111111111"
};

44
art/helpicon.xpm Normal file
View File

@@ -0,0 +1,44 @@
/* XPM */
static char *helpicon_xpm[] = {
/* columns rows colors chars-per-pixel */
"32 32 6 1",
" c Gray0",
". c Blue",
"X c #808080808080",
"o c #c0c0c0c0c0c0",
"O c Gray100",
"+ c None",
/* pixels */
"+++++++++++XXXXXXXX+++++++++++++",
"++++++++XXXoOOOOOOoXXX++++++++++",
"++++++XXoOOOOOOOOOOOOoXX++++++++",
"+++++XoOOOOOOOOOOOOOOOOoX+++++++",
"++++XOOOOOOOOOOOOOOOOOOOO ++++++",
"+++XOOOOOOOo......oOOOOOOO +++++",
"++XOOOOOOOo.oOO....oOOOOOOO ++++",
"+XoOOOOOOO..OOOO....OOOOOOOo +++",
"+XOOOOOOOO....OO....OOOOOOOO X++",
"XoOOOOOOOO....Oo....OOOOOOOOo X+",
"XOOOOOOOOOo..oO....OOOOOOOOOO X+",
"XOOOOOOOOOOOOOo...OOOOOOOOOOO XX",
"XOOOOOOOOOOOOO...OOOOOOOOOOOO XX",
"XOOOOOOOOOOOOO..oOOOOOOOOOOOO XX",
"XOOOOOOOOOOOOO..OOOOOOOOOOOOO XX",
"XoOOOOOOOOOOOOOOOOOOOOOOOOOOo XX",
"+XOOOOOOOOOOOo..oOOOOOOOOOOO XXX",
"+XoOOOOOOOOOO....OOOOOOOOOOo XXX",
"++XOOOOOOOOOO....OOOOOOOOOO XXX+",
"+++ OOOOOOOOOo..oOOOOOOOOO XXXX+",
"++++ OOOOOOOOOOOOOOOOOOOO XXXX++",
"+++++ oOOOOOOOOOOOOOOOOo XXXX+++",
"++++++ oOOOOOOOOOOOOo XXXX++++",
"+++++++X oOOOOOOo XXXXX+++++",
"++++++++XXX oOOO XXXXXXX++++++",
"++++++++++XXXX OOO XXXXX++++++++",
"+++++++++++++X OOO XX+++++++++++",
"+++++++++++++++ OO XX+++++++++++",
"++++++++++++++++ O XX+++++++++++",
"+++++++++++++++++ XX+++++++++++",
"++++++++++++++++++XXX+++++++++++",
"+++++++++++++++++++XX+++++++++++"
};

24
art/home.xpm Normal file
View File

@@ -0,0 +1,24 @@
/* XPM */
static char *home_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 3 1",
". c Black",
"X c #FFFFFF",
" c None",
/* pixels */
" .... ",
" .XXXX. ",
" .XXXXXX. ",
" .XXXXXXXX. ",
" .XXXXXXXXXX. ",
" .............. ",
" .XXXXXXXXXXXX. ",
" .XXXXXXXXXXXX. ",
" .XXXXXXXXXXXX. ",
" .X.....X....X. ",
" .X. .X. .X. ",
" .X. .X. .X. ",
" .X.....X. .X. ",
" .XXXXXXX. .X. ",
" ......... ... "
};

25
art/htmbook.xpm Normal file
View File

@@ -0,0 +1,25 @@
/* XPM */
static char * htmbook_xpm[] = {
"16 16 6 1",
" c None",
". c Black",
"X c #000080",
"o c #c0c0c0",
"O c #808080",
"+ c Gray100",
" ",
" .. ",
" ..XX. ",
" ..XXXXX. ",
" ..XXXXXXXX. ",
".oXXXXXXXXXX. ",
".XoXXXXXXXXXX. ",
".XXoXXXXXXXXXX. ",
".XXXoXXXXXXXXX..",
".XXXXoXXXXXX..O ",
" .XXXXoXXX..O+O ",
" .XXXXo..O++o..",
" .XXX.O+++o.. ",
" .XX.o+o.. ",
" .X.o.. ",
" ... "};

25
art/htmfoldr.xpm Normal file
View File

@@ -0,0 +1,25 @@
/* XPM */
static char * htmfoldr_xpm[] = {
"16 16 6 1",
" c None",
". c Black",
"X c #000080",
"o c #c0c0c0",
"O c #808080",
"+ c Gray100",
" ",
" .. ",
" ..XX. ",
" ..XXXXX. ",
" ..XXXXXXXX. ",
".oXXXXXXXXXX. ",
".XoXXXXXXXXXX. ",
".XXoXXXXXXXXXX. ",
".XXXoXXXXXXXXX..",
".XXXXoXXXXXX..O ",
" .XXXXoXXX..O+O ",
" .XXXXo..O++o..",
" .XXX.O+++o.. ",
" .XX.o+o.. ",
" .X.o.. ",
" ... "};

20
art/htmoptns.xpm Normal file
View File

@@ -0,0 +1,20 @@
/* XPM */
static char * htmoptns_xpm[] = {
"16 15 2 1",
" c None",
". c #000000",
" ",
" .. ",
" ... ",
" .... ",
" . ... ",
" .. ... ",
" . .. ",
" .. ... ",
" . .. ",
" ......... ",
" .. ... ",
" . ... ",
" .. ... ",
" .... ....... ",
" "};

23
art/htmpage.xpm Normal file
View File

@@ -0,0 +1,23 @@
/* XPM */
static char * htmpage_xpm[] = {
"16 16 4 1",
" c None",
". c #808080",
"X c Gray100",
"o c Black",
" ",
" .......... ",
" .XXXXXXXX.. ",
" .XXXXXXXXooo ",
" .X......XXXo ",
" .XXXXXXXXXXo ",
" .X........Xo ",
" .XXXXXXXXXXo ",
" .X........Xo ",
" .XXXXXXXXXXo ",
" .X........Xo ",
" .XXXXXXXXXXo ",
" .X........Xo ",
" .XXXXXXXXXXo ",
" .XXXXXXXXXXo ",
" oooooooooooo "};

27
art/htmsidep.xpm Normal file
View File

@@ -0,0 +1,27 @@
/* XPM */
static char *htmsidep_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 6 1",
". c Black",
"X c #FFFFFF",
"+ c #808080",
" c None",
"O c #0000C0",
"o c #C0C0C0",
/* pixels */
" ",
" .............. ",
" .XXXX.ooooooo. ",
" .XOXX.oo...oo. ",
" .XXOX.ooooooo. ",
" .OOOO.o...+.o. ",
" .XXOX.ooooooo. ",
" .XOXX.ooooooo. ",
" .XXXX.o..+ooo. ",
" .XXOX.ooooooo. ",
" .XOXX.o...+.o. ",
" .OOOO.ooooooo. ",
" .XOXX.o.+...o. ",
" .XXOX.ooooooo. ",
" .............. "
};

25
art/listview.xpm Normal file
View File

@@ -0,0 +1,25 @@
/* XPM */
static char *listview_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 4 1",
" c Black",
". c #FFFFFF",
"X c #000084",
"o c #848484",
/* pixels */
" ",
" .............. ",
" .XXX.......... ",
" .XXX. o o . ",
" .XXX.......... ",
" .............. ",
" .XXX.......... ",
" .XXX. o . ",
" .XXX.......... ",
" .............. ",
" .XXX.......... ",
" .XXX. o o . ",
" .XXX.......... ",
" .............. ",
" "
};

43
art/missimg.xpm Normal file
View File

@@ -0,0 +1,43 @@
/* XPM */
static char *missimg_xpm[] = {
/* columns rows colors chars-per-pixel */
"32 32 5 1",
"X c Black",
"o c #FFFFFF",
" c None",
". c #C0C0C0",
"O c #E0E0E0",
/* pixels */
" .............................X ",
" .ooooooooooooooooooooooooooooX ",
" .ooooooooooooooooooooooooooooX ",
" .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ",
" .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ",
" .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ",
" .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ",
" .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ",
" .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ",
" .ooOOOOOOOXOOOOOOOOOOOOOOOOooX ",
" XXXOOOOOXX XOOOOOOOOOOOOOOOooX ",
" XXXXX XOOOOOOOOOOOOOOooX ",
" XOOOXXXOOOOOOOooX ",
" XXX XXOOOOOooX ",
" XOOOOooX ",
" . XOOOooX ",
" .. XXOooX ",
" .o.. XooX ",
" .ooO... XXX ",
" .ooOOOO.......... ",
" .ooOOOOOOOOOOOOOO.. ",
" .ooOOOOOOOOOOOOOOOO.. ",
" .ooOOOOOOOOOOOOOOOOOO......... ",
" .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ",
" .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ",
" .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ",
" .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ",
" .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ",
" .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ",
" .ooooooooooooooooooooooooooooX ",
" .ooooooooooooooooooooooooooooX ",
" XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX "
};

58
art/motif/error.xpm Normal file
View File

@@ -0,0 +1,58 @@
/* XPM */
static char *error_xpm[] = {
/* columns rows colors chars-per-pixel */
"48 48 4 1",
" c None",
"X c #242424",
"o c #DCDF00",
". c #C00000",
/* pixels */
" ",
" ",
" ",
" ",
" ",
" ..... ",
" ............. ",
" ................. ",
" ................... ",
" ....................... ",
" ......................... ",
" ........................... ",
" ...........................X ",
" .............................X ",
" ............................... ",
" ...............................X ",
" .................................X ",
" .................................X ",
" .................................XX ",
" ...ooooooooooooooooooooooooooo...XX ",
" ....ooooooooooooooooooooooooooo....X ",
" ....ooooooooooooooooooooooooooo....X ",
" ....ooooooooooooooooooooooooooo....XX ",
" ....ooooooooooooooooooooooooooo....XX ",
" ....ooooooooooooooooooooooooooo....XX ",
" ...ooooooooooooooooooooooooooo...XXX ",
" ...ooooooooooooooooooooooooooo...XXX ",
" .................................XX ",
" .................................XX ",
" ...............................XXX ",
" ...............................XXX ",
" .............................XXX ",
" ...........................XXXX ",
" ...........................XXX ",
" .........................XXX ",
" .......................XXXX ",
" X...................XXXXX ",
" X.................XXXXX ",
" X.............XXXXX ",
" XXXX.....XXXXXXXX ",
" XXXXXXXXXXXXX ",
" XXXXX ",
" ",
" ",
" ",
" ",
" ",
" "
};

63
art/motif/info.xpm Normal file
View File

@@ -0,0 +1,63 @@
/* XPM */
static char *info_xpm[] = {
/* columns rows colors chars-per-pixel */
"48 48 9 1",
"$ c Black",
"O c #FFFFFF",
"@ c #808080",
"+ c #000080",
"o c #E8EB01",
" c None",
"X c #FFFF40",
"# c #C0C0C0",
". c #ABAD01",
/* pixels */
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ..... ",
" ..XXXXX.. ",
" ..XXXXXXXXo.. ",
" .XXXOXXXXXXXoo. ",
" .XOOXXX+XXXXXo. ",
" .XOOOXX+++XXXXoo. ",
" .XOOXXX+++XXXXXo. ",
" .XOOOXXX+++XXXXXXo. ",
" .XOOXXXX+++XXXXXXo. ",
" .XXXXXXX+++XXXXXXX. ",
" .XXXXXXX+++XXXXXXo. ",
" .XXXXXXX+++XXXXXoo. ",
" .XXXXXX+++XXXXXo. ",
" .XXXXXXX+XXXXXXo. ",
" .XXXXXXXXXXXXo. ",
" .XXXXX+++XXXoo. ",
" .XXXX+++XXoo. ",
" .XXXXXXXXo. ",
" ..XXXXXXo.. ",
" .XXXXXo.. ",
" @#######@ ",
" @@@@@@@@@ ",
" @#######@ ",
" @@@@@@@@@ ",
" @#######@ ",
" @@@@@@@ ",
" ### ",
" $$$ ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "
};

75
art/motif/question.xpm Normal file
View File

@@ -0,0 +1,75 @@
/* XPM */
static char *question_xpm[] = {
/* columns rows colors chars-per-pixel */
"48 48 21 1",
". c Black",
"> c #696969",
"O c #1F1F00",
"+ c #181818",
"o c #F6F900",
"; c #3F3F00",
"$ c #111111",
" c None",
"& c #202020",
"X c #AAAA00",
"@ c #949400",
": c #303030",
"1 c #383838",
"% c #2A2A00",
", c #404040",
"= c #B4B400",
"- c #484848",
"# c #151500",
"< c #9F9F00",
"2 c #6A6A00",
"* c #353500",
/* pixels */
" ",
" ",
" ",
" ",
" ......... ",
" ...XXXXXXX.. ",
" ..XXXXoooooXXXO+ ",
" ..XXooooooooooooX@.. ",
" ..XoooooooooooooooXX#. ",
" $%XoooooooooooooooooXX#. ",
" &.XoooooooXXXXXXooooooXX.. ",
" .XooooooXX.$...$XXoooooX*. ",
" $.XoooooX%.$ .*oooooo=.. ",
" .XooooooX.. -.XoooooX.. ",
" .XoooooX..+ .XoooooX;. ",
" ...XXXX..: .XoooooX;. ",
" ........ >.XoooooX;. ",
" +.XoooooX.. ",
" ,.Xoooooo<.. ",
" 1#XooooooXO.. ",
" &#XooooooX2.. ",
" $%XooooooXX.. ",
" $%XooooooXX.. ",
" $%XooooooXX.. ",
" &.XooooooXX.. ",
" .XooooooXX.. ",
" &.XoooooXX.. ",
" ..XooooXX.. ",
" ..XooooX... ",
" ..XXooXX..& ",
" ...XXXXX.. ",
" ........ ",
" ",
" ",
" ....... ",
" ..XXXXX.. ",
" ..XXoooXX.. ",
" ..XoooooX.. ",
" ..XoooooX.. ",
" ..XXoooXX.. ",
" ..XXXXX.. ",
" ....... ",
" ",
" ",
" ",
" ",
" ",
" "
};

63
art/motif/warning.xpm Normal file
View File

@@ -0,0 +1,63 @@
/* XPM */
static char *warning_xpm[] = {
/* columns rows colors chars-per-pixel */
"48 48 9 1",
"@ c Black",
"o c #A6A800",
"+ c #8A8C00",
"$ c #B8BA00",
" c None",
"O c #6E7000",
"X c #DCDF00",
". c #C00000",
"# c #373800",
/* pixels */
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" . ",
" ... ",
" ... ",
" ..... ",
" ...X.. ",
" ..XXX.. ",
" ...XXX... ",
" ..XXXXX.. ",
" ..XXXXXX... ",
" ...XXoO+XX.. ",
" ..XXXO@#XXX.. ",
" ..XXXXO@#XXX... ",
" ...XXXXO@#XXXX.. ",
" ..XXXXXO@#XXXX... ",
" ...XXXXXo@OXXXXX.. ",
" ...XXXXXXo@OXXXXXX.. ",
" ..XXXXXXX$@OXXXXXX... ",
" ...XXXXXXXX@XXXXXXXX.. ",
" ...XXXXXXXXXXXXXXXXXX... ",
" ..XXXXXXXXXXOXXXXXXXXX.. ",
" ...XXXXXXXXXO@#XXXXXXXXX.. ",
" ..XXXXXXXXXXX#XXXXXXXXXX... ",
" ...XXXXXXXXXXXXXXXXXXXXXXX.. ",
" ...XXXXXXXXXXXXXXXXXXXXXXXX... ",
" .............................. ",
" .............................. ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "
};

50
art/new.xpm Normal file
View File

@@ -0,0 +1,50 @@
/* XPM */
static char *new_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 29 1",
"* c #97C4E7",
"- c #72A8D2",
": c #FFFFFF",
"9 c #839CB5",
"o c #6B98B8",
"X c #5A89A6",
"# c #3A749C",
", c #D1E5F5",
"0 c #85A7BC",
"$ c #C3DDF1",
"8 c #749BB4",
"; c #5F9BC8",
" c None",
"+ c #538DB3",
"= c #85BBE2",
"3 c #EFF6FC",
"O c #6591AE",
"5 c #F7FBFD",
"7 c #FAFCFE",
"< c #DAEAF7",
"4 c #E9F3FA",
"6 c #FDFDFE",
"1 c #E2EFF8",
". c #8EA9BC",
"% c #B6D5EE",
"& c #A5CCEA",
"> c #ACE95B",
"2 c #F4F9FD",
"@ c #4581AA",
/* pixels */
" .XoOO+@#. ",
" .$$%&*=O-; ",
" @@@@$%&*O:*o ",
" @>>@$$%&O::*o ",
"@@@>>@@@$%OOoO+ ",
"@>>>>>>@,$%&*=+ ",
"@>>>>>>@<,$%&*+ ",
"@@@>>@@@1<,$%&O ",
" @>>@2341<,$%O ",
" @@@@52341<,$o ",
" .:6752341<,8 ",
" .::6752341<8 ",
" .:::67523419 ",
" .::::6752340 ",
" ............ "
};

43
art/new_dir.xpm Normal file
View File

@@ -0,0 +1,43 @@
/* XPM */
static char *new_dir_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 22 1",
"X c Black",
"> c #9BACC2",
"o c #547897",
"1 c #7F99B4",
"O c #D1D9E5",
"< c #EAEDF3",
"# c #CAD2DC",
"3 c #718BA7",
"@ c #BECAD9",
"& c #E1E6EE",
"; c #F5F6F7",
". c #FFFF00",
", c #8DA0B9",
" c None",
"% c #D6DFE7",
"$ c #D2D9E0",
"- c #ADBACE",
"= c #EEF1F3",
"+ c #B3BFD1",
"2 c #7A90AC",
": c #A2B3C5",
"* c #E5EAF1",
/* pixels */
" .X .XX.",
" ooooo .X.X. ",
" oOOOOo XX...XX",
" oooooooo.......",
" o+@#$%&*XX...XX",
" o+@#$%&*=.X.X. ",
" o-+@#O%&.X;.X .",
" o:-+@#O%&*=;o ",
" o>:-+@#O%&*=o ",
" o,>:-+@#O%&<o ",
" o1,>:-+@#O%&o ",
" o21,>:-+@#O%o ",
" o321,>:-+@#Oo ",
" ooooooooooooo ",
" "
};

60
art/print.xpm Normal file
View File

@@ -0,0 +1,60 @@
/* XPM */
static char *print_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 39 1",
"< c #E3E4E6",
"+ c #C3C3C4",
"i c #FFFFFF",
": c #74879B",
"# c #5A89A6",
"a c #F1F4F7",
"r c #5A809C",
"@ c #BDCCD9",
"e c #7A92A4",
"% c #3F6F93",
"t c #9FA2A6",
"3 c #939495",
"w c #5F666D",
"9 c #65839E",
"5 c #4A7291",
"$ c #4B7F9E",
" c None",
"O c #DFE0E2",
"o c #F3F3F3",
"; c #84A5BB",
"& c #467291",
". c #7897AD",
"* c #407598",
"4 c #CFCFD0",
"7 c #6F90A6",
"y c #6A89A2",
"0 c #AAADB2",
"1 c #D2D3D4",
"u c #4F7592",
", c #BCBDBE",
"p c #57778E",
"q c #979BA0",
"2 c #ABABAC",
"- c #E7E7E7",
"= c #D6DEE6",
"> c #9FA0A0",
"8 c #829EB5",
"X c #8FB0C3",
"6 c #5D7C93",
/* pixels */
" .XXXXXXXX ",
" .oooooooX ",
" .OOOOOOOX ",
" .+++++++X ",
"@##$%&&&&&%*##@ ",
"$=-;:>,<123$-=$ ",
".44.5678.96$44. ",
"7,,,,,,,,,,,,,7 ",
"900qwwwwwwwe009 ",
"rtt9ryyyyyyuttr ",
"6qq6iiiiiii%qq6 ",
"633paiiiiii%336 ",
"XXX*iiiiiii%XXX ",
" 6iiiiiii% ",
" $XXXXXXX# "
};

90
art/quit.xpm Normal file
View File

@@ -0,0 +1,90 @@
/* XPM */
static char *quit_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 69 1",
"@ c Black",
"i c #9AEA53",
"D c #7E9BB1",
"H c #839FB4",
", c #B7C7D3",
"8 c #BCCBD6",
"7 c #C1CFDA",
"v c #92ABBD",
"- c #D0DBE2",
"O c #547897",
"+ c #376485",
"L c #7090A8",
"t c #AEC0CE",
"g c #B3C4D1",
"S c #84A0B4",
"G c #89A4B8",
"> c #BDCCD7",
"F c #5A809C",
"2 c #C2D0DA",
"k c #93ACBE",
"= c #D6E0E6",
"* c #446A8C",
"z c #A5B9C8",
"# c #DEE5EB",
"0 c #AFC1CE",
"r c #B4C5D2",
"p c #B9C9D5",
"A c #8AA5B8",
"M c #92AABD",
"j c #A6BAC9",
"K c #7796AC",
"l c #ABBECC",
"o c #E4EAEF",
"9 c #B5C6D2",
" c None",
"; c #C9D6DF",
"X c #305F81",
"m c #98AFC0",
"V c #9DB3C3",
"% c #D1DBE3",
"u c #A2B7C6",
"y c #A7BBCA",
"h c #ACBFCD",
"4 c #B6C7D3",
"w c #C0CFD9",
"d c #982106",
"B c #85A0B5",
"6 c #C8D4DE",
"c c #99B0C1",
"x c #9EB4C4",
"$ c #D7E0E7",
"q c #A8BCCA",
"s c #ADC0CD",
"3 c #BCCCD7",
"N c #8BA5B9",
": c #C4D1DB",
"1 c #C9D5DE",
"f c #9AB1C2",
"n c #A4B9C8",
"a c #B3C5D1",
". c #215579",
"J c #7D9AB0",
"& c #829EB5",
"e c #BBCAD6",
"b c #8CA6B9",
"Z c #91AABC",
"C c #96AEC0",
"< c #CFDAE2",
"5 c #AFC2CF",
/* pixels */
" ..XXXXXXXXXX ",
" XoO+X@@@@@@X ",
" X#$%&X*@@@@X ",
" X=-;:>,X@@@X ",
" X<12345X@@@X ",
" X67890qX@XXX ",
" XwertyuX@XiX ",
" XpasddfX++iiX ",
" XghjddkXiiiiiX ",
" XlzxcvbXiiiiiiX",
" XnxmMNBXiiiiiX ",
" XVCZASDXXXiiX ",
" XXFGHJKX XiX ",
" FXXFLX XX ",
" XX* "
};

44
art/removable.xpm Normal file
View File

@@ -0,0 +1,44 @@
/* XPM */
static char *removable_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 23 1",
"@ c #C3C3C4",
"4 c #FFFFFF",
"o c #D5D6D8",
"> c #7A92A3",
". c #8497A5",
"% c #ACAEB2",
"2 c #4A7898",
": c #DCE2EA",
", c #F5F6F7",
"= c #EBEBEC",
"$ c #B7B7B8",
" c None",
"X c #DFE0E2",
"* c #A6A8AD",
"1 c #4C809F",
"3 c #407598",
"O c #CFCFD0",
"; c #9EA2A8",
"# c #BCBDBE",
"+ c #C6C8CA",
"- c #979BA0",
"& c #E7E7E7",
"< c #8FB0C3",
/* pixels */
" ......... ",
" .XoO+@#$%. ",
" .XoO+@#$%. ",
" .&XoO+@#$%*. ",
" .&XoO+@#$%*. ",
" .=&XoO+@#$%*-. ",
" .=&XoO+@#$%*;. ",
".:=&XoO+@#$%*;>.",
".,=&XoO+@#$%*;-.",
"<..............<",
"<,=&XoO+@#$%%%%.",
"<O1111122233*4*.",
"<OOOOOOOOOOO***.",
" <<<<<<<<<<<<<< ",
" "
};

24
art/repview.xpm Normal file
View File

@@ -0,0 +1,24 @@
/* XPM */
static char *repview_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 3 1",
" c Black",
"X c #FFFFFF",
". c #C0C0C0",
/* pixels */
" ",
" .............. ",
" . . . . ",
" .............. ",
" .............. ",
" XXXXXXXXXXXXXX ",
" X X X X ",
" XXXXXXXXXXXXXX ",
" X X X X ",
" XXXXXXXXXXXXXX ",
" X X X X ",
" XXXXXXXXXXXXXX ",
" X X X X ",
" XXXXXXXXXXXXXX ",
" "
};

17
art/tick.xpm Normal file
View File

@@ -0,0 +1,17 @@
/* XPM */
static char *tick_xpm[] = {
/* columns rows colors chars-per-pixel */
"10 10 2 1",
". c Gray0",
" c None",
/* pixels */
" ",
" ..",
" ...",
" ... ",
".. ... ",
"... ... ",
" ..... ",
" ... ",
" . ",
" "};

47
art/tipicon.xpm Normal file
View File

@@ -0,0 +1,47 @@
/* XPM */
static char *tipicon_xpm[] = {
/* columns rows colors chars-per-pixel */
"32 32 9 1",
"$ c Black",
"O c #FFFFFF",
"@ c #808080",
"+ c #000080",
"o c #E8EB01",
" c None",
"X c #FFFF40",
"# c #C0C0C0",
". c #ABAD01",
/* pixels */
" ",
" ..... ",
" ..XXXXX.. ",
" ..XXXXXXXXo.. ",
" .XXXOXXXXXXXoo. ",
" .XOOXXX+XXXXXo. ",
" .XOOOXX+++XXXXoo. ",
" .XOOXXX+++XXXXXo. ",
" .XOOOXXX+++XXXXXXo. ",
" .XOOXXXX+++XXXXXXo. ",
" .XXXXXXX+++XXXXXXX. ",
" .XXXXXXX+++XXXXXXo. ",
" .XXXXXXX+++XXXXXoo. ",
" .XXXXXX+++XXXXXo. ",
" .XXXXXXX+XXXXXXo. ",
" .XXXXXXXXXXXXo. ",
" .XXXXX+++XXXoo. ",
" .XXXX+++XXoo. ",
" .XXXXXXXXo. ",
" ..XXXXXXo.. ",
" .XXXXXo.. ",
" @#######@ ",
" @@@@@@@@@ ",
" @#######@ ",
" @@@@@@@@@ ",
" @#######@ ",
" @@@@@@@ ",
" ### ",
" $$$ ",
" ",
" ",
" "
};

21
art/toparent.xpm Normal file
View File

@@ -0,0 +1,21 @@
/* XPM */
static char * toparent_xpm[] = {
"16 15 3 1",
" c None",
". c Black",
"X c Gray100",
" ",
" .. ",
" .XX. ",
" .XXXX. ",
" .XXXXXX. ",
" .XXXXXXXX. ",
" ....XXXX.... ",
" .XXXX. ",
" .XXXX..... ",
" .XXXXXXXX. ",
" .XXXXXXXX. ",
" .XXXXXXXX. ",
" .XXXXXXXX. ",
" .......... ",
" "};

21
art/up.xpm Normal file
View File

@@ -0,0 +1,21 @@
/* XPM */
static char * up_xpm[] = {
"16 15 3 1",
" c None",
". c Black",
"X c Gray100",
" ",
" .. ",
" .XX. ",
" .XXXX. ",
" .XXXXXX. ",
" .XXXXXXXX. ",
" ....XXXX.... ",
" .XXXX. ",
" .XXXX. ",
" .XXXX. ",
" .XXXX. ",
" .XXXX. ",
" .XXXX. ",
" ...... ",
" "};

BIN
art/wxwin.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
art/wxwin16x16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

25
art/wxwin16x16.xpm Normal file
View File

@@ -0,0 +1,25 @@
/* XPM */
static char *wxwin16x16_xpm[] = {
"16 16 6 1",
" c None",
". c #000000",
"X c #000084",
"o c #FFFFFF",
"O c #FFFF00",
"+ c #FF0000",
" ",
" ",
" ....... ",
" .XXXXX. ",
" .oXXXX. ",
" .oXXX.......",
".....oXXX.OOOOO.",
".+++.XXXX.oOOOO.",
".o++......oOOOO.",
".o++++. .oOOOO.",
".o++++. .OOOOO.",
".+++++. .......",
"....... ",
" ",
" ",
" "};

BIN
art/wxwin32x32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

41
art/wxwin32x32.xpm Normal file
View File

@@ -0,0 +1,41 @@
/* XPM */
static char *wxwin32x32_xpm[] = {
"32 32 6 1",
" c None",
". c #000000",
"X c #000084",
"o c #FFFFFF",
"O c #FFFF00",
"+ c #FF0000",
" ",
" ",
" ",
" ",
" ",
" .............. ",
" .XXXXXXXXXXXX. ",
" .XXXXXXXXXXXX. ",
" .XooXXXXXXXXX. ",
" .XooXXXXXXXXX. ",
" .XooXXXXXXXXX. ",
" .XooXXXXXX..............",
" .XooXXXXXX.OOOOOOOOOOOO.",
".........XooXXXXXX.OOOOOOOOOOOO.",
".+++++++.XooXXXXXX.OooOOOOOOOOO.",
".+++++++.XooXXXXXX.OooOOOOOOOOO.",
".+oo++++.XXXXXXXXX.OooOOOOOOOOO.",
".+oo++++.XXXXXXXXX.OooOOOOOOOOO.",
".+oo++++...........OooOOOOOOOOO.",
".+oo+++++++++. .OooOOOOOOOOO.",
".+oo+++++++++. .OooOOOOOOOOO.",
".+oo+++++++++. .OooOOOOOOOOO.",
".+oo+++++++++. .OOOOOOOOOOOO.",
".+oo+++++++++. .OOOOOOOOOOOO.",
".++++++++++++. ..............",
".++++++++++++. ",
".............. ",
" ",
" ",
" ",
" ",
" "};

940
autoconf_inc.m4 Normal file

File diff suppressed because one or more lines are too long

3
autogen.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
#autoconf
make -f build/autogen.mk

1
build/.cvsignore Normal file
View File

@@ -0,0 +1 @@
wince

27
build/README.txt Normal file
View File

@@ -0,0 +1,27 @@
autogen.mk
autogen.mk is a makefile provided to automatically update the GNU autotools
build system. It will run Bakefile, aclocal, and autoconf as appropriate.
The .m4 files required for running aclocal are located in build/aclocal.
When upgrading software that wxWidgets depends on (for example, Bakefile,
cppunit, GTK, SDL, or others) it is advisable to upgrade the .m4 files
located in the build/aclocal directory.
It is particularly important that if you use a newer version of Bakefile
to generate the Makefile.in files that you use the newer bakefile*.m4.
Because build/autogen.mk is a Makefile it will automatically rerun
aclocal and autoconf as necessary whenever any m4 in build/aclocal is
newer than the generated aclocal.m4.
You can achieve this simply by copying the new bakefile*.m4 files from
PREFIX/share/aclocal/ into the build/aclocal/ directory and
rerunning make -f build/autogen.mk. Note that you should _not_ preserve
source file times (don't use cp -p) or else it's possible your .m4 files
will be older than the generated aclocal.m4).
Example:
cp /usr/share/aclocal/bakefile*.m4 build/aclocal/
make -f build/autogen.mk
Please don't forget to commit updated .m4 files as well as updated aclocal.m4,
configure, and Makefile.in files to wxWidgets.

View File

@@ -0,0 +1,78 @@
dnl @synopsis AC_raf_FUNC_WHICH_GETSERVBYNAME_R
dnl
dnl Provides a test to determine the correct way to call
dnl getservbyname_r:
dnl
dnl - defines HAVE_FUNC_GETSERVBYNAME_R_6 if it needs 6 arguments (e.g linux)
dnl - defines HAVE_FUNC_GETSERVBYNAME_R_5 if it needs 5 arguments (e.g. solaris)
dnl - defines HAVE_FUNC_GETSERVBYNAME_R_4 if it needs 4 arguments (e.g. osf/1)
dnl
dnl An example use can be found at
dnl http://raf.org/autoconf/net_getservbyname.c
dnl
dnl Based on Caolan McNamara's gethostbyname_r macro. Based on David
dnl Arnold's autoconf suggestion in the threads faq.
dnl
dnl @category Misc
dnl @author raf <raf@raf.org>
dnl @version 2001-08-20
dnl @license GPLWithACException
AC_DEFUN([AC_raf_FUNC_WHICH_GETSERVBYNAME_R],
[
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)
],
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_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)
elif test $ac_cv_func_which_getservbyname_r = five; then
AC_DEFINE(HAVE_FUNC_GETSERVBYNAME_R_5)
elif test $ac_cv_func_which_getservbyname_r = four; then
AC_DEFINE(HAVE_FUNC_GETSERVBYNAME_R_4)
fi
])

View File

@@ -0,0 +1,155 @@
dnl @synopsis AX_FUNC_WHICH_GETHOSTBYNAME_R
dnl
dnl Determines which historical variant of the gethostbyname_r() call
dnl (taking three, five, or six arguments) is available on the system
dnl and defines one of the following macros accordingly:
dnl
dnl HAVE_FUNC_GETHOSTBYNAME_R_6
dnl HAVE_FUNC_GETHOSTBYNAME_R_5
dnl HAVE_FUNC_GETHOSTBYNAME_R_3
dnl
dnl If used in conjunction with gethostname.c, the API demonstrated in
dnl test.c can be used regardless of which gethostbyname_r() is
dnl available. These example files can be found at
dnl http://www.csn.ul.ie/~caolan/publink/gethostbyname_r
dnl
dnl based on David Arnold's autoconf suggestion in the threads faq
dnl
dnl Originally named "AC_caolan_FUNC_WHICH_GETHOSTBYNAME_R". Rewritten
dnl for Autoconf 2.5x by Daniel Richard G.
dnl
dnl @category InstalledPackages
dnl @author Caolan McNamara <caolan@skynet.ie>
dnl @author Daniel Richard G. <skunk@iskunk.org>
dnl @version 2005-01-21
dnl @license GPLWithACException
AC_DEFUN([AX_FUNC_WHICH_GETHOSTBYNAME_R], [
AC_LANG_PUSH(C)
AC_MSG_CHECKING([how many arguments gethostbyname_r() takes])
AC_CACHE_VAL(ac_cv_func_which_gethostbyname_r, [
################################################################
ac_cv_func_which_gethostbyname_r=unknown
#
# ONE ARGUMENT (sanity check)
#
# This should fail, as there is no variant of gethostbyname_r() that takes
# a single argument. If it actually compiles, then we can assume that
# netdb.h is not declaring the function, and the compiler is thereby
# assuming an implicit prototype. In which case, we're out of luck.
#
AC_COMPILE_IFELSE(
AC_LANG_PROGRAM(
[[#include <netdb.h>]],
[[
char *name = "www.gnu.org";
(void)gethostbyname_r(name) /* ; */
]]),
ac_cv_func_which_gethostbyname_r=no)
#
# SIX ARGUMENTS
# (e.g. Linux)
#
if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
AC_COMPILE_IFELSE(
AC_LANG_PROGRAM(
[[#include <netdb.h>]],
[[
char *name = "www.gnu.org";
struct hostent ret, *retp;
char buf@<:@1024@:>@;
int buflen = 1024;
int my_h_errno;
(void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
]]),
ac_cv_func_which_gethostbyname_r=six)
fi
#
# FIVE ARGUMENTS
# (e.g. Solaris)
#
if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
AC_COMPILE_IFELSE(
AC_LANG_PROGRAM(
[[#include <netdb.h>]],
[[
char *name = "www.gnu.org";
struct hostent ret;
char buf@<:@1024@:>@;
int buflen = 1024;
int my_h_errno;
(void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
]]),
ac_cv_func_which_gethostbyname_r=five)
fi
#
# THREE ARGUMENTS
# (e.g. AIX, HP-UX, Tru64)
#
if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
AC_COMPILE_IFELSE(
AC_LANG_PROGRAM(
[[#include <netdb.h>]],
[[
char *name = "www.gnu.org";
struct hostent ret;
struct hostent_data data;
(void)gethostbyname_r(name, &ret, &data) /* ; */
]]),
ac_cv_func_which_gethostbyname_r=three)
fi
################################################################
]) dnl end AC_CACHE_VAL
case "$ac_cv_func_which_gethostbyname_r" in
three)
AC_MSG_RESULT([three])
AC_DEFINE(HAVE_FUNC_GETHOSTBYNAME_R_3)
;;
five)
AC_MSG_RESULT([five])
AC_DEFINE(HAVE_FUNC_GETHOSTBYNAME_R_5)
;;
six)
AC_MSG_RESULT([six])
AC_DEFINE(HAVE_FUNC_GETHOSTBYNAME_R_6)
;;
no)
AC_MSG_RESULT([cannot find function declaration in netdb.h])
;;
unknown)
AC_MSG_RESULT([can't tell])
;;
*)
AC_MSG_ERROR([internal error])
;;
esac
AC_LANG_POP(C)
]) dnl end AC_DEFUN

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

@@ -0,0 +1,282 @@
dnl
dnl This file is part of Bakefile (http://bakefile.sourceforge.net)
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
dnl
dnl ===========================================================================
dnl Macros to detect non-GNU compilers (MetroWerks, XLC)
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],
[
AC_LANG_PUSH($2)
AC_CACHE_CHECK(
[whether we are using the $1 $2 compiler],
[bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_[]$3],
[AC_TRY_COMPILE(
[],
[
#ifndef $3
choke me
#endif
],
[bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_[]$3=yes],
[bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_[]$3=no]
)
]
)
AC_LANG_POP($2)
if test "x$bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_[]$3" = "xyes"; then
:; $4
else
:; $5
fi
])
dnl recent versions of SGI mipsPro compiler define _SGI_COMPILER_VERSION
dnl
dnl NB: old versions define _COMPILER_VERSION but this could probably be
dnl defined by other compilers too so don't test for it to be safe
AC_DEFUN([AC_BAKEFILE_PROG_SGICC],
[
_AC_BAKEFILE_LANG_COMPILER(SGI, C, _SGI_COMPILER_VERSION, SGICC=yes)
])
AC_DEFUN([AC_BAKEFILE_PROG_SGICXX],
[
_AC_BAKEFILE_LANG_COMPILER(SGI, C++, _SGI_COMPILER_VERSION, SGICXX=yes)
])
dnl Sun compiler defines __SUNPRO_C/__SUNPRO_CC
AC_DEFUN([AC_BAKEFILE_PROG_SUNCC],
[
_AC_BAKEFILE_LANG_COMPILER(Sun, C, __SUNPRO_C, SUNCC=yes)
])
AC_DEFUN([AC_BAKEFILE_PROG_SUNCXX],
[
_AC_BAKEFILE_LANG_COMPILER(Sun, C++, __SUNPRO_CC, SUNCXX=yes)
])
dnl Intel icc compiler defines __INTEL_COMPILER for both C and C++
AC_DEFUN([AC_BAKEFILE_PROG_INTELCC],
[
_AC_BAKEFILE_LANG_COMPILER(Intel, C, __INTEL_COMPILER, INTELCC=yes)
])
AC_DEFUN([AC_BAKEFILE_PROG_INTELCXX],
[
_AC_BAKEFILE_LANG_COMPILER(Intel, C++, __INTEL_COMPILER, INTELCXX=yes)
])
dnl HP-UX aCC: see http://docs.hp.com/en/6162/preprocess.htm#macropredef
AC_DEFUN([AC_BAKEFILE_PROG_HPCC],
[
_AC_BAKEFILE_LANG_COMPILER(HP, C, __HP_cc, HPCC=yes)
])
AC_DEFUN([AC_BAKEFILE_PROG_HPCXX],
[
_AC_BAKEFILE_LANG_COMPILER(HP, C++, __HP_aCC, HPCXX=yes)
])
dnl Tru64 cc and cxx
AC_DEFUN([AC_BAKEFILE_PROG_COMPAQCC],
[
_AC_BAKEFILE_LANG_COMPILER(Compaq, C, __DECC, COMPAQCC=yes)
])
AC_DEFUN([AC_BAKEFILE_PROG_COMPAQCXX],
[
_AC_BAKEFILE_LANG_COMPILER(Compaq, C++, __DECCXX, COMPAQCXX=yes)
])
dnl ===========================================================================
dnl macros to detect specialty compiler options
dnl ===========================================================================
dnl Figure out if we need to pass -ext o to compiler (MetroWerks)
AC_DEFUN([AC_BAKEFILE_METROWERKS_EXTO],
[AC_CACHE_CHECK([if the _AC_LANG compiler requires -ext o], bakefile_cv_[]_AC_LANG_ABBREV[]_exto,
dnl First create an empty conf test
[AC_LANG_CONFTEST([AC_LANG_PROGRAM()])
dnl Now remove .o and .c.o or .cc.o
rm -f conftest.$ac_objext conftest.$ac_ext.o
dnl Now compile the test
AS_IF([AC_TRY_EVAL(ac_compile)],
dnl If the test succeeded look for conftest.c.o or conftest.cc.o
[for ac_file in `(ls conftest.* 2>/dev/null)`; do
case $ac_file in
conftest.$ac_ext.o)
bakefile_cv_[]_AC_LANG_ABBREV[]_exto="-ext o"
;;
*)
;;
esac
done],
[AC_MSG_FAILURE([cannot figure out if compiler needs -ext o: cannot compile])
]) dnl AS_IF
rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
]) dnl AC_CACHE_CHECK
if test "x$bakefile_cv_[]_AC_LANG_ABBREV[]_exto" '!=' "x"; then
if test "[]_AC_LANG_ABBREV[]" = "c"; then
CFLAGS="$bakefile_cv_[]_AC_LANG_ABBREV[]_exto $CFLAGS"
fi
if test "[]_AC_LANG_ABBREV[]" = "cxx"; then
CXXFLAGS="$bakefile_cv_[]_AC_LANG_ABBREV[]_exto $CXXFLAGS"
fi
fi
]) dnl AC_DEFUN
dnl ===========================================================================
dnl Macros to do all of the compiler detections as one macro
dnl ===========================================================================
dnl check for different proprietary compilers depending on target platform
dnl _AC_BAKEFILE_PROG_COMPILER(LANG)
AC_DEFUN([_AC_BAKEFILE_PROG_COMPILER],
[
AC_PROG_$1
AC_BAKEFILE_PROG_INTEL$1
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
AC_BAKEFILE_METROWERKS_EXTO
if test "x$bakefile_cv_c_exto" '!=' "x"; then
unset ac_cv_prog_cc_g
_AC_PROG_CC_G
fi
fi
dnl most of these compilers are only used under well-defined OS so
dnl don't waste time checking for them on other ones
case `uname -s` in
AIX*)
AC_BAKEFILE_PROG_XL$1
;;
Darwin)
AC_BAKEFILE_PROG_MW$1
AC_BAKEFILE_PROG_XL$1
;;
IRIX*)
AC_BAKEFILE_PROG_SGI$1
;;
HP-UX*)
AC_BAKEFILE_PROG_HP$1
;;
OSF1)
AC_BAKEFILE_PROG_COMPAQ$1
;;
SunOS)
AC_BAKEFILE_PROG_SUN$1
;;
esac
fi
])
AC_DEFUN([AC_BAKEFILE_PROG_CC],
[
_AC_BAKEFILE_PROG_COMPILER(CC)
])
AC_DEFUN([AC_BAKEFILE_PROG_CXX],
[
_AC_BAKEFILE_PROG_COMPILER(CXX)
])

1128
build/aclocal/bakefile.m4 Normal file

File diff suppressed because it is too large Load Diff

81
build/aclocal/cppunit.m4 Normal file
View File

@@ -0,0 +1,81 @@
dnl
dnl AM_PATH_CPPUNIT(MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
dnl
AC_DEFUN([AM_PATH_CPPUNIT],
[
AC_ARG_WITH(cppunit-prefix,[ --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)],
cppunit_config_prefix="$withval", cppunit_config_prefix="")
AC_ARG_WITH(cppunit-exec-prefix,[ --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)],
cppunit_config_exec_prefix="$withval", cppunit_config_exec_prefix="")
if test x$cppunit_config_exec_prefix != x ; then
cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
if test x${CPPUNIT_CONFIG+set} != xset ; then
CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
fi
fi
if test x$cppunit_config_prefix != x ; then
cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
if test x${CPPUNIT_CONFIG+set} != xset ; then
CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
fi
fi
AC_PATH_PROG(CPPUNIT_CONFIG, cppunit-config, no)
cppunit_version_min=$1
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`
CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
cppunit_version=`$CPPUNIT_CONFIG --version`
cppunit_major_version=`echo $cppunit_version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
cppunit_minor_version=`echo $cppunit_version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
cppunit_micro_version=`echo $cppunit_version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
cppunit_major_min=`echo $cppunit_version_min | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
cppunit_minor_min=`echo $cppunit_version_min | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
cppunit_micro_min=`echo $cppunit_version_min | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
cppunit_version_proper=`expr \
$cppunit_major_version \> $cppunit_major_min \| \
$cppunit_major_version \= $cppunit_major_min \& \
$cppunit_minor_version \> $cppunit_minor_min \| \
$cppunit_major_version \= $cppunit_major_min \& \
$cppunit_minor_version \= $cppunit_minor_min \& \
$cppunit_micro_version \>= $cppunit_micro_min `
if test "$cppunit_version_proper" = "1" ; then
AC_MSG_RESULT([$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version])
else
AC_MSG_RESULT(no)
no_cppunit=yes
fi
fi
if test "x$no_cppunit" = x ; then
ifelse([$2], , :, [$2])
else
CPPUNIT_CFLAGS=""
CPPUNIT_LIBS=""
ifelse([$3], , :, [$3])
fi
AC_SUBST(CPPUNIT_CFLAGS)
AC_SUBST(CPPUNIT_LIBS)
])

View File

@@ -0,0 +1,23 @@
dnl Perform a check for a GStreamer element using gst-inspect
dnl Thomas Vander Stichele <thomas at apestaart dot org>
dnl Last modification: 25/01/2005
dnl AM_GST_ELEMENT_CHECK(ELEMENT-NAME, ACTION-IF-FOUND, ACTION-IF-NOT-FOUND)
AC_DEFUN([AM_GST_ELEMENT_CHECK],
[
if test "x$GST_INSPECT" == "x"; then
AC_CHECK_PROG(GST_INSPECT, gst-inspect, gst-inspect, [])
fi
if test "x$GST_INSPECT" != "x"; then
AC_MSG_CHECKING(GStreamer element $1)
if [ $GST_INSPECT $1 > /dev/null 2> /dev/null ]; then
AC_MSG_RESULT(found.)
$2
else
AC_MSG_RESULT(not found.)
$3
fi
fi
])

196
build/aclocal/gtk-2.0.m4 Normal file
View File

@@ -0,0 +1,196 @@
# Configure paths for GTK+
# Owen Taylor 1997-2001
dnl AM_PATH_GTK_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
dnl Test for GTK+, and define GTK_CFLAGS and GTK_LIBS, if gthread is specified in MODULES,
dnl pass to pkg-config
dnl
AC_DEFUN([AM_PATH_GTK_2_0],
[dnl
dnl Get the cflags and libraries from pkg-config
dnl
AC_ARG_ENABLE(gtktest, [ --disable-gtktest do not try to compile and run a test GTK+ program],
, enable_gtktest=yes)
pkg_config_args=gtk+-2.0
for module in . $4
do
case "$module" in
gthread)
pkg_config_args="$pkg_config_args gthread-2.0"
;;
esac
done
no_gtk=""
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
if test x$PKG_CONFIG != xno ; then
if pkg-config --atleast-pkgconfig-version 0.7 ; then
:
else
echo "*** pkg-config too old; version 0.7 or better required."
no_gtk=yes
PKG_CONFIG=no
fi
else
no_gtk=yes
fi
min_gtk_version=ifelse([$1], ,2.0.0,$1)
AC_MSG_CHECKING(for GTK+ - version >= $min_gtk_version)
if test x$PKG_CONFIG != xno ; then
## don't try to run the test against uninstalled libtool libs
if $PKG_CONFIG --uninstalled $pkg_config_args; then
echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
enable_gtktest=no
fi
if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
:
else
no_gtk=yes
fi
fi
if test x"$no_gtk" = x ; then
GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
if test "x$enable_gtktest" = "xyes" ; then
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $GTK_CFLAGS"
LIBS="$GTK_LIBS $LIBS"
dnl
dnl Now check if the installed GTK+ is sufficiently new. (Also sanity
dnl checks the results of pkg-config to some extent)
dnl
rm -f conf.gtktest
AC_TRY_RUN([
#include <gtk/gtk.h>
#include <stdio.h>
#include <stdlib.h>
int
main ()
{
int major, minor, micro;
char *tmp_version;
system ("touch conf.gtktest");
/* HP/UX 9 (%@#!) writes to sscanf strings */
tmp_version = g_strdup("$min_gtk_version");
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
printf("%s, bad version string\n", "$min_gtk_version");
exit(1);
}
if ((gtk_major_version != $gtk_config_major_version) ||
(gtk_minor_version != $gtk_config_minor_version) ||
(gtk_micro_version != $gtk_config_micro_version))
{
printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
$gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
gtk_major_version, gtk_minor_version, gtk_micro_version);
printf ("*** was found! If pkg-config was correct, then it is best\n");
printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
printf("*** required on your system.\n");
printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
printf("*** to point to the correct configuration files\n");
}
else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
(gtk_minor_version != GTK_MINOR_VERSION) ||
(gtk_micro_version != GTK_MICRO_VERSION))
{
printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
printf("*** library (version %d.%d.%d)\n",
gtk_major_version, gtk_minor_version, gtk_micro_version);
}
else
{
if ((gtk_major_version > major) ||
((gtk_major_version == major) && (gtk_minor_version > minor)) ||
((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
{
return 0;
}
else
{
printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
gtk_major_version, gtk_minor_version, gtk_micro_version);
printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
major, minor, micro);
printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
printf("***\n");
printf("*** If you have already installed a sufficiently new version, this error\n");
printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
printf("*** being found. The easiest way to fix this is to remove the old version\n");
printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
printf("*** correct copy of pkg-config. (In this case, you will have to\n");
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
printf("*** so that the correct libraries are found at run-time))\n");
}
}
return 1;
}
],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
if test "x$no_gtk" = x ; then
AC_MSG_RESULT(yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version))
ifelse([$2], , :, [$2])
else
AC_MSG_RESULT(no)
if test "$PKG_CONFIG" = "no" ; then
echo "*** A new enough version of pkg-config was not found."
echo "*** See http://pkgconfig.sourceforge.net"
else
if test -f conf.gtktest ; then
:
else
echo "*** Could not run GTK+ test program, checking why..."
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $GTK_CFLAGS"
LIBS="$LIBS $GTK_LIBS"
AC_TRY_LINK([
#include <gtk/gtk.h>
#include <stdio.h>
], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
[ echo "*** The test program compiled, but did not run. This usually means"
echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
echo "*** to the installed location Also, make sure you have run ldconfig if that"
echo "*** is required on your system"
echo "***"
echo "*** If you have an old version installed, it is best to remove it, although"
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
[ echo "*** The test program failed to compile or link. See the file config.log for the"
echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
GTK_CFLAGS=""
GTK_LIBS=""
ifelse([$3], , :, [$3])
fi
AC_SUBST(GTK_CFLAGS)
AC_SUBST(GTK_LIBS)
rm -f conf.gtktest
])

194
build/aclocal/gtk.m4 Normal file
View File

@@ -0,0 +1,194 @@
# Configure paths for GTK+
# Owen Taylor 97-11-3
dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS
dnl
AC_DEFUN([AM_PATH_GTK],
[dnl
dnl Get the cflags and libraries from the gtk-config script
dnl
AC_ARG_WITH(gtk-prefix,[ --with-gtk-prefix=PFX Prefix where GTK is installed (optional)],
gtk_config_prefix="$withval", gtk_config_prefix="")
AC_ARG_WITH(gtk-exec-prefix,[ --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)],
gtk_config_exec_prefix="$withval", gtk_config_exec_prefix="")
AC_ARG_ENABLE(gtktest, [ --disable-gtktest Do not try to compile and run a test GTK program],
, enable_gtktest=yes)
for module in . $4
do
case "$module" in
gthread)
gtk_config_args="$gtk_config_args gthread"
;;
esac
done
if test x$gtk_config_exec_prefix != x ; then
gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
if test x${GTK_CONFIG+set} != xset ; then
GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
fi
fi
if test x$gtk_config_prefix != x ; then
gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
if test x${GTK_CONFIG+set} != xset ; then
GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
fi
fi
AC_PATH_PROG(GTK_CONFIG, gtk-config, no)
min_gtk_version=ifelse([$1], ,0.99.7,$1)
AC_MSG_CHECKING(for GTK - version >= $min_gtk_version)
no_gtk=""
if test "$GTK_CONFIG" = "no" ; then
no_gtk=yes
else
GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
if test "x$enable_gtktest" = "xyes" ; then
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $GTK_CFLAGS"
LIBS="$GTK_LIBS $LIBS"
dnl
dnl Now check if the installed GTK is sufficiently new. (Also sanity
dnl checks the results of gtk-config to some extent
dnl
rm -f conf.gtktest
AC_TRY_RUN([
#include <gtk/gtk.h>
#include <stdio.h>
#include <stdlib.h>
int
main ()
{
int major, minor, micro;
char *tmp_version;
system ("touch conf.gtktest");
/* HP/UX 9 (%@#!) writes to sscanf strings */
tmp_version = g_strdup("$min_gtk_version");
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
printf("%s, bad version string\n", "$min_gtk_version");
exit(1);
}
if ((gtk_major_version != $gtk_config_major_version) ||
(gtk_minor_version != $gtk_config_minor_version) ||
(gtk_micro_version != $gtk_config_micro_version))
{
printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
$gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
gtk_major_version, gtk_minor_version, gtk_micro_version);
printf ("*** was found! If gtk-config was correct, then it is best\n");
printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
printf("*** required on your system.\n");
printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
printf("*** before re-running configure\n");
}
#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
(gtk_minor_version != GTK_MINOR_VERSION) ||
(gtk_micro_version != GTK_MICRO_VERSION))
{
printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
printf("*** library (version %d.%d.%d)\n",
gtk_major_version, gtk_minor_version, gtk_micro_version);
}
#endif /* defined (GTK_MAJOR_VERSION) ... */
else
{
if ((gtk_major_version > major) ||
((gtk_major_version == major) && (gtk_minor_version > minor)) ||
((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
{
return 0;
}
else
{
printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
gtk_major_version, gtk_minor_version, gtk_micro_version);
printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
major, minor, micro);
printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
printf("***\n");
printf("*** If you have already installed a sufficiently new version, this error\n");
printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
printf("*** being found. The easiest way to fix this is to remove the old version\n");
printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
printf("*** correct copy of gtk-config. (In this case, you will have to\n");
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
printf("*** so that the correct libraries are found at run-time))\n");
}
}
return 1;
}
],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
if test "x$no_gtk" = x ; then
AC_MSG_RESULT(yes)
ifelse([$2], , :, [$2])
else
AC_MSG_RESULT(no)
if test "$GTK_CONFIG" = "no" ; then
echo "*** The gtk-config script installed by GTK could not be found"
echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
echo "*** your path, or set the GTK_CONFIG environment variable to the"
echo "*** full path to gtk-config."
else
if test -f conf.gtktest ; then
:
else
echo "*** Could not run GTK test program, checking why..."
CFLAGS="$CFLAGS $GTK_CFLAGS"
LIBS="$LIBS $GTK_LIBS"
AC_TRY_LINK([
#include <gtk/gtk.h>
#include <stdio.h>
], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
[ echo "*** The test program compiled, but did not run. This usually means"
echo "*** that the run-time linker is not finding GTK or finding the wrong"
echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
echo "*** to the installed location Also, make sure you have run ldconfig if that"
echo "*** is required on your system"
echo "***"
echo "*** If you have an old version installed, it is best to remove it, although"
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
echo "***"
echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
echo "*** came with the system with the command"
echo "***"
echo "*** rpm --erase --nodeps gtk gtk-devel" ],
[ echo "*** The test program failed to compile or link. See the file config.log for the"
echo "*** exact error that occured. This usually means GTK was incorrectly installed"
echo "*** or that you have moved GTK since it was installed. In the latter case, you"
echo "*** may want to edit the gtk-config script: $GTK_CONFIG" ])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
GTK_CFLAGS=""
GTK_LIBS=""
ifelse([$3], , :, [$3])
fi
AC_SUBST(GTK_CFLAGS)
AC_SUBST(GTK_LIBS)
rm -f conf.gtktest
])

156
build/aclocal/pkg.m4 Normal file
View File

@@ -0,0 +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.
# 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
# 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])
# _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
# _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
# 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
ifelse([$4], , [AC_MSG_ERROR(dnl
[Package requirements ($2) were not met:
$$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

181
build/aclocal/sdl.m4 Normal file
View File

@@ -0,0 +1,181 @@
# Configure paths for SDL
# Sam Lantinga 9/21/99
# stolen from Manish Singh
# stolen back from Frank Belew
# stolen from Manish Singh
# Shamelessly stolen from Owen Taylor
dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS
dnl
AC_DEFUN([AM_PATH_SDL],
[dnl
dnl Get the cflags and libraries from the sdl-config script
dnl
AC_ARG_WITH(sdl-prefix,[ --with-sdl-prefix=PFX Prefix where SDL is installed (optional)],
sdl_prefix="$withval", sdl_prefix="")
AC_ARG_WITH(sdl-exec-prefix,[ --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)],
sdl_exec_prefix="$withval", sdl_exec_prefix="")
AC_ARG_ENABLE(sdltest, [ --disable-sdltest Do not try to compile and run a test SDL program],
, 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
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
fi
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)
no_sdl=""
if test "$SDL_CONFIG" = "no" ; then
no_sdl=yes
else
SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
if test "x$enable_sdltest" = "xyes" ; then
ac_save_CFLAGS="$CFLAGS"
ac_save_CXXFLAGS="$CXXFLAGS"
ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $SDL_CFLAGS"
CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
LIBS="$LIBS $SDL_LIBS"
dnl
dnl Now check if the installed SDL is sufficiently new. (Also sanity
dnl checks the results of sdl-config to some extent
dnl
rm -f conf.sdltest
AC_TRY_RUN([
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "SDL.h"
char*
my_strdup (char *str)
{
char *new_str;
if (str)
{
new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
strcpy (new_str, str);
}
else
new_str = NULL;
return new_str;
}
int main (int argc, char *argv[])
{
int major, minor, micro;
char *tmp_version;
/* This hangs on some systems (?)
system ("touch conf.sdltest");
*/
{ FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
/* HP/UX 9 (%@#!) writes to sscanf strings */
tmp_version = my_strdup("$min_sdl_version");
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
printf("%s, bad version string\n", "$min_sdl_version");
exit(1);
}
if (($sdl_major_version > major) ||
(($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
(($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
{
return 0;
}
else
{
printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
printf("*** best to upgrade to the required version.\n");
printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
printf("*** to point to the correct copy of sdl-config, and remove the file\n");
printf("*** config.cache before re-running configure\n");
return 1;
}
}
],, no_sdl=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
CFLAGS="$ac_save_CFLAGS"
CXXFLAGS="$ac_save_CXXFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
if test "x$no_sdl" = x ; then
AC_MSG_RESULT(yes)
ifelse([$2], , :, [$2])
else
AC_MSG_RESULT(no)
if test "$SDL_CONFIG" = "no" ; then
echo "*** The sdl-config script installed by SDL could not be found"
echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
echo "*** your path, or set the SDL_CONFIG environment variable to the"
echo "*** full path to sdl-config."
else
if test -f conf.sdltest ; then
:
else
echo "*** Could not run SDL test program, checking why..."
CFLAGS="$CFLAGS $SDL_CFLAGS"
CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
LIBS="$LIBS $SDL_LIBS"
AC_TRY_LINK([
#include <stdio.h>
#include "SDL.h"
int main(int argc, char *argv[])
{ return 0; }
#undef main
#define main K_and_R_C_main
], [ return 0; ],
[ echo "*** The test program compiled, but did not run. This usually means"
echo "*** that the run-time linker is not finding SDL or finding the wrong"
echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
echo "*** to the installed location Also, make sure you have run ldconfig if that"
echo "*** is required on your system"
echo "***"
echo "*** If you have an old version installed, it is best to remove it, although"
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"],
[ echo "*** The test program failed to compile or link. See the file config.log for the"
echo "*** exact error that occured. This usually means SDL was incorrectly installed"
echo "*** or that you have moved SDL since it was installed. In the latter case, you"
echo "*** may want to edit the sdl-config script: $SDL_CONFIG" ])
CFLAGS="$ac_save_CFLAGS"
CXXFLAGS="$ac_save_CXXFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
SDL_CFLAGS=""
SDL_LIBS=""
ifelse([$3], , :, [$3])
fi
AC_SUBST(SDL_CFLAGS)
AC_SUBST(SDL_LIBS)
rm -f conf.sdltest
])

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

66
build/autogen.mk Normal file
View File

@@ -0,0 +1,66 @@
# Created: 2005/03/12
# Author: David Elliott
# Usage Example:
# make -f build/autogen.mk ACLOCAL=aclocal-1.9
# This is a simple Makefile to update the UNIX build system in such a
# way that doing a cvs diff on its output files should reveal only the
# true changes, not meaningless differences due to slightly different
# autoconf or aclocal m4 files.
# For aclocal: All necessary m4 files are located in the build/aclocal
# directory. Running aclocal -I build/aclocal when using aclocal 1.9
# will result in an aclocal.m4 which uses m4_include for these files.
ACLOCAL=aclocal
AUTOCONF=autoconf
BAKEFILE_GEN=bakefile_gen
AUTOHACKS_PREPEND_INCLUDE_DIR=build/autoconf_prepend-include
# configure depends on everything else so this will build everything.
.PHONY: all
all: configure
.PHONY: autoconf_m4f
# Invoke make on wxAutohacks dir, but don't fail if it's not present
autoconf_m4f:
-make -C $(AUTOHACKS_PREPEND_INCLUDE_DIR)
BAKEFILES=\
build/bakefiles/wx.bkl \
build/bakefiles/common.bkl \
build/bakefiles/files.bkl \
build/bakefiles/monolithic.bkl \
build/bakefiles/multilib.bkl \
build/bakefiles/opengl.bkl \
build/bakefiles/plugins.bkl \
build/bakefiles/build_cfg.bkl
# Run bakefile-gen (which generates everything) whenever a bakefile is newer
# than Makefile.in or autoconf_inc.m4.
# This dep is obviously wrong but probably close enough
autoconf_inc.m4 Makefile.in: $(BAKEFILES)
cd build/bakefiles && \
$(BAKEFILE_GEN) -f autoconf
# Run configure whenever configure.in, aclocal.m4 or autoconf_inc.m4 is updated
# Depend on our custom autoconf.m4f
configure: configure.in aclocal.m4 autoconf_inc.m4 autoconf_m4f
$(AUTOCONF) -B $(AUTOHACKS_PREPEND_INCLUDE_DIR)
ACLOCAL_SOURCES = \
build/aclocal/bakefile.m4 \
build/aclocal/bakefile-lang.m4 \
build/aclocal/cppunit.m4 \
build/aclocal/gst-element-check.m4 \
build/aclocal/gtk-2.0.m4 \
build/aclocal/gtk.m4 \
build/aclocal/pkg.m4 \
build/aclocal/sdl.m4
# Run aclocal whenever acinclude or one of our local m4s is updated.
aclocal.m4: configure.in acinclude.m4 $(ACLOCAL_SOURCES)
$(ACLOCAL) -I build/aclocal

View File

@@ -0,0 +1,2 @@
.bakefile_gen.state
Bakefiles.local.bkgen

View File

@@ -0,0 +1,270 @@
<?xml version="1.0" ?>
<!-- $Id$ -->
<bakefile-gen>
<!--
Formats listed here are not generated by default. To enable them, either
remove them from the <disable-formats> directive below or create
Bakefiles.local.bkgen file in this directory and add <enable-formats>
into it:
<?xml version="1.0" ?>
<bakefile-gen>
<enable-formats>dmars</enable-formats>
</bakefile-gen>
Reasons why these formats are disabled (and so not in CVS):
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,msevc4prj,cbx_unix,cbuilderx</disable-formats>
<!-- These wildcards match all .bkl files in wxWidgets tree: -->
<input>
wx.bkl
../../contrib/build/*/*.bkl
../../samples/*.bkl
../../samples/*/*.bkl
../../samples/*/*/*.bkl
../../demos/*.bkl
../../demos/*/*.bkl
../../demos/*/*/*.bkl
../../utils/*.bkl
../../utils/*/*.bkl
../../utils/*/*/*.bkl
../../contrib/samples/*.bkl
../../contrib/samples/*/*.bkl
../../contrib/samples/*/*/*.bkl
../../contrib/utils/*/*.bkl
../../tests/*.bkl
</input>
<!-- List of output formats to generate: -->
<add-formats>
autoconf,borland,dmars_smake,dmars,mingw,msvc,msvc6prj,msevc4prj,watcom,cbuilderx,cbx_unix
</add-formats>
<del-formats files="../../samples/*.bkl">
autoconf,msvc6prj,msevc4prj,msvs2005prj,cbuilderx,cbx_unix
</del-formats>
<del-formats files="../../demos/*.bkl">
msvc6prj,msevc4prj,msvs2005prj,cbuilderx,cbx_unix
</del-formats>
<del-formats files="../../samples/html/html_samples.bkl">
msvc6prj,msevc4prj,msvs2005prj,cbuilderx,cbx_unix
</del-formats>
<del-formats files="../../samples/mobile/mobile_samples.bkl">
msvc6prj,msevc4prj,msvs2005prj,cbuilderx,cbx_unix
</del-formats>
<del-formats files="../../samples/opengl/opengl_samples.bkl">
msvc6prj,msevc4prj,msvs2005prj,cbuilderx,cbx_unix
</del-formats>
<del-formats files="../../utils/*.bkl">
msvc6prj,msevc4prj,msvs2005prj,cbuilderx,cbx_unix
</del-formats>
<!-- WinCE can't have console apps: -->
<del-formats files="../../samples/console/*">msevc4prj</del-formats>
<del-formats files="../../utils/HelpGen/src/*">msevc4prj</del-formats>
<del-formats files="../../utils/wxrc/*">msevc4prj</del-formats>
<del-formats files="../../contrib/utils/wxrc/*">msevc4prj</del-formats>
<del-formats files="../../tests/*">msevc4prj</del-formats>
<!-- HtmlCtrl sample is Cocoa only (autoconf format) -->
<del-formats files="../../samples/html/htmlctrl/htmlctrl.bkl">
borland,dmars_smake,dmars,mingw,msvc,msvc6prj,msevc4prj,msvs2005prj,watcom,cbuilderx,cbx_unix
</del-formats>
<!-- Default flags (for all formats and bakefiles): -->
<add-flags>-Iformats</add-flags>
<!-- Directories where the files go: -->
<add-flags files="wx.bkl" formats="autoconf">
-o../../Makefile.in
</add-flags>
<add-flags files="wx.bkl" formats="borland">
-o../msw/makefile.bcc
</add-flags>
<add-flags files="wx.bkl" formats="dmars_smake">
-o../msw/makefile.dms
</add-flags>
<add-flags files="wx.bkl" formats="dmars">
-o../msw/makefile.dmc
</add-flags>
<add-flags files="wx.bkl" formats="mingw">
-o../msw/makefile.gcc
</add-flags>
<add-flags files="wx.bkl" formats="msvc">
-o../msw/makefile.vc
</add-flags>
<add-flags files="wx.bkl" formats="watcom">
-o../msw/makefile.wat
</add-flags>
<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>
<add-flags files="wx.bkl" formats="cbuilderx">
-o../../wx.cbx
</add-flags>
<add-flags files="../../contrib/build/*/*.bkl" formats="autoconf">
-o../../contrib/src/$(INPUT_FILE_BASENAME_NOEXT)/Makefile.in
</add-flags>
<add-flags files="../../contrib/build/*/*.bkl" formats="cbx_unix">
-o../../contrib/src/$(INPUT_FILE_BASENAME_NOEXT)/$(INPUT_FILE_BASENAME_NOEXT)Unix.cbx
</add-flags>
<!-- FIXME: don't do this once it is possible (new CBX version) -->
<add-flags files="../../contrib/build/*/*.bkl" formats="cbuilderx">
-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,msvs2005prj">
-DSRCDIR=../../src/$(INPUT_FILE_BASENAME_NOEXT)
</add-flags>
<!-- Format specific settings: -->
<add-flags formats="autoconf">
-DAUTOCONF_MACROS_FILE=../../autoconf_inc.m4
</add-flags>
<add-formats files="wx.bkl">rpmspec</add-formats>
<!-- Makefile specific settings: -->
<add-flags formats="borland,dmars_smake,dmars,mingw,msvc,watcom">
-DWRITE_OPTIONS_FILE=0
</add-flags>
<del-flags files="wx.bkl">
-DWRITE_OPTIONS_FILE=0
</del-flags>
<add-flags files="wx.bkl" formats="borland">
-DOPTIONS_FILE=config.bcc
</add-flags>
<add-flags files="wx.bkl" formats="dmars_smake">
-DOPTIONS_FILE=config.dms
</add-flags>
<add-flags files="wx.bkl" formats="dmars">
-DOPTIONS_FILE=config.dmc
</add-flags>
<add-flags files="wx.bkl" formats="mingw">
-DOPTIONS_FILE=config.gcc
</add-flags>
<add-flags files="wx.bkl" formats="msvc">
-DOPTIONS_FILE=config.vc
</add-flags>
<add-flags files="wx.bkl" formats="watcom">
-DOPTIONS_FILE=config.wat
</add-flags>
<add-flags files="../../*/*">-DWXTOPDIR=../</add-flags>
<add-flags files="../../*/*/*">-DWXTOPDIR=../../</add-flags>
<add-flags files="../../*/*/*/*">-DWXTOPDIR=../../../</add-flags>
<add-flags files="../../*/*/*/*/*">-DWXTOPDIR=../../../../</add-flags>
<add-flags files="../../*/*" formats="borland">
-DOPTIONS_FILE=../build/msw/config.bcc
</add-flags>
<add-flags files="../../*/*" formats="dmars_smake">
-DOPTIONS_FILE=../build/msw/config.dms
</add-flags>
<add-flags files="../../*/*" formats="dmars">
-DOPTIONS_FILE=../build/msw/config.dmc
</add-flags>
<add-flags files="../../*/*" formats="mingw">
-DOPTIONS_FILE=../build/msw/config.gcc
</add-flags>
<add-flags files="../../*/*" formats="msvc">
-DOPTIONS_FILE=../build/msw/config.vc
</add-flags>
<add-flags files="../../*/*" formats="watcom">
-DOPTIONS_FILE=../build/msw/config.wat
</add-flags>
<add-flags files="../../*/*/*" formats="borland">
-DOPTIONS_FILE=../../build/msw/config.bcc
</add-flags>
<add-flags files="../../*/*/*" formats="dmars_smake">
-DOPTIONS_FILE=../../build/msw/config.dms
</add-flags>
<add-flags files="../../*/*/*" formats="dmars">
-DOPTIONS_FILE=../../build/msw/config.dmc
</add-flags>
<add-flags files="../../*/*/*" formats="mingw">
-DOPTIONS_FILE=../../build/msw/config.gcc
</add-flags>
<add-flags files="../../*/*/*" formats="msvc">
-DOPTIONS_FILE=../../build/msw/config.vc
</add-flags>
<add-flags files="../../*/*/*" formats="watcom">
-DOPTIONS_FILE=../../build/msw/config.wat
</add-flags>
<add-flags files="../../*/*/*/*" formats="borland">
-DOPTIONS_FILE=../../../build/msw/config.bcc
</add-flags>
<add-flags files="../../*/*/*/*" formats="dmars_smake">
-DOPTIONS_FILE=../../../build/msw/config.dms
</add-flags>
<add-flags files="../../*/*/*/*" formats="dmars">
-DOPTIONS_FILE=../../../build/msw/config.dmc
</add-flags>
<add-flags files="../../*/*/*/*" formats="mingw">
-DOPTIONS_FILE=../../../build/msw/config.gcc
</add-flags>
<add-flags files="../../*/*/*/*" formats="msvc">
-DOPTIONS_FILE=../../../build/msw/config.vc
</add-flags>
<add-flags files="../../*/*/*/*" formats="watcom">
-DOPTIONS_FILE=../../../build/msw/config.wat
</add-flags>
<add-flags files="../../*/*/*/*/*" formats="borland">
-DOPTIONS_FILE=../../../../build/msw/config.bcc
</add-flags>
<add-flags files="../../*/*/*/*/*" formats="dmars_smake">
-DOPTIONS_FILE=../../../../build/msw/config.dms
</add-flags>
<add-flags files="../../*/*/*/*/*" formats="dmars">
-DOPTIONS_FILE=../../../../build/msw/config.dmc
</add-flags>
<add-flags files="../../*/*/*/*/*" formats="mingw">
-DOPTIONS_FILE=../../../../build/msw/config.gcc
</add-flags>
<add-flags files="../../*/*/*/*/*" formats="msvc">
-DOPTIONS_FILE=../../../../build/msw/config.vc
</add-flags>
<add-flags files="../../*/*/*/*/*" formats="watcom">
-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"/>
</bakefile-gen>

43
build/bakefiles/README Normal file
View File

@@ -0,0 +1,43 @@
This directory contains Bakefile (see http://bakefile.sourceforge.net)
files needed to generate native makefiles for wxWidgets library, contrib and
samples.
Use the bakefile_gen utility to regenerate the makefiles (run it in this
directory!). If you run it with no arguments, it will generate all makefiles
that are not up to date.
Use "bakefile_gen -c" to clean generated files.
You can generate or clean only subset of files by specifying -f or -b flags
when invoking bakefile_gen. For example, "bakefile_gen -fborland,watcom" will
only regenerate Borland C++ and OpenWatcom makefiles. -b flag limits
regeneration only to specified bakefiles. For example,
"bakefile_gen -b wx.bkl" will only regenerate main library makefiles.
"bakefile_gen -b "../../samples/html/*/*.bkl" will regenerate makefiles for
all wxHTML samples. -b and -f can be combined.
You can customize the process of generating makefiles by adding file
Bakefiles.local.bkgen (same format as Bakefiles.bkgen) with further settings.
For example, you may disable output for compilers you don't use:
<?xml version="1.0" ?>
<bakefile-gen>
<disable-formats>msvc,msvc6prj</disable-formats>
</bakefile-gen>
Note: bakefile_gen creates file .bakefile_gen.state with dependencies
information. This file can be safely deleted, but it contains valuable
information that speed up regeneration process.
Note: the following files are generated using bakefile_gen:
* build/msw/*
* contrib/build/* (except .bkl files)
* makefiles with same names as makefiles in above dirs, Makefile.in files
that contain "This makefile was generated by Bakefile" banner and
VC++ project files in samples, demos and utils directories (inc. contrib
ones)
* src/wxWindows.dsp
* {wxGTK,wxMotif,wxX11}.spec (only wxBase headers list)
* autoconf_inc.m4
* all Makefile.in files
(hopefully I didn't forget anything - VS)

View File

@@ -0,0 +1,59 @@
<?xml version="1.0" ?>
<!-- $Id$ -->
<makefile>
<!--
Generate build.cfg file on Windows, with settings used to build
the library.
-->
<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">
$(SETUPHDIR)$(DIRSEP)build.cfg
</set>
<action id="build_cfg_file">
<is-phony>1</is-phony>
<dependency-of>all</dependency-of>
<depends>libdir_setup</depends>
<command>
@echo WXVER_MAJOR=$(WXVER_MAJOR) >$(BUILD_CFG_FILE)
@echo WXVER_MINOR=$(WXVER_MINOR) >>$(BUILD_CFG_FILE)
@echo WXVER_RELEASE=$(WXVER_RELEASE) >>$(BUILD_CFG_FILE)
@echo BUILD=$(BUILD) >>$(BUILD_CFG_FILE)
@echo MONOLITHIC=$(MONOLITHIC) >>$(BUILD_CFG_FILE)
@echo SHARED=$(SHARED) >>$(BUILD_CFG_FILE)
@echo UNICODE=$(UNICODE) >>$(BUILD_CFG_FILE)
@echo WXUNIV=$(WXUNIV) >>$(BUILD_CFG_FILE)
@echo CFG=$(CFG) >>$(BUILD_CFG_FILE)
@echo VENDOR=$(VENDOR) >>$(BUILD_CFG_FILE)
@echo OFFICIAL_BUILD=$(OFFICIAL_BUILD) >>$(BUILD_CFG_FILE)
@echo DEBUG_FLAG=$(DEBUG_FLAG) >>$(BUILD_CFG_FILE)
@echo DEBUG_INFO=$(DEBUG_INFO) >>$(BUILD_CFG_FILE)
@echo RUNTIME_LIBS=$(RUNTIME_LIBS) >>$(BUILD_CFG_FILE)
@echo MSLU=$(MSLU) >>$(BUILD_CFG_FILE)
@echo USE_EXCEPTIONS=$(USE_EXCEPTIONS) >>$(BUILD_CFG_FILE)
@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)
@echo CFLAGS=$(CFLAGS) >>$(BUILD_CFG_FILE)
@echo CPPFLAGS=$(CPPFLAGS) >>$(BUILD_CFG_FILE)
@echo CXXFLAGS=$(CXXFLAGS) >>$(BUILD_CFG_FILE)
@echo LDFLAGS=$(LDFLAGS) >>$(BUILD_CFG_FILE)
</command>
</action>
</if>
</makefile>

773
build/bakefiles/common.bkl Normal file
View File

@@ -0,0 +1,773 @@
<?xml version="1.0" ?>
<!-- $Id$ -->
<makefile>
<requires version="0.2.1"/>
<!-- bakefile modules we need: -->
<using module="datafiles"/>
<!-- load python module with wxwindows helpers: -->
<using module="wxwin"/>
<!-- DFE: Add a platform meaning regular MacOS (not OS X) -->
<!-- FIXME: This will be handled in Bakefile but for now I wanted to
get my changes to the wx bakefiles in the tree but invisible to
windows toolkits and their config.xxx settings -->
<if cond="FORMAT=='autoconf'">
<option name="PLATFORM_MACOS"/>
</if>
<if cond="FORMAT!='autoconf'">
<set var="PLATFORM_MACOS">0</set>
</if>
<!-- FIXME: PalmOS is another candidate to bakefiles -->
<set var="PLATFORM_PALMOS">0</set>
<include file="config.bkl"/>
<include file="plugins_deps.bkl"/>
<!-- wxWidgets version numbers logic: -->
<include file="version.bkl"/>
<!-- ================================================================== -->
<!-- Names of libraries and DLLs: -->
<!-- ================================================================== -->
<set var="PORTNAME">
<if cond="USE_GUI=='0'">base</if>
<if cond="USE_GUI=='1'">$(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)</if>
</set>
<set var="WXBASEPORT">
<if cond="TOOLKIT=='MAC'">_carbon</if>
</set>
<set var="COMPILERORGCC">
<if cond="isdefined('COMPILER')">$(COMPILER)</if>
<if cond="not isdefined('COMPILER')">gcc</if>
</set>
<set var="WXCOMPILER">
<if cond="PLATFORM_WIN32=='1'">_$(COMPILERORGCC)</if>
</set>
<set var="VENDORTAG">
<if cond="PLATFORM_WIN32=='1' and OFFICIAL_BUILD=='1'"></if>
<if cond="PLATFORM_WIN32=='1' and OFFICIAL_BUILD=='0'">_$(VENDOR)</if>
</set>
<set var="WXDEBUGFLAG">
<if cond="BUILD=='debug' and DEBUG_FLAG=='default'">d</if>
<if cond="DEBUG_FLAG=='1'">d</if>
</set>
<set var="WXUNICODEFLAG">
<!-- WinCE is Unicode-only platform: -->
<if cond="UNICODE=='1' and FORMAT!='msevc4prj'">u</if>
</set>
<set var="WXNAMESUFFIX">
$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
</set>
<set var="WXUNIVNAME">
<if cond="WXUNIV=='1'">univ</if>
</set>
<set var="WXUNIV_DEFINE">
<if cond="WXUNIV=='1'">__WXUNIVERSAL__</if>
</set>
<if cond="FORMAT=='autoconf'">
<set var="WXNAMEPREFIX">wx_base$(WXBASEPORT)</set>
<set var="WXNAMEPREFIXGUI">wx_$(PORTNAME)$(WXUNIVNAME)</set>
<set var="WXVERSIONTAG">-$(WX_RELEASE)</set>
</if>
<if cond="FORMAT!='autoconf'">
<set var="WXNAMEPREFIX">
wxbase$(WXBASEPORT)$(WX_RELEASE_NODOT)
</set>
<set var="WXNAMEPREFIXGUI">
wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)</set>
<set var="WXVERSIONTAG"></set>
</if>
<set var="WXDLLNAMEPREFIX">
<if cond="PLATFORM_WIN32=='1'">
wxbase$(WXBASEPORT)$(WXWIN32DLLVERSION)
</if>
<if cond="PLATFORM_WIN32=='0'">$(WXNAMEPREFIX)</if>
</set>
<set var="WXDLLNAMEPREFIXGUI">
<if cond="PLATFORM_WIN32=='1'">
wx$(PORTNAME)$(WXUNIVNAME)$(WXWIN32DLLVERSION)
</if>
<if cond="PLATFORM_WIN32=='0'">$(WXNAMEPREFIXGUI)</if>
</set>
<set var="WXDLLVERSIONTAG">
<if cond="PLATFORM_WIN32=='1'"></if>
<if cond="PLATFORM_WIN32=='0'">$(WXVERSIONTAG)</if>
</set>
<!-- =============================================================== -->
<!-- Names of component libraries: -->
<!-- =============================================================== -->
<set var="WXLIB_BASE">
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('base')))</if>
</set>
<set var="WXLIB_NET">
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('net')))</if>
</set>
<set var="WXLIB_QA">
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('qa')))</if>
</set>
<set var="WXLIB_CORE">
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('core')))</if>
</set>
<set var="WXLIB_ADV">
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('adv')))</if>
</set>
<set var="WXLIB_MEDIA">
<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>
</set>
<set var="WXLIB_XML">
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('xml')))</if>
</set>
<set var="WXLIB_XRC">
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('xrc')))</if>
</set>
<set var="WXLIB_ODBC">
<if cond="MONOLITHIC=='0' and USE_ODBC=='1'">
$(mk.evalExpr(wxwin.mkLibName('odbc')))
</if>
</set>
<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>
</set>
<!-- =============================================================== -->
<!-- Where to store built libraries and objects: -->
<!-- =============================================================== -->
<set var="DIR_SUFFIX_CPU">
<if cond="FORMAT=='msevc4prj'">_$(CPU)</if>
<if cond="TARGET_CPU=='amd64'">_amd64</if>
<if cond="TARGET_CPU=='AMD64'">_amd64</if>
<if cond="TARGET_CPU=='ia64'">_ia64</if>
<if cond="TARGET_CPU=='IA64'">_ia64</if>
</set>
<if cond="FORMAT!='autoconf'">
<set var="WXDLLFLAG">
<if cond="SHARED=='1'">dll</if>
</set>
<set var="CFG_NAME_PART">
$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
</set>
<set var="OBJS" make_var="1">
<if cond="FORMAT!='cbuilderx'">
$(COMPILER)_$(CFG_NAME_PART)$(DIR_SUFFIX_CPU)
</if>
<!-- FIXME: waiting for removal after CBX has better ../ dirs
support -->
<if cond="FORMAT=='cbuilderx'">build_cbx_$(CFG_NAME_PART)</if>
</set>
<set var="BUILDDIR">$(OBJS)</set>
</if>
<set var="LIBTYPE_SUFFIX" make_var="1">
<if cond="FORMAT!='autoconf' and SHARED=='0' and PLATFORM_WIN32=='1'">lib</if>
<if cond="FORMAT!='autoconf' and SHARED=='1' and PLATFORM_WIN32=='1'">dll</if>
<if cond="FORMAT=='watcom' and SHARED=='0' and PLATFORM_WIN32=='0'">$(TOOLKIT_LOWERCASE)_lib</if>
<if cond="FORMAT=='watcom' and SHARED=='1' and PLATFORM_WIN32=='0'">$(TOOLKIT_LOWERCASE)_dll</if>
</set>
<set var="LIBDIRNAME" make_var="1">
<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>
</set>
<if cond="FORMAT!='autoconf'">
<set var="SETUPHDIR" make_var="1">
$(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
</set>
</if>
<!-- =============================================================== -->
<!-- Templates for libs: -->
<!-- =============================================================== -->
<set var="DEBUGINFO">
<if cond="BUILD=='debug' and DEBUG_INFO=='default'">on</if>
<if cond="DEBUG_INFO=='1'">on</if>
<if cond="BUILD=='release' and DEBUG_INFO=='default'">off</if>
<if cond="DEBUG_INFO=='0'">off</if>
</set>
<set var="DEBUGRUNTIME">
<if cond="DEBUG_RUNTIME_LIBS=='default' and BUILD=='debug'">on</if>
<if cond="DEBUG_RUNTIME_LIBS=='default' and BUILD=='release'">off</if>
<if cond="DEBUG_RUNTIME_LIBS=='0'">off</if>
<if cond="DEBUG_RUNTIME_LIBS=='1'">on</if>
</set>
<set var="OPTIMIZEFLAG">
<if cond="BUILD=='debug'">off</if>
<if cond="BUILD=='release'">speed</if>
</set>
<set var="EXCEPTIONSFLAG">
<if cond="USE_EXCEPTIONS=='1'">on</if>
<if cond="USE_EXCEPTIONS=='0'">off</if>
</set>
<set var="RTTIFLAG">
<if cond="USE_RTTI=='1'">on</if>
<if cond="USE_RTTI=='0'">off</if>
</set>
<set var="THREADSFLAG">
<if cond="USE_THREADS=='1'">multi</if>
<if cond="USE_THREADS=='0'">single</if>
</set>
<set var="RTTI_DEFINE">
<if cond="USE_RTTI=='0'">wxNO_RTTI</if>
</set>
<set var="EXCEPTIONS_DEFINE">
<if cond="USE_EXCEPTIONS=='0'">wxNO_EXCEPTIONS</if>
</set>
<set var="THREAD_DEFINE">
<if cond="USE_THREADS=='0'">wxNO_THREADS</if>
</set>
<set var="DEBUG_DEFINE">
<if cond="FORMAT!='autoconf' and BUILD=='debug' and DEBUG_FLAG=='default'">__WXDEBUG__</if>
<if cond="FORMAT!='autoconf' and DEBUG_FLAG=='1'">__WXDEBUG__</if>
</set>
<!-- does not cover all cases, but better than nothing -->
<set var="NO_VC_CRTDBG">
<if cond="FORMAT=='msvc' and BUILD=='debug' and DEBUG_RUNTIME_LIBS=='0'">__NO_VC_CRTDBG__</if>
<if cond="FORMAT=='msvc' and BUILD=='release' and DEBUG_FLAG=='1'">__NO_VC_CRTDBG__</if>
</set>
<set var="UNICODE_DEFINE">
<if cond="FORMAT!='autoconf' and UNICODE=='1'">_UNICODE</if>
</set>
<set var="MSLU_DEFINE">
<if cond="FORMAT!='autoconf' and MSLU=='1'">wxUSE_UNICODE_MSLU=1</if>
</set>
<!-- fill for the specific case of the format/compiler -->
<set var="WIN32_WINNT">
<if cond="FORMAT=='dmars' or FORMAT=='dmars_smake'">_WIN32_WINNT=0x0400</if>
</set>
<set var="UNICOWS_LIB">
<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>
<if cond="TARGET_CPU=='ia64'">/MACHINE:IA64</if>
<if cond="TARGET_CPU=='IA64'">/MACHINE:IA64</if>
</set>
<template id="common_settings">
<debug-info>$(DEBUGINFO)</debug-info>
<debug-runtime-libs>$(DEBUGRUNTIME)</debug-runtime-libs>
<optimize>$(OPTIMIZEFLAG)</optimize>
<threading>$(THREADSFLAG)</threading>
<runtime-libs>$(RUNTIME_LIBS)</runtime-libs>
<cxx-rtti>$(RTTIFLAG)</cxx-rtti>
<cxx-exceptions>$(EXCEPTIONSFLAG)</cxx-exceptions>
<if cond="FORMAT!='autoconf'">
<cppflags>$(EXTRACFLAGS)</cppflags>
</if>
<define>$(NO_VC_CRTDBG)</define>
<define>$(WIN32_WINNT)</define>
<if cond="FORMAT=='msevc4prj' and
BAKEFILE_VERSION in ['0.1.9'] and
USE_RTTI=='0'">
<!-- hack to make eVC4 2.6.2 project files compatible with what we had in 2.6.1 -->
<set var="_ldlibs">$(_ldlibs.replace('ccrtrtti.lib', ''))</set>
<set var="_cppflags">$(_cppflags.replace('/GR', ''))</set>
</if>
<if cond="FORMAT=='msvc'">
<ldflags>$(LINK_TARGET_CPU)</ldflags>
</if>
<include cond="FORMAT=='msevc4prj'">$(TOP_SRCDIR)build/wince/missing</include>
</template>
<template id="anylib">
<dirname>$(LIBDIRNAME)</dirname>
<install-to>$(LIBDIR)</install-to>
</template>
<template id="3rdparty_lib" template="common_settings,anylib">
<if cond="FORMAT=='autoconf'">
<libname>$(id)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)</libname>
</if>
<if cond="FORMAT!='autoconf'">
<libname>$(id)$(WXDEBUGFLAG)$(HOST_SUFFIX)</libname>
</if>
<!--
we want to install 3rd party libs system-wide only with static
version of wxWidgets; otherwise they are embedded in shared libs:
-->
<install-if>SHARED=='0'</install-if>
<pic>$(substituteFromDict(SHARED, {'0':'off', '1':'on'}))</pic>
</template>
<!-- deal with the need to copy setup.h here: -->
<set var="IS_MSVC_PRJ">
$(FORMAT in ['msvc6prj','msevc4prj','msvs2005prj'])
</set>
<define-tag name="msvc-headers" rules="dll,lib">
<if cond="IS_MSVC_PRJ">
<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
"$(SETUPHDIR)\wx\setup.h" : $(DOLLAR)(SOURCE) "$(DOLLAR)(INTDIR)" "$(DOLLAR)(OUTDIR)"
$(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
</if>
</set>
<define-tag name="msvc-headers-setup-h" rules="dll,lib">
<if cond="IS_MSVC_PRJ">
<msvc-headers>
$(addPrefixToList('wx/', value))
</msvc-headers>
<set var="_custom_build_files" append="1">
$(nativePaths(addPrefixToList('include/wx/', value)))
</set>
</if>
</define-tag>
<define-tag name="msvc-copy-setup-h" rules="dll,lib">
<if cond="IS_MSVC_PRJ">
<if cond="FORMAT=='msevc4prj'">
<msvc-headers-setup-h>
msw/wince/setup.h
</msvc-headers-setup-h>
<set var="_custom_build_include_wx_msw_wince_setup_h">
$(msvc_copy_setup_h_script % 'msw\wince\setup.h')
</set>
</if>
<if cond="FORMAT!='msevc4prj'">
<msvc-headers-setup-h>
msw/setup.h
univ/setup.h
</msvc-headers-setup-h>
<set var="_custom_build_include_wx_msw_setup_h">
<if cond="WXUNIV=='0'">
$(msvc_copy_setup_h_script % 'msw\setup.h')
</if>
</set>
<set var="_custom_build_include_wx_univ_setup_h">
<if cond="WXUNIV=='1'">
$(msvc_copy_setup_h_script % 'univ\setup.h')
</if>
</set>
</if>
</if>
</define-tag>
<define-tag name="msvc-create-rcdefs-h" rules="dll,lib">
<if cond="IS_MSVC_PRJ">
<msvc-headers-setup-h>
msw/genrcdefs.h
</msvc-headers-setup-h>
<!-- FIXME: we need another way to get the compiler name -->
<set var="VC_COMPILER">
<if cond="FORMAT=='msevc4prj'">$(_COMPILER)</if>
<if cond="FORMAT!='msevc4prj'">cl</if>
</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)" "$(SETUPHDIR)\wx\msw"
$(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\rcdefs.h"
</set>
</if>
</define-tag>
<template id="msvc_setup_h">
<msvc-copy-setup-h/>
<msvc-create-rcdefs-h/>
</template>
<!-- =============================================================== -->
<!-- 3rd party libs: -->
<!-- =============================================================== -->
<!-- 3rd party libraries: -->
<include file="regex.bkl"/>
<include file="zlib.bkl"/>
<include file="png.bkl"/>
<include file="jpeg.bkl"/>
<include file="tiff.bkl"/>
<include file="odbc.bkl"/>
<include file="expat.bkl"/>
<!-- =============================================================== -->
<!-- Templates for wxWidgets libs: -->
<!-- =============================================================== -->
<!-- NB: in monolithic build, even wxBase-only must be linked against
GUI extralibs, otherwise there would be unresolved references.
The variables below are defined so that all libs are used
in monolithic build, but not in multilib one. -->
<set var="EXTRALIBS_FOR_BASE">
<if cond="MONOLITHIC=='1'">$(EXTRALIBS) $(EXTRALIBS_GUI)</if>
<if cond="MONOLITHIC=='0'">$(EXTRALIBS)</if>
</set>
<set var="EXTRALIBS_FOR_GUI">
<if cond="MONOLITHIC=='1'"></if>
<if cond="MONOLITHIC=='0'">$(EXTRALIBS_GUI)</if>
</set>
<if cond="TOOLKIT=='MGL' and FORMAT=='watcom'">
<set var="MGLLIBPATH">$(DOLLAR)(%SCITECH)/lib/$(BUILD)/dos32/ow10</set>
<set var="MGLPMLIBPATH">
<if cond="DOS32=='DOS4GW'">dos4gw</if>
</set>
</if>
<template id="wx" template="common_settings">
<set var="wxid">$(wxwin.mk_wxid(id))</set>
<define>__WX$(TOOLKIT)__</define>
<define>$(WXUNIV_DEFINE)</define>
<define>$(DEBUG_DEFINE)</define>
<define>$(EXCEPTIONS_DEFINE)</define>
<define>$(RTTI_DEFINE)</define>
<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>
<if cond="TOOLKIT=='MGL' and FORMAT=='watcom'">
<lib-path>$(MGLLIBPATH)</lib-path>
<lib-path>$(MGLLIBPATH)/$(MGLPMLIBPATH)</lib-path>
</if>
<warnings>max</warnings>
<cppflags-watcom>
-wcd=549 <!-- 'sizeof' operand contains compiler generated information -->
-wcd=656 <!-- define this function inside its class definition (may improve code quality) -->
-wcd=657 <!-- define this function inside its class definition (could have improved code quality) -->
-wcd=667 <!-- 'va_start' macro will not work without an argument before '...' -->
</cppflags-watcom>
<cxxflags-mingw>
-Wno-ctor-dtor-privacy <!-- only defines a private destructor and has no friends -->
</cxxflags-mingw>
</template>
<!-- for both GUI and wxBase libs/samples: -->
<template id="wx_append_base_nomono">
<!-- link against builtin 3rd party libs, if needed: -->
<sys-lib>$(LIB_ZLIB)</sys-lib>
<sys-lib>$(LIB_ODBC)</sys-lib>
<sys-lib>$(LIB_REGEX)</sys-lib>
<sys-lib>$(LIB_EXPAT)</sys-lib>
<ldlibs>$(EXTRALIBS_FOR_BASE)</ldlibs>
<!-- system libraries on os2: -->
<if cond="FORMAT!='autoconf' and PLATFORM_OS2=='1'">
<if cond="FORMAT=='watcom'">
<sys-lib>upm32</sys-lib>
</if>
</if>
<!-- system libraries on mgl: -->
<if cond="FORMAT=='watcom' and TOOLKIT=='MGL'">
<sys-lib>mgl</sys-lib>
<sys-lib>mglcpp</sys-lib>
<sys-lib>pm</sys-lib>
</if>
<!-- 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>
<if cond="FORMAT=='msevc4prj'">
<sys-lib>ole32</sys-lib>
<sys-lib>oleaut32</sys-lib>
<sys-lib>uuid</sys-lib>
<sys-lib>commctrl</sys-lib>
<sys-lib>winsock</sys-lib>
<sys-lib>wininet</sys-lib>
</if>
<if cond="FORMAT!='borland' and FORMAT!='msevc4prj'">
<sys-lib>kernel32</sys-lib>
<sys-lib>user32</sys-lib>
<sys-lib>gdi32</sys-lib>
<sys-lib>comdlg32</sys-lib>
<sys-lib>winspool</sys-lib>
<sys-lib>winmm</sys-lib>
<sys-lib>shell32</sys-lib>
<sys-lib>comctl32</sys-lib>
<sys-lib>ole32</sys-lib>
<sys-lib>oleaut32</sys-lib>
<sys-lib>uuid</sys-lib>
<sys-lib>rpcrt4</sys-lib>
<sys-lib>advapi32</sys-lib>
<sys-lib>wsock32</sys-lib>
</if>
<if cond="FORMAT=='borland'">
<sys-lib>oleacc</sys-lib>
</if>
<if cond="FORMAT!='msevc4prj'">
<sys-lib>odbc32</sys-lib>
</if>
</if>
</template>
<!-- for GUI libs/samples: -->
<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>
<template id="wx_append_base" template_append="wx_append_base_nomono">
<!-- Always link against the wxWin library in monolithic build: -->
<sys-lib>$(WXLIB_MONO)</sys-lib>
</template>
<template id="wx_append" template_append="wx_append_nomono">
<!-- Always link against the wxWin library in monolithic build: -->
<sys-lib>$(WXLIB_MONO)</sys-lib>
</template>
<set var="WX_DISABLE_PRECOMP_HEADERS" overwrite="0">0</set>
<template id="wx_lib_b" template="wx,anylib">
<set var="WXLIBNAME">$(wxwin.mkLibName(wxid))</set>
<libname>$(WXLIBNAME)</libname>
<if cond="WX_DISABLE_PRECOMP_HEADERS=='0'">
<if cond="FORMAT!='autoconf' and TOOLKIT in ['MSW','MGL','PM','WINCE']">
<sources>$(WXTOPDIR)src/common/dummy.cpp</sources>
<precomp-headers-gen>
$(WXTOPDIR)src/common/dummy.cpp
</precomp-headers-gen>
</if>
<precomp-headers-location>$(WXTOPDIR)include</precomp-headers-location>
<precomp-headers-header>wx/wxprec.h</precomp-headers-header>
<precomp-headers>on</precomp-headers>
<precomp-headers-file>wxprec_$(id)</precomp-headers-file>
<precomp-headers-exclude>
src/common/extended.c
</precomp-headers-exclude>
</if>
<if cond="IS_MSVC_PRJ=='1' and BUILDING_LIB=='1'">
<msvc-file-group>Common Sources:src/common/*</msvc-file-group>
<msvc-file-group>MSW Sources:src/msw/*</msvc-file-group>
<msvc-file-group>Generic Sources:src/generic/*</msvc-file-group>
<msvc-file-group>wxUniv Sources:src/univ/*</msvc-file-group>
<msvc-file-group>wxHTML Sources:src/html/*</msvc-file-group>
<msvc-file-group>Setup Headers:*/setup.h</msvc-file-group>
<msvc-file-group>MSW Headers:*wx/msw/*.h</msvc-file-group>
<msvc-file-group>Generic Headers:*wx/generic/*.h</msvc-file-group>
<msvc-file-group>wxUniv Headers:*wx/univ/*.h</msvc-file-group>
<msvc-file-group>wxHTML Headers:*wx/html/*.h</msvc-file-group>
<msvc-file-group>Common Headers:*wx/*.h</msvc-file-group>
</if>
</template>
<if cond="FORMAT=='autoconf'">
<set var="RCDEFDIR">
<if cond="TOOLKIT=='MSW'">
$(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME)
</if>
</set>
</if>
<template id="wx_dll_b" template="wx_lib_b">
<set var="WXDLLNAME">$(wxwin.mkDllName(wxid))</set>
<dllname>$(WXDLLNAME)</dllname>
<version>$(WX_VERSION)</version>
<so_version>$(WXSOVERSION)</so_version>
<!-- FIXME: until libtool scheme is implemented in bakefile -->
<ldflags cond="FORMAT=='autoconf'">$(WXMACVERSION_CMD)</ldflags>
<!-- version info resources: -->
<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>
<template id="wx_3rdparty_dependencies_gui" cond="USE_GUI=='1'">
<depends>wxtiff</depends>
<depends>wxjpeg</depends>
<depends>wxpng</depends>
</template>
<template id="wx_3rdparty_dependencies"
template="wx_3rdparty_dependencies_gui">
<depends>wxexpat</depends>
<depends>wxzlib</depends>
<depends cond="FORMAT=='autoconf'">wxodbc</depends>
<depends>wxregex</depends>
</template>
<template id="wx_3rdparty_includes_gui" cond="USE_GUI=='1'">
<if cond="FORMAT=='watcom' and TOOLKIT=='MGL'">
<include>$(DOLLAR)(%SCITECH)/include</include>
</if>
<include>$(INC_TIFF)</include>
<include>$(INC_JPEG)</include>
<include>$(INC_PNG)</include>
</template>
<template id="wx_3rdparty_includes"
template="wx_3rdparty_includes_gui">
<include>$(INC_ZLIB)</include>
<include>$(INC_ODBC)</include>
<include>$(INC_REGEX)</include>
<include>$(INC_EXPAT)</include>
</template>
<template id="wx_lib"
template="wx_lib_b,wx_3rdparty_includes,msvc_setup_h"/>
<template id="wx_base_lib"
template="wx_lib_b,wx_3rdparty_includes,msvc_setup_h">
<define>wxUSE_GUI=0</define>
</template>
<template id="wx_dll"
template="wx_dll_b,wx_3rdparty_dependencies,wx_3rdparty_includes"
template_append="msvc_setup_h,wx_append_nomono"/>
<template id="wx_base_dll"
template="wx_dll_b,wx_3rdparty_dependencies,wx_3rdparty_includes"
template_append="msvc_setup_h,wx_append_base_nomono">
<define>wxUSE_GUI=0</define>
</template>
<!-- =============================================================== -->
<!-- Templates for building wxWidgets plugins: -->
<!-- =============================================================== -->
<if cond="WX_STABLE_BRANCH=='1'">
<set var="PLUGIN_VERSION0">
<if cond="PLATFORM_UNIX=='1'">$(WX_RELEASE)</if>
<if cond="PLATFORM_UNIX=='0'">$(WX_RELEASE_NODOT)</if>
</set>
</if>
<if cond="WX_STABLE_BRANCH=='0'">
<set var="PLUGIN_VERSION0">
<if cond="PLATFORM_UNIX=='1'">$(WX_VERSION)</if>
<if cond="PLATFORM_UNIX=='0'">$(WX_VERSION_NODOT)</if>
</set>
</if>
<set var="PLUGVERDELIM">
<if cond="PLATFORM_UNIX=='1'">-</if>
<if cond="PLATFORM_UNIX=='0'"></if>
</set>
<set var="PLUGIN_VERSION">$(PLUGVERDELIM)$(PLUGIN_VERSION0)</set>
<set var="PLUGINSUFFIX">
<if cond="UNICODE=='0' and BUILD=='release'"></if>
<if cond="UNICODE=='0' and BUILD=='debug'">d</if>
<if cond="UNICODE=='1' and BUILD=='release'">u</if>
<if cond="UNICODE=='1' and BUILD=='debug'">ud</if>
</set>
<set var="PLUGINS_INST_DIR" make_var="1">
$(LIBDIR)/wx/$(PLUGIN_VERSION0)
</set>
<define-rule name="wx-base-plugin" extends="module">
<template>
<dllname>
$(id)$(PLUGINSUFFIX)$(PLUGIN_VERSION)$(WXCOMPILER)
</dllname>
<define>WXUSINGDLL</define>
<define>wxUSE_GUI=0</define>
<install-to>$(PLUGINS_INST_DIR)</install-to>
</template>
</define-rule>
<define-rule name="wx-gui-plugin" extends="module">
<template template="wx">
<dllname>
$(id)_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(PLUGIN_VERSION)$(WXCOMPILER)
</dllname>
<define>WXUSINGDLL</define>
<install-to>$(PLUGINS_INST_DIR)</install-to>
</template>
</define-rule>
<!-- =============================================================== -->
<!-- Support for wxWidgets samples and contrib: -->
<!-- =============================================================== -->
<!-- Link against one wxWin library. Value must be literal! -->
<define-tag name="wx-lib" rules="exe,dll,module">
<sys-lib>$(wxwin.libToLink(value))</sys-lib>
<ldlibs>$(wxwin.extraLdflags(value))</ldlibs>
<if cond="IS_MSVC_PRJ=='1' and MONOLITHIC=='0'">
<depends-on-dsp>$(wxwin.makeDspDependency(value))</depends-on-dsp>
</if>
</define-tag>
<!-- A hack to keep autoconf happy (we pass CPPFLAGS that contain
{top_srcdir} from configure, poor bakefile can't know that
and won't output top_srcdir = @top_srcdir@ line): -->
<set var="VARS_DONT_ELIMINATE" append="1">top_srcdir</set>
</makefile>

View File

@@ -0,0 +1,50 @@
<?xml version="1.0" ?>
<!-- $Id$ -->
<makefile>
<if cond="not isdefined('file_common_samples_included')">
<include file="common.bkl"/>
</if>
<set var="CONTRIB_HDR_DIR" overwrite="0">$(SRCDIR)/../../include</set>
<!-- =============================================================== -->
<!-- Contrib lib helpers: -->
<!-- =============================================================== -->
<template id="wx_contrib_lib" template="wx_lib_b">
<include>$(CONTRIB_HDR_DIR)</include>
</template>
<if cond="isdefined('file_common_samples_included')">
<template id="wx_contrib_sample" template="wx_sample">
<include>$(CONTRIB_HDR_DIR)</include>
</template>
<template id="wx_contrib_util" template="wx_util">
<include>$(CONTRIB_HDR_DIR)</include>
</template>
</if>
<template id="wx_contrib_dll"
template="wx_dll_b" template_append="wx_append">
<include>$(CONTRIB_HDR_DIR)</include>
</template>
<template id="wx_contrib_headers">
<srcdir>$(CONTRIB_HDR_DIR)</srcdir>
<install-to>$(INCLUDEDIR)/wx-$(WX_RELEASE)$(WX_FLAVOUR)</install-to>
</template>
<!-- Link against one contrib library. Value must be literal! -->
<define-tag name="contrib-lib" rules="exe,dll,module">
<sys-lib>$(wxwin.libToLink(value))</sys-lib>
<ldlibs>$(wxwin.extraLdflags(value))</ldlibs>
<if cond="IS_MSVC_PRJ=='1' and MONOLITHIC=='0'">
<depends-on-dsp>
$(wxwin.makeContribDspDependency(value))
</depends-on-dsp>
</if>
</define-tag>
</makefile>

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" ?>
<!-- $Id$ -->
<makefile>
<set var="file_common_samples_included">1</set>
<if cond="not isdefined('OUT_OF_TREE_MAKEFILES')">
<set var="OUT_OF_TREE_MAKEFILES">0</set>
</if>
<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>

507
build/bakefiles/config.bkl Normal file
View File

@@ -0,0 +1,507 @@
<?xml version="1.0" ?>
<!-- $Id$ -->
<makefile>
<set var="BUILDING_LIB" overwrite="0">0</set>
<set var="CPP_DEFAULT_VALUE">
<if cond="FORMAT=='borland'">
cpp32 -Sr -oCON
</if>
<if cond="FORMAT=='mingw'">
$(DOLLAR)(CC) -E
</if>
<if cond="FORMAT=='msvc'">
$(DOLLAR)(CC) /EP /nologo
</if>
<if cond="FORMAT=='watcom'">
$(DOLLAR)(CC) -p
</if>
</set>
<option name="CPP">
<default-value>
$(CPP_DEFAULT_VALUE)
</default-value>
<description>
The C preprocessor
</description>
</option>
<option name="SHARED">
<values>0,1</values>
<values-description>,DLL</values-description>
<default-value>0</default-value>
<description>
What type of library to build?
</description>
</option>
<option name="WXUNIV">
<values>0,1</values>
<values-description>,Universal</values-description>
<default-value>0</default-value>
<description>
Build wxUniversal instead of native port?
</description>
</option>
<option name="UNICODE">
<values>0,1</values>
<values-description>,Unicode</values-description>
<default-value>0</default-value>
<description>
Compile Unicode build of wxWidgets?
</description>
</option>
<if cond="FORMAT!='autoconf' and FORMAT!='watcom'">
<option name="MSLU">
<values>0,1</values>
<default-value>0</default-value>
<description>
Use MSLU library when building Unicode version.
</description>
</option>
</if>
<if cond="FORMAT=='autoconf' or FORMAT=='watcom'">
<set var="MSLU">0</set>
</if>
<option name="BUILD">
<values>debug,release</values>
<values-description>Debug,Release</values-description>
<default-value>debug</default-value>
<description>
Type of compiled binaries
</description>
</option>
<if cond="FORMAT=='msvc'">
<option name="TARGET_CPU">
<default-value>$(DOLLAR)(CPU)</default-value>
<description>
The target processor architecture must be specified when it is not X86.
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>
<if cond="FORMAT!='msvc'">
<set var="TARGET_CPU"/>
</if>
<!-- 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','msvs2005prj']">1</if>
<if cond="FORMAT not in ['msvc','msvc6prj','msevc4prj','msvs2005prj']">default</if>
</set>
-->
<set var="DEBUG_INFO_DEFAULT">default</set>
<option name="DEBUG_INFO">
<values>0,1,default</values>
<default-value>$(DEBUG_INFO_DEFAULT)</default-value>
<description>
Should debugging info be included in the executables? The default value
"default" means that debug info will be included if BUILD=debug
and not included if BUILD=release.
</description>
</option>
<option name="DEBUG_FLAG">
<values>0,1,default</values>
<default-value>default</default-value>
<description>
Should __WXDEBUG__ be defined? The default value "default" means that it will
be defined if BUILD=debug and not defined if BUILD=release.
</description>
</option>
<if cond="FORMAT=='msvc'">
<option name="DEBUG_RUNTIME_LIBS">
<values>0,1,default</values>
<default-value>default</default-value>
<description>
Should link against debug RTL (msvcrtd.dll) or release (msvcrt.dll)?
Acts according to BUILD by default.
</description>
</option>
</if>
<if cond="FORMAT!='msvc'">
<set var="DEBUG_RUNTIME_LIBS">default</set>
</if>
<set var="MONOLITHIC_DEFAULT">
<if cond="FORMAT=='watcom'">1</if>
<if cond="FORMAT!='watcom'">0</if>
</set>
<option name="MONOLITHIC">
<values>0,1</values>
<values-description>Multilib,Monolithic</values-description>
<default-value>$(MONOLITHIC_DEFAULT)</default-value>
<description>
Multiple libraries or single huge monolithic one?
</description>
</option>
<if cond="FORMAT=='autoconf'"> <!-- FIXME - temporary -->
<option name="USE_PLUGINS">
<values>0,1</values>
<default-value>1</default-value>
<description>
Build parts of the library as dynamically loadable plugins
(only supported in multilib build)?
</description>
</option>
</if>
<if cond="FORMAT!='autoconf'">
<set var="USE_PLUGINS">0</set> <!-- FIXME - temporary -->
</if>
<option name="USE_GUI">
<values>0,1</values>
<values-description>Base,GUI</values-description>
<default-value>1</default-value>
<description>
Build GUI libraries?
</description>
</option>
<option name="USE_HTML">
<values>0,1</values>
<default-value>1</default-value>
<description>
Build wxHTML library (USE_GUI must be 1)?
</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>
<description>
Build wxXRC library (USE_GUI must be 1)?
</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>
<description>
Build OpenGL canvas library (USE_GUI must be 1)?
</description>
</option>
<option name="USE_ODBC">
<values>0,1</values>
<default-value>0</default-value>
<description>
Build ODBC database classes (USE_GUI must be 1)?
</description>
</option>
<!-- currently only VC++ can compile wxDebugReport which is in QA lib -->
<set var="USE_QA_DEFAULT">
<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>
<description>
Build quality assurance classes library (USE_GUI must be 1)?
</description>
</option>
<option name="USE_EXCEPTIONS">
<values>0,1</values>
<default-value>1</default-value>
<description>
Enable exceptions in compiled code.
</description>
</option>
<option name="USE_RTTI">
<values>0,1</values>
<default-value>1</default-value>
<description>
Enable run-time type information (RTTI) in compiled code.
</description>
</option>
<option name="USE_THREADS">
<values>0,1</values>
<default-value>1</default-value>
<description>
Enable threading in compiled code.
</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>
<description>
Is this official build by wxWidgets developers?
</description>
</option>
<option name="VENDOR">
<default-value>custom</default-value>
<description>
Use this to name your customized DLLs differently
</description>
</option>
<!-- These basically do what vendor does in the places it didn't. -->
<!-- They should all be unified under some suitable descriptor -->
<option name="WX_FLAVOUR">
<default-value></default-value>
</option>
<option name="WX_LIB_FLAVOUR">
<default-value></default-value>
</option>
<option name="CFG">
<default-value></default-value>
<description>
Name of your custom configuration. This affects directory
where object files are stored as well as the location of
compiled .lib files and setup.h under the lib/ toplevel directory.
</description>
</option>
<!-- unit tests support: -->
<option name="CPPUNIT_CFLAGS">
<default-value></default-value>
<description>
Compiler flags needed to compile test suite in tests directory. If you want
to run the tests, set it so that the compiler can find CppUnit headers.
</description>
</option>
<option name="CPPUNIT_LIBS">
<default-value></default-value>
<description>
Linker flags needed to link test suite in tests directory. If you want
to run the tests, include CppUnit library here.
</description>
</option>
<!-- ================================================================== -->
<!-- Autoconf -->
<!-- ================================================================== -->
<if cond="FORMAT=='autoconf'">
<option name="DEREZ"/>
<option name="TOOLKIT"/>
<option name="TOOLKIT_LOWERCASE"/>
<option name="TOOLKIT_VERSION"/>
<option name="TOOLCHAIN_NAME"/>
<option name="TOOLCHAIN_FULLNAME"/>
<option name="EXTRALIBS"/>
<option name="EXTRALIBS_XML"/>
<option name="EXTRALIBS_HTML"/>
<option name="EXTRALIBS_ODBC"/>
<option name="EXTRALIBS_GUI"/>
<option name="EXTRALIBS_OPENGL"/>
<option name="EXTRALIBS_SDL"/>
<option name="EXTRALIBS_GNOMEPRINT"/>
<option name="HOST_SUFFIX"/>
<option name="SAMPLES_RPATH_FLAG"/>
<option name="SAMPLES_RPATH_POSTLINK"/>
<set var="TOP_SRCDIR">$(top_srcdir)/</set>
<set var="RUNTIME_LIBS">dynamic</set>
<set var="WXTOPDIR"/> <!-- to be overriden on bakefile cmd line -->
<option name="WITH_PLUGIN_SDL">
<values>0,1</values>
</option>
<option name="wx_top_builddir"/>
</if>
<!-- ================================================================== -->
<!-- windows/dos/os2 compilers -->
<!-- ================================================================== -->
<if cond="FORMAT!='autoconf'">
<option name="RUNTIME_LIBS">
<values>dynamic,static</values>
<default-value>dynamic</default-value>
<description>
Version of C runtime library to use. You can change this to
static if SHARED=0, but it is highly recommended to not do
it if SHARED=1 unless you know what you are doing.
</description>
</option>
<set var="WXTOPDIR"/> <!-- to be overriden on bakefile cmd line -->
<set var="TOOLKIT" overwrite="0">
<if cond="FORMAT=='msevc4prj'">WINCE</if>
<if cond="FORMAT!='msevc4prj' and PLATFORM_WIN32=='1'">MSW</if>
<if cond="PLATFORM_MSDOS=='1'">MGL</if>
<if cond="PLATFORM_OS2=='1'">PM</if>
</set>
<set var="TOOLKIT_LOWERCASE">$(TOOLKIT.lower())</set>
<set var="TOOLKIT_VERSION"/>
<set var="HOST_SUFFIX"/>
<set var="EXTRACFLAGS"/>
<set var="EXTRALIBS"/>
<set var="EXTRALIBS_XML"/>
<set var="EXTRALIBS_HTML"/>
<set var="EXTRALIBS_ODBC"/>
<set var="EXTRALIBS_GUI"/>
<set var="EXTRALIBS_OPENGL">
<if cond="COMPILER=='wat' and TOOLKIT=='MSW'">opengl32.lib glu32.lib</if>
<if cond="COMPILER in ['vc','evc']">opengl32.lib glu32.lib</if>
<if cond="COMPILER=='gcc'">-lopengl32 -lglu32</if>
</set>
<set var="EXTRALIBS_SDL"/>
<set var="EXTRALIBS_GNOMEPRINT"/>
<set var="WITH_PLUGIN_SDL">0</set>
<set var="SRCDIR">
<if cond="BUILDING_LIB=='1'">..$(DIRSEP)..</if>
<if cond="BUILDING_LIB=='0'">.</if>
</set>
<set var="TOP_SRCDIR">$(SRCDIR)/$(WXTOPDIR)</set>
</if>
<if cond="FORMAT=='mingw'">
<option name="GCC_VERSION">
<values>3,2.95</values>
<default-value>3</default-value>
<description>
Set the version of your Mingw installation here.
"3" ...... this is for Mingw 2.0 or newer (comes with gcc3)
"2.95" ... for Mingw 1.1 or any of the older versions
</description>
</option>
<set var="GCCFLAGS">
<if cond="GCC_VERSION=='2.95'">-fvtable-thunks</if>
</set>
<set var="EXTRACFLAGS">$(GCCFLAGS) -DHAVE_W32API_H</set>
</if>
<if cond="FORMAT=='cbuilderx'">
<set var="EXTRACFLAGS">
<if cond="COMPILER=='gcc'">-DHAVE_W32API_H</if>
</set>
</if>
<!-- ================================================================== -->
<!-- Project files - hardcode some defaults -->
<!-- ================================================================== -->
<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>
<set var="USE_QA">1</set>
<set var="MONOLITHIC">0</set>
<set var="USE_GUI">1</set>
<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>
</if>
<!-- FIXME:
C++BuilderX supports only wxMSW, monolithic (sic!) static build
and the project can't be put into build/msw and store objects in
build/msw/something. This *must* be fixed! -->
<if cond="FORMAT=='cbuilderx'">
<set var="WXUNIV">0</set>
<set var="MONOLITHIC">1</set>
<set var="SRCDIR">.</set>
<set var="TOP_SRCDIR">$(SRCDIR)/$(WXTOPDIR)</set>
<set var="SHARED">0</set>
</if>
<!-- DigitalMars make is braindead, it doesn't have conditional
processing: -->
<if cond="FORMAT=='dmars'">
<set var="RUNTIME_LIBS">static</set>
<set var="BUILD">debug</set>
<set var="SHARED">0</set>
<set var="WXUNIV">0</set>
<set var="UNICODE">0</set>
<!-- Free version does not distribute OpenGL,
in commercial distribution better use dmars_smake format -->
<set var="USE_OPENGL">0</set>
</if>
<!-- No need for wxUniv on embedded devices (yet): -->
<if cond="FORMAT=='msevc4prj'">
<set var="WXUNIV">0</set>
<set var="UNICODE">1</set>
<!-- Uploading debug reports from PDAs seems impractical -->
<set var="USE_QA">0</set>
<set var="MONOLITHIC">1</set> <!-- sic! -->
<!-- RTTI and exceptions need separate cccrtti.lib with eVC4 -->
<set var="USE_RTTI">0</set>
<set var="USE_EXCEPTIONS">0</set>
</if>
<!-- Need for wxUniv within wxMGL: -->
<if cond="FORMAT!='autoconf' and TOOLKIT=='MGL'">
<set var="WXUNIV">1</set>
<set var="USE_THREADS">0</set>
<set var="RUNTIME_LIBS">static</set>
</if>
</makefile>

48
build/bakefiles/expat.bkl Normal file
View File

@@ -0,0 +1,48 @@
<?xml version="1.0" ?>
<!-- $Id$ -->
<makefile>
<if cond="FORMAT=='autoconf'">
<option name="wxUSE_EXPAT"/>
<set var="LIB_EXPAT">
<if cond="wxUSE_EXPAT=='builtin'">
wxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
</if>
</set>
</if>
<if cond="FORMAT!='autoconf'">
<set var="wxUSE_EXPAT">builtin</set>
<set var="LIB_EXPAT">
<if cond="wxUSE_EXPAT=='builtin'">
wxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
</if>
</set>
</if>
<set var="INC_EXPAT">
<if cond="wxUSE_EXPAT=='builtin'">$(TOP_SRCDIR)src/expat/lib</if>
</set>
<lib id="wxexpat" template="3rdparty_lib"
cond="wxUSE_EXPAT=='builtin' and BUILDING_LIB=='1'">
<dirname>$(LIBDIRNAME)</dirname>
<include cond="FORMAT!='autoconf'">$(LIBDIRNAME)</include>
<include cond="FORMAT=='autoconf'">$(BUILDDIR)/src/expat</include>
<define cond="FORMAT!='autoconf' and PLATFORM_WIN32=='1'">
COMPILED_FROM_DSP
</define>
<define cond="FORMAT=='watcom' and PLATFORM_OS2=='1'">
OS2_32
</define>
<define cond="FORMAT=='watcom' and PLATFORM_MSDOS=='1'">
__MSDOS__
</define>
<cflags-borland>-w-8004 -w-8008 -w-8012 -w-8057 -w-8066</cflags-borland>
<sources>
src/expat/lib/xmlparse.c
src/expat/lib/xmlrole.c
src/expat/lib/xmltok.c
</sources>
</lib>
</makefile>

3491
build/bakefiles/files.bkl Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,28 @@
<?xml version="1.0" ?>
<bakefile-manifest>
<format id="wx24dsp">
<description>
src/wxWindows.dsp which makes same files as 2.4 version
</description>
<default-filename>wxWindows.dsp</default-filename>
</format>
<format id="rpmspec">
<description>
wxBase headers list in wx{GTK,Motif,X11}.spec
</description>
<default-filename>xxx.spec</default-filename>
</format>
<format id="cbx_unix">
<description>
C++BuilderX projects for Unix (use configure)
</description>
<default-filename>
$(os.path.splitext(os.path.basename(INPUT_FILE))[0])Unix.cbx
</default-filename>
</format>
</bakefile-manifest>

View File

@@ -0,0 +1,6 @@
This directory contains misc Bakefile backends that are wxWidgets-specific:
wx24dsp - generates wx2.4-compatible VC++ project file (src/wxWindows.dsp)
rpmspec - generates part of .spec files with list of wxBase headers
cbx_unix - Borland C++BuilderX project files for configure-based build

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" ?>
<!-- $Id$ -->
<makefile>
<include file="presets/fake.bkl"/>
<set var="COMPILER">vc</set>
<define-tag name="__fake_hook" rules="__fake">
<set var="type" overwrite="0">fake</set>
</define-tag>
<define-tag name="__fake_hook" rules="exe">
<set var="type">exe</set>
</define-tag>
<output file="$(OUTPUT_FILE)" writer="cbx_unix.empy"/>
<set var="FORMAT_OUTPUT_VARIABLES">type</set>
</makefile>

Some files were not shown because too many files have changed in this diff Show More