Włodzimierz Skiba
095d49f2fa
Fix to wxChar* access.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 12:22:34 +00:00
Robin Dunn
d0770e4a91
Fix DoGetBestSize when wxCB_READONLY is used. The best size of the
...
choice shoudl not be truncated in this case since there isn't a
textctrl in this case.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 06:48:02 +00:00
George Tasker
2cb4351487
Unicode compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 01:55:15 +00:00
Stefan Csomor
56413ebff7
calling FormatV seems to be correct, as we are already passing a va_list
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 20:17:47 +00:00
Robin Dunn
571d14b262
wxMac should use /src/mac/carbon/spinctrl.cpp, applied some sizing
...
layout fixes to that file, removed wxMac specific parts from the
generic wxSpinCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 19:14:38 +00:00
Dimitri Schoolwerth
75338075d5
re-added filter (type-popup) support (lost after introducing long filename support, patch #846732 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 18:37:39 +00:00
Julian Smart
fd9e9adb16
Check for empty "widths"
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 17:02:59 +00:00
Dimitri Schoolwerth
64179ebc42
added missing include required for CW8 Carbon compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 16:16:24 +00:00
Stefan Csomor
b310cebd71
adding a few methods for selection handling in native combobox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 04:57:53 +00:00
Stefan Csomor
ed197fcf15
adding MPYield after releasing constructs like critical regions etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-16 19:32:01 +00:00
Julian Smart
1a03b3e25a
Don't call SetItemCmd for WXK_UP or WXK_RIGHT since these values
...
have special significance, and cause indentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-16 18:11:21 +00:00
Stefan Neis
45c6f72480
Fixed Cut&Waste error.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-16 17:35:05 +00:00
Stefan Neis
a9c0e55977
Updated to intermediate version which should work with current bakefile status.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-16 10:34:49 +00:00
Stefan Csomor
46cc7c4e64
adapting for dual implementation native and composited
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-16 09:03:38 +00:00
Stefan Csomor
e50eb9176e
added the correct spinctrl source file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-16 06:49:16 +00:00
Stefan Csomor
881b5a06e2
adding pthreads mutex to possible wxMutex implementations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-16 05:48:27 +00:00
Stefan Csomor
9cc64be1d3
using MPSleep also for non Darwin Targets
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-16 05:46:53 +00:00
Robin Dunn
985934750c
A little cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 19:26:39 +00:00
Robin Dunn
e459a7940d
Tweaks to the generic scpinctrl to handle layouts on wxMac better and
...
fixed alignment of the spinbutton. Also, since the generic spinctrl
is used then the generic header should be included.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 19:21:55 +00:00
Vadim Zeitlin
89b674772c
subdindented paragraphs support (patch 933436)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 18:17:14 +00:00
Robert Roebling
47ca35dd35
The markup code for wxStaticText doesn't work.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 17:33:46 +00:00
Robin Dunn
d13ea1bd96
wxMacWakeUp needs to be in wxBase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 16:33:27 +00:00
Stefan Csomor
820d6bacd3
removing code needed for cooperative threads
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 16:29:13 +00:00
Stefan Csomor
96cadce3c8
fixes for rotated text
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 15:13:54 +00:00
Robert Roebling
ebbb22bd7f
Improve default size for wxGauge and wxChoice.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 15:08:30 +00:00
Stefan Csomor
2b2832ef0c
unicode conversion support for text dnd
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 14:58:49 +00:00
Stefan Csomor
2575829710
unicode conversion support for dataobjects
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 14:58:09 +00:00
Stefan Csomor
6097743aba
woraround latest sizer changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 06:49:23 +00:00
Robin Dunn
b67e8d38b6
Patch #952053 , wxToggleButton gains WS_VISIBLE flag
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 18:09:19 +00:00
Stefan Csomor
ad05b1880e
fixes for file drops in unicode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 13:13:36 +00:00
Stefan Csomor
0c3d85e6ef
gcc warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 12:49:09 +00:00
Julian Smart
9e1eb0ed65
Added include to get wxMacWakeUp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 10:11:39 +00:00
Stefan Csomor
7f1de2b26e
supporting readonly and singleline attributes for non-mlte textrcontrol
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 09:25:21 +00:00
Stefan Csomor
73280e0553
moving wxMacWakeUp to utils, as macnotify will soon be removed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 09:19:09 +00:00
Stefan Csomor
c3e8a84f3b
logging error instead of message box
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 09:11:35 +00:00
Robin Dunn
19d8dd12a4
Add a call to SetBestSize so the minsize can be set for sizers if an
...
initial size was given.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 06:29:41 +00:00
Robin Dunn
a800dc50d4
Fixes so joystick not only compiles on Linux, but it actually works too!
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 02:52:05 +00:00
Robin Dunn
89a94520ea
Take the hgap and vgap into account when doing alignments in grid
...
sizers. The gap is not part of the "cell" so alignments should be
relative to the edge of the gap, not the next cell.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-13 19:12:06 +00:00
Stefan Csomor
68ba3b21da
switching to preemptive implementation (from mpthread.cpp)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-13 18:22:14 +00:00
Stefan Csomor
36ba5f7cb0
corrected preproc condition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-13 18:21:13 +00:00
Stefan Csomor
41d9940d5d
changed ppc to ptpc as ppc is a preprocessor constant for PowerPC on Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-13 17:22:30 +00:00
Stefan Csomor
5ecae0b748
bracketing non OSX code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-13 16:50:54 +00:00
Stefan Csomor
8ef4d6e291
unicode fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-13 16:49:02 +00:00
Dimitri Schoolwerth
1d879215ac
added missing includes required for CW8 Carbon compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-13 16:34:15 +00:00
Robin Dunn
a72f1d162b
Patch [ 952969 ] Parentless windows forced to center of screen
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-13 16:05:38 +00:00
George Tasker
fd9b9198f8
BLOB fix - if the type for the BLOB column is SQL_C_CHAR, CbValue is now set to SQL_NTS to indicate that the data is null terminated. It is strongly recommended to use SQL_C_BINARY for the BLOB type, not SQL_C_CHAR
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-13 02:04:51 +00:00
George Tasker
c9b6d7964d
More BLOB fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-13 01:56:18 +00:00
George Tasker
0907ea9c58
[SF#789459] Add support for connection strings. The patch originally submitted was not comprehensive enough to use for the connection caching, so a significant number of additional changes were added to support opening a connection with a connection string
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 19:41:03 +00:00
David Elliott
28b22cccde
Wrap within #if wxUSE_NOTEBOOK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 19:18:57 +00:00
George Tasker
e9ed92a2fd
[SF#777752] Applied a slight variation of this patch, pulling out the code that set the CbValue for the column from ::bindParams() to a new private function names ::setCbValueForColumn(). ::bindParams() now calls this function, as do both version of ::SetColNull()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 17:16:05 +00:00