Commit Graph

26899 Commits

Author SHA1 Message Date
Włodzimierz Skiba
6b5c476168 Pasting typo fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-03 07:22:48 +00:00
Włodzimierz Skiba
7d81eb8cee Full support to the native progress dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-03 07:08:17 +00:00
Włodzimierz Skiba
974c2a5904 Incomplete (PalmOS) setup compatibility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-03 07:03:31 +00:00
Vadim Zeitlin
26378b412c don't crash in wxStrftime() if conversion of strftime() result to Unicode fails (modified patch 1094100)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-02 23:54:40 +00:00
Vadim Zeitlin
bea561cec0 fixed crash when setting locale failed (replaces patch 1093811)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-02 23:44:36 +00:00
Vadim Zeitlin
9a84ce0d31 fixed IMPLEMENT_DYNAMIC_CLASS2 macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-02 22:52:22 +00:00
Vadim Zeitlin
e052a316bf added TOOL_RCLICKED test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-02 22:48:24 +00:00
Vadim Zeitlin
2334fef6ea pass correct tool id (and not always -1) to EVT_TOOL_RCLICKED() handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-02 22:46:52 +00:00
Robert Roebling
b181a50500 Allow to set the various buttons explicitly (and
not through IDs) in the wxStdButtonSizer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-01 17:26:30 +00:00
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
Robert Roebling
f4430b1889 German translation mostly uptodate now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-01 11:39:12 +00:00
Robin Dunn
62d32a5fb1 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 23:16:03 +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
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