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
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
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
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
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
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
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
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
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
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
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
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
Stefan Csomor
4d7e2cdad3
best size fix for multi-line fields
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-20 08:45:48 +00:00
Vadim Zeitlin
c0c677934f
make the continue button default, not the stop one, to avoid killing the application accidentally if it doesn't run under debugger and Enter is pressed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-19 23:36:53 +00:00
Stefan Csomor
f02f4d43c5
fvisibility-inlines-hidden fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-19 13:49:26 +00:00
Stefan Csomor
f84a986cfc
fixing -fvisibility-inlines-hidden problem (IsOk function didn't get exported)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-19 05:43:19 +00:00
Václav Slavík
757b694ba8
wxDFB: fix events processing to support sockets events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-18 17:24:06 +00:00
Vadim Zeitlin
9e1c7236e0
don't treat foo in c:\\foo\bar as network share
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-17 14:52:10 +00:00
Vadim Zeitlin
8c0f22340e
don't set the label colour in DrawButtonLabel(), this is done by the caller in wxControlRenderer::DrawLabel()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-17 13:47:48 +00:00
Vadim Zeitlin
388703a573
forcefully get rid of the scrollbars in CalcWindowSizes() if we don't need them any more
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-17 02:13:04 +00:00
Vadim Zeitlin
698581160d
for for initializing wxFileName with empty string returning true from IsOk() and tests for the correct behaviour (patch 1617156)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-16 23:11:48 +00:00
Stefan Csomor
be13a26775
adding common search field file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-15 10:03:50 +00:00
Stefan Csomor
84d3bc74b1
using native architecture for development builds only, saves half of the compiles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-15 06:14:31 +00:00
Vadim Zeitlin
9c5fd8a319
respect background colour of wxStaticText in wxUniv
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-15 01:32:26 +00:00
Vadim Zeitlin
dc4689ef73
correct GetBestSize() to return correct best size, i.e. the same size as AutoSize() would give to the control since the fix in 1.407
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-15 01:09:06 +00:00
Václav Slavík
2c4eefc056
compilation fix for wxUSE_ACCEL && !wxUSE_BUTTON
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-14 16:53:05 +00:00
Václav Slavík
6b44a33553
moved wxX11's wxSocketTable to private wxSocketEventDispatcher class reusable in other ports (backport from SOC2006_SOCKETS branch); use it in wxDFB
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-14 14:13:57 +00:00
Václav Slavík
ede5511517
fixed wxStdRenderer::DrawButtonLabel() to not change text colour, otherwise menu items below a disabled item would be rendered incorrectly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-14 13:54:06 +00:00
Paul Cornett
8c70a78958
make sure style is set on menubar before querying its size
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-14 07:19:21 +00:00
Vadim Zeitlin
265db88d61
don't crash in Unicode build if command line arguments are not valid UTF-8 strings (bug 1614363)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-13 19:03:34 +00:00
Vadim Zeitlin
172d83f4ea
cast size_t to unsigned long, not unsigned (even though there is no risk of truncation here, it's still better practice)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-13 13:04:44 +00:00