Włodzimierz Skiba
c751d26abc
Centralized wxDefaultSize & wxDefaultPosition values.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-19 09:12:08 +00:00
Robin Dunn
42cfa1842f
Call SetSize for explicit sizees too in case it wasn't called before
...
earlier in the Create process.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 19:30:31 +00:00
Włodzimierz Skiba
7608a6837f
Limited setup.h shouldn't break building. Helpful in bringing new ports.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 12:29:55 +00:00
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
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
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
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
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
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
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
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
George Tasker
b26e2b55ca
[SF#851487] wxDb::Catalog() function was attempting to determine if the table that was being accessed was different than the last table being accessed BEFORE the table name of the current table was read in, causing an issue when more than one table was present in the database
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 16:49:49 +00:00
George Tasker
35ac11045c
Indentation formatting fix. No source code affected
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 16:47:17 +00:00
George Tasker
76ea166498
Use of blobs with a binding to a SQL_C_BINARY type column definition was not working correctly. The code should now work for SQL_C_BINARY and SQL_C_CHAR column bindings, though I have only tested with SQL_C_BINARY. The original code will be used if the column binding is not SQL_C_BINARY or SQL_C_CHAR
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 14:22:25 +00:00
George Tasker
d2129c82bf
The wxDb::Open() function that takes a wxDbConnectInf() now has a second optional parameter 'failOnDataTypeUnsupported' that defaults to TRUE to maintain current behavior. This allows users to specify FALSE if they want to try to continue
...
wxDb::getDbInfo() function will now not treat SQL_SUCCESS_WITH_INFO as a failure when checking for supported features.
Reformatting of some text, and removal of old commented out code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 14:10:27 +00:00
Julian Smart
f0003d294a
wxDocMDIParentFrame needs a default constructor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 14:35:51 +00:00
Robin Dunn
313feadc84
Add GetOwner accessor and fix wxRTTI inheritance for wxTimer. Set the
...
timer as the event object in wxTimerEvents.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-10 20:53:25 +00:00
Julian Smart
7d59475e80
Fixed size problem due to wxMac window implementation difference
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-09 16:30:26 +00:00
Václav Slavík
e6cea1d392
corrected wxLANGUAGE_CHINESE to use same default as win32 (Taiwan)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 22:16:01 +00:00
Mattia Barbon
7d7baa9b3d
Remove duplicate definition caused by last commit.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 21:15:54 +00:00
Mattia Barbon
bdcade0a10
When wxUSE_STL == 1 and STL provides quasi-standard hash_map/hash_set,
...
wxHashMap/wxHashSet are just typedefs for them. This makes impossible
to forward declare these classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 20:20:24 +00:00
Mattia Barbon
6aa33060cd
Fix for pure virtual method call caused by wxHashTable not
...
overriding virtual destructor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 09:33:29 +00:00
Dimitri Schoolwerth
bb17155103
fixed bug #947908 : wxString("abcdefghij", wxConvLibc, n) returns an empty string for every n>0 and n<string length (Unicode mode only)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-07 01:59:28 +00:00
Dimitri Schoolwerth
ce1c674598
removed tab characters
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 14:25:07 +00:00
Dimitri Schoolwerth
3d2eaa5d59
delayed destruction of global memLocker object
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 14:19:30 +00:00
Vadim Zeitlin
17c48da8ee
set min size to initial size when it is explicitly given
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 12:42:46 +00:00
Vadim Zeitlin
400a9e419b
moved SetBestSize() to .cpp file; set min size from it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 12:33:31 +00:00
Vadim Zeitlin
2aaa050c33
unTABbed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 09:19:05 +00:00
Vadim Zeitlin
78361a0e98
moved OnExceptionInMainLoop() in .cpp from header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 11:16:32 +00:00
Dimitri Schoolwerth
6f28211af2
fixed Xcode 1.2 warnings; code cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 00:19:00 +00:00
Mattia Barbon
6e86701b83
Use new wxHashTable implementation not using keyed wxList
...
when !WXWIN_COMPATIBILITY_24. It is faster. It is almost 100%
compatible, too, the only difference being Next() return value
type.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 20:59:17 +00:00
Vadim Zeitlin
d59eea2639
fixed wild card string construction when description is not provided and when it is the default (*.* or *) one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-28 16:11:23 +00:00
Vadim Zeitlin
54bcff35e0
let wxFileName::GetModificationTime() work with files already opened [maybe in another application]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-28 10:48:34 +00:00
Jouk Jansen
b7fafe6a1f
Committing in .
...
OpenVMS updates
Modified Files:
wxWidgets/contrib/src/deprecated/resource.cpp
wxWidgets/src/common/descrip.mms
wxWidgets/src/common/wfstream.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-28 08:00:44 +00:00
Robin Dunn
bc334f39ec
Fixes Bug [ 930200 ] Async does not work
...
Because the wxConsoleAppTraits was being created for GUI apps
wxExecute would fail if the wxEXEC_ASYNC flags was used.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-27 20:02:41 +00:00
Robin Dunn
174ee1b3d3
Patch [ 942051 ] generic wxDCBase::DoGetPartialTextExtents speed improvement
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-26 23:33:55 +00:00
Václav Slavík
1824b08894
removed wxGzipStreams (supported by wxZlibStreams now)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-25 08:49:19 +00:00
Robin Dunn
093475d267
Instead of using GetAdjustedBestSize use the minsize if there is one,
...
otherwise use GetBestSize. This allows for situations where the
minsize is smaller than the bestsize (for example, abbreviated state
fields will normally be smaller than the 100px best size for
wxTextCtrls.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-22 21:44:29 +00:00
Dimitri Schoolwerth
0fbcc4d827
fixed broken filetype filters in file dialogs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-22 21:11:13 +00:00
Václav Slavík
f2aa588ba5
applied patch 939076: __SMARTPHONE__ define
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-21 21:03:02 +00:00
Václav Slavík
86b79b93fb
added wxRegEx::GetMatchCount (patch 938995)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-21 20:14:14 +00:00
Vadim Zeitlin
940b4f0741
time() takes time_t, not [unsigned] long -- and in fact we don't need to pass it any argument at all
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-21 12:49:52 +00:00
Vadim Zeitlin
186545a42f
replaced generic automatic filter string by 2 different ones for all files and all files with the given extension
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-20 23:07:13 +00:00
Julian Smart
960b193e59
Don't use wxUSE_POCKETPC_UI, determine appropriate UI from
...
SDK defines.
Now creates menubar at bottom of window for PPC.
Window uses default position and size in PPC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-20 22:17:24 +00:00
Julian Smart
d1faf43f89
Temporary fix for VC++ compile breakage.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-20 22:12:06 +00:00
Chris Elliott
2cbf0a5e43
fix bug compiling with DMC Borland gcc (macos); reverting part of 1.09 to 1.10
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-20 19:11:40 +00:00
Chris Elliott
efaa0436fb
fix bug compiling with DMC Borland gcc (macos); reverting part of 1.09 to 1.10
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-20 19:04:50 +00:00