Commit Graph

38530 Commits

Author SHA1 Message Date
Kevin Ollivier
de387fc99c exposing generic system option define, adding missing event.Skip() to OnChar, and tweaking handling of scrollbars.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-28 06:33:57 +00:00
Stefan Csomor
b9d495a007 applying patch 1622389, fixing two memory leaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-27 15:49:26 +00:00
Kevin Ollivier
7e2ee0bf41 Add middle-item click support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-26 20:44:24 +00:00
Robin Dunn
7f3e07a83a Fix for bug #1621459, Made the Selection property read-only since it
needs two parameters.  You can instead use SelectionStart and
SelectionEnd properties for setting the selection if needed.


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

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


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


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


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