Václav Slavík
549a7c375f
set m_language even when wxstd.mo wasn't loaded
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-26 20:03:17 +00:00
Václav Slavík
3202d00dc9
assert if wxLocale::Init called twice
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-26 19:33:35 +00:00
Stefan Neis
5a3912f2ab
Fixed & improved file handling on OS/2.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-23 22:29:46 +00:00
Mattia Barbon
1a6d9c7680
New wxHashTable implementation when wxUSE_STL == 1. Replaces
...
the old implementation based upon wxHashMap. Removed support
for wxHashTable in wxHashMap.
Rationale: using wxHashMap for wxHashTable implementation required
special support in wxHashMap. This precluded using STL-provided
hash_map to implement wxHashMap. This new implementation does not
use keyed wxList interface and should be almost totally compatible
with the old non-STL wxHashTable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-23 08:12:34 +00:00
Dimitri Schoolwerth
3e778e3bde
Fixed gcc compiler warning (size_t was assumed to equal an unsigned int).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-20 18:18:58 +00:00
George Tasker
9af163d74d
Added a parameter 'failOnDataTypeUnsupported' to getDbInfo (that defaults to TRUE keeping current functional behavior intact)), that will allow the user to override whether a call to getDbInfo() should fail immediately if a data type request reports back that it is unsupported/unavailable
...
fixed issues with wxDb::DBMS() that were not correctly detecting MySQL databases using MySQL v4. also removed erroneous/duplicated code in this function that looked like a result of a bad merge at some point
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-19 14:50:09 +00:00
Julian Smart
eae4425db6
WinCE fixes from "Viktor Voroshylo" <viktor@voroshylo.com>
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-18 21:25:44 +00:00
Robin Dunn
3ac7b44cc0
Added FindItemAtPoint
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-18 21:20:09 +00:00
Julian Smart
4c663122e4
Fixes for previous fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-15 10:26:46 +00:00
Dimitri Schoolwerth
e11f46363f
Fixed Digital Mars compilation; Cosmetic cleanup.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-14 12:55:25 +00:00
Václav Slavík
4d312c222e
fixed wxConvLocal to work with C locale (and probably some others)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-09 12:27:42 +00:00
Václav Slavík
a58d4f4d49
prevent deadlock in wxCSConv::DoCreate if it fails for wxConvLocal -- ugly but works
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-09 12:09:13 +00:00
Vadim Zeitlin
01b18927f5
fix for previous commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-08 13:09:10 +00:00
Robin Dunn
3ff632ce66
Fixed an accidental name clash, and added back a wxCHECK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-07 20:52:35 +00:00
Robin Dunn
6217b9aa7e
Set m_rows, m_cols so GetRows/GetCols in the base class work. Added
...
GetCellSize method.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-07 17:45:10 +00:00
Vadim Zeitlin
2825b3f502
fix for infinite loop in wxFileConfig when reading from input stream fails (patch 837134)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-07 11:42:23 +00:00
Vadim Zeitlin
36ebb50aa3
fixed bug with looking beyond the end of string in ConvertStringToArgs() (patch 828609)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-07 11:34:39 +00:00
Robin Dunn
d2eaa86b9e
Fixed warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-07 08:07:42 +00:00
Robin Dunn
1b52f7aba0
Added default ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-07 07:05:39 +00:00
Robin Dunn
20b35a6916
Added wxGridBagSizer, a grid sizer where item positions can be
...
specified and row/col spanning is allowed.
Updated docs, the layout sample, files.bkl, and updated makefiles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-06 01:31:44 +00:00
Dimitri Schoolwerth
52410d542e
Removed usage of deprecated methods (patch #827023 ); Slight code cleanup.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-04 13:16:32 +00:00
Mattia Barbon
044bbeb0b7
Fix (correct) warning about potentially uninitialized variables.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-02 15:39:01 +00:00
Mattia Barbon
094112e92e
Compilation fix for wxUSE_STL==1.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-02 15:37:49 +00:00
Vadim Zeitlin
4cc6a9db04
compilation fix for VC++ statis MT build with wxUSE_STL==1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-01 12:17:29 +00:00
Václav Slavík
0dd6c07178
add upper-case extensions to fallbac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-31 19:51:03 +00:00
Václav Slavík
89d38f8c3a
added resolution option to JPEG handler (patch #833234 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-31 15:58:58 +00:00
Vadim Zeitlin
727953356d
removed calls to wxWindowBase::InitBase(), it is called from the ctor anyhow (and so was called twice)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-30 23:08:39 +00:00
Vadim Zeitlin
c547282d5e
use iconv() for wxCSConv constructed from a wxFontEncoding; don't use wxFontMapper unless really needed; when it is used, don't use it interactively
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-24 21:50:00 +00:00
Václav Slavík
246428310e
fixed iso-8859-1 handling to report failures
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-24 19:25:48 +00:00
Václav Slavík
c7c0629157
fixed crash if szLocale==NULL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-24 09:32:29 +00:00
Mattia Barbon
b2b9de21cb
Make both GCC and MSVC 5 happy.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-23 21:58:22 +00:00
Vadim Zeitlin
93b79b6b57
don't append spaces to all arguments in ConvertStringToArgs()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-22 21:40:04 +00:00
Vadim Zeitlin
e4bfb5c0cd
removed duplicate yellow green from colour database
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-22 07:49:45 +00:00
Vadim Zeitlin
f49d731fd4
fix for wxDateTime::SetToYearDay(last month day) (bug 816065)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-21 23:00:37 +00:00
Vadim Zeitlin
034742fcd6
fix for mistakenly prepending slash to the filenames without paths (bug introduced by last check in)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-21 22:45:28 +00:00
Stefan Csomor
2c4c398782
VC6 template fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-19 13:41:33 +00:00
Mattia Barbon
728b21e56c
MSVC 5 compilation fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-19 09:10:20 +00:00
Stefan Csomor
05fa251a2f
adjusting to changes in xti.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-17 19:53:19 +00:00
Vadim Zeitlin
4e6b83091a
added CreateByName(), use it in wxColourDatabase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-17 17:39:28 +00:00
Vadim Zeitlin
c50f92d08c
fixed bug with wxcolourDatabase::FindColour(); added (and documented) new Find() and AddColour(const wxColour&) methods to avoid such problems in the future
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 17:42:31 +00:00
Vadim Zeitlin
c0db962623
made wxRTTI macros namespace-friendly (patch 799434)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 11:33:46 +00:00
Vadim Zeitlin
489bbac963
RemoveEventHandler() didn't reset all pointers correctly (patch 819545)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 10:31:19 +00:00
Vadim Zeitlin
999836aaca
warning fixes for BCC and OW (heavily modified patch 819146)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 10:28:15 +00:00
Vadim Zeitlin
230205aec5
use ShouldInheritColours()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 09:38:04 +00:00
Vadim Zeitlin
cb820f8075
don't complain if file doesn't exist in DeleteFile(); do return false if it exists and we failed to delete it (patch 819530)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 09:19:21 +00:00
Vadim Zeitlin
64dcc26913
use correct fallback file name in SaveFile() (patch 820884)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 09:05:54 +00:00
Vadim Zeitlin
7a1f9c0911
attempt to split cmd line into words in the same way as Windows does
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-14 22:58:09 +00:00
Mattia Barbon
ecb9c007bd
wxMotif fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-14 17:27:59 +00:00
Mattia Barbon
833a51f67e
Implemented wxPopupWindow for wxMotif.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-14 17:05:28 +00:00
Vadim Zeitlin
a509f83054
VC++ release mode warning fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-12 01:46:17 +00:00