Commit Graph

38544 Commits

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


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

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


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


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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-23 00:02:23 +00:00
Robin Dunn
55424c8c22 wxColor --> wxColour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-22 23:57:34 +00:00
Robin Dunn
015131a1fd Add parent parameter to BusyInfo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-22 23:55:58 +00:00
Robin Dunn
38c213b192 Unicode is the default build mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-22 23:54:34 +00:00
Robin Dunn
e1463b9df0 Patches from Andrea
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-22 23:52:32 +00:00
Robin Dunn
c306c1e0f6 put wx in the shell's namespace too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-22 23:50:51 +00:00
Kevin Ollivier
471046b088 Adding SetFocus to wxABI_VERSION.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-22 20:14:38 +00:00