Robert Roebling
62ade18051
Second attempt to fix a rare crash (bad mem access
...
after deletion of a control)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-01 13:36:29 +00:00
Robin Dunn
e8b4fd4bc1
Send EVT_TEXT from wxTextCtrl::SetValue to conform with the wx standard
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 23:01:01 +00:00
Robert Roebling
acf2ac3757
Applied modified form of the StdButtonSize patch.
...
Tested on GTK2, MSW and Mac.
Adapted various generic dialogs to stretch the
button sizer so that the buttons don't end
up centered but right aligned.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 18:57:25 +00:00
Stefan Csomor
c3aee5c154
SetFocus fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 13:29:35 +00:00
Stefan Csomor
90b78a567f
setting focus explicitely when using showmodal
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 13:19:18 +00:00
Robert Roebling
e10e94693f
Fixes a rare crash.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 10:22:32 +00:00
Włodzimierz Skiba
555f645a40
wxDialog::Show is virtual as elsewhere. Native PalmOS progress dialog.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 07:08:11 +00:00
Włodzimierz Skiba
ecda94753a
wxPD_CAN_SKIP for skipping parts of progress and reintroduced wxPD_SMOOTH after removal of modal dialog flag.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-30 15:07:28 +00:00
Robin Dunn
e7b97da356
Fix position of the movie when the immediate parent is not the
...
top-level parent and the offset from the top-level parent origin needs
to be accounted for.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-29 22:48:50 +00:00
Włodzimierz Skiba
d8d267726a
Warning fixes, source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-29 21:19:39 +00:00
Włodzimierz Skiba
eb3e6de33b
Fixes to FIXME about stock IDs usage.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-29 21:15:57 +00:00
Stefan Csomor
3feeb1e1e0
added RequestUserAttention
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-29 10:10:14 +00:00
Włodzimierz Skiba
23a59c2cbe
Empty container and design description for native PalmOS wxPrefConfig. Remove MSW configs from PalmOS.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-29 09:48:43 +00:00
Stefan Csomor
6d63e2fc16
moving cursor update AFTER the mouse event handling, otherwise things like eg drawing a splitter from right to left leads to wrong cursor, because - at the time of the cursos update - the splitter is not yet move below the mouse pos.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-29 07:12:32 +00:00
David Elliott
4170c465f4
Added wxBitmap::UseAlpha() stub.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-29 04:00:28 +00:00
George Tasker
38ae3a1019
Added more support for using SQL_WVARCHAR and SQL_WCHAR data types
...
Blind postgres fixes for calls to TableExists() and TablePrivileges() inside the Open() function to not pass the user name when postgres is expecting the schema. We REALLY need to add schema support...wish I had the time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 22:30:27 +00:00
George Tasker
362a97bf56
Added more support for using SQL_WVARCHAR and SQL_WCHAR data types
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 22:28:42 +00:00
George Tasker
549c8cc2fe
More parameter variable names fixed to make them more readable by replacing abbreviations with the full word
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 21:32:38 +00:00
George Tasker
b803274045
Non-standard abbreviations of words in function/variable names changed to standard abbreviations or the entire word (e.g. colNo is now colNum)
...
If SetColDef is called with an out of range index, the function in debug will throw an assert msg, and call wxLogDebug(), and then return without doing anything. The function now returns a boolean to indicate if the column definition was successfully created or not
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 21:10:12 +00:00
George Tasker
b8126f938c
Compilation fix with last checkin....ooops
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 21:03:13 +00:00
George Tasker
7086c32ab8
Fixed some potential buffer overruns
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 20:01:33 +00:00
George Tasker
5f72522e58
Implemented a fix to allow Unicode builds to work with MSACCESS. This fix should be tested against other databases also to ensure that the determination of the type to be used for character strings correctly finds that right type in unicode mode for other DBs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 19:22:37 +00:00
Robert Roebling
30f5e34f64
Added TREE_ITEM_MENU event to MSW control.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 16:00:35 +00:00
Robert Roebling
6511d3078e
Also check for range on Mac's spin controls.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 15:59:22 +00:00
Robert Roebling
ad8ddd1391
Check for range on wxSpinCtrl and wxSpinButton's GetValue()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 15:57:43 +00:00
Stefan Csomor
e353795ec5
handling wxSTAY_ON_TOP by changing the window group instead of window class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 10:18:48 +00:00
Stefan Csomor
d5301e336f
getting rid of redefines
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 10:16:51 +00:00
David Elliott
ddc1a35fc9
Some platforms that use socklen_t don't use it for the fifth argument to
...
getsockopt. Do a separate test and define SOCKOPTLEN_T appropriately.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 03:17:50 +00:00
David Elliott
c81dc3db6b
Retain/release the NSButtonCell during user action so that if the button
...
is deleted by the user action the program does not crash sending
the setHighlighted:NO message to it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 01:40:03 +00:00
George Tasker
215a0070c1
Firebird DB support added. Basic testing is done, and appears to work fully. Need real users to test the additions please
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 00:33:09 +00:00
Włodzimierz Skiba
2b7295c904
GetFreeSpace is here since 1993 and returns crazy values. Let's have win64/win32 cases only.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-27 20:17:44 +00:00
Włodzimierz Skiba
51496782d1
wxLongLong to wxString operators.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-27 18:57:21 +00:00
Włodzimierz Skiba
9d8aca4832
Take best fitting type for available memory measurement.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-27 18:47:26 +00:00
Václav Slavík
49a1436640
blind fix for GCC compilation when #pragmas are honored
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-27 08:52:17 +00:00
Włodzimierz Skiba
5445a26cc4
MSW and source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-27 08:36:21 +00:00
Włodzimierz Skiba
d1df239915
Some PalmOS utils implementations.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-27 07:30:29 +00:00
Robert Roebling
f7c6f947cf
Added TREE_ITEM_MENU event that gets sent if the
...
user hits the "Menu" key on the newer keyboards.
So far generic control only.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-26 17:37:59 +00:00
Stefan Csomor
e01c2b43c4
unicode fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-26 09:16:29 +00:00
Robert Roebling
af3961b357
Deselect a child item on Collapse. Otherwise
...
we end up with 2 selected item even in
single selection mode. This is a follow-up
to the no-dangling pointer patch and also
reflects MSW behaviour.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-25 18:27:59 +00:00
Vadim Zeitlin
ff1ce99740
added SetCmdLine(int, char **) overload even when building a Unicode app
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-25 01:58:36 +00:00
Václav Slavík
2c15c98b33
security fix (patch 1089659)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-24 11:48:14 +00:00
Jouk Jansen
914ca1d826
Committing in .
...
correcting an obvious typo in the GTK1.x part
Modified Files:
wxWidgets/src/gtk/choice.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-24 09:02:34 +00:00
Włodzimierz Skiba
12839f76d8
First nonminimal wxPalmOS functionality: enumeration of available volumes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-24 07:44:44 +00:00
Włodzimierz Skiba
f932daffcb
wxPalmOS was introduced long after 2.4.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-24 07:41:53 +00:00
Robin Dunn
3c1705d911
Updated to SWIG 1.3.24 (plus a patch that corrects a bug and adds back
...
some things that were changed/removed from my patch I submitted to
them.)
Since it is now possible easily and simply share the SWIG type tables
across modules I reverted to always using the stock SWIG runtime
instead of my slightly hacked up version of it exported via the
wxPython C API.
The %name directive is now deprecated so replaced most uses of it with
a custom %Rename macro that uses %rename internally. These will
evetually need to be replaced with a DocDecl macro when docstrings are
added.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-23 20:53:38 +00:00
Stefan Csomor
85fb220621
corrected setting the locale of the c-lib for mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-23 13:42:14 +00:00
Vadim Zeitlin
bcc4aa97ff
call SetBkColor() when using non default background
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-22 23:29:48 +00:00
Vadim Zeitlin
48d597ed96
last fix resulted in wrongly inheriting bg colour from the parent with m_inheritBgCol == false, fixed the fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-22 23:27:49 +00:00
Robin Dunn
63ec176495
Need to reset count when all items are deleted
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-22 22:02:29 +00:00
Vadim Zeitlin
b55ff31e20
fixes fo inheriting colours set with SetOwnBackround()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-22 21:09:01 +00:00