Commit Graph

26737 Commits

Author SHA1 Message Date
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
Robin Dunn
e505d15e07 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 22:58:48 +00:00
Robin Dunn
782ece57f0 updated note about the patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 22:56:39 +00:00
Robin Dunn
9283228f86 Added wxStdDialogButtonSizer, which is a a special sizer that knows
how to order and position standard buttons in order to conform to the
current platform's standards.  You simply need to add each `wx.Button`
to the sizer, and be sure to create the buttons using the standard
ID's.  Then call `Finalize` and the sizer will take care of the rest.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 22:55:57 +00:00
Robin Dunn
7bde93ff27 docstring fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 22:54:40 +00:00
Robin Dunn
8919bc42e4 Added EVT_COMMAND_TREE_ITEM_MENU
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 22:54:16 +00:00
Robin Dunn
191dea6de7 Added back wx.PD_SMOOTH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 22:53:50 +00:00
Robin Dunn
e4b64104c8 fix compilo for when there are no precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 22:27:51 +00:00
Robin Dunn
e778b8f059 Correct some redraw glitches in the header when resizing, and also
double buffer the header to eliminate the rest of the flicker.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 20:21:44 +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
David Elliott
6bbbf0ad43 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.

NOTE: Forgot to commit this earlier.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-29 03:55:10 +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
fcf3321f44 Added SQL_WVARCHAR and SQL_WCHAR to the data types that the sample checks to see if they are supported by the datasource when the DATATYPES button is pressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 22:27:45 +00:00
David Elliott
12ef813cea Removed old bakefile cruft by doing a bakefile_gen -f autoconf -c followed
by a bakefile_gen -f autoconf.  I then hand edited the file to add
back in the dnl ### begin block 00_header ### line, the
BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.4" line (confusingly only generated by
a CVS copy newer than 0.1.4) and remove the dnl Conditions: line.

This file's size is now less than half of what it was!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 22:06:17 +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
Robin Dunn
669e06d77e Docs for [GS]etDefaultPyEncoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 21:16:50 +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
998abc1506 Documentation updated to reflect Unicode support
Updated to show current function names


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 20:59:14 +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
George Tasker
2197177140 Lookup result windows now force the first column size to be no great than 20 characters to avoid the code that calls the DB to find the length of the longest string in column, as the code used to get that value is not necessarily portable across all DB platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 18:35:08 +00:00
George Tasker
ee377e7f8b Changed error messages so that if a DB error occurs in the ListDb code, the native DB error message is displayed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 18:32:40 +00:00
George Tasker
aa324ea98d Changed the hardcoded table name to be in all caps for those DBs that only allow table names to be in caps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 18:30:36 +00:00
David Elliott
d3c073a285 Rebaked (Bakefile 0.1.4). Corresponds to tests.bkl,1.30,1.31
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 18:18:04 +00:00
David Elliott
9fc97a71c5 Rebaked (Bakefile 0.1.4). Corresponds to dialogs.bkl,1.7,1.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 18:15:11 +00:00
David Elliott
3cab022fe5 Rebaked (Bakefile 0.1.4)
* Remove installation of afm and gsafm
* Remove configure during distclean
* Copy *.mpg files during SAMPLES_DIST


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 17:51:56 +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
Robert Roebling
c436b31065 Documented the special meaning of wxID_EXIT and wxID_ABOUT
under MacOS X.
 Documented the existence of the GNOME printing code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 14:13:06 +00:00
George Tasker
af24a079f5 Added wxODBC changes to the log
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 13:34:21 +00:00
Włodzimierz Skiba
13cf383252 Outdated informations refreshed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 12:14:27 +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